CN112947687A - Device control method, device, storage medium and electronic device - Google Patents

Device control method, device, storage medium and electronic device Download PDF

Info

Publication number
CN112947687A
CN112947687A CN202110231459.2A CN202110231459A CN112947687A CN 112947687 A CN112947687 A CN 112947687A CN 202110231459 A CN202110231459 A CN 202110231459A CN 112947687 A CN112947687 A CN 112947687A
Authority
CN
China
Prior art keywords
telescopic
display screen
motion
information
magnetic
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
CN202110231459.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110231459.2A priority Critical patent/CN112947687A/en
Publication of CN112947687A publication Critical patent/CN112947687A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1656Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The application discloses a device control method, a device control apparatus, a storage medium and an electronic device. The method may be applied to an electronic device comprising a retractable display screen, the method comprising: acquiring a motion instruction, and determining the information of a target position from the motion instruction; controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position; collecting parameter information of the telescopic display screen in the telescopic motion process; determining position information corresponding to the telescopic display screen according to the parameter information; and controlling the telescopic display screen to update a display area according to the position information. The positioning accuracy of the electronic equipment can be improved.

Description

Device control method, device, storage medium and electronic device
Technical Field
The present application belongs to the technical field of electronic devices, and in particular, to a device control method, apparatus, storage medium, and electronic device.
Background
With the continuous development of the technology, the form of the electronic device is also changing. The development from a small screen to a large screen, the development from a simple display screen for displaying images and characters to a touch display screen that can receive a user touch operation, the development from a display screen that cannot be expanded to a display screen that can be expanded, and the like. However, in the related art, in the process of performing the telescopic movement on the telescopic display screen, the problem of low positioning accuracy may occur.
Disclosure of Invention
The embodiment of the application provides a device control method and device, a storage medium and an electronic device, which can improve the positioning accuracy of the electronic device.
In a first aspect, an embodiment of the present application provides an apparatus control method, where the electronic apparatus includes a retractable display screen, and the method includes:
acquiring a motion instruction, and determining the information of a target position from the motion instruction;
controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
collecting parameter information of the telescopic display screen in the telescopic motion process;
determining position information corresponding to the telescopic display screen according to the parameter information;
and controlling the telescopic display screen to update a display area according to the position information.
In a second aspect, an embodiment of the present application provides an apparatus control device, which is applied to an electronic device, where the electronic device includes a retractable display screen, and the apparatus includes:
the acquisition module is used for acquiring a motion instruction and determining the information of the target position from the motion instruction;
the first control module is used for controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
the acquisition module is used for acquiring parameter information of the telescopic display screen in the telescopic motion process;
the determining module is used for determining the position information corresponding to the telescopic display screen according to the parameter information;
and the second control module is used for controlling the telescopic display screen to update the display area according to the position information.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer program is enabled to execute the device control method provided by the embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a retractable display screen, where the processor is configured to execute the device control method provided in the embodiment of the present application by calling a computer program stored in the memory.
In the embodiment of the application, the electronic equipment can acquire the information of the target position from the motion instruction, and then control the telescopic display screen to perform corresponding telescopic motion according to the information of the target position; in the telescopic motion process of the telescopic display screen, parameter information can be collected, and the position information corresponding to the telescopic display screen can be determined according to the parameter information; the electronic device can control the retractable display screen to update the display area according to the position information. In the process of performing telescopic motion on the telescopic display screen, the position of the telescopic display screen can be directly determined according to the collected parameter information, and the telescopic display screen is positioned. Therefore, the positioning accuracy of the electronic equipment can be improved.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic structural diagram of an electronic device with a retractable display screen provided in an embodiment of the present application when the electronic device is retracted.
Fig. 2 is a schematic structural diagram of an electronic device with a retractable display screen in an extended state according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a split structure of an electronic device with a retractable display screen according to an embodiment of the present application.
Fig. 4 is a schematic cross-sectional view of an electronic device with a retractable display screen provided in an embodiment of the present application.
Fig. 5 is another schematic cross-sectional view of an electronic device with a retractable display screen provided in an embodiment of the present application.
Fig. 6 is a first flowchart of an apparatus control method according to an embodiment of the present application.
Fig. 7 is a second flowchart of an apparatus control method according to an embodiment of the present application.
Fig. 8 is a schematic position diagram of the movement of the driver provided by the embodiment of the present application.
Fig. 9 is a schematic position diagram of a hall sensor in an extended state of a retractable display screen provided in an embodiment of the present application.
Fig. 10 is a schematic diagram of a target magnetic flux density curve provided by an embodiment of the present application.
Fig. 11 is a third flowchart illustrating an apparatus control method according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of an apparatus control device according to an embodiment of the present application.
Fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Fig. 14 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
Referring to fig. 1 to 3, fig. 1 to 3 are schematic structural diagrams of an electronic device with a retractable display screen according to an embodiment of the present disclosure.
The electronic device 100 of the present embodiment includes a housing assembly 10, a flexible display 30, a driver 50, and a driving mechanism 70. The housing assembly 10 is a hollow structure. The components of the driver 50, the drive mechanism 70, and the camera 90 may all be disposed in the housing assembly 10. It is understood that the electronic device 100 of the embodiment of the present application includes, but is not limited to, a mobile terminal such as a mobile phone, a tablet computer, or other portable electronic devices. In this document, the electronic device 100 is taken as a mobile phone as an example for explanation.
In the present embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are relatively movable. In the present embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 is slidable relative to the first housing 12.
Referring to fig. 4 and 5, the first housing 12 and the second housing 14 together form an accommodating space 16. The accommodating space 16 can be used for accommodating components such as the driver 50, the camera 60, the driving mechanism 70 and the like. The housing assembly 10 may further include a rear cover 18, and the rear cover 18 and the first and second housings 12 and 14 together form an accommodating space 16.
The driving element 50 is disposed on the second housing 14, one end of the flexible display 30 is disposed on the first housing 12, the flexible display 30 bypasses the driving element 50, and the other end of the flexible display is disposed in the accommodating space 16, so that a part of the flexible display is hidden in the accommodating space 16, and a part of the flexible display 30 hidden in the accommodating space 16 may not be lighted. The first housing 12 and the second housing 14 are relatively far away from each other, and the driving member 50 can drive the flexible display 30 to unfold, so that more flexible display 30 is exposed out of the accommodating space 16, as shown in fig. 5. The flexible display screen 30 exposed outside the accommodating space 16 is lighted up, so that the display area presented by the electronic device 100 becomes large. For example, fig. 1 to 2 may be a comparison of the form change of the flexible display 30 of the electronic device from the contracted state to the laterally expanded state.
The driving member 50 may be a rotating shaft structure with teeth 52 on the outside, the flexible display 30 is linked with the driving member 50 by engaging, and when the first casing 12 and the second casing 14 are relatively far away, the driving member 50 drives a portion of the flexible display 30 engaged with the driving member 50 to move and unfold.
It is understood that the driver 50 can also be a circular shaft without the belt teeth 52, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driver 50 can stretch the portion of the flexible display screen 30 wound around the driver 50, so that more flexible display screen is exposed out of the accommodating space 16 and is in a flat state. Specifically, the driving member 50 is rotatably disposed on the second housing 14, and the driving member 50 can rotate along with the movement of the flexible display 30 when the flexible display 30 is gradually opened.
In other embodiments, the driver 50 may be fixed to the second housing 14, and the driver 50 may have a smooth surface. When the flexible display 30 is spread, the driver 50 is slidably contacted with the flexible display 30 through its smooth surface.
When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be retracted by the driving member 50. Alternatively, the electronic device 100 further includes a reset element (not shown), one end of the flexible display screen, which is accommodated in the accommodating space 16, is linked with the reset element, and when the first shell 12 and the second shell 14 are relatively close to each other, the reset element drives the flexible display screen 30 to reset, so that a part of the flexible display screen is retracted into the accommodating space 16.
In this embodiment, the driving mechanism 70 may be disposed in the accommodating space 16, the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is configured to drive the second housing 14 to move away from the first housing 12, so as to drive the flexible display 30 to extend. It will be appreciated that the drive mechanism 70 may be omitted and the user may directly move the first and second housings relative to one another, manually or the like.
It should be noted that, in addition to the flexible display screen being able to be stretched in the transverse direction of the electronic device (e.g., stretched in the left-right direction) according to the hardware arrangement design of fig. 1 to 5, in some other embodiments, the direction of the hardware arrangement design may be changed such that the flexible display screen is able to be stretched in the longitudinal direction of the electronic device (e.g., stretched in the up-down direction).
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.
Referring to fig. 6, fig. 6 is a schematic flowchart of an apparatus control method according to an embodiment of the present disclosure. The device control method can be applied to electronic equipment, and the electronic equipment can comprise a telescopic display screen. The flow of the device control method may include:
101. and acquiring the motion instruction, and determining the information of the target position from the motion instruction.
With the continuous development of the technology, the form of the electronic device is also changing. The development from a small screen to a large screen, the development from a simple display screen for displaying images and characters to a touch display screen that can receive a user touch operation, the development from a display screen that cannot be expanded to a display screen that can be expanded, and the like. However, in the related art, in the process of performing the telescopic movement on the telescopic display screen, the problem of low positioning accuracy may occur.
It should be noted that, in the embodiment of the present application, the electronic device may have a retractable display screen. The Retractable Display screen may be a Display screen (The Retractable Display Panel) which can be retracted. The retractable display screen may be a flexible display screen that may be bent, rolled, folded, etc. On an electronic device configured with a retractable display screen, the visible size of the screen can be increased by stretching the retractable display screen, and the visible size of the screen can also be reduced by retracting the retractable display screen. For example, the flexible display 30 of fig. 1-5 is a retractable display.
In this embodiment, for example, the electronic device may obtain a motion instruction, and by analyzing the motion instruction, information of a target position may be determined from the motion instruction, where the target position refers to a destination position to which the retractable display screen needs to be moved in a retractable manner.
102. And controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position.
For example, after the information of the target position is determined, the telescopic display screen may be controlled to perform corresponding telescopic motion according to the current position of the telescopic display screen, that is, the telescopic display screen is controlled to perform telescopic motion towards a direction close to the target position.
103. And collecting parameter information of the telescopic display screen in the telescopic motion process.
For example, in the process of performing telescopic motion on the telescopic display screen towards the direction close to the target position, the parameter information of the telescopic display screen in the telescopic motion process can be collected in real time, so that the specific position of the telescopic display screen can be determined according to the parameter information subsequently.
104. And determining the position information corresponding to the telescopic display screen according to the parameter information.
For example, a curve of the correspondence between the parameter information and the position information may be stored in advance. In the process of performing telescopic motion on the telescopic display screen, acquiring parameter information of the telescopic display screen in the telescopic motion process in real time, and matching the parameter information with a curve stored in advance according to the acquired parameter information, so that the position information corresponding to the parameter information can be determined, namely the position information corresponding to the telescopic display screen is determined according to the parameter information.
105. And controlling the telescopic display screen to update the display area according to the position information.
For example, after the position information corresponding to the telescopic display screen is determined, that is, after the telescopic position information of the telescopic display screen is determined, the electronic device may control the telescopic display screen to update the display area according to the position information, for example, when the telescopic display screen performs the contraction motion, the telescopic display screen is controlled to correspondingly reduce the display area, and when the telescopic display screen performs the extension motion, the telescopic display screen is controlled to correspondingly expand the display area. The size of the display area is the same as that of the touchable area, and when the display area is updated, the size of the touchable area is updated accordingly.
In the embodiment of the application, the electronic equipment can acquire the information of the target position from the motion instruction, and then control the telescopic display screen to perform corresponding telescopic motion according to the information of the target position; in the telescopic motion process of the telescopic display screen, parameter information can be collected, and the position information corresponding to the telescopic display screen can be determined according to the parameter information; the electronic device can control the retractable display screen to update the display area according to the position information. In the process of performing telescopic motion on the telescopic display screen, the position of the telescopic display screen can be directly determined according to the collected parameter information, and the telescopic display screen is positioned. Therefore, the positioning accuracy of the electronic equipment can be improved.
Referring to fig. 7, fig. 7 is a second flowchart illustrating an apparatus control method according to an embodiment of the present disclosure. The device control method can be applied to electronic equipment, and the electronic equipment can comprise a telescopic display screen. The flow of the device control method may include:
201. and acquiring the motion instruction, and determining the information of the target position from the motion instruction.
The specific implementation of step 201 can refer to the embodiment of step 101, and is not described herein again.
202. And determining the target direction of the telescopic display screen for telescopic motion according to the information of the target position.
For example, the electronic device may further include a driving member, and the driving member may drive the retractable display screen to perform a telescopic motion. For example, the driver is the driver 50 shown in fig. 1 to 5. Referring to fig. 8, fig. 8 is a schematic position diagram of a movement of a driving member according to an embodiment of the present disclosure. Fig. 8 illustrates the movement of the driver from the left end to the right end position. After the information of the target position is determined, namely the terminal position of the telescopic movement of the telescopic display screen is determined, the target direction of the telescopic display screen for the telescopic movement can be determined according to the information of the target position and the current position of the telescopic display screen, and the target direction can be the contraction direction or the extension direction. If the target direction is the contraction direction, the telescopic display screen needs to perform contraction movement, and if the target direction is the extension direction, the telescopic display screen needs to perform extension movement.
For example, in an embodiment, when the driver needs to be driven by the driving mechanism, for example, the driving mechanism may be a motor, such as a stepping motor, and after the target direction of the telescopic movement of the retractable display screen is determined, it may be determined whether the motor rotates forward or backward according to the target direction. If when this telescopic display screen is stretched, the motor is in corotation, when this telescopic display screen is carried out the shrink, the motor is in the reversal, or, when this telescopic display screen is carried out the extension, the motor is in the reversal, when this telescopic display screen is carried out the shrink, the motor is in corotation, etc.
It is understood that the movement command includes an end position of the telescopic movement (i.e., information on the target position), and it is possible to determine whether the direction of rotation of the motor is normal rotation or reverse rotation based on the end position. It should be noted that, the motor rotates a circle, can drive telescopic display screen concertina movement certain distance through driving piece, and the number of circles that the motor rotated and telescopic display screen concertina movement's distance have certain corresponding relation promptly. Therefore, the movement distance of the telescopic display screen can be obtained according to the information of the current position and the target position of the telescopic display screen, and the number of turns of the motor can be converted according to the corresponding relation between the number of turns of the motor and the telescopic movement distance of the telescopic display screen.
203. And controlling the driving piece to drive the telescopic display screen to perform telescopic motion along the target direction.
For example, after the target direction of the telescopic display screen is determined, the electronic device can control the driving part to drive the telescopic display screen to perform telescopic motion along the target direction. If the target direction is the contraction direction, the driving piece is controlled to drive the telescopic display screen to perform contraction movement, and if the target direction is the extension direction, the driving piece is controlled to drive the telescopic display screen to perform extension movement. If need drive the motion of driving member such as motor, this drive the telescopic display screen and carry out concertina movement, then the motor can rotate according to the direction of rotation of confirming and the number of turns of calculating this moment, if when control drives the telescopic display screen and extends, the motor reversal 5 circles, if again when control drives the telescopic display screen and contracts, motor corotation 5 circles etc..
204. In the process that the driving part drives the telescopic display screen to do telescopic motion along the target direction, the magnetic parameters of the magnetic part are collected.
For example, referring to fig. 8, the driving member may be provided with a magnetic member, for example, the magnetic member may be a magnet, and the magnetic member moves along with the driving member during the movement of the driving member. When a driving mechanism such as a motor is required to drive, the motor drives the driving piece to rotate spirally, and when the driving piece rotates spirally, the driving piece can rotate spirally according to the contraction direction of the telescopic display screen or rotate spirally according to the extension direction of the telescopic display screen. Specifically, the direction in which the spiral rotation is performed depends on the target direction of the telescopic movement of the telescopic display screen. If the telescopic display screen does the contraction motion, the driving piece rotates spirally according to the contraction direction of the telescopic display screen, and if the telescopic display screen does the extension motion, the driving piece rotates spirally according to the extension direction of the telescopic display screen.
For example, in an embodiment, the electronic device may further include a housing assembly and a driving mechanism, the housing assembly may include a first housing and a second housing, the first housing and the second housing are capable of moving relatively, the driving member may be disposed on the second housing, the first housing and the second housing together form an accommodating space, and the driving member, the driving mechanism and the plurality of hall sensors are disposed in the accommodating space, as shown in fig. 8, which only shows the hall sensor S1, the hall sensor S2 and the hall sensor S3, and since the magnetic member just moves to the position of the hall sensor S4, the hall sensor S4 is not illustrated.
Referring to fig. 9, fig. 9 is a schematic position diagram of a hall sensor when the retractable display screen provided in the embodiment of the present application is in an extended state. The number of the hall sensors may be plural, and only the positions of four hall sensors are illustrated in fig. 9 as an example, and the positions of the hall sensors are fixed. The spacing between each hall sensor may be the same or different. The four hall sensors are respectively a hall sensor S1, a hall sensor S2, a hall sensor S3 and a hall sensor S4. The center point between the hall sensor S2 and the hall sensor S3 is taken as a reference point O, the distance between the hall sensor S1 and the hall sensor S2 is a, the distance between the hall sensor S2 and the reference point O is b, the distance between the hall sensor S3 and the reference point O is c, and the distance between the hall sensor S3 and the hall sensor S4 is d. For example, the reference point O is represented by a negative number on the left side and a positive number on the right side to distinguish the positions of the different hall sensors. For example, a may be-9.5 mm, b may be-4.5 mm, c may be 4.5mm, and d may be 9.5 mm.
In the process that the driving part drives the telescopic display screen to contract or extend along the target direction, the magnetic parameters of the magnetic part can be acquired in real time, for example, the magnetic parameters can be magnetic field intensity, magnetic flux density and the like. According to the corresponding relation between the magnetic parameters and the position information stored in advance, the position information corresponding to the currently acquired magnetic parameters can be matched. The magnetic parameters may include magnetic flux density, etc.
For example, in an embodiment, the acquiring the magnetic parameters of the magnetic member during the process that the driving member drives the retractable display screen to perform the retractable movement along the target direction in 204 may include:
the driving mechanism is controlled to drive the driving piece to rotate spirally, and the driving piece drives the telescopic display screen to do telescopic motion along the target direction in the spiral rotating process;
and in the process of performing telescopic motion on the telescopic display screen along the target direction, controlling the plurality of Hall sensors to acquire the magnetic flux density of the magnetic part in the spiral rotation process along with the driving part.
For example, actuating mechanism can drive the driving piece spiral and rotate, and when driving the driving piece spiral and rotating, can drive the motion of second casing, simultaneously, can also drive the telescopic display screen and carry out concertina movement when driving the driving piece spiral and rotating, can drive the telescopic display screen and carry out shrink or extension movement when driving the driving piece spiral and rotating. If drive the telescopic display screen when the driving piece spiral rotates and carry out the motion of contracting, then the second casing also moves to the direction that the telescopic display screen contracts, if drive the telescopic display screen when the driving piece spiral rotates and extend the motion, then the second casing also moves to the direction that the telescopic display screen extends.
205. And matching the acquired magnetic flux density with a target magnetic flux density curve to obtain the position of the magnetic part corresponding to the magnetic flux density.
For example, in the process that the driving part drives the telescopic display screen to perform telescopic motion along the target direction, the hall sensors can be used for acquiring the magnetic flux density of the magnetic part in real time, and the magnetic flux density acquired by each hall sensor can change along with the change of the position of the magnetic part.
It should be noted that the hall sensor may be a three-axis hall sensor, and the three axes may be an X axis, a Y axis, and a Z axis. A target magnetic flux density curve is stored in advance, and the target magnetic flux density curve includes a first curve, which may be a corresponding curve of the position of the magnetic member to the magnetic flux density of the X axis, and a second curve, which may be a corresponding curve of the position of the magnetic member to the magnetic flux density of the Z axis. The two curves are stored in advance as reference curves for subsequent use.
Referring to fig. 10, fig. 10 is a schematic diagram of a target magnetic flux density curve provided in the embodiment of the present application. The abscissa is the position of the magnetic member with respect to the reference point O, and the ordinate is the X-axis magnetic flux density and the Z-axis magnetic flux density, respectively. It should be noted that the position of the reference point O may be changed, for example, the reference point O is disposed between the hall sensor S1 and the hall sensor S2.
For example, a stepping motor is adopted to drive the driving piece, and a plurality of Hall sensors are matched to position the magnetic piece. Because the step loss phenomenon can occur in the rotating process of the stepping motor, the Hall sensor is required to be used for collecting the magnetic flux density of the magnetic part for auxiliary positioning. In the moving process of the magnetic part, each Hall sensor respectively collects the magnetic flux density of the magnetic part on the X axis and the Z axis, the collected magnetic flux density of the magnetic part on the X axis and the Z axis is matched with a target magnetic flux density curve, and the position of the magnetic part relative to a reference point can be obtained. If the positions of the magnetic members obtained by matching the two curves are different, the average value of the two curves can be obtained, and the average value can be used as the position of the magnetic member relative to the reference point. It will be appreciated that the position of the magnetic member may be considered to be the position of the second housing.
206. And determining the current position information corresponding to the telescopic display screen according to the position of the magnetic piece.
For example, after the acquired magnetic flux density is matched with the target magnetic flux density curve and the position of the magnetic member corresponding to the magnetic flux density is obtained, the current position information corresponding to the telescopic display screen can be determined according to the position of the magnetic member. According to the magnetic flux density sampling values of the Hall sensor in the X axis and the Z axis, the sampling values are matched with a target magnetic flux density curve to obtain the position information of the magnetic part, and the expansion position of the telescopic display screen can be fitted by combining the target magnetic flux density curve.
207. And controlling the telescopic display screen to update the display area according to the position information.
For example, after the position information corresponding to the telescopic display screen is obtained, the electronic device may control the telescopic display screen to update the display area in real time according to the position information, and may update the touchable area in real time, where the touchable area and the display area are the same size. Namely, through hall sensor assistance-localization real-time, at the real-time concertina movement's of telescopic display screen in-process, can update display area and tangible area in real time. For example, the original curled position of the retractable display screen cannot be touched, and after the retractable display screen is subjected to stretching movement, the stretched part can be updated to be touchable.
In the embodiment of the application, the electronic device can acquire the information of the target position from the motion instruction, and can determine the target direction of the telescopic display screen for telescopic motion according to the information of the target position. Then, the electronic equipment controls the driving piece to drive the telescopic display screen to perform telescopic motion along the target direction; in the process that the driving part drives the telescopic display screen to do telescopic motion along the target direction, the magnetic parameters of the magnetic part can be collected. Then, matching the acquired magnetic flux density with a target magnetic flux density curve to obtain the position of the magnetic part corresponding to the magnetic flux density; determining position information corresponding to the telescopic display screen according to the position of the magnetic piece; and controlling the telescopic display screen to update the display area according to the position information. In the process of performing telescopic motion on the telescopic display screen, the position of the telescopic display screen can be directly determined according to the collected magnetic parameters of the magnetic part, and the telescopic display screen can be positioned. Therefore, the positioning accuracy of the electronic equipment can be improved.
Referring to fig. 11, fig. 11 is a third flowchart illustrating an apparatus control method according to an embodiment of the present disclosure. The device control method can be applied to electronic equipment, and the electronic equipment can comprise a telescopic display screen. The flow of the device control method may include:
301. and acquiring the motion instruction, and determining the information of the target position from the motion instruction.
The specific implementation of step 301 can refer to the embodiment of step 101, and is not described herein again.
302. And controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position.
The specific implementation of step 302 can refer to the embodiment of step 102, and is not described herein again.
303. And collecting parameter information of the telescopic display screen in the telescopic motion process.
The specific implementation of step 303 can refer to the embodiment of step 103, and is not described herein again.
304. And determining the position information corresponding to the telescopic display screen according to the parameter information.
The specific implementation of step 304 can refer to the embodiment of step 104, and is not described herein again.
305. And controlling the telescopic display screen to update the display area according to the position information.
The specific implementation of step 305 can refer to the embodiment of step 105, which is not described herein again.
306. And if the telescopic movement time of the telescopic display screen is greater than or equal to the first preset time, controlling the telescopic display screen to stop telescopic movement.
For example, after the information of the target position is obtained, the target direction and the movement distance of the telescopic movement of the telescopic display screen can be correspondingly obtained, so that the movement direction and the movement distance of the magnetic member can also be obtained, the number of turns of the motor can be converted according to the movement distance of the telescopic display screen or the movement distance of the magnetic member, the theoretical rotation time of the motor can be obtained by dividing the number of turns of the motor by the theoretical rotation speed of the motor according to the theoretical rotation speed and the number of turns of the motor, and the theoretical rotation time of the motor is multiplied by a preset ratio to be used as the first preset time. Wherein the preset ratio is greater than 1, such as the preset ratio may be 1.5.
It should be noted that, in the motor rotation in-process, the motor can take place to lose the step phenomenon when rotating very fast, can take place to skid when taking place to lose the step, the system probably thinks the motor still normally rotates, under the condition that does not have hall sensor to gather magnetic flux density, the system does not know the present telescopic motion's of telescopic display screen position this moment, after setting up hall sensor, gather magnetic flux density through hall sensor, just can determine the position that magnetic part is located, and then determine telescopic display screen telescopic motion's position, so that whether arrive the target location in the affirmation. The movement time of the motor is set to be larger than the theoretical rotation time, so that a certain time margin is reserved when the motor loses steps.
If the telescopic display screen does not reach the target position when the telescopic movement time of the telescopic display screen is greater than or equal to the first preset time in the telescopic movement process, the motor is controlled to stop rotating at the moment when the motor is abnormal, and correspondingly, the telescopic display screen also stops telescopic movement.
307. If the distance between the telescopic display screen and the target position is smaller than or equal to the preset distance, reducing the telescopic movement speed of the telescopic display screen to the preset speed, and reducing the residual telescopic movement time of the telescopic display screen to second preset time, wherein the second preset time is smaller than the first preset time.
For example, if the distance between the retractable display screen and the target position is less than or equal to the preset distance, the retractable display screen is considered to be close to the target position at the moment, for example, the distance is 0.4mm away from the target position, because the retractable display screen is close to the target position, the retractable movement speed of the retractable display screen is reduced to the preset speed, for example, the retractable movement speed of the retractable display screen can be reduced by reducing the rotation speed of the motor, after the rotation speed of the motor is reduced, a step loss phenomenon does not occur in the rotation process of the motor at the moment, so that a time margin is not needed any more, the remaining time of the rotation of the motor can be reduced to a second preset time, the second preset time is less than the first preset time, and the second preset time is the theoretical rotation time of the motor during subsequent rotation. It can be understood that the theoretical rotation time of the motor can be converted according to the distance between the current position and the target position of the telescopic display screen.
If the motor is close to the target position and still rotates according to the remaining time in the original first preset time, the telescopic display screen can be caused to exceed the target position, and the problem that the motor cannot stop when moving to the target position due to the positioning error of the Hall sensor can be avoided by reducing the rotating speed of the motor and adjusting the rotating time, so that the first shell and the second shell are prevented from colliding. Therefore, the positioning assistance is carried out by using a plurality of Hall sensors, and the positioning error of the Hall sensors is restrained by adjusting the rotation time of the motor. In addition, the motor can be controlled to stop rotating at any position by adjusting the rotating time of the motor.
308. And if the telescopic display screen telescopically moves to the target position, controlling the telescopic display screen to stop the telescopic movement.
For example, if the retractable display screen moves to the target position in a retractable manner, the retractable display screen can be controlled to stop the retractable movement at this time, specifically, the motor can be controlled to stop rotating, and after the motor stops rotating, the motor cannot drive the electric part to perform spiral movement, so that the retractable display screen also stops the retractable movement correspondingly.
309. And if the telescopic display screen does not move to the target position in a telescopic mode and the telescopic movement time is longer than or equal to the first preset time, controlling the telescopic display screen to stop the telescopic movement.
For example, if the telescopic display screen does not telescopically move to the target position, and the telescopic movement time is greater than or equal to a first preset time, that is, the telescopic movement time reaches the first preset time, which indicates that the motor is abnormal, the motor is controlled to stop rotating at this time, and after the motor stops rotating, the motor cannot drive the electric part to spirally move, so that the telescopic display screen also correspondingly stops telescopic movement, so as to solve the abnormal problem of the motor.
It can be understood that in the embodiment of the application, in the process of the telescopic movement of the telescopic display screen, the magnetic flux density of the magnetic member is collected in real time through the hall sensor, and the position information of the telescopic display screen can be acquired. If the telescopic movement time of the telescopic display screen is greater than or equal to the first preset time, the telescopic display screen is controlled to stop telescopic movement, so that the abnormal problem of the motor is conveniently solved. If the distance between the telescopic display screen and the target position is smaller than or equal to the preset distance, the telescopic movement speed of the telescopic display screen is reduced to the preset speed, the residual telescopic movement time of the telescopic display screen is reduced to second preset time, the second preset time is smaller than the first preset time, positioning assistance is carried out by using a plurality of Hall sensors, and the positioning error of the Hall sensors is inhibited by adjusting the rotation time of the motor, so that the positioning precision of the electronic equipment is improved. In addition, the motor can be controlled to stop rotating at any position by adjusting the rotating time of the motor. If the telescopic display screen telescopically moves to the target position, controlling the telescopic display screen to stop telescopic movement; if the telescopic display screen does not move to the target position in a telescopic mode, and the telescopic movement time is longer than or equal to first preset time, the telescopic display screen is controlled to stop telescopic movement, so that the abnormal problem of the motor can be conveniently solved.
Referring to fig. 12, fig. 12 is a schematic structural diagram of an apparatus control device according to an embodiment of the present disclosure. The device control apparatus can be applied to an electronic device including a retractable display screen. The device control apparatus 400 may include: the system comprises an acquisition module 401, a first control module 402, an acquisition module 403, a determination module 404 and a second control module 405.
An obtaining module 401, configured to obtain a motion instruction, and determine information of a target position from the motion instruction;
the first control module 402 is configured to control the retractable display screen to perform corresponding retractable motion according to the information of the target position;
the acquisition module 403 is configured to acquire parameter information of the retractable display screen during a retractable movement;
a determining module 404, configured to determine, according to the parameter information, position information corresponding to the retractable display screen;
and a second control module 405, configured to control the scalable display screen to update the display area according to the position information.
In one embodiment, the second control module 405 may be further configured to:
and if the telescopic movement time of the telescopic display screen is greater than or equal to a first preset time, controlling the telescopic display screen to stop telescopic movement.
In one embodiment, the second control module 405 may be further configured to:
if the distance between the telescopic display screen and the target position is smaller than or equal to a preset distance, reducing the telescopic movement speed of the telescopic display screen to a preset speed, and reducing the residual telescopic movement time of the telescopic display screen to a second preset time, wherein the second preset time is smaller than the first preset time.
In one embodiment, the second control module 405 may be further configured to: and if the telescopic display screen does not move to the target position in a telescopic mode and the telescopic movement time is longer than or equal to the first preset time, controlling the telescopic display screen to stop the telescopic movement.
In one embodiment, the second control module 405 may be further configured to:
and if the telescopic display screen telescopically moves to the target position, controlling the telescopic display screen to stop telescopic movement.
In an embodiment, the electronic device further includes a driving component, where the driving component can drive the retractable display screen to perform a telescopic motion, and the first control module 402 can further be configured to:
determining the target direction of the telescopic display screen for telescopic motion according to the information of the target position;
and controlling the driving piece to drive the telescopic display screen to perform telescopic motion along the target direction.
In an embodiment, a magnetic member is disposed on the driving member, the parameter information includes magnetic parameters, and the acquisition module 403 is further configured to:
and collecting the magnetic parameters of the magnetic part in the process that the driving part drives the telescopic display screen to perform telescopic motion along the target direction.
In one embodiment, the electronic device further includes a housing assembly and a driving mechanism, the housing assembly includes a first housing and a second housing, the first housing and the second housing can move relatively, the driving member is disposed in the second housing, an accommodating space is formed between the first housing and the second housing, the driving member, the driving mechanism and the plurality of hall sensors are disposed in the accommodating space, the magnetic parameter includes a magnetic flux density, and the acquisition module 403 can further be configured to:
the driving mechanism is controlled to drive the driving piece to rotate spirally, and the driving piece drives the telescopic display screen to do telescopic motion along the target direction in the spiral rotating process;
and in the process of performing telescopic motion on the telescopic display screen along the target direction, controlling the plurality of Hall sensors to acquire the magnetic flux density of the magnetic part in the spiral rotation process along with the driving part.
In one embodiment, the determining module 404 may be further configured to:
matching the acquired magnetic flux density with a target magnetic flux density curve to obtain the position of the magnetic part corresponding to the magnetic flux density;
and determining the position information corresponding to the telescopic display screen according to the position of the magnetic piece.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute a flow in an apparatus control method provided in this embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a retractable display screen, where the processor is configured to execute the flow in the device control method provided in this embodiment by calling the computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 13, fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The electronic device 500 may include a retractable display 501, memory 502, a processor 503, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 13 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The retractable display 501 may be used to display information such as text, images, and the like, and may also be used to receive a touch operation by a user, and to adjust a display area and a touchable area in a retracting motion.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.
The processor 503 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 503 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, so as to execute:
acquiring a motion instruction, and determining the information of a target position from the motion instruction;
controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
collecting parameter information of the telescopic display screen in the telescopic motion process;
determining position information corresponding to the telescopic display screen according to the parameter information;
and controlling the telescopic display screen to update a display area according to the position information.
Referring to fig. 14, the electronic device 500 may include a retractable display 501, a memory 502, a processor 503, a battery 504, a microphone 505, a speaker 506, and the like.
The retractable display 501 may be used to display information such as text, images, and the like, and may also be used to receive a touch operation by a user, and to adjust a display area and a touchable area in a retracting motion.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.
The processor 503 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the electronic device.
The battery 504 may be used to provide power support for various components of the electronic device, thereby ensuring proper operation of the various components.
The microphone 505 may be used to receive acoustic signals in the surrounding environment, such as may be used to receive speech uttered by a user.
The speaker 506 may be used to play sound signals.
In this embodiment, the processor 503 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, so as to execute:
acquiring a motion instruction, and determining the information of a target position from the motion instruction;
controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
collecting parameter information of the telescopic display screen in the telescopic motion process;
determining position information corresponding to the telescopic display screen according to the parameter information;
and controlling the telescopic display screen to update a display area according to the position information.
In one embodiment, the processor 503 may further perform: and if the telescopic movement time of the telescopic display screen is greater than or equal to a first preset time, controlling the telescopic display screen to stop telescopic movement.
In one embodiment, the processor 503 may further perform: if the distance between the telescopic display screen and the target position is smaller than or equal to a preset distance, reducing the telescopic movement speed of the telescopic display screen to a preset speed, and reducing the residual telescopic movement time of the telescopic display screen to a second preset time, wherein the second preset time is smaller than the first preset time.
In one embodiment, the processor 503 may further perform: and if the telescopic display screen does not move to the target position in a telescopic mode and the telescopic movement time is longer than or equal to the first preset time, controlling the telescopic display screen to stop the telescopic movement.
In one embodiment, the processor 503 may further perform: and if the telescopic display screen telescopically moves to the target position, controlling the telescopic display screen to stop telescopic movement.
In an embodiment, the electronic device further includes a driving component, where the driving component can drive the retractable display screen to perform a telescopic motion, and when the processor 503 executes the information according to the target position to control the retractable display screen to perform a corresponding telescopic motion, the processor can execute: determining the target direction of the telescopic display screen for telescopic motion according to the information of the target position; and controlling the driving piece to drive the telescopic display screen to perform telescopic motion along the target direction.
In an embodiment, a magnetic member is disposed on the driving member, the parameter information includes magnetic parameters, and the processor 503 may perform the following steps when performing the acquiring of the parameter information of the retractable display screen during the retractable movement: and collecting the magnetic parameters of the magnetic part in the process that the driving part drives the telescopic display screen to perform telescopic motion along the target direction.
In an embodiment, the electronic device further includes a housing assembly and a driving mechanism, the housing assembly includes a first housing and a second housing, the first housing and the second housing can move relatively, the driving member is disposed in the second housing, an accommodating space is formed between the first housing and the second housing, the driving member, the driving mechanism and the plurality of hall sensors are disposed in the accommodating space, the magnetic parameter includes a magnetic flux density, and the processor 503 executes the process of collecting the magnetic parameter of the magnetic member when the driving member drives the retractable display screen to perform the telescopic motion along the target direction, the process may execute: the driving mechanism is controlled to drive the driving piece to rotate spirally, and the driving piece drives the telescopic display screen to do telescopic motion along the target direction in the spiral rotating process; and in the process of performing telescopic motion on the telescopic display screen along the target direction, controlling the plurality of Hall sensors to acquire the magnetic flux density of the magnetic part in the spiral rotation process along with the driving part.
In an embodiment, when the processor 503 executes the determining of the position information corresponding to the retractable display screen according to the parameter information, the following steps may be executed: matching the acquired magnetic flux density with a target magnetic flux density curve to obtain the position of the magnetic part corresponding to the magnetic flux density; and determining the position information corresponding to the telescopic display screen according to the position of the magnetic piece.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the device control method, and are not described herein again.
The device control apparatus provided in the embodiment of the present application and the device control method in the above embodiments belong to the same concept, and any method provided in the device control method embodiment may be run on the device control apparatus, and a specific implementation process thereof is described in the device control method embodiment in detail, and is not described herein again.
It should be noted that, for the apparatus control method described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the apparatus control method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution, the process of the embodiment of the apparatus control method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the device control apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The above detailed description is provided for a device control method, apparatus, storage medium, and electronic device provided in the embodiments of the present application, and specific examples are applied herein to explain the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A device control method is applied to an electronic device, and is characterized in that the electronic device comprises a telescopic display screen, and the method comprises the following steps:
acquiring a motion instruction, and determining the information of a target position from the motion instruction;
controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
collecting parameter information of the telescopic display screen in the telescopic motion process;
determining position information corresponding to the telescopic display screen according to the parameter information;
and controlling the telescopic display screen to update a display area according to the position information.
2. The apparatus control method according to claim 1, characterized in that the method further comprises:
and if the telescopic movement time of the telescopic display screen is greater than or equal to a first preset time, controlling the telescopic display screen to stop telescopic movement.
3. The apparatus control method according to claim 2, characterized in that the method further comprises:
if the distance between the telescopic display screen and the target position is smaller than or equal to a preset distance, reducing the telescopic movement speed of the telescopic display screen to a preset speed, and reducing the residual telescopic movement time of the telescopic display screen to a second preset time, wherein the second preset time is smaller than the first preset time.
4. The apparatus control method according to claim 3, characterized in that the method further comprises:
and if the telescopic display screen does not move to the target position in a telescopic mode and the telescopic movement time is longer than or equal to the first preset time, controlling the telescopic display screen to stop the telescopic movement.
5. The apparatus control method according to claim 4, characterized in that the method further comprises:
and if the telescopic display screen telescopically moves to the target position, controlling the telescopic display screen to stop telescopic movement.
6. The device control method according to claim 1, wherein the electronic device further includes a driving member, the driving member can drive the retractable display screen to perform a telescopic motion, and the controlling the retractable display screen to perform a corresponding telescopic motion according to the information of the target position includes:
determining the target direction of the telescopic display screen for telescopic motion according to the information of the target position;
and controlling the driving piece to drive the telescopic display screen to perform telescopic motion along the target direction.
7. The device control method according to claim 6, wherein a magnetic member is disposed on the driving member, the parameter information includes magnetic parameters, and the acquiring the parameter information of the retractable display screen during the retractable movement includes:
and collecting the magnetic parameters of the magnetic part in the process that the driving part drives the telescopic display screen to perform telescopic motion along the target direction.
8. The device control method according to claim 7, wherein the electronic device further includes a housing assembly and a driving mechanism, the housing assembly includes a first housing and a second housing, the first housing and the second housing are capable of moving relatively, the driving member is disposed on the second housing, the first housing and the second housing together form an accommodating space, the driving member, the driving mechanism and the plurality of hall sensors are disposed in the accommodating space, the magnetic parameter includes magnetic flux density, and the collecting of the magnetic parameter of the magnetic member in the process of the driving member driving the retractable display screen to perform telescopic motion along the target direction includes:
the driving mechanism is controlled to drive the driving piece to rotate spirally, and the driving piece drives the telescopic display screen to do telescopic motion along the target direction in the spiral rotating process;
and in the process of performing telescopic motion on the telescopic display screen along the target direction, controlling the plurality of Hall sensors to acquire the magnetic flux density of the magnetic part in the spiral rotation process along with the driving part.
9. The device control method according to claim 8, wherein the determining the position information corresponding to the retractable display screen according to the parameter information comprises:
matching the acquired magnetic flux density with a target magnetic flux density curve to obtain the position of the magnetic part corresponding to the magnetic flux density;
and determining the position information corresponding to the telescopic display screen according to the position of the magnetic piece.
10. An apparatus control device applied to an electronic device, wherein the electronic device comprises a retractable display screen, the apparatus comprising:
the acquisition module is used for acquiring a motion instruction and determining the information of the target position from the motion instruction;
the first control module is used for controlling the telescopic display screen to perform corresponding telescopic motion according to the information of the target position;
the acquisition module is used for acquiring parameter information of the telescopic display screen in the telescopic motion process;
the determining module is used for determining the position information corresponding to the telescopic display screen according to the parameter information;
and the second control module is used for controlling the telescopic display screen to update the display area according to the position information.
11. A computer-readable storage medium, on which a computer program is stored, which, when executed on a computer, causes the computer to carry out the method according to any one of claims 1 to 9.
12. An electronic device comprising a memory, a processor and a retractable display, wherein the processor executes the method of any one of claims 1 to 9 by invoking a computer program stored in the memory.
CN202110231459.2A 2021-03-02 2021-03-02 Device control method, device, storage medium and electronic device Pending CN112947687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110231459.2A CN112947687A (en) 2021-03-02 2021-03-02 Device control method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110231459.2A CN112947687A (en) 2021-03-02 2021-03-02 Device control method, device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112947687A true CN112947687A (en) 2021-06-11

Family

ID=76247181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110231459.2A Pending CN112947687A (en) 2021-03-02 2021-03-02 Device control method, device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112947687A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452834A (en) * 2021-06-16 2021-09-28 Oppo广东移动通信有限公司 Display method, display device, storage medium and electronic equipment
CN115047874A (en) * 2022-06-02 2022-09-13 北京三快在线科技有限公司 Robot connection method, storage cabinet, robot, system and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200284270Y1 (en) * 2002-04-25 2002-08-13 주식회사 슈버 Hinge apparatus capable of automatically and manually opening/closing a folder and a foldable apparatus employing the same
US20170061932A1 (en) * 2015-08-26 2017-03-02 Lg Electronics Inc. Flexible display device and operating method thereof
US20180275770A1 (en) * 2015-09-30 2018-09-27 Lg Electronics Inc. Mobile terminal and control method therefor
US20180329514A1 (en) * 2015-06-22 2018-11-15 Lg Electronics Inc. Deformable display device and operating method thereof
CN111104086A (en) * 2019-11-19 2020-05-05 维沃移动通信有限公司 Display method and electronic equipment
CN111831059A (en) * 2019-04-19 2020-10-27 北京小米移动软件有限公司 Mobile terminal, screen control method and device and storage medium
CN112269555A (en) * 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 Display control method, display control device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200284270Y1 (en) * 2002-04-25 2002-08-13 주식회사 슈버 Hinge apparatus capable of automatically and manually opening/closing a folder and a foldable apparatus employing the same
US20180329514A1 (en) * 2015-06-22 2018-11-15 Lg Electronics Inc. Deformable display device and operating method thereof
US20170061932A1 (en) * 2015-08-26 2017-03-02 Lg Electronics Inc. Flexible display device and operating method thereof
US20180275770A1 (en) * 2015-09-30 2018-09-27 Lg Electronics Inc. Mobile terminal and control method therefor
CN111831059A (en) * 2019-04-19 2020-10-27 北京小米移动软件有限公司 Mobile terminal, screen control method and device and storage medium
CN111104086A (en) * 2019-11-19 2020-05-05 维沃移动通信有限公司 Display method and electronic equipment
CN112269555A (en) * 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 Display control method, display control device, storage medium and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452834A (en) * 2021-06-16 2021-09-28 Oppo广东移动通信有限公司 Display method, display device, storage medium and electronic equipment
CN115047874A (en) * 2022-06-02 2022-09-13 北京三快在线科技有限公司 Robot connection method, storage cabinet, robot, system and electronic equipment
CN115047874B (en) * 2022-06-02 2023-09-15 北京三快在线科技有限公司 Robot connection method, locker, robot, system and electronic equipment

Similar Documents

Publication Publication Date Title
CN111988527B (en) Device control method, device, storage medium and electronic device
CN112947687A (en) Device control method, device, storage medium and electronic device
US11280447B2 (en) Gimbal control method, gimbal and machine-readable storage medium
CN103842875B (en) Optical image stabilization based on MEMS
CN106303258A (en) A kind of image pickup method based on dual camera and terminal
CN109947383B (en) Display control method and device, mobile terminal and storage medium
CN215499053U (en) Electronic device
CN108989660A (en) Control method, control assembly, electronic equipment and the storage medium of slide assemblies
CN113778252B (en) Anti-false touch method and device applied to flexible display screen, terminal and storage medium
CN112964164A (en) Calibration method, calibration device, computer-readable storage medium and electronic equipment
CN113625905A (en) Device control method, device, storage medium and electronic device
CN113741778A (en) Device control method, device, storage medium and electronic device
CN113852713B (en) Device control method, device, storage medium and electronic device
CN115194773A (en) Visual guidance assembling method and device
CN110427106B (en) Somatosensory motion data processing method and device and computer-readable storage medium
CN113824818A (en) Device control method, device, storage medium and electronic device
CN113706946A (en) Method, device, terminal and storage medium for displaying answer content
CN112965570A (en) Device control method, device, storage medium and electronic device
CN112947685A (en) Electronic device control method and device, storage medium and electronic device
KR20210021896A (en) Electronic device and Method of controlling thereof
CN107483831B (en) Shooting method and device of mobile terminal and mobile terminal
CN114465536B (en) Linear electric steering engine without linear displacement sensor and control method thereof
CN115277897A (en) Electronic device and method for determining status information
CN113778297A (en) Device control method, device, electronic device and storage medium
CN110581938B (en) Mobile terminal, mobile terminal control method, and computer 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