CN111028689B - Folding control method, apparatus, device and medium - Google Patents

Folding control method, apparatus, device and medium Download PDF

Info

Publication number
CN111028689B
CN111028689B CN201911345621.2A CN201911345621A CN111028689B CN 111028689 B CN111028689 B CN 111028689B CN 201911345621 A CN201911345621 A CN 201911345621A CN 111028689 B CN111028689 B CN 111028689B
Authority
CN
China
Prior art keywords
folded
structures
electromagnet
state
user
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.)
Active
Application number
CN201911345621.2A
Other languages
Chinese (zh)
Other versions
CN111028689A (en
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN201911345621.2A priority Critical patent/CN111028689B/en
Publication of CN111028689A publication Critical patent/CN111028689A/en
Application granted granted Critical
Publication of CN111028689B publication Critical patent/CN111028689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/301Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a folding control method, a folding control device, folding control equipment and a folding control medium. The method comprises the following steps: determining the current state of the two structures to be folded and the operation state of a user on the two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece; and determining the working state between the first electromagnet of one of the two structures to be folded and the second electromagnet of the other structure to be folded according to the current states of the two structures to be folded and the operation states of the two structures to be folded by a user, wherein the working states comprise an attraction state and a repulsion state. The embodiment of the invention realizes the purpose of assisting the user to finish the operation of the two structures to be folded, and reduces the force requirement for the user to independently control the unfolding and the closing of the two parts to be folded.

Description

Folding control method, apparatus, device and medium
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a folding control method, a folding control device, folding control equipment and a folding control medium.
Background
At present, electronic equipment of a folding screen is exposed at the head and the corners, and attracts the attention of consumers. However, the current electronic devices rely on mechanical means when the screen is folded. However, the above-mentioned folding by means of mechanical means has the following drawbacks:
the user needs to automatically control the screen to be unfolded and closed, so that damage to the screen is avoided, and the problem that the requirement on the opening and closing force of the two parts to be folded is too high is caused to be automatically controlled by the user.
Disclosure of Invention
The embodiment of the invention provides a folding control method, a folding control device, folding control equipment and a folding control medium, which are used for reducing the requirement on the force for independently controlling the opening and the closing of two parts to be folded by a user.
In a first aspect, an embodiment of the present invention provides a folding control method, where the method includes:
determining the current states of two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece;
determining the operation state of a user on two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded;
if the current state of the two structures to be folded is the non-closed state and the operation state of the two structures to be folded by a user is the closed operation state, controlling the working state between the first electromagnet and the second electromagnet to be the attraction state;
and if the current state of the two structures to be folded is the unfolded state and the operation state of the two structures to be folded by the user is the unfolded operation state, controlling the working state between the first electromagnet and the second electromagnet to be the repellent state.
In a second aspect of the device to be folded, an embodiment of the present invention provides a folding control apparatus, where the apparatus includes:
the device comprises a current state determining module, a folding module and a folding module, wherein the current state determining module is used for determining the current states of two structures to be folded according to the distance between the two structures to be folded in equipment to be folded and/or the pressure born by the two structures to be folded, and the two structures to be folded are connected by the same connecting piece; (ii) a
The operation state determining module is used for determining the operation states of the two structures to be folded by a user according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded;
the attraction state control module is used for controlling the working state between the first electromagnet and the second electromagnet to be the attraction state if the current state of the two structures to be folded is the non-closed state and the operation state of the two structures to be folded by a user is the closed operation state;
and the first repulsion state control module is used for controlling the working state between the first electromagnet and the second electromagnet to be a repulsion state if the current state of the two structures to be folded is a non-unfolded state and the operation state of the two structures to be folded by a user is an unfolded operation state.
In a third aspect of the apparatus to be folded, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
the same connecting piece is used for connecting two structures to be folded;
the pressure sensor is used for acquiring pressure values borne by the two structures to be folded;
the distance sensor is used for acquiring a distance value between the two structures to be folded;
the two electromagnets in each group of paired electromagnets are respectively positioned at the edges of the two structures to be folded, and the positions of the two electromagnets are symmetrical based on the straight line where the connecting piece is positioned, so that the two electromagnets are used for assisting the closing and the unfolding of the two structures to be folded;
when the one or more programs are executed by the one or more processors, the one or more processors implement the folding control method according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements a folding control method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the working states of the electromagnets respectively arranged in the two parts to be folded are determined according to the current states of the two parts to be folded and the operation states of the two parts to be folded by a user, wherein the working states comprise attraction states or repulsion states, so that the two parts to be folded are assisted to finish the operation of the two parts to be folded by the user, and the force requirements for the user to independently control the unfolding and closing of the two parts to be folded are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1A is a flowchart of a folding control method according to an embodiment of the present invention;
fig. 1B is a schematic diagram illustrating a position of an electromagnet according to an embodiment of the present invention;
fig. 2 is a flowchart of a folding control method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a folding control device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only the structures related to the embodiments of the present invention are shown in the drawings, not all the structures.
Example one
Fig. 1A is a flowchart of a folding control method according to an embodiment of the present invention, and fig. 1B is a schematic diagram of a position of an electromagnet according to an embodiment of the present invention. The present embodiment is suitable for assisting a user in closing and unfolding a folding structure. Typically, the present embodiment may be applied to a case where the user is assisted in closing and unfolding the folding screen. The method can be executed by the folding control device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware manner. As shown in fig. 1, the method may include:
step 101, determining the current states of two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece.
The device to be folded can be any device comprising the two structures to be folded. The structure to be folded may be any foldable structure. The two structures to be folded can be closed and unfolded through the same connecting piece.
The embodiment of the invention is used for assisting a user in closing and unfolding the two structures to be folded.
Typically, the device to be folded comprises a smart phone, a smart watch or a tablet computer. The structure to be folded in the equipment to be folded is a folding screen.
The distance between two structures to be folded in the device to be folded refers to the distance between a target point in a structure to be folded and a symmetrical point of the other structure to be folded.
The pressure born by the two structures to be folded refers to the pressure of an external pressure object on at least one structure to be folded in the two structures to be folded.
The external pressure object can be a user or other pressure objects.
Specifically, when a user folds two to-be-folded structures in the to-be-folded device, the distance between the two to-be-folded structures and the pressure borne by the two to-be-folded structures can be continuously changed along with the folding operation. The distance between the two structures to be folded can be optionally acquired by a distance sensor, such as an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor and the like; the pressure borne by the two structures to be folded can be optionally collected by pressure sensors, such as piezoresistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc., and the distance sensors and the pressure sensors are preferably arranged at the edges of the two structures to be folded. According to the distance between the two structures to be folded and/or the pressure born by the two structures to be folded, the current states of the two structures to be folded and the operation states of the two structures to be folded by the user can be determined.
In the application scenario involved in this embodiment, the current states of the two structures to be folded include a closed state, an unclosed state, and an unfolded state.
Optionally, if the distance between the two structures to be folded, which is acquired by the distance sensor, is zero, and/or the pressure borne by the two structures to be folded, which is acquired by the pressure sensor, is equal to the first pressure threshold, it is determined that the current states of the two structures to be folded are the closed states. And if the distance between the two structures to be folded, which is acquired by the distance sensor, is smaller than a first distance threshold value, and/or the pressure borne by the two structures to be folded, which is acquired by the pressure sensor, is larger than a second pressure threshold value, determining that the current states of the two structures to be folded are not closed states, wherein the second pressure threshold value is smaller than the first pressure threshold value. And if the distance between the two structures to be folded, which is acquired by the distance sensor, is greater than a second distance threshold value, and/or the pressure born by the two structures to be folded, which is acquired by the pressure sensor, is less than a third pressure threshold value, determining that the current states of the two structures to be folded are not unfolded states, wherein the second distance threshold value is less than the first distance threshold value, and the third pressure threshold value is less than the first pressure threshold value and greater than the second pressure threshold value.
It should be noted that, if the distance between the two structures to be folded, which is acquired by the distance sensor, is smaller than the first distance threshold and larger than the second distance threshold, and/or the pressure, which is acquired by the pressure sensor, borne by the two structures to be folded is larger than the second pressure threshold and smaller than the third pressure threshold, the current states of the two structures to be folded belong to the non-closed state and the non-unfolded state.
The current states of the two structures to be folded are determined according to the distance between the two structures to be folded and/or the pressure born by the two structures to be folded, and a foundation is laid for subsequently determining the working states of the electromagnets in the two parts to be folded.
Step 102, determining the operation state of a user on two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded.
In the application scenario involved in this embodiment, the operation states of the two structures to be folded by the user include a closed operation state, a pressing operation state, and an unfolding operation state.
Optionally, if the pressure applied to the two structures to be folded, which is acquired by the pressure sensor, is greater than a fourth pressure threshold, it is determined that the operation state of the two structures to be folded by the user is a pressing operation state, where the fourth pressure threshold is greater than the first pressure threshold, and is greater than the second pressure threshold and the third pressure threshold.
And if the distance between the two collected structures to be folded is reduced at the two adjacent collection time points by the distance sensor, and/or the pressure born by the two collected structures to be folded is increased at the two adjacent collection time points by the pressure sensor, determining that the operation state of the user on the two structures to be folded is a closed operation state.
And if the distance between the two collected structures to be folded is increased at the two adjacent collection time points by the distance sensor, and/or the pressure born by the two collected structures to be folded is reduced at the two adjacent collection time points by the pressure sensor, determining that the operation state of the user on the two structures to be folded is the unfolding operation state.
And 103, if the current states of the two structures to be folded are not closed states and the operation states of the two structures to be folded by a user are closed operation states, controlling the working state between the first electromagnet and the second electromagnet to be an attraction state.
The electromagnet is a device which generates electromagnetism when being electrified, a conductive coil is wound outside the iron core, and the iron core generates magnetism when the conductive coil is electrified. The polarity can be adjusted by changing the direction of the current in the conductive coil so that they attract or repel.
Specifically, the two structures to be folded at least include a set of paired electromagnets, the two electromagnets in each set of paired electromagnets are respectively located at the edges of the two structures to be folded, the positions of the two electromagnets are symmetrical based on the straight line where the connecting member is located, the operating state of each set of paired electromagnets is controlled by an electromagnet control circuit arranged inside the device to be folded, as shown in fig. 1B, 10 and 11 in fig. 1B are respectively a set of paired electromagnets, 12 is the straight line where the connecting member is located, and 13 and 14 are respectively a structure to be folded and another structure to be folded.
If the current states of the two structures to be folded are not closed states and the operation states of the two structures to be folded by the user are closed operation states, it indicates that the current user wants to close the two structures to be folded, and at this time, each group of paired electromagnets are required to generate attraction force to assist the closing of the two structures to be folded.
If the current states of the two to-be-folded structures are not closed states and the operation states of the two to-be-folded structures are closed operation states by a user, the working state between the first electromagnet and the second electromagnet is controlled to be a mutually attracted state, the effect of assisting the closing of the two to-be-folded structures is achieved, and the force of the user in independently controlling the closing is reduced.
And 104, if the current state of the two structures to be folded is the undeployed state and the operation state of the two structures to be folded by the user is the unfolding operation state, controlling the working state between the first electromagnet and the second electromagnet to be the repellent state.
Specifically, if the current state of the two structures to be folded is the non-unfolded state and the operation state of the two structures to be folded by the user is the unfolded operation state, it indicates that the current user wants to unfold the two structures to be folded, and at this time, each group of paired electromagnets are required to generate an opposing force to assist the unfolding of the two structures to be folded.
If the current states of the two to-be-folded structures are not unfolded states and the operation states of the two to-be-folded structures by a user are unfolded operation states, the working states between the first electromagnet and the second electromagnet are controlled to be repellent states, the effect of assisting the two to-be-folded structures to be unfolded is achieved, and the force of the user in independently controlling the unfolding is reduced.
The inventor discovers that in the process of implementing the invention:
the prior art assists the user to close the screen by setting the magnet with magnetism attracting each other, and the spring is arranged to avoid excessive extrusion of the user, but the space requirement of the electronic equipment is too large, and the effect of assisting the user to unfold the folding screen cannot be realized.
According to the embodiment of the invention, the working states of the electromagnets respectively arranged in the two parts to be folded are determined according to the current states of the two parts to be folded and the operation states of the two parts to be folded by a user, wherein the working states comprise attraction states or repulsion states, so that the two parts to be folded are assisted to finish the operation of the two parts to be folded by the user, the force requirement for the user to independently control the unfolding and closing of the two parts to be folded is reduced, the arrangement of a spring is not needed, the excessive pressing operation of the user when the two parts to be folded are in the closed state is avoided, and the space of electronic equipment is saved.
Example two
Fig. 2 is a flowchart of a folding control method according to a second embodiment of the present invention. The embodiment provides a specific implementation manner for the above embodiment, and as shown in fig. 2, the method may include:
step 201, determining the current state of the two structures to be folded and the operation state of the user on the two structures to be folded according to the distance between the two structures to be folded in the device to be folded and/or the pressure born by the two structures to be folded.
Specifically, assume that the first distance threshold is 1 centimeter, the second distance value is 0.5 centimeter, the first pressure threshold is 0.1N, the second pressure threshold is 0.01N, the third pressure threshold is 0.05N, and the fourth pressure threshold is 1N. Determining the current state of the two structures to be folded and the operation state of a user on the two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, and the method comprises the following steps:
the method comprises the steps that the distance between two structures to be folded is collected in real time from a distance sensor, if the distance between the two structures to be folded is smaller than 1 cm, the current state of the two structures to be folded is determined to be the non-closed state, and if the distance between the two structures to be folded at two adjacent collection time points is reduced, the operation state of a user on the two structures to be folded is the closed operation state, and an electromagnet control circuit is correspondingly opened.
The method comprises the steps of collecting the distance between two structures to be folded from a distance sensor in real time, if the distance between the two structures to be folded is determined to be 0, determining that the current states of the two structures to be folded are closed states, correspondingly opening a pressure sensor, receiving the pressure born by the two structures to be folded, collected by the pressure sensor in real time, and determining that the operation states of a user on the two structures to be folded are pressing operation states if the pressure born by the two structures to be folded is determined to be greater than 1N.
The method comprises the steps that pressure born by two structures to be folded is collected in real time from a pressure sensor, if the pressure born by the two structures to be folded is smaller than 0.05N, the current states of the two structures to be folded are determined to be unfolded states, and if the distance between the two structures to be folded at two adjacent collection time points is increased, the operation states of a user on the two structures to be folded are determined to be unfolded operation states.
And acquiring the distance between the two structures to be folded in real time from the distance sensor, and if the distance between the two structures to be folded is determined to be larger than 1 cm and the distance between the two structures to be folded at two adjacent acquisition time points is increased, closing the electromagnet control circuit and the pressure sensor.
Step 202, if the current states of the two structures to be folded are not closed states and the operation states of the two structures to be folded by the user are closed operation states, controlling the working state between the first electromagnet and the second electromagnet to be an attraction state.
Specifically, if it is determined that the current states of the two structures to be folded are not closed states and the operation states of the two structures to be folded by the user are closed operation states, the electromagnet control circuit is started and sends a control instruction to the electromagnet control circuit, and the electromagnet control circuit controls the directions of currents in the first electromagnet conductive coil and the second electromagnet conductive coil to be opposite according to the control instruction, so that the ferromagnetism of the first electromagnet and the second electromagnet is opposite, the working state between the first electromagnet and the second electromagnet is an attraction state, and the user is assisted to close the two structures to be folded.
Step 203, if the current state of the two structures to be folded is a closed state and the operation state of the two structures to be folded by the user is a pressing operation state, controlling the working state between the first electromagnet and the second electromagnet to be a repulsive state, and adjusting the repulsive force between the first electromagnet and the second electromagnet according to the pressure of the user on the two structures to be folded.
Specifically, if the current state of the two to-be-folded structures is a closed state and the operation state of the two to-be-folded structures by the user is a pressing operation state, it indicates that the two to-be-folded structures are closed at present, but the user still presses hard, so that the to-be-folded structures are likely to generate overpressure and break, the machine is likely to wear, the folded structures of the equipment are also likely to not be well attached, and at this time, each group of paired electromagnets are required to generate repulsive force to offset the pressing operation of the user. If the current state of the two structures to be folded is determined to be the closed state, the pressure sensor is started, if the operation state of the two structures to be folded by a user is determined to be the pressing operation state, the current directions in the first electromagnet lead coil and the second electromagnet lead coil are controlled to be opposite, and the target repulsive force between the first electromagnet and the second electromagnet is adjusted according to the pressure of the user on the two structures to be folded.
Optionally, adjusting the repulsive force between the first electromagnet and the second electromagnet according to the pressure of the user on the two structures to be folded includes:
determining a target repulsion force between the first electromagnet and the second electromagnet according to the pressure values of the user on the two structures to be folded; determining a target current value in an electromagnet control circuit according to the target repulsion force; and adjusting the current value in the electromagnet control circuit to a target current value so as to enable the repulsive force between the first electromagnet and the second electromagnet to be a target repulsive force.
In order to achieve a better anti-pressing effect, the target repulsion force between the first electromagnet and the second electromagnet is opposite to the pressure value of the user to the two structures to be folded in the same direction by adjusting the current value in the electromagnet control circuit.
Specifically, according to the formula F being BIL, where F is the target repulsion force equal to the pressure value of the user to the two structures to be folded, B, L are the magnetic field strength and the length of the electromagnet, which are fixed values known in advance, so that the target current value I can be obtained.
If the current state of the two to-be-folded structures is a closed state and the operation state of a user on the two to-be-folded structures is a pressing operation state, the working state between the first electromagnet and the second electromagnet is determined to be a repulsive state, and the repulsive force between the first electromagnet and the second electromagnet is adjusted according to the pressure of the user on the two to-be-folded structures, so that the situation that the folded structures are possibly overpressured and cracked if the user exerts too much force is avoided, and if the service life is long, the folding structures of the equipment are possibly not well attached due to abrasion of machinery.
And 204, if the current states of the two structures to be folded are the non-unfolded states and the operation states of the two structures to be folded by the user are the unfolded operation states, controlling the working states between the first electromagnet and the second electromagnet to be the repellent states.
For example, if it is determined that the current state of the two structures to be folded is the non-unfolded state and the operation state of the user on the two structures to be folded is the unfolded operation state, the current values in the first electromagnet conductive coil and the second electromagnet conductive coil are controlled to be fixed values preset in advance, and the current directions are the same, so that the first electromagnet and the second electromagnet are made to be ferromagnetic and the same, and the working state between the first electromagnet and the second electromagnet is a repellent state, thereby assisting the user in unfolding the two structures to be folded.
According to the embodiment of the invention, the working states of the electromagnets respectively arranged in the two parts to be folded are determined according to the current states of the two parts to be folded and the operation states of the two parts to be folded by the user, wherein the working states comprise attraction states or repulsion states, so that the two parts to be folded are assisted to finish the operation of the two parts to be folded by the user, the force requirement for the user to independently control the unfolding and closing of the two parts to be folded is reduced, the excessive pressing operation of the user when the two parts to be folded are in the closed state can be avoided only by at least one group of paired electromagnets, and the space of the electronic equipment is saved.
On the basis of the above embodiment, the method further includes: and if the current states of the two structures to be folded are detected to be closed states and the operation states of the two structures to be folded by the user are detected to be pressing operation states, sending a pressing ending warning prompt message to the user.
By sending warning prompt information to the user, the effect of preventing the user from continuously pressing is achieved, and the two to-be-folded structures are prevented from being damaged.
On the basis of the above embodiment, after "controlling the operating state between the first electromagnet and the second electromagnet to be the repulsive state" in step 204, the method further includes:
and if the distance between the two structures to be folded in the equipment to be folded is greater than or equal to the distance threshold value, or the pressure borne by the two structures to be folded is zero, closing the control on the electromagnet.
Illustratively, if the distance between two structures to be folded in the equipment to be folded is more than 1 cm, the electromagnet control circuit is closed; and if the pressure born by the two structures to be folded in the equipment to be folded is equal to 0, closing the electromagnet control circuit.
If the distance between the two to-be-folded structures in the to-be-folded equipment is larger than or equal to the distance threshold value or the pressure borne by the two to-be-folded structures is zero, the control over the electromagnet is closed, and the technical effect of reducing equipment loss when the electromagnet does not need to be paired is achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a folding control apparatus according to a third embodiment of the present invention, which is capable of executing a folding control method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 3, the apparatus may include:
a current state determining module 31, configured to determine current states of two to-be-folded structures in the to-be-folded device according to a distance between the two to-be-folded structures and/or pressures borne by the two to-be-folded structures, where the two to-be-folded structures are connected by a same connecting component; (ii) a
An operation state determining module 32, configured to determine an operation state of a user on two structures to be folded according to a distance between the two structures to be folded in the device to be folded and/or a pressure borne by the two structures to be folded;
the attraction state control module 33 is configured to control the working state between the first electromagnet and the second electromagnet to be an attraction state if the current state of the two structures to be folded is an unclosed state and the operation state of the two structures to be folded by the user is a closed operation state;
the first repulsion state control module 34 is configured to control the working state between the first electromagnet and the second electromagnet to be a repulsion state if the current state of the two structures to be folded is the non-unfolded state and the operation state of the two structures to be folded by the user is the unfolded operation state.
On the basis of the above embodiment, the apparatus further includes a second repulsion state control module, specifically configured to:
and if the current state of the two structures to be folded is a closed state and the operation state of the two structures to be folded by the user is a pressing operation state, controlling the working state between the first electromagnet and the second electromagnet to be a repulsive state, and adjusting the repulsive force between the first electromagnet and the second electromagnet according to the pressure of the user on the two structures to be folded.
On the basis of the foregoing embodiment, the second repulsion state control module is specifically further configured to:
determining a target repulsive force between the first electromagnet and the second electromagnet according to the pressure value of a user to the two structures to be folded;
determining a target current value in an electromagnet control circuit according to the target repulsion force;
and adjusting the current value in the electromagnet control circuit to the target current value so as to enable the repulsive force between the first electromagnet and the second electromagnet to be a target repulsive force.
On the basis of the foregoing embodiment, the second repulsion state control module is specifically further configured to: and sending a pressing ending warning prompt message to the user.
On the basis of the above embodiment, the device further includes an electromagnet control module, specifically configured to:
and if the distance between the two structures to be folded in the equipment to be folded is greater than or equal to the distance threshold value, or the pressure born by the two structures to be folded is zero, closing the control on the electromagnet.
The folding control device provided by the embodiment of the invention can execute the folding control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the folding control method provided in any embodiment of the present invention, reference may be made to the technical details not described in detail in this embodiment.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary device 400 suitable for use in implementing embodiments of the present invention. The apparatus 400 shown in fig. 4 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in FIG. 4, device 400 is in the form of a general purpose computing device. The components of device 400 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, a bus 403 connecting different system components (including the system memory 402 and the processing unit 401), two structures to be folded connected by the same connector; the pressure sensor is used for acquiring pressure values borne by the two structures to be folded; the distance sensor is used for acquiring a distance value between the two structures to be folded; and the two electromagnets in each group of paired electromagnets are respectively positioned at the edges of the two structures to be folded, and the positions of the two electromagnets are linearly symmetrical based on the connecting piece, and are used for assisting the two structures to be folded to be closed and unfolded.
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 400 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 400 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The device 400 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
Device 400 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with device 400, and/or with any devices (e.g., network card, modem, etc.) that enable device 400 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, device 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) through network adapter 412. As shown, network adapter 412 communicates with the other modules of device 400 over bus 403. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing by running a program stored in the system memory 402, for example, to implement the folding control method provided by the embodiment of the present invention, including:
determining the current states of two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece;
determining the operation state of a user on two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded;
if the current state of the two structures to be folded is the non-closed state and the operation state of the two structures to be folded by a user is the closed operation state, controlling the working state between the first electromagnet and the second electromagnet to be the attraction state;
and if the current state of the two structures to be folded is the undeployed state and the operation state of the two structures to be folded by the user is the unfolding operation state, controlling the working state between the first electromagnet and the second electromagnet to be the repellent state.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-executable instructions, when executed by a computer processor, are configured to perform a folding control method, where the method includes:
determining the current states of two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece;
determining the operation state of a user on two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and/or the pressure born by the two structures to be folded;
if the current state of the two structures to be folded is the non-closed state and the operation state of the two structures to be folded by a user is the closed operation state, controlling the working state between the first electromagnet and the second electromagnet to be the attraction state;
and if the current state of the two structures to be folded is the unfolded state and the operation state of the two structures to be folded by the user is the unfolded operation state, controlling the working state between the first electromagnet and the second electromagnet to be the repellent state.
Of course, the storage medium provided by the embodiment of the present invention includes computer-executable instructions, where the computer-executable instructions are not limited to the method operations described above, and may also execute related operations in a folding control method provided by any embodiment of the present invention. The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A fold control method, the method comprising:
determining the current states of two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and the pressure born by the two structures to be folded, wherein the two structures to be folded are connected by the same connecting piece, and the two structures to be folded are also respectively provided with a first electromagnet and a second electromagnet which correspond to each other;
determining the operating state of a user on two structures to be folded according to the distance between the two structures to be folded in the equipment to be folded and the pressure born by the two structures to be folded;
if the current state of the two structures to be folded is the non-closed state and the operation state of the two structures to be folded by a user is the closed operation state, controlling the working state between the first electromagnet and the second electromagnet to be the attraction state;
if the current state of the two structures to be folded is the undeployed state and the operation state of the two structures to be folded by the user is the unfolding operation state, controlling the working state between the first electromagnet and the second electromagnet to be the repellent state;
and if the current state of the two structures to be folded is a closed state and the operation state of the two structures to be folded by the user is a pressing operation state, controlling the working state between the first electromagnet and the second electromagnet to be a repulsive state, and adjusting the repulsive force between the first electromagnet and the second electromagnet according to the pressure of the user on the two structures to be folded.
2. The method of claim 1, wherein said adjusting the opposing force between the first electromagnet and the second electromagnet based on the user's pressure on the two structures to be folded comprises:
determining a target repulsive force between the first electromagnet and the second electromagnet according to the pressure value of a user to the two structures to be folded;
determining a target current value in an electromagnet control circuit according to the target repulsion force;
and adjusting the current value in the electromagnet control circuit to the target current value so as to enable the repulsive force between the first electromagnet and the second electromagnet to be a target repulsive force.
3. The method of claim 1, wherein controlling the operational state between the first electromagnet and the second electromagnet to be a repulsive state comprises sending an end-of-press warning message to a user.
4. The method of claim 1, wherein determining the operational status between the first electromagnet in one of the two configurations to be folded and the second electromagnet in the other configuration to be folded comprises:
and if the distance between the two structures to be folded in the equipment to be folded is greater than or equal to the distance threshold value, or the pressure borne by the two structures to be folded is zero, closing the control on the electromagnet.
5. A folding control device, characterized in that the device comprises:
the device comprises a current state determining module, a folding module and a folding module, wherein the current state determining module is used for determining the current states of two structures to be folded according to the distance between the two structures to be folded in equipment to be folded and the pressure born by the two structures to be folded, the two structures to be folded are connected by the same connecting piece, and the two structures to be folded are also respectively provided with a first electromagnet and a second electromagnet which correspond to each other;
the operation state determining module is used for determining the operation states of the two structures to be folded for the user according to the distance between the two structures to be folded in the equipment to be folded and the pressure born by the two structures to be folded;
the attraction state control module is used for controlling the working state between the first electromagnet and the second electromagnet to be in an attraction state if the current states of the two structures to be folded are in an unclosed state and the operation states of a user on the two structures to be folded are in a closed operation state;
the first repulsion state control module is used for controlling the working state between the first electromagnet and the second electromagnet to be a repulsion state if the current state of the two structures to be folded is a non-unfolded state and the operation state of a user on the two structures to be folded is an unfolded operation state;
and the second repulsion state control module is used for controlling the working state between the first electromagnet and the second electromagnet to be in a repulsion state if the current state of the two structures to be folded is a closed state and the operation state of a user on the two structures to be folded is a pressing operation state, and adjusting the repulsion force between the first electromagnet and the second electromagnet according to the pressure of the user on the two structures to be folded.
6. The apparatus of claim 5, wherein the second repulsion state control module is further configured to:
determining a target repulsive force between the first electromagnet and the second electromagnet according to the pressure value of a user to the two structures to be folded;
determining a target current value in an electromagnet control circuit according to the target repulsion force;
and adjusting the current value in the electromagnet control circuit to the target current value so as to enable the repulsive force between the first electromagnet and the second electromagnet to be a target repulsive force.
7. A computing device, wherein the computing device comprises:
one or more processors;
storage means for storing one or more programs;
two structures to be folded are connected by the same connecting piece;
the pressure sensor is used for acquiring pressure values borne by the two structures to be folded;
the distance sensor is used for acquiring a distance value between the two structures to be folded;
the two electromagnets in each group of paired electromagnets are respectively positioned at the edges of the two structures to be folded, and the positions of the two electromagnets are symmetrical based on the straight line where the connecting piece is positioned, so that the two electromagnets are used for assisting the closing and the unfolding of the two structures to be folded;
when executed by the one or more processors, cause the one or more processors to implement the folding control method of any of claims 1-4.
8. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the folding control method according to any one of claims 1-4.
CN201911345621.2A 2019-12-24 2019-12-24 Folding control method, apparatus, device and medium Active CN111028689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345621.2A CN111028689B (en) 2019-12-24 2019-12-24 Folding control method, apparatus, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345621.2A CN111028689B (en) 2019-12-24 2019-12-24 Folding control method, apparatus, device and medium

Publications (2)

Publication Number Publication Date
CN111028689A CN111028689A (en) 2020-04-17
CN111028689B true CN111028689B (en) 2022-05-31

Family

ID=70211996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345621.2A Active CN111028689B (en) 2019-12-24 2019-12-24 Folding control method, apparatus, device and medium

Country Status (1)

Country Link
CN (1) CN111028689B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445802A (en) * 2020-05-12 2020-07-24 Oppo广东移动通信有限公司 Electronic device
CN114253349A (en) * 2020-09-11 2022-03-29 华为技术有限公司 Folding equipment and opening and closing control method thereof
CN112987856B (en) * 2021-03-30 2023-06-09 广东虹勤通讯技术有限公司 Control method and device of foldable equipment and storage medium
CN116414185B (en) * 2021-12-29 2024-03-12 荣耀终端有限公司 Foldable electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344593A (en) * 2001-05-18 2002-11-29 Nec Saitama Ltd Foldable information equipment
CN204006926U (en) * 2014-06-30 2014-12-10 青岛海尔股份有限公司 Refrigerator
CN105652969A (en) * 2015-12-24 2016-06-08 联想(北京)有限公司 Information processing method and electronic equipment
CN106354214A (en) * 2016-11-07 2017-01-25 广东虹勤通讯技术有限公司 Automatic opening and closing type notebook computer and opening and closing method thereof
CN108415511A (en) * 2018-02-27 2018-08-17 努比亚技术有限公司 Folding mobile terminal
CN108521514A (en) * 2018-03-30 2018-09-11 努比亚技术有限公司 Terminal anti-theft based reminding method, mobile terminal and computer readable storage medium
CN109431404A (en) * 2018-09-30 2019-03-08 珠海格力电器股份有限公司 A kind of door lock assembly, dish-washing machine and control method for door lock
CN109803503A (en) * 2018-12-29 2019-05-24 维沃移动通信有限公司 Terminal device
CN110505330A (en) * 2019-09-26 2019-11-26 上海闻泰信息技术有限公司 A kind of Folding screen and its control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10185354B2 (en) * 2016-09-13 2019-01-22 Apple Inc. Capacitive touch opening display for electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344593A (en) * 2001-05-18 2002-11-29 Nec Saitama Ltd Foldable information equipment
CN204006926U (en) * 2014-06-30 2014-12-10 青岛海尔股份有限公司 Refrigerator
CN105652969A (en) * 2015-12-24 2016-06-08 联想(北京)有限公司 Information processing method and electronic equipment
CN106354214A (en) * 2016-11-07 2017-01-25 广东虹勤通讯技术有限公司 Automatic opening and closing type notebook computer and opening and closing method thereof
CN108415511A (en) * 2018-02-27 2018-08-17 努比亚技术有限公司 Folding mobile terminal
CN108521514A (en) * 2018-03-30 2018-09-11 努比亚技术有限公司 Terminal anti-theft based reminding method, mobile terminal and computer readable storage medium
CN109431404A (en) * 2018-09-30 2019-03-08 珠海格力电器股份有限公司 A kind of door lock assembly, dish-washing machine and control method for door lock
CN109803503A (en) * 2018-12-29 2019-05-24 维沃移动通信有限公司 Terminal device
CN110505330A (en) * 2019-09-26 2019-11-26 上海闻泰信息技术有限公司 A kind of Folding screen and its control method

Also Published As

Publication number Publication date
CN111028689A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111028689B (en) Folding control method, apparatus, device and medium
US10289258B2 (en) Foldable portable device including different folded states
US20150241929A1 (en) Peripheral Device Storage
EP2950193A1 (en) Electronic device with foldable display and method of operating the same
KR20200129584A (en) Foldable apparatus and method for controlling photographing using a plurality of cameras
CN112070015A (en) Face recognition method, system, device and medium fusing occlusion scene
KR20170019995A (en) Apparatus and method for operating a detachable electronic device and an electronic device
EP3531229A1 (en) Prevention of protective case turning screen off by mistake in terminal using hall sensors
KR20200124402A (en) Foldable electronic device and method for operating thereof
CN107481447A (en) A kind of processing method, system, equipment and storage medium forgotten after card taking
CN112052792A (en) Cross-model face recognition method, device, equipment and medium
KR20200067593A (en) Electronic device for generating augmented reality emoji and method thereof
CN104656878A (en) Method, device and system for recognizing gesture
KR102621809B1 (en) Electronic device and method for displaying screen via display in low power state
CN105573692A (en) Projection control method, associated terminal and system
US9767075B2 (en) System and method for implementing screen capture
CN109857298A (en) Using starting method, apparatus, equipment and storage medium
CN108471459A (en) A kind of housing unit, electronic equipment and its control method
CN107818538A (en) Processing method, device, equipment and the computer-readable recording medium of watermarking images
CN105225035B (en) A kind of robot realizing that E-Government is unified
CN104702833A (en) Information processing method and electronic equipment
CN111527464B (en) Adsorption method and system
CN105549883A (en) Operation control method and device
CN111801690A (en) Electronic device and method for recognizing characters
CN105242747B (en) The electronic device of this input unit of input unit and application

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
GR01 Patent grant
GR01 Patent grant