CN111131558A - Sliding cover type terminal, sliding cover state detection method and device - Google Patents

Sliding cover type terminal, sliding cover state detection method and device Download PDF

Info

Publication number
CN111131558A
CN111131558A CN201811291594.0A CN201811291594A CN111131558A CN 111131558 A CN111131558 A CN 111131558A CN 201811291594 A CN201811291594 A CN 201811291594A CN 111131558 A CN111131558 A CN 111131558A
Authority
CN
China
Prior art keywords
sliding
cover
distance
slide
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811291594.0A
Other languages
Chinese (zh)
Inventor
陈朝喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811291594.0A priority Critical patent/CN111131558A/en
Publication of CN111131558A publication Critical patent/CN111131558A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0235Slidable or telescopic telephones, i.e. with a relative translation movement of the body parts; Telephones using a combination of translation and other relative motions of the body parts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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
    • 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

Abstract

The disclosure relates to a sliding closure type terminal, a sliding closure state detection method and a sliding closure state detection device, and belongs to the field of mobile terminals. The sliding closure type terminal comprises an upper sliding closure and a lower sliding closure which are connected through a sliding rail; a magnet is arranged in the upper sliding cover; a Hall sensor and a processor are arranged in the lower sliding cover; the Hall sensor is positioned in the direction of one side where the first magnetic pole of the magnet is positioned in the closed state of the sliding cover, and the Hall sensor is positioned in the direction of one side where the second magnetic pole of the magnet is positioned in the opened state of the sliding cover; the Hall sensor is electrically connected with the processor. According to the sliding type terminal, the sliding rail is arranged between the upper sliding cover and the lower sliding cover of the sliding type terminal, so that the upper sliding cover and the lower sliding cover can slide, the upper sliding cover of the sliding type terminal is provided with the magnet, the lower sliding cover is provided with the Hall sensor, and the sliding state of the sliding type terminal is determined by monitoring the change of the output level of the Hall sensor, so that the problem of how to detect the sliding state of the upper/lower sliding covers is solved.

Description

Sliding cover type terminal, sliding cover state detection method and device
Technical Field
The disclosure relates to the field of mobile terminals, and in particular, to a sliding terminal, a sliding state detection method and a sliding state detection device.
Background
A slide type terminal is a terminal having an upper slide and a lower slide. The slide type terminal is one direction to realize a full screen terminal. The sliding closure type terminal can hide the front camera on the front of the lower sliding closure.
The user can manually slide the upper/lower slide cover of the slide type terminal open or closed. How to detect the sliding state of the up/down sliding cover is a technical problem yet to be solved.
Disclosure of Invention
The embodiment of the disclosure provides a sliding closure type terminal, a sliding closure state detection method and a sliding closure state detection device, which can solve the problem of how to detect the sliding state of an upper sliding closure/a lower sliding closure of the sliding closure type terminal. The technical scheme is as follows:
according to an aspect of the present disclosure, there is provided a slide type terminal including an upper slide cover and a lower slide cover connected by a slide rail;
a magnet is arranged in the upper sliding cover;
a Hall sensor and a processor are arranged in the lower sliding cover; the Hall sensor is positioned in the direction of one side where the first magnetic pole of the magnet is positioned in the closed state of the sliding cover, and the Hall sensor is positioned in the direction of one side where the second magnetic pole of the magnet is positioned in the opened state of the sliding cover;
the Hall sensor is electrically connected with the processor.
In an alternative embodiment, the hall sensor is configured to switch the output level from a first level to a second level when located directly below the magnet during sliding of the slider;
the processor is configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a first distance when the first level is monitored to switch to the second level.
In an optional embodiment, a sliding driving part is further arranged between the upper sliding cover and the lower sliding cover;
the processor is further configured to control the sliding driving part to drive the upper sliding cover to continuously slide in the sliding direction relative to the lower sliding cover when the sliding distance in the sliding direction reaches a first distance.
In another alternative embodiment, the hall sensor is configured to switch the output level from the second level to the first level when located directly below the magnet during sliding of the slider;
the processor is configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a second distance when the second level is monitored to switch to the first level.
In another optional embodiment, a sliding driving part is further arranged between the upper sliding cover and the lower sliding cover;
the processor is further configured to control the sliding driving part to drive the upper sliding cover to continuously slide in the sliding and closing direction relative to the lower sliding cover when the sliding distance in the sliding and opening direction reaches a second distance.
According to another aspect of the present disclosure, there is provided a slide state detecting method applied to the slide terminal as described above, the method including:
monitoring the output level of the Hall sensor;
when the first level is monitored to be switched to the second level, determining that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a first distance;
when the second level is monitored to be switched to the first level, determining that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding closing direction reaches a second distance.
In an alternative embodiment, when the sliding distance in the sliding direction reaches a first distance, the sliding drive component is controlled to drive the upper sliding cover to slide continuously relative to the lower sliding cover in the sliding direction.
In another alternative embodiment, when the sliding distance in the sliding-open direction reaches a second distance, the sliding driving part is controlled to drive the upper sliding cover to slide continuously in the sliding-close direction relative to the lower sliding cover.
According to another aspect of the present disclosure, there is provided a slide state detecting device applied in the slide terminal as described above, the device including:
a monitoring module configured to monitor an output level of the Hall sensor;
a determination module configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a first distance when the first level is monitored to switch to the second level;
the determining module is configured to determine that a sliding distance of the upper sliding cover in a sliding direction with respect to the lower sliding cover reaches a second distance when the second level is monitored to be switched to the first level.
In an alternative embodiment, the apparatus further comprises:
and the control module is configured to control the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding direction when the sliding distance in the sliding direction reaches a first distance.
In another alternative embodiment, the apparatus further comprises:
and the control module is configured to control the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding and closing direction when the sliding distance in the sliding and opening direction reaches a second distance.
According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored therein, the computer program being loaded and executed by a processor to implement the slide cover state detection method as described above.
According to another aspect of the embodiments of the present disclosure, there is provided a computer program product having a computer program stored therein, the computer program being loaded and executed by a processor to implement the slide cover state detection method as described above.
The technical scheme provided by the embodiment of the disclosure at least comprises the following beneficial effects:
the upper sliding cover of the sliding cover type terminal is provided with the magnet, the lower sliding cover is provided with the Hall sensor, the output level of the Hall sensor can change when the Hall sensor slides back and forth between the first magnetic pole and the second magnetic pole of the magnet, and the sliding cover state of the sliding cover type terminal is determined by monitoring the change of the output level of the Hall sensor, so that the problem of how to detect the sliding state of the upper sliding cover and the lower sliding cover is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an external view schematically illustrating a slide type terminal according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural view of a slide type terminal according to another exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for detecting a state of a slider according to an exemplary embodiment of the present disclosure;
fig. 4 is a schematic diagram of changes in output levels of a hall sensor provided by an exemplary embodiment of the present disclosure when a first magnetic pole and a second magnetic pole slip;
fig. 5 is a block diagram of a slide cover state detection apparatus provided in an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of a slide type terminal provided in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The full-face screen is the development trend of the mobile terminal. The difficulty in realizing the full-screen is how to cancel or hide devices such as a front-facing camera, a distance sensor, a microphone, a fingerprint sensor, a physical key and the like on the front face of the terminal, so that the proportion of the display screen is increased as much as possible.
Fig. 1 schematically shows an external view of a slide type terminal 100. The slide type terminal 100 includes: the upper sliding cover 110 and the lower sliding cover 120 are connected by a sliding rail. The upper slide cover 110 and the lower slide cover 120 can be switched between a slide-open state and a slide-closed state.
The slide-open state refers to a state in which a relative sliding distance between the upper slider 110 and the lower slider 120 is greater than a preset value. In the slide-open state, the front camera 12 on the front surface of the lower slide cover 120 is exposed.
The sliding state refers to a state in which the relative sliding distance between the upper sliding cover 110 and the lower sliding cover 120 is zero, that is, the front positions of the upper sliding cover 110 and the lower sliding cover 120 are coincident. In the slide-closed state, the front camera 12 on the front surface of the lower slide cover 120 is in an unexposed state.
Optionally, a sliding detection assembly and a sliding driving component are disposed between the upper sliding cover 110 and the lower sliding cover 120, where the sliding detection assembly is configured to detect whether a relative sliding distance between the upper sliding cover 110 and the lower sliding cover 120 reaches a threshold value when a user starts to slide the upper sliding cover and the lower sliding cover, and report a sliding event when the relative sliding distance reaches the threshold value. The sliding driving means is used to control the upper sliding cover 110 and the lower sliding cover 120 to automatically slide according to the sliding event until the sliding state is completely switched to the sliding open state or the sliding open state is completely switched to the sliding closed state.
The above-mentioned slip detection assembly may be implemented by a magnet and a hall sensor.
Fig. 2 illustrates a schematic structural diagram of a slide type terminal 100 according to an exemplary embodiment of the present application. The slide type terminal 100 includes an upper slide cover 110 and a lower slide cover 120, and the upper slide cover 110 and the lower slide cover 120 are connected by a slide rail (not shown). The direction arrow 130 in fig. 2 indicates the sliding direction of the upper slider 110 relative to the lower slider 120.
The upper sliding cover 110 is provided therein with a magnet including a first magnetic pole 111 and a second magnetic pole 112. Alternatively, the first magnetic pole 111 is an N pole, the second magnetic pole 112 is an S pole, and the direction of the magnetic lines of force of the magnet is from the N pole to the S pole.
A hall sensor (hall)121, a processor 122 and a memory 123 are arranged in the lower sliding cover 120, the hall sensor 121 is electrically connected with the processor 122, and the processor 122 is electrically connected with the memory 123. The processor 122 is configured to determine the sliding state of the sliding terminal 100 by monitoring the level change of the hall sensor 121 when sliding from the N pole to the S pole.
The hall sensor 121 is an electronic device that generates an output voltage by a hall effect, where the hall sensor 121 located in a magnetic field has a current passing through one end of the hall sensor 121 and the other end, and the current carriers in the current are shifted to one side when passing through the hall sensor 121 under the action of the lorentz force of the hall sensor 121, so that the hall sensor 121 generates a potential difference, and the potential difference generated by the hall sensor 121 through the hall effect is a hall voltage. The hall sensor 121 is located in a side direction of the N pole of the magnet when the slide-type terminal 100 is in the slide-closed state, and in a side direction of the S pole of the magnet when the slide-type terminal 100 is in the slide-open state.
The processor 122 is located in the lower sliding cover 120, and is configured to monitor a change in an output level of the hall sensor 121, and determine a sliding cover state of the sliding-cover terminal 100 according to the monitored change in the output level. A memory 123 is located within the lower slider 120 for storing a corresponding computer program.
In an alternative embodiment, when the upper slider 110 of the slider terminal 100 is slid in the direction of the directional arrow 130, the hall sensor 121 switches the output level from the first level to the second level when it is positioned directly under the magnet during the sliding of the slider. The first level may be a high level, and the second level may be a low level. That is, when the hall sensor 121 is located right under the magnet during the sliding of the slider, the output level is switched from the high level to the low level.
When the processor 122 monitors that the level output by the hall sensor 121 is switched from the high level to the low level through the computer program stored in the memory 123, it is determined that the sliding distance of the upper slide cover 110 with respect to the lower slide cover 120 in the sliding direction indicated by the directional arrow 130 reaches the first distance. The slide-type terminal 100 is further provided with a slide driving part (not shown in the figure) between the upper slide cover 110 and the lower slide cover 120, and the slide driving part is configured to drive the upper slide cover 110 to continue sliding in the sliding direction when the sliding distance of the upper slide cover 110 relative to the lower slide cover 120 in the sliding direction reaches a first distance. When the relative sliding distance between the upper and lower sliding covers of the sliding-cover terminal 100 reaches the first distance, the processor 122 controls the sliding driving part to drive the upper sliding cover 110 to continue sliding in the sliding direction relative to the lower sliding cover 120.
In another alternative embodiment, when the upper slider 110 of the slider-type terminal 100 is slid in the direction opposite to the directional arrow 130, the hall sensor 121 switches the output level from the second level to the first level when it is positioned directly under the magnet during the sliding of the slider. The first level may be a high level, and the second level may be a low level. That is, the hall sensor 121 switches the output level from a high level to a low level when it is located directly below the magnet during the sliding of the slide cover.
When the processor 122 monitors that the level output by the hall sensor 121 is switched from the low level to the high level through the computer program stored in the memory 123, it is determined that the sliding distance of the upper sliding cover 110 relative to the lower sliding cover 120 in the sliding direction indicated by the opposite direction of the direction arrow 130 reaches the second distance. The slide-type terminal 100 is further provided with a slide driving part (not shown in the figure) between the upper slide cover 110 and the lower slide cover 120, and the slide driving part is configured to drive the upper slide cover 110 to continue sliding in the sliding direction when the sliding distance of the upper slide cover 110 relative to the lower slide cover 120 in the sliding direction reaches a second distance. When the relative sliding distance between the upper and lower sliding covers of the sliding-cover terminal 100 reaches the second distance, the processor 122 controls the sliding driving part to drive the upper sliding cover 110 to slide continuously in the sliding direction relative to the lower sliding cover 120.
Optionally, the front surface of the upper sliding cover 110 is further provided with a touch screen, and the screen occupation ratio of the touch screen is greater than a preset screen occupation ratio, for example, the screen occupation ratio of the touch screen is greater than 90%.
Optionally, at least one of a motion sensor, a front camera, a rear camera, a communication chip, a physical interface, a microphone, a speaker, and an antenna is further disposed in the lower sliding cover 120.
In summary, in the slide-type terminal provided in this embodiment, the magnet is disposed on the upper sliding cover of the slide-type terminal, and the hall sensor is disposed on the lower sliding cover, so that when the hall sensor slides back and forth between the first magnetic pole and the second magnetic pole of the magnet, the output level of the hall sensor changes, and the slide-type state of the slide-type terminal is determined by monitoring the change of the output level of the hall sensor, thereby solving the problem of how to detect the sliding state of the upper/lower sliding covers.
Fig. 3 schematically shows a flowchart of a method for detecting a state of a slide cover, which may be applied to the slide-type terminal shown in fig. 2, and the method includes:
step 301, monitoring the output level of the hall sensor.
And the processor of the sliding-cover terminal is used for monitoring the output level of the Hall sensor and determining the sliding-cover state of the sliding-cover terminal according to the output level. The memory stores a computer program which is used by the processor for monitoring the output level of the Hall sensor and determining the sliding closure state of the sliding closure type terminal according to the output level.
The Hall sensor outputs Hall voltage according to Hall effect, and the Hall voltage has different corresponding levels according to different directions of magnetic lines of force passing through the Hall sensor.
Referring to fig. 4, a change in output level when the hall sensor 121 slides between the first and second magnetic poles 111 and 112 of the magnet is shown. Wherein the magnet includes a first magnetic pole 111 and a second magnetic pole 112. Alternatively, the first magnetic pole 111 may be an N-pole, and the second magnetic pole 112 may be an S-pole.
At (1), the hall sensor 121 is located at the lower side of the first magnetic pole 111 of the magnet, the magnetic force line of the magnet is distributed from the N pole to the S pole, and when the hall sensor 121 slides from the N pole to the S pole of the magnet and the hall sensor 121 does not slide to the center line position of the magnet, the magnetic force line received by the hall sensor 121 is B1. The direction of the magnetic force line B1 is analyzed, the magnetic force line B1 can be divided into a magnetic force line B2 in the horizontal direction and a magnetic force line B3 in the vertical direction, the direction of the magnetic force line B2 in the horizontal direction is from right to left, and the direction of the magnetic force line B3 in the vertical direction is from top to bottom, so that the hall sensor 121 determines that the direction of the magnetic force line B3 in the vertical direction is from top to bottom according to the received magnetic force line B1, and then the output level of the hall sensor 121 at (1) is high according to the principle of the hall effect.
When the hall sensor 121 slides from the N pole to the S pole of the magnet and the hall sensor 121 does not slide to the center line of the magnet, the magnetic lines of force B1 received by the hall sensor 121 can be divided into the magnetic lines of force B3 in the vertical direction, and the direction of the magnetic lines of force B3 in the vertical direction is from top to bottom, so the output level of the hall sensor 121 is high.
At (2), the hall sensor 121 is located at the lower side of the center line position of the magnet, and when the hall sensor 121 slides from the N pole to the S pole of the magnet and the hall sensor 121 has slid to the center line position of the magnet, the magnetic line of force received by the hall sensor 121 is B4. The direction of the magnetic force line B4 is analyzed, the magnetic force line B4 is a magnetic force line in the horizontal direction, and the direction of the magnetic force line B4 in the horizontal direction is from right to left, so that the hall sensor 121 determines that there is no magnetic force line in the vertical direction according to the received magnetic force line B4, and then the output level of the hall sensor 121 at (2) is 0 level according to the principle of the hall effect.
At (3), the hall sensor 121 is located at the lower side of the second magnetic pole 112 of the magnet, and when the hall sensor 121 slides from the N pole to the S pole of the magnet and the hall sensor 121 has slid through the center line position of the magnet, the magnetic line of force received by the hall sensor 121 is B5. The direction of the magnetic force line B5 is analyzed, the magnetic force line B5 can be divided into a magnetic force line B6 in the horizontal direction and a magnetic force line B7 in the vertical direction, the direction of the magnetic force line B6 in the horizontal direction is from right to left, and the direction of the magnetic force line B7 in the vertical direction is from bottom to top, so that the hall sensor 121 determines that the direction of the magnetic force line B7 in the vertical direction is from bottom to top according to the received magnetic force line B5, and then the output level of the hall sensor 121 at (3) is low according to the principle of the hall effect.
When the hall sensor 121 slides from the N pole to the S pole of the magnet and the hall sensor 121 has slid through the center line of the magnet, the magnetic force lines B5 received by the hall sensor 121 can be divided into the magnetic force lines B7 in the vertical direction, and the direction of the magnetic force lines B7 in the vertical direction is from bottom to top, so the output level of the hall sensor 121 is low.
Shown at 140 in fig. 4 is a change in the output level of the hall sensor 121 in three stages of sliding from the first magnetic pole 111 to the second magnetic pole 112 of the magnet.
Step 302, when it is monitored that the first level is switched to the second level, it is determined that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a first distance.
When monitoring that the level output by the Hall sensor is switched from a high level to a low level, the processor determines that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a first distance, and the processor determines that the sliding cover type terminal is in the sliding state according to the first distance, namely the processor determines that a user needs to slide the sliding cover type terminal.
A sliding driving part is also arranged between the upper sliding cover and the lower sliding cover of the sliding cover type terminal. And when determining that the sliding distance in the sliding direction reaches the first distance, the processor controls the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding direction.
And step 303, when it is monitored that the second level is switched to the first level, determining that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a second distance.
When monitoring that the level output by the Hall sensor is switched from low level to high level, the processor determines that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding closing direction reaches a second distance, and the processor determines that the sliding cover type terminal is in the sliding closing state according to the second distance, namely the processor determines that a user needs to slide to close the sliding cover type terminal.
A sliding driving part is also arranged between the upper sliding cover and the lower sliding cover of the sliding cover type terminal. And when the sliding distance of the processor in the sliding direction reaches a second distance, controlling the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding direction.
In summary, in the method provided in this embodiment, when it is monitored that the output level of the hall sensor is switched from the first level to the second level, the processor determines that the sliding distance between the upper and lower sliding covers reaches the first distance, and determines that the sliding-cover terminal is in the sliding-open state according to the first distance; when monitoring that the output level of the Hall sensor is switched from the second level to the first level, the processor determines that the sliding distance between the upper sliding cover and the lower sliding cover reaches the second distance, determines that the sliding cover type terminal is in a sliding closed state according to the second distance, and monitors the output level of the Hall sensor through the processor, so that the monitoring of the processor on the state of the sliding cover type terminal is realized, and the problem of detecting the sliding state of the upper sliding cover and the lower sliding cover is solved.
In the method provided by this embodiment, a sliding driving component is further disposed between the upper and lower sliding covers of the sliding-cover terminal, and the upper sliding cover is driven by the sliding driving component to continuously slide in the sliding direction, so that a user can slide the sliding cover open and closed without using too much force when using the sliding-cover terminal.
It should be noted that the embodiment shown in fig. 3 is one of the methods for implementing the method for detecting the state of the sliding cover, when the positions of the first magnetic pole and the second magnetic pole of the magnet in the sliding-cover terminal are opposite, the change of the output level of the hall sensor during the sliding process of the first magnetic pole and the second magnetic pole of the magnet is opposite to the change of the output level shown in the above embodiments, so when the positions of the first magnetic pole and the second magnetic pole of the magnet in the sliding-cover terminal are opposite, the method for detecting the state of the sliding cover can refer to the method shown in fig. 3, and will not be described in detail here.
The following are apparatus embodiments of the present disclosure, and reference may be made to the above-described method embodiments for details not described in detail in the apparatus embodiments.
Fig. 5 is a block diagram schematically illustrating a slide state detecting apparatus, which may be implemented by software, hardware, or a combination thereof as all or a part of a slide terminal, the apparatus comprising:
a monitoring module 501 configured to monitor an output level of the hall sensor.
The determining module 502 is configured to determine that a sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a first distance when the first level is monitored to be switched to the second level.
And a control module 503 configured to control the slide driving part to drive the upper sliding cover to continue sliding relative to the lower sliding cover in the slide opening direction when the sliding distance in the slide opening direction reaches a first distance.
The determining module 502 is configured to determine that a sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a second distance when the second level is monitored to be switched to the first level.
And a control module 503 configured to control the slide driving part to drive the upper sliding cover to continue sliding relative to the lower sliding cover in the sliding direction when the sliding distance in the sliding direction reaches a second distance.
The relevant details may be combined with the method embodiment shown with reference to fig. 3. The monitoring module 501 is further configured to implement functions related to any other implicit or public monitoring steps in the foregoing method embodiments; the determining module 502 is further configured to implement the functions related to any other implicit or disclosed determining steps in the above method embodiments; the control module 503 is also used to implement the functions related to any other implicit or disclosed control steps in the above method embodiments.
It should be noted that, when the apparatus provided in the foregoing embodiment detects the state of the sliding cover, only the division of the above function modules is illustrated, and in practical applications, the function distribution may be completed by different function modules according to actual needs, that is, the content structure of the device is divided into different function modules, so as to complete all or part of the functions described above.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a slide cover state detection apparatus 600 according to an exemplary embodiment. For example, the apparatus 600 may be a slide-type terminal, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described slide status detection method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 604 comprising instructions, executable by processor 620 of device 600 to perform the above-described slider state detection method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein that, when executed by a processor of device 600, enable device 600 to perform a slider state detection method.
In an exemplary embodiment, a computer-readable storage medium is also provided, where the computer-readable storage medium is a non-volatile computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, and when executed by a processing component, the stored computer program can implement the slide cover state detection method provided by the foregoing embodiment of the disclosure.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A sliding closure type terminal is characterized in that the sliding closure type terminal comprises an upper sliding closure and a lower sliding closure, wherein the upper sliding closure and the lower sliding closure are connected through a sliding rail;
a magnet is arranged in the upper sliding cover;
a Hall sensor and a processor are arranged in the lower sliding cover; the Hall sensor is positioned in the direction of one side where the first magnetic pole of the magnet is positioned in the closed state of the sliding cover, and the Hall sensor is positioned in the direction of one side where the second magnetic pole of the magnet is positioned in the opened state of the sliding cover;
the Hall sensor is electrically connected with the processor.
2. Slide-type terminal according to claim 1,
the Hall sensor is configured to switch the output level from a first level to a second level when the Hall sensor is positioned right below the magnet during sliding of the sliding cover;
the processor is configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a first distance when the first level is monitored to switch to the second level.
3. The slide-type terminal according to claim 2, wherein a slide driving part is further provided between the upper slide cover and the lower slide cover;
the processor is further configured to control the sliding driving part to drive the upper sliding cover to continuously slide in the sliding direction relative to the lower sliding cover when the sliding distance in the sliding direction reaches a first distance.
4. Slide-type terminal according to claim 1,
the Hall sensor is configured to switch the output level from a second level to a first level when the Hall sensor is positioned right below the magnet during sliding of the sliding cover;
the processor is configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a second distance when the second level is monitored to switch to the first level.
5. The slide-type terminal according to claim 4, wherein a slide driving part is further disposed between the upper slide cover and the lower slide cover;
the processor is further configured to control the sliding driving part to drive the upper sliding cover to continuously slide in the sliding and closing direction relative to the lower sliding cover when the sliding distance in the sliding and opening direction reaches a second distance.
6. A slide cover status detection method applied to the slide cover terminal according to claim 1, the method comprising:
monitoring the output level of the Hall sensor;
when the first level is monitored to be switched to the second level, determining that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding direction reaches a first distance;
when the second level is monitored to be switched to the first level, determining that the sliding distance of the upper sliding cover relative to the lower sliding cover in the sliding closing direction reaches a second distance.
7. The method of claim 6, further comprising:
and when the sliding distance in the sliding direction reaches a first distance, controlling the sliding driving part to drive the upper sliding cover to continuously slide in the sliding direction relative to the lower sliding cover.
8. The method of claim 6, further comprising:
and when the sliding distance in the sliding direction reaches a second distance, controlling the sliding driving part to drive the upper sliding cover to continuously slide in the sliding direction relative to the lower sliding cover.
9. A slide cover state detection device applied to the slide cover terminal according to claim 1, the device comprising:
a monitoring module configured to monitor an output level of the Hall sensor;
a determination module configured to determine that a sliding distance of the upper slider relative to the lower slider in a sliding direction reaches a first distance when the first level is monitored to switch to the second level;
the determining module is configured to determine that a sliding distance of the upper sliding cover in a sliding direction with respect to the lower sliding cover reaches a second distance when the second level is monitored to be switched to the first level.
10. The apparatus of claim 9, further comprising:
and the control module is configured to control the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding direction when the sliding distance in the sliding direction reaches a first distance.
11. The apparatus of claim 9, further comprising:
and the control module is configured to control the sliding driving part to drive the upper sliding cover to continuously slide relative to the lower sliding cover in the sliding and closing direction when the sliding distance in the sliding and opening direction reaches a second distance.
12. A computer-readable storage medium, characterized in that the storage medium has stored therein a computer program which is loaded and executed by a processor to implement the slide status detection method according to any one of claims 6 to 8.
CN201811291594.0A 2018-10-31 2018-10-31 Sliding cover type terminal, sliding cover state detection method and device Pending CN111131558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811291594.0A CN111131558A (en) 2018-10-31 2018-10-31 Sliding cover type terminal, sliding cover state detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811291594.0A CN111131558A (en) 2018-10-31 2018-10-31 Sliding cover type terminal, sliding cover state detection method and device

Publications (1)

Publication Number Publication Date
CN111131558A true CN111131558A (en) 2020-05-08

Family

ID=70494447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811291594.0A Pending CN111131558A (en) 2018-10-31 2018-10-31 Sliding cover type terminal, sliding cover state detection method and device

Country Status (1)

Country Link
CN (1) CN111131558A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708058A (en) * 2004-06-11 2005-12-14 三星电机株式会社 Mobil communication terminal and automatic driving method thereof, and method for detecting to call-in calling thereof
CN1960397A (en) * 2005-11-04 2007-05-09 乐金电子(中国)研究开发中心有限公司 Cover-slide testing device for mobile terminal
CN101382855A (en) * 2007-09-03 2009-03-11 Lg电子株式会社 Mobile terminal and touch recognition method therefor
JP2009130388A (en) * 2007-11-19 2009-06-11 Sharp Corp Slide open mobile phone
KR101003752B1 (en) * 2007-04-24 2010-12-23 에이디반도체(주) Slide type potable telephone which decides open-and-close using capacitance sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708058A (en) * 2004-06-11 2005-12-14 三星电机株式会社 Mobil communication terminal and automatic driving method thereof, and method for detecting to call-in calling thereof
CN1960397A (en) * 2005-11-04 2007-05-09 乐金电子(中国)研究开发中心有限公司 Cover-slide testing device for mobile terminal
KR101003752B1 (en) * 2007-04-24 2010-12-23 에이디반도체(주) Slide type potable telephone which decides open-and-close using capacitance sensor
CN101382855A (en) * 2007-09-03 2009-03-11 Lg电子株式会社 Mobile terminal and touch recognition method therefor
JP2009130388A (en) * 2007-11-19 2009-06-11 Sharp Corp Slide open mobile phone

Similar Documents

Publication Publication Date Title
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
CN107526494B (en) Keyboard display method, device, terminal and storage medium
US20170344192A1 (en) Method and device for playing live videos
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN107071105B (en) Mobile terminal and component control method of mobile terminal
US11372516B2 (en) Method, device, and storage medium for controlling display of floating window
US10861628B2 (en) Front assembly sliding structure, controlling device thereof, and terminal having same
CN111262990B (en) Sliding closure type terminal, sliding closure state detection method and device and storage medium
CN105161040A (en) Method and device for adjusting backlight intensity
EP3629560A1 (en) Full screen terminal, and operation control method and device based on full screen terminal
CN110597443B (en) Calendar display method, device and medium
CN112269525A (en) Small screen window display method and device and storage medium
CN111131557A (en) Sliding cover type terminal and threshold setting method of Hall sensor
CN108650412B (en) Display method, display device and computer readable storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN109922203B (en) Terminal, screen off method and device
CN111294457B (en) Sliding closure type terminal, sliding closure state detection method and device and storage medium
CN111131559B (en) Sliding closure type terminal, sliding closure state detection method and device and storage medium
CN106919302B (en) Operation control method and device of mobile terminal
CN111131558A (en) Sliding cover type terminal, sliding cover state detection method and device
EP3809401A1 (en) Display control method, device and electronic apparatus
CN111131556B (en) Sliding cover type terminal, sliding cover state detection method, device and manufacturing method
CN115940310A (en) Charging method, charging device, and storage medium
CN111103997B (en) False touch prevention method and device and readable storage medium
CN111294432B (en) Sliding closure type terminal, sliding closure state detection method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508