Electronic device and distance detection method
By installing a resistance detection module in electronic devices and using changes in resistance information to determine the position of the flexible display module, the problem of quickly identifying its status is solved, improving the functional adaptability and power consumption management of electronic devices.
Patent Information
- Application Number
- CN202210635618.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-06-06
AI Technical Summary
How to quickly determine the positional information of flexible display modules of electronic devices between their unfolded and retracted states in order to adapt to application interfaces with different usage requirements.
By installing a resistance detection module between the first and second housings of the electronic device, the movement position of the second housing relative to the first housing is determined by utilizing the change in resistance information of the resistance detection module, thereby quickly determining the state of the flexible display module.
It enables the rapid and accurate determination of the specific status information of flexible display modules, improving the functional adaptability and power consumption management of electronic devices under different states.
Smart Images

Figure CN115002258B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronics, and in particular to an electronic device and a distance detection method. BACKGROUND
[0002] With the development of electronic technology, the degree of intelligence of electronic devices such as smart phones is getting higher and higher, and the functions that can be realized are also getting more and more. In the related art, an electronic device has a flexible display module that can be switched between an unfolded state and a folded state. The flexible display module can be partially located outside the electronic device and partially located inside the electronic device. The flexible display module can adjust the size located outside the electronic device according to the use demand of a user. The part of the flexible display module located outside the electronic device can be used as a display area to provide a display image. However, in different states, the use of the electronic device needs to correspond to different application interfaces, and therefore, how to determine the state of the flexible display module of the electronic device becomes one of the important technical problems in the art. SUMMARY
[0003] Embodiments of the present application provide an electronic device and a distance detection method, which can determine the position information of the movement of the second housing relative to the first housing more quickly.
[0004] In a first aspect, embodiments of the present application provide an electronic device, which includes:
[0005] a housing including a first housing and a second housing connected to each other, the second housing being capable of sliding relative to the first housing;
[0006] a flexible display module, one end of the flexible display module being connected to the first housing and the other end being connected to the second housing, the flexible display module being capable of switching between an unfolded state and a folded state when the second housing slides relative to the first housing;
[0007] a resistance detection module, the resistance detection module being installed on the first housing, the resistance information of the resistance detection module being capable of changing when the second housing slides relative to the first housing, the resistance information being used to determine the position information of the movement of the second housing relative to the first housing.
[0008] In a second aspect, embodiments of the present application further provide a distance detection method applied to an electronic device, the electronic device including a housing, a flexible display module, and a resistance detection module. The housing includes a first housing and a second housing connected to each other and capable of sliding relative to each other. The flexible display module is installed on the housing and is capable of switching between an unfolded state and a folded state. The resistance detection module is installed on the first housing. The distance detection method includes:
[0009] When the second shell slides relative to the first shell, the changed resistance information of the resistance detection module is acquired;
[0010] The position information of the second shell sliding relative to the first shell is determined according to the resistance information.
[0011] In the embodiment of the application, the second shell can slide relative to the first shell, and the flexible display module can be switched between the unfolded state and the folded state through the relative sliding of the movement of the second shell and the first shell. When the second shell slides relative to the first shell, the resistance information of the resistance detection module can be changed, and then the position information of the second shell moving relative to the first shell can be quickly determined according to the resistance information by acquiring the resistance information of the resistance detection module, and the quickness of determining the specific state information of the flexible display module can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0013] In order to more completely understand the application and its beneficial effects, the following will be described in conjunction with the drawings, wherein the same reference numerals in the following description represent the same parts.
[0014] Figure 1 The structural schematic diagram of the flexible display module of the electronic device provided in the embodiment of the application in the folded state is shown.
[0015] Figure 2 The first structural schematic diagram of the flexible display module of the electronic device provided in the embodiment of the application in the unfolded state is shown.
[0016] Figure 3 The second structural schematic diagram of the flexible display module of the electronic device provided in the embodiment of the application in the unfolded state is shown.
[0017] Figure 4 The structural schematic diagram of the slide rail and the slide block in the electronic device provided in the embodiment of the application is shown.
[0018] Figure 5 The second structural schematic diagram of the resistance detection module in the electronic device provided in the embodiment of the application is shown.
[0019] Figure 6 The third structural schematic diagram of the resistance detection module in the electronic device provided in the embodiment of the application is shown.
[0020] Figure 7 FIG. 4 is a fourth structural schematic diagram of a resistance detection module in an electronic device according to an embodiment of the present application.
[0021] Figure 8 FIG. 5 is a flowchart of a distance detection method according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person skilled in the art without creative labor fall within the protection scope of the present application.
[0023] The electronic device according to the embodiments of the present application can be a mobile terminal such as a mobile phone, a tablet computer or other portable electronic device. For the convenience of understanding, the electronic device is taken as a mobile phone in the following description.
[0024] Please refer to Figure 1 and Figure 2 , Figure 1 FIG. 6 is a structural schematic diagram of a flexible display module of an electronic device according to an embodiment of the present application in a storage state. Figure 2 FIG. 7 is a first structural schematic diagram of a flexible display module of an electronic device according to an embodiment of the present application in an unfolded state. The electronic device 10 according to the embodiments of the present application can include a housing 20 and a flexible display module 30. The housing 20 includes a first housing 220 and a second housing 240 connected to each other, and the second housing 240 can slide relative to the first housing 220. For example, the first housing 220 can be a fixed end, and the second housing 240 can be a movable end, and the second housing 240 can slide on the first housing 220. In another example, the first housing 220 can be a movable end, and the second housing 240 can be a fixed end, and the first housing 220 can slide on the second housing 240.
[0025] The flexible display module 30 can be mounted on the first housing 220 and the second housing 240, and the flexible display module 30 can change its display area according to the relative sliding of the first housing 220 and the second housing 240. One end of the flexible display module 30 is connected to the first housing 220, and the other end is connected to the second housing 240. When the second housing 240 slides relative to the first housing 220, the flexible display module 30 can be switched between an unfolded state and a folded state. Specifically, the second housing 240 and the first housing 220 can form an accommodation space. The flexible display module 30 can include a fixed part 320 and a free part 340 connected to the fixed part 320. The fixed part 320 is connected to the first housing 220, and the free part 340 passes around one end of the second housing 240 away from the first housing 220 and extends into the accommodation space. The accommodation space can also be used to place some functional components of the electronic device 10, such as a circuit board, a battery, etc. Among them, the flexible display module 30 is at least partially disposed outside the accommodation space. The flexible display module 30 can be at least partially hidden in the accommodation space. During the movement of the second housing 240 relative to the first housing 220, the flexible display module 30 can be moved, and at least part of the free part 340 can move between the accommodation space and outside the accommodation space to change the display area of the flexible display module 30 outside the accommodation space, such as to switch the flexible display module 30 between the unfolded state and the folded state. Exemplarily, when the first housing 220 and the second housing 240 are relatively far away, the flexible display module 30 can be unfolded to expose more display parts of the flexible display module 30 outside the accommodation space. When the first housing 220 and the second housing 240 are relatively close, the flexible display module 30 can be folded to hide more parts of the flexible display module 30 in the accommodation space.
[0026] It should be noted that the flexible display module 30 is integrated, Figure 2 In the actual flexible display module 30, there is no dashed line. The flexible display module 30 can be an organic electroluminesence display (OLED).
[0027] The electronic device 10 can also include a resistance detection module 40 mounted on the first housing 220. When the second housing 240 slides relative to the first housing 220, the resistance information of the resistance detection module 40 can change, and the resistance information is used to determine the position information of the movement of the second housing 240 relative to the first housing 220.
[0028] The resistance detection module 40 can be used to quickly determine the position information of the second shell 240 relative to the first shell 220, and then the position information of the flexible display module 30 in the unfolded or folded state can be determined according to the position information. For example, the position information of the flexible display module 30 in the unfolded state or in the folded state, wherein the position information can include the distance or the coordinate of the flexible display module 30 in the unfolded or folded state. After the electronic device obtains the position information, different functions can be realized according to the position information of the flexible display module 30 in the unfolded or folded state. For example, the electronic device 10 can determine the display area of the flexible display module 30 outside the shell 20 and the non-display area inside the shell 20 according to the position information, and then adjust the display content according to the size of the display area, and then display the display content in the display area. The non-display area is not displayed, which reduces the power consumption. The resistance information obtained by the resistance detection module 40 can quickly determine the position information of the second shell 240 relative to the first shell 220, which improves the speed of determining the specific state information of the flexible display module 30.
[0029] Please refer to Figure 3 , Figure 3 The second structure diagram of the flexible display module of the electronic device provided by the embodiment of the present application in the unfolded state is shown. The resistance detection module 40 includes a plurality of pressure detection units 420, and the plurality of pressure detection units 420 are arranged along the sliding direction. The pressure detection unit 420 can change its resistance value according to the pressure. For example, the pressure detection unit 420 can be a pressure sensor, which uses the resistance strain effect to produce mechanical deformation when being pressed, and the resistance value also changes correspondingly. The pressure detection unit 420 can be a piezoresistive sensor, which can change the resistance rate when being stressed due to the change of energy band caused by stress, and the energy of the energy valley moves.
[0030] When the second shell 240 slides relative to the first shell 220, because the plurality of pressure detection units 420 are arranged along the sliding direction, different pressure detection units 420 will be triggered, and the resistance information of the triggered pressure detection unit 420 can be changed. The position information of the second shell 240 relative to the first shell 220 can be determined by the position of the triggered pressure detection unit 420.
[0031] The pressure detection units 420 have a proportional relationship between pressure and resistance value, and the proportional relationship of the plurality of pressure detection units 420 increases or decreases in turn along the sliding direction. For example, the resistance value of the pressure detection unit 420 can be calculated by the formula: R=k*F+b, where R is the resistance value of the pressure detection unit 420, k is the conversion coefficient, F is the pressure received by the pressure detection unit 420, and b is a constant. The pressure detection unit 420 can produce deformation and change the resistance value. For example, the resistance value can be calculated by the formula: R=ρ*L / S, where ρ is the resistivity of the metal conductor in the pressure detection unit 420 (Ω· / m), S is the cross-sectional area of the metal conductor, and L is the length of the metal conductor (m). The greater the pressure received by the pressure detection unit 420, the greater the mechanical deformation, the longer the length, the smaller the cross-sectional area, and the greater the corresponding resistance value.
[0032] When different pressure detection units 420 are triggered, because the corresponding proportional relationship of different pressure detection units 420 is different, assuming that the pressure received by different pressure detection units 420 is the same, the corresponding resistance value of different pressure detection units 420 is different when they are triggered, then the resistance value obtained can determine which pressure detection unit 420 is triggered, and different pressure detection units 420 correspond to different position information of the first shell 220 and the second shell 240, that is, the resistance value obtained by the pressure detection unit 420 can conveniently and quickly determine the position information of the second shell 240 relative to the first shell 220.
[0033] Optionally, along the sliding direction, because the proportional relationship of the plurality of pressure detection units 420 increases or decreases in turn. The resistance value obtained in adjacent time periods can further assist in determining the position information of the second shell 240 relative to the first shell 220. For example, when the obtained resistance value continuously increases or decreases, the sliding direction of the second shell 240 relative to the first shell 220 can be determined, and when the difference between the current resistance value and the resistance value obtained at the last time is large, an abnormal situation may occur, at this time, the position information of the second shell 240 relative to the first shell 220 can be determined according to the resistance value obtained at the last time and the sliding direction before. For example, the position information determined at the last time is maintained, or the position information at this time is predicted according to the sliding direction.
[0034] Optionally, the proportional relationship of any two adjacent pressure detection units 420 is greatly different, for example, the resistance value can be 10 times or even more different under the same pressure, so that when the two adjacent pressure detection units 420 are triggered in turn, the difference between the resistance values obtained in succession is large, and it can be clearly determined whether the second shell 240 moves relative to the first shell 220, preventing misidentification caused by the resistance values detected by the two adjacent pressure detection units 420 being close. For example, the plurality of pressure detection units 420 can include two proportional relationships, and along the sliding direction, the proportional relationship of the odd pressure detection units 420 and the even pressure detection units 420 is greatly different. Of course, the plurality of pressure detection units 420 can also adopt other manners, such as the plurality of pressure detection units 420 are arranged in turn according to the proportional relationship of small, medium, and large, or the plurality of pressure detection units 420 are arranged in turn according to the proportional relationship of large, medium, and small, and the like.
[0035] Please refer to Figure 4 , Figure 4 The structure schematic diagram of the slide rail and the slide block in the electronic device provided by the embodiment of the present application is shown. The first shell 220 can include a slide rail 222, and the second shell 240 includes a slide block 242, the slide block 242 can slide along the slide rail 222 to make the second shell 240 slide relative to the first shell 220. The resistance detection module 40 is arranged on the slide rail 222, and when the second shell 240 slides relative to the first shell 220, the slide block 242 presses different pressure detection units 420. The slide block 242 can be reused to realize the relative sliding of the first shell 220 and the second shell 240, and trigger different pressure detection units 420.
[0036] It should be noted that the plurality of pressure detection units 420 can be arranged at the bottom of the slide rail 222, or can be arranged at the side of the slide rail 222. When the slide block 242 slides on the slide rail 222, the slide block 242 can press the bottom of the slide rail 222, or can press the side of the slide rail 222.
[0037] In other embodiments, the plurality of pressure detection units can also be arranged at different positions of the first shell as needed, and the second shell can correspondingly arrange a triggering structure, which triggers different pressure detection units when the second shell slides relative to the first shell.
[0038] It can be understood that the resistance detection module can also adopt other structures. Optionally, please refer to Figure 5 and Figure 6 , Figure 5 The second structure schematic diagram of the resistance detection module in the electronic device provided by the embodiment of the present application is shown, Figure 6A third structural schematic diagram of a resistance detection module in an electronic device is provided in the embodiments of the present application. The resistance detection module 40 can include a first conductor portion 440 and a second conductor portion 460, which are arranged along a sliding direction and are spaced apart. The first conductor portion 440 is configured to input a voltage signal, and the second conductor portion 460 is configured to be grounded. When the second housing 240 slides relative to the first housing 220, the resistance detection module 40 deforms to conduct different positions of the first conductor portion 440 and the second conductor portion 460 and change the resistance information of the resistance detection module 40.
[0039] The first conductor portion 440 and the second conductor portion 460 can be in a strip structure and are arranged along the sliding direction of the second housing 240. The first conductor portion 440 and the second conductor portion 460 can be arranged oppositely. When the resistance detection module 40 is not pressed, the first conductor portion 440 and the second conductor portion 460 are spaced apart and insulated from each other. When the second housing 240 slides relative to the first housing 220, the resistance detection module 40 is pressed, and the resistance detection module 40 deforms. One of the first conductor portion 440 and the second conductor portion 460 moves towards the other and contacts the other. Because the first conductor portion 440 and the second conductor portion 460 are conductors, the first conductor portion 440 and the second conductor portion 460 are conducted after contacting, forming a loop.
[0040] For example, the first end of the first conductor portion 440 away from the second housing 240 is configured to input a voltage signal, and the first end of the second conductor portion 460 away from the second housing 240 is configured to be grounded. When the second housing 240 slides relative to the first housing 220, different positions of the first conductor portion 440 and the second conductor portion 460 are conducted. The parts of the first conductor portion 440 between the first end and the conducted position and the parts of the second conductor portion 460 between the first end and the conducted position are connected to the loop. Different positions are conducted to make the lengths of the first conductor portion 440 and the second conductor portion 460 in the loop different, and the corresponding resistance values are also different.
[0041] For example, please refer to Figure 3 The first housing 220 can include a slide rail 222, and the second housing 240 can include a slide block 242. The slide block 242 can slide along the slide rail 222 to make the second housing 240 slide relative to the first housing 220. The resistance detection module 40 is arranged on the slide rail 222. When the second housing 240 slides relative to the first housing 220, the slide block 242 presses different positions of the first conductor portion 440 and the second conductor portion 460 to change the resistance information of the resistance detection module 40.
[0042] Please refer to Figure 7 , Figure 7A fourth structural schematic diagram of the resistance detection module in the electronic device provided in the embodiments of the present application is shown in FIG. 4. The resistance detection module 40 includes a first conductor part 440 and a second conductor part 460. The first conductor part 440 and the second conductor part 460 are arranged along the sliding direction and are spaced apart. The first conductor part 440 is used for inputting a voltage signal, and the second conductor part 460 is grounded. The second housing 240 includes a third conductor part 480 connected to the first conductor part 440 and the second conductor part 460. When the second housing 240 slides relative to the first housing 220, the third conductor part 480 slides relative to the first housing 220 to conduct different positions of the first conductor part 440 and the second conductor part 460 and change the resistance information of the resistance detection module 40.
[0043] For example, the first end of the first conductor part 440 away from the first end of the second housing 240 is used for inputting a voltage signal, and the first end of the second conductor part 460 away from the first end of the second housing 240 is used for grounding. The first conductor part 440 and the second conductor part 460 can be in a strip structure and are arranged along the sliding direction of the second housing 240. The first conductor part 440 and the second conductor part 460 can be spaced apart, and the third conductor part 480 is connected between the first conductor and the second conductor. Since the first conductor part 440, the second conductor part 460, and the third conductor part 480 are conductors, the first conductor part 440 and the second conductor part 460 are conducted through the third conductor part 480 to form a loop.
[0044] When the second housing 240 slides relative to the first housing 220, the third conductor part 480 slides along the first conductor part 440 or the second conductor part 460. Different positions of the first conductor part 440 and the second conductor part 460 are conducted by the third conductor part 480. Thus, the part between the first end of the first conductor part 440 and the conducting position, the third conductor part 480, and the part between the first end of the second conductor part 460 and the conducting position are accessed in the loop. Different positions are conducted to make the lengths of the first conductor part 440 and the second conductor part 460 in the loop different, and the corresponding resistance values are also different.
[0045] Optionally, in combination with Figure 3 The first housing 220 can include a slide rail 222, and the second housing 240 can include a slide block 242 capable of sliding along the slide rail 222 to make the second housing 240 slide relative to the first housing 220. The resistance detection module 40 is arranged at the side of the slide rail 222, and the third conductor part 480 is arranged at the slide rail 222. When the second housing 240 slides relative to the first housing 220, the third conductor part 480 conducts different positions of the first conductor part 440 and the second conductor part 460. The resistance detection module 40 is arranged at the side of the slide rail 222, and the third conductor part 480 is arranged on the slide block 242, which can facilitate the sliding of the third conductor part 480 on the first conductor part 440 and the second conductor part 460.
[0046] Optionally, in other embodiments, the resistance detection module can also be arranged at different positions of the first shell as needed, and the second shell can correspondingly be provided with a third conductor portion. When the second shell slides relative to the first shell, the third conductor portion conducts different positions of the first conductor portion and the second conductor portion.
[0047] Please continue to refer to Figure 4 The first shell 220 can include a first support body 224, and the second shell 240 can include a second support body 244. The second support body 244 can move relative to the first support body 224. The first support body 224 and the second support body 244 jointly support the flexible display module 30. The first support body 224 is provided with a plurality of slide rails 222, and the second support body 244 is provided with a plurality of slide blocks 242. Each slide block 242 is located in a corresponding slide rail 222. When the flexible display module 30 is in a storage state, each slide block 242 is completely accommodated in the slide rail 222. When the flexible display module 30 is in different unfolded states, the slide block 242 is at least partially located outside the slide rail 222. Each slide block 242 and the corresponding slide rail 222 are pulled away from each other to jointly support the flexible display module 30. In order to improve the stability of the movement of the flexible display module 30, the first support body 224 and the second support body 244 are flush structures, which can make the flexible display module 30 located outside the electronic device in a flat support state, thereby facilitating user operation to improve the convenience of use.
[0048] It should be noted that Figure 4 The first shell and the second shell shown in the structure are only exemplary, and the first shell and the second shell can also be other structures for carrying the flexible display module and capable of relative movement.
[0049] In the embodiments of the present application, the electronic device further includes a driver. The driver is used to drive the second shell to move relative to the first shell, so as to switch the flexible display module between the unfolded state and the folded state. In the unfolded state, at least part of the free portion of the flexible display module is unfolded in the second shell. In the folded state, the free portion unfolded in the second shell is retracted into the accommodation space. The driving machine can be arranged in the accommodation space. The driver can be associated with the second shell. The driver is used to drive the second shell 240 to move away from the first shell 220, thereby driving the flexible display module 260 to stretch. It can be understood that in other embodiments, the driver can also be omitted. The user can directly make the first shell and the second shell move relative to each other by manual operation or the like.
[0050] The embodiment of the present application further provides a distance detection method, which is applied to an electronic device. The electronic device can be any one of the electronic devices in the above embodiments, and the structure of the electronic device can refer to the above embodiments, which will not be repeated here. Please refer to Figure 8 , Figure 8 The embodiment of the present application provides a flow chart of the distance detection method, which includes the following steps:
[0051] 401. When the second shell slides relative to the first shell, the resistance information of the resistance detection module after the change is acquired.
[0052] 402. The position information of the second shell sliding relative to the first shell is determined according to the resistance information.
[0053] The resistance detection module can be used to quickly determine the position information of the second shell moving relative to the first shell, and then the position information of the flexible display module unfolding or folding can be determined according to the position information. For example, the position information when the flexible display module is in an unfolded state or in a folded state, wherein the position information can include the distance size or the fixed point position coordinates of the flexible display module unfolding or folding. After the electronic device obtains the position information, different functions can be realized according to the position information of the flexible display module unfolding or folding. For example, the electronic device can determine the display area of the flexible display module located outside the shell and the non-display area located inside the shell according to the position information, then adjust the display content according to the size of the display area, and then display the display content in the display area. The non-display area is not displayed, which reduces the power consumption. The resistance information obtained by the resistance detection module can quickly determine the position information of the second shell moving relative to the first shell, which improves the speed of determining the specific state information of the flexible display module.
[0054] In some embodiments, the resistance detection module includes a plurality of pressure detection units, and the plurality of pressure detection units are arranged along the sliding direction. The pressure detection unit can change its resistance value according to the pressure. When the second shell slides relative to the first shell, because the plurality of pressure detection units are arranged along the sliding direction, different pressure detection units will be triggered, and the resistance information of the triggered pressure detection unit can change. The distance detection method can further include the following steps:
[0055] The pressure detection unit whose resistance value changes is determined as the triggered pressure detection unit.
[0056] The position information of the second shell moving relative to the first shell is determined by the position of the triggered pressure detection unit.
[0057] The different pressure detection units pre-store corresponding numbers or positions, so that the position information of the second shell moving relative to the first shell can be quickly and conveniently determined by the triggered pressure detection unit. The specific structure can refer to the above embodiments.Figure 3 and Figure 4 Corresponding embodiments, which are not described here again.
[0058] In some embodiments, the proportional relationship between the pressure and the resistance value of different pressure detection units is also different. The distance detection method can further include:
[0059] Obtaining the resistance value of the pressure detection unit after the change;
[0060] Determining the position information of the second shell relative to the first shell according to the changed resistance value.
[0061] Because the resistance values of different pressure detection units after being triggered are different, the position information of the second shell relative to the first shell is associated with the resistance value in advance, so the position information of the second shell relative to the first shell can be quickly and conveniently determined according to the changed resistance value. For specific structures, please refer to Figure 3 and Figure 4 Corresponding embodiments, which are not described here again.
[0062] In some embodiments, the resistance detection module can include a first conductor part and a second conductor part, the first conductor part and the second conductor part are arranged along the sliding direction and are arranged at intervals, the first conductor part is used to input a voltage signal, and the second conductor part is grounded. When the second shell slides relative to the first shell, different positions of the first conductor part and the second conductor part are conductive, and the resistance information of the resistance detection module is changed. The distance detection method can further include:
[0063] Obtaining the resistance value of the resistance detection module;
[0064] Determining the position information of the second shell relative to the first shell according to the resistance value.
[0065] When the second shell slides relative to the first shell, different positions of the first conductor part and the second conductor part are conductive, so that the part between the first end of the first conductor part and the conductive part and the part between the first end of the second conductor part and the conductive part of the access loop are conductive. Different positions are conductive to make the lengths of the first conductor part and the second conductor part in the loop different, and the corresponding resistance values are also different. According to the resistance value, the position information of the second shell relative to the first shell can be quickly and conveniently determined.
[0066] In some embodiments, the resistance detection module can be deformed to make different positions of the first conductor part and the second conductor part conductive when the second shell slides relative to the first shell. A third conductor part connecting the first conductor part and the second conductor part can also be provided, and the third conductor part moves with the second shell, thereby making different positions of the first conductor part and the second conductor part conductive. For specific structures, please refer to Figures 5 to 7 Corresponding embodiments, which are not described here again.
[0067] In some embodiments, the method further comprises:
[0068] adjusting the display area of the flexible display module according to the position information;
[0069] adjusting the display content according to the display area;
[0070] displaying the display content in the display area of the flexible display module.
[0071] After obtaining the position information, the display area of the flexible display module can be determined, i.e., the area of the flexible display module that can be used for display outside the shell. According to the display area, the display content of the display area can be adjusted. Because the area of the display area has changed, the display content needs to be adjusted accordingly. For example, after the display area has increased, the part that was originally cut off can be retained, thereby displaying more content. The proportion of the display content can also be adjusted to cover the display area after the area has increased. For another example, after the display area has increased, part of the originally displayed content can be cut off to adapt to the display area after the area has decreased. The proportion of the display content can also be adjusted without losing the display content while covering the display area after the area has decreased. For another example, after the display area has increased, landscape display can be changed to portrait display, or after the display area has decreased, portrait display can be changed to landscape display.
[0072] The electronic device and distance detection method provided by the embodiments of the present application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range will be changed, and the above description of the embodiments should not be understood as limiting the present application.
Claims
1. An electronic device, comprising: include: The housing includes a first housing and a second housing connected to each other, the second housing being slidable relative to the first housing; A flexible display module, one end of which is connected to the first housing and the other end of which is connected to the second housing, wherein the flexible display module can switch between an unfolded state and a retracted state when the second housing slides relative to the first housing; A resistance detection module is installed on the first housing. When the second housing slides relative to the first housing, the resistance information of the resistance detection module can change. The resistance information is used to determine the position information of the second housing relative to the first housing. The resistance detection module includes multiple pressure detection units arranged along the sliding direction. When the second housing slides relative to the first housing, different pressure detection units are triggered, and the resistance information of the triggered pressure detection units can change. The pressure detection unit has a proportional relationship between pressure and resistance values. Along the sliding direction, the proportional relationship of multiple pressure detection units increases or decreases sequentially. Alternatively, the proportional relationships of odd-numbered pressure detection units and even-numbered pressure detection units are different. Or, multiple pressure detection units are arranged in a cyclical manner according to a proportional relationship of small, medium, large or large, medium, small.
2. The electronic device of claim 1, wherein, The first housing includes a slide rail, and the second housing includes a slider, the slider being slidable along the slide rail to allow the second housing to slide relative to the first housing; The resistance detection module is disposed on the slide rail. When the second housing slides relative to the first housing, the slider presses on the pressure detection unit at different pressures.
3. The electronic device of any of claims 1 or 2, wherein, The first housing and the second housing form a receiving space. The flexible display module includes a fixed part and a free part connected to the fixed part. The fixed part is connected to the first housing, and the free part bypasses the second housing at one end away from the first housing and extends into the receiving space. When the second housing is able to slide relative to the first housing, at least a portion of the free portion is able to move between the receiving space and the outside of the receiving space to change the display area of the flexible display module outside the receiving space.
4. A distance detection method characterized by, This invention relates to an electronic device, which includes a housing, a flexible display module, and a resistance detection module. The housing includes a first housing and a second housing that are interconnected and can slide relative to each other. The flexible display module is mounted on the housing and can switch between an unfolded state and a retracted state. The resistance detection module is mounted on the first housing and includes multiple pressure detection units arranged along a sliding direction. When the second housing slides relative to the first housing, different pressure detection units are triggered, and the resistance information of the triggered pressure detection units can change. The pressure detection units have proportional relationships between pressure and resistance value, and the proportional relationships of the multiple pressure detection units are sequentially increased or decreased along the sliding direction, or the proportional relationships of the odd pressure detection units and the even pressure detection units are different, or the multiple pressure detection units are arranged in a sequence of small, medium, large, or large, medium, small in the proportional relationship and sequentially circulate; the distance detection method comprises: When the second shell slides relative to the first shell, the resistance information of the resistance detection module after the change is acquired; According to the resistance information, the position information of the second shell relative to the first shell is determined.
Citation Information
Patent Citations
Electronic device
CN112367417A