CN104598139A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN104598139A
CN104598139A CN201410837416.9A CN201410837416A CN104598139A CN 104598139 A CN104598139 A CN 104598139A CN 201410837416 A CN201410837416 A CN 201410837416A CN 104598139 A CN104598139 A CN 104598139A
Authority
CN
China
Prior art keywords
parameter
display
deformation
display object
electronic device
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.)
Granted
Application number
CN201410837416.9A
Other languages
Chinese (zh)
Other versions
CN104598139B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410837416.9A priority Critical patent/CN104598139B/en
Publication of CN104598139A publication Critical patent/CN104598139A/en
Application granted granted Critical
Publication of CN104598139B publication Critical patent/CN104598139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

The embodiment of the invention discloses an information processing method and an electronic device. The electronic device comprises a display unit and can deform in response to stress. The method comprises the steps that whether the electronic device conducts deformation meeting a preset condition is detected, and a first detection result is obtained; when the first detection result shows that the electronic device conducts deformation meeting the preset condition, a first attribute parameter of a first display object is shown on a display unit; based on the first attribute parameter, a first display parameter of the first display object is controlled to change or be maintained unchanged in response to the deformation.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
The traditional electronic equipment screens are all rigid screens, and the screens are positioned on the same plane and cannot be bent or stretched; consider the following scenario: after the screen of the electronic device is a flexible screen, if the screen can be stretched or compressed, namely the screen can deform along with the use of external force, how to better display on the deformed screen can be achieved, the requirements of users can be met, and an effective solution is not available in the related technology.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device, which can enrich display modes in a flexible screen.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises a display unit and can deform in response to stress; the method comprises the following steps:
detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result;
when the first detection result shows that the electronic equipment is deformed to meet a preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit;
and controlling a first display parameter of the first display object to be changed or maintained unchanged in response to the deformation based on the first attribute parameter.
In the foregoing solution, the detecting whether the electronic device is deformed to meet a predetermined condition includes:
detecting whether the deformation parameter of the electronic equipment reaches a first threshold value;
when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
In the foregoing solution, the controlling, based on the first attribute parameter, a first display parameter of the first display object to change in response to the deformation includes:
when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment, wherein the first parameter represents the deformation quantity of the electronic equipment;
obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object;
and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
In the foregoing solution, the controlling, based on the first attribute parameter, a first display parameter of the first display object to change in response to the deformation includes:
when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment; the first parameter is used for representing the deformation quantity of the electronic equipment;
obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object;
controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
In the foregoing solution, when the first display parameter for controlling the first display object based on the first attribute parameter is kept unchanged in response to the deformation, the display of the first display object changes along with the deformation of the electronic device.
An embodiment of the present invention further provides an electronic device, where the electronic device includes a display unit and is capable of deforming in response to a stress, and the electronic device further includes: the device comprises a detection unit, an acquisition unit and a control unit; wherein,
the detection unit is used for detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result;
the acquisition unit is used for acquiring a first attribute parameter of a first display object displayed on the display unit when the first detection result acquired by the detection unit indicates that the electronic equipment is deformed to meet a preset condition;
the control unit is configured to control a first display parameter of the first display object to change or remain unchanged in response to the deformation based on the first attribute parameter acquired by the acquisition unit.
In the above scheme, the detecting unit is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
In the foregoing solution, the control unit is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates a deformation amount of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
In the foregoing solution, the control unit is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates a deformation amount of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
In the foregoing solution, the control unit is configured to maintain the first display parameter, which is acquired by the acquisition unit and is used for controlling the first display object based on the first attribute parameter, unchanged in response to the deformation, so that the display of the first display object changes along with the deformation of the electronic device.
The embodiment of the invention provides an information processing method and electronic equipment, wherein the electronic equipment comprises a display unit and can deform in response to stress; the method comprises the following steps: detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result; when the first detection result shows that the electronic equipment is deformed to meet a preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit; and controlling a first display parameter of the first display object to be changed or maintained unchanged in response to the deformation based on the first attribute parameter. Therefore, by adopting the technical scheme of the embodiment of the invention, the display object in the flexible screen can be changed or maintained unchanged along with the deformation of the flexible screen, the display mode of the display object in the flexible screen is enriched, and the operation experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Example one
The embodiment of the invention provides an information processing method; the information processing method is applied to the electronic equipment; fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: and detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result.
In this embodiment, the electronic device includes a display unit and is capable of deforming in response to a stress. The electronic device may specifically be an electronic device with a flexible display screen, such as a mobile phone, a computer, etc. with a flexible screen.
In this step, the detecting whether the electronic device is deformed to meet a predetermined condition includes: detecting whether the deformation parameter of the electronic equipment reaches a first threshold value; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
Specifically, the detecting whether the deformation parameter of the electronic device reaches the first threshold may be detecting whether the deformation parameter of a display unit (specifically, a flexible display screen) of the electronic device reaches the first threshold. The electronic equipment is provided with a sensor capable of detecting the deformation parameters of the electronic equipment, the deformation parameters of the electronic equipment are obtained through the detection of the sensor, or the sensor capable of detecting the deformation parameters of the display unit is arranged on the display unit or around the display unit of the electronic equipment, and the deformation parameters of the display unit are obtained through the sensor.
The sensor may be a hall sensor, the deformation parameter may be a young modulus of a flexible material in the display unit, the young modulus of the flexible material in the display unit is obtained through measurement of the hall sensor, and the deformation degree of the electronic device is determined based on the young modulus.
Of course, the sensor may also be other sensors, such as a laser displacement sensor, etc., which will not be described in detail herein.
Step 102: and when the first detection result shows that the electronic equipment is deformed to meet the preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit.
Here, the first display object may be any content displayed on a display unit of the electronic device, including a display window of any running application program, such as a browser display window and a player display window, where the display window may be a full screen window, and an area of the full screen window is equal to an area of a display area of the display unit; the display window can also be a small window, and the area of the small window is smaller than that of the display area of the display unit; the first display object may also be an icon or the like displayed on the display unit that can trigger the running of an application.
In this embodiment, the first attribute parameter is preset in the first display object, and the first attribute parameter represents whether the first display object changes along with the deformation of the electronic device. For example, the first attribute parameter is 0 or 1, and when the first attribute parameter is set to 0, the first display object is represented to change along with the deformation of the electronic device; when the first attribute parameter is set to 1, the first display object is characterized to be kept unchanged along with the deformation of the electronic equipment. The first attribute parameter may be preconfigured according to the type of the first display object, and when the first display object is a player display window, the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, so that when the electronic device deforms, the content played by the player display window does not change, and the display content viewed by the user does not deform or distort. Alternatively, the first attribute parameter may be set by the user.
Step 103: and controlling a first display parameter of the first display object to be changed or maintained unchanged in response to the deformation based on the first attribute parameter.
Here, the first display parameter is a display parameter that characterizes a display effect of the first display object on the display unit. Specifically, the first display parameter may be at least one of the following display parameters: a display parameter that controls a display size of the first display object, a display parameter that controls a display attribute of the first display object (the display attribute is a color attribute such as a luminance attribute, color or black and white), a display parameter that controls a display font size of the first display object, and the like.
When the first attribute parameter represents that the first display object changes along with the deformation of the electronic equipment, controlling a first display parameter of the first display object to change in response to the deformation; when the first attribute parameter represents that the first display object is kept unchanged along with the deformation of the electronic equipment, controlling a first display parameter of the first display object to be kept unchanged in response to the deformation.
Specifically, in the embodiment of the present invention, the display unit of the electronic device has a flexible display screen; the flexible material of the flexible display screen can deform in response to stress; in the process of deformation of the flexible material, the material particles in the flexible material are stretched or compressed, and in a conventional case, the first display object displayed in the display unit is enlarged or reduced according to the material particles in the flexible material. Based on this, when the first display parameter for controlling the first display object changes in response to the deformation, the following two embodiments are included: in a first embodiment, the first display parameter changes proportionally in response to the deformation, so that the first display object is enlarged or reduced to a greater extent according to the stretching or compressing of the material particles in the flexible material. For example, when the material particles in the flexible material are stretched by a factor of 1; under the condition that the first display parameter of the first display object is not changed, the presentation effect of the first display object should be that the stretch coefficient of the flexible material is followed and the magnification factor is increased by 1; when the first display parameter of the first display object responds to the stretching of the flexible material, so that the magnification factor is increased by 1, the presentation effect of the first display object should follow the stretching of the flexible material, which is equivalent to the magnification factor being increased by 2, that is, the first display parameter follows a proportional change in response to the deformation, so that the variation range of the first display object in the display unit is larger. In a second embodiment, the first display parameter changes in a negative proportion in response to the deformation, so that the first display object is stretched or compressed according to the material particles in the flexible material and is maintained unchanged. For example, when the material particles in the flexible material are stretched by a factor of 1, the magnification factor of the first display parameter of the first display object is 1; under the condition that the first display parameter of the first display object is not changed, the presentation effect of the first display object should be that the stretch coefficient of the flexible material is followed and the magnification factor is increased by 1; when the first display parameter of the first display object increases by 1 in response to stretching of the flexible material such that the zoom-out factor increases, the rendering effect of the first display object should follow the stretching of the flexible material and the zooming-out of the first display object such that the first display object remains unchanged.
Specifically, when the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, the first display parameter of the first display object is controlled to remain unchanged in response to the deformation. In this embodiment, the display unit of the electronic device has a flexible display screen; the flexible material of the flexible display screen can deform in response to stress; in the process of deformation of the flexible material, the material particles in the flexible material are stretched or compressed, and in a conventional case, the first display object displayed in the display unit is enlarged or reduced according to the material particles in the flexible material.
By adopting the technical scheme of the embodiment of the invention, the display object in the flexible screen can be changed or maintained unchanged along with the deformation of the flexible screen, the display mode of the display object in the flexible screen is enriched, and the operation experience of a user is improved.
Example two
The embodiment of the invention also provides an information processing method; the information processing method is applied to the electronic equipment; the electronic device includes a display unit and is capable of deforming in response to stress. FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: and detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result.
In this embodiment, the electronic device includes a display unit and is capable of deforming in response to a stress. The electronic device may specifically be an electronic device with a flexible display screen, such as a mobile phone, a computer, etc. with a flexible screen.
In this step, the detecting whether the electronic device is deformed to meet a predetermined condition includes: detecting whether the deformation parameter of the electronic equipment reaches a first threshold value; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
Specifically, the detecting whether the deformation parameter of the electronic device reaches the first threshold may be detecting whether the deformation parameter of a display unit (specifically, a flexible display screen) of the electronic device reaches the first threshold. The electronic equipment is provided with a sensor capable of detecting the deformation parameters of the electronic equipment, the deformation parameters of the electronic equipment are obtained through the detection of the sensor, or the sensor capable of detecting the deformation parameters of the display unit is arranged on the display unit or around the display unit of the electronic equipment, and the deformation parameters of the display unit are obtained through the sensor.
The sensor may be a hall sensor, the deformation parameter may be a young modulus of a flexible material in the display unit, the young modulus of the flexible material in the display unit is obtained through measurement of the hall sensor, and the deformation degree of the electronic device is determined based on the young modulus.
Of course, the sensor may also be other sensors, such as a laser displacement sensor, etc., which will not be described in detail herein.
Step 202: and when the first detection result shows that the electronic equipment is deformed to meet the preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit.
Here, the first display object may be any content displayed on a display unit of the electronic device, including a display window of any running application program, such as a browser display window and a player display window, where the display window may be a full screen window, and an area of the full screen window is equal to an area of a display area of the display unit; the display window can also be a small window, and the area of the small window is smaller than that of the display area of the display unit; the first display object may also be an icon or the like displayed on the display unit that can trigger the running of an application.
In this embodiment, the first attribute parameter is preset in the first display object, and the first attribute parameter represents whether the first display object changes along with the deformation of the electronic device. For example, the first attribute parameter is 0 or 1, and when the first attribute parameter is set to 0, the first display object is represented to change along with the deformation of the electronic device; when the first attribute parameter is set to 1, the first display object is characterized to be kept unchanged along with the deformation of the electronic equipment. The first attribute parameter may be preconfigured according to the type of the first display object, and when the first display object is a player display window, the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, so that when the electronic device deforms, the content played by the player display window does not change, and the display content viewed by the user does not deform or distort. Alternatively, the first attribute parameter may be set by the user.
Step 203: when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment; the first parameter characterizes a deformation amount of the electronic device.
Here, the obtaining of the first parameter of the electronic device is: obtaining a first parameter of a display unit of the electronic equipment; the first parameter may be a deformation amount representing an amount of tension or an amount of compression of the display unit. Specifically, the stretching amount and the compressing amount may be determined by a positive value or a negative value of the type variable, for example, when the deformation amount is a positive value, the type variable may be determined as the stretching amount; accordingly, when the deformation amount is a negative value, it may be determined that the type variable is a compression amount.
Step 204: and obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object.
Here, the first display parameter is a display parameter that characterizes a display effect of the first display object on the display unit. Specifically, the first display parameter may be at least one of the following display parameters: a display parameter that controls a display size of the first display object, a display parameter that controls a display attribute of the first display object (the display attribute is a color attribute such as a luminance attribute, color or black and white), a display parameter that controls a display font size of the first display object, and the like. The second parameter may be at least one of the following parameters: a variation amount of a display size of the first display object, a variation amount of a display attribute parameter of the first display object (such as a luminance variation amount, a chromaticity variation amount, and the like), a variation amount of a display font size of the first display object, and the like.
Step 205: and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
Here, the second parameter is positively correlated with the first parameter, that is, when the first parameter represents the stretching amount of the display unit, the second parameter represents the increase amount of the first display parameter of the first display object, such as the enlargement amount of the display size of the first display object, the increase amount of the display attribute parameter of the first display object (such as the increase amount of the brightness, the increase amount of the chromaticity, and the like), the increase amount of the display font size of the first display object, and the like; accordingly, when the first parameter represents the shrinkage of the display unit, the second parameter represents the reduction amount of the first display parameter of the first display object, such as the reduction amount of the display size of the first display object, the reduction amount of the display attribute parameter of the first display object (such as a luminance reduction amount, a chrominance reduction amount, and the like), the reduction amount of the display font size of the first display object, and the like, so that the display of the first display object changes along with the deformation of the electronic device, and in the embodiment, the display effect of the first display object in the display unit is more variable.
By adopting the technical scheme of the embodiment of the invention, the display object in the flexible screen can change along with the deformation of the flexible screen, the display mode of the display object in the flexible screen is enriched, and the operation experience of a user is improved.
EXAMPLE III
The embodiment of the invention also provides an information processing method; the information processing method is applied to the electronic equipment; the electronic device includes a display unit and is capable of deforming in response to stress. FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: and detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result.
In this embodiment, the electronic device includes a display unit and is capable of deforming in response to a stress. The electronic device may specifically be an electronic device with a flexible display screen, such as a mobile phone, a computer, etc. with a flexible screen.
In this step, the detecting whether the electronic device is deformed to meet a predetermined condition includes: detecting whether the deformation parameter of the electronic equipment reaches a first threshold value; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
Specifically, the detecting whether the deformation parameter of the electronic device reaches the first threshold may be detecting whether the deformation parameter of a display unit (specifically, a flexible display screen) of the electronic device reaches the first threshold. The electronic equipment is provided with a sensor capable of detecting the deformation parameters of the electronic equipment, the deformation parameters of the electronic equipment are obtained through the detection of the sensor, or the sensor capable of detecting the deformation parameters of the display unit is arranged on the display unit or around the display unit of the electronic equipment, and the deformation parameters of the display unit are obtained through the sensor.
The sensor may be a hall sensor, the deformation parameter may be a young modulus of a flexible material in the display unit, the young modulus of the flexible material in the display unit is obtained through measurement of the hall sensor, and the deformation degree of the electronic device is determined based on the young modulus.
Of course, the sensor may also be other sensors, such as a laser displacement sensor, etc., which will not be described in detail herein.
Step 302: and when the first detection result shows that the electronic equipment is deformed to meet the preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit.
Here, the first display object may be any content displayed on a display unit of the electronic device, including a display window of any running application program, such as a browser display window and a player display window, where the display window may be a full screen window, and an area of the full screen window is equal to an area of a display area of the display unit; the display window can also be a small window, and the area of the small window is smaller than that of the display area of the display unit; the first display object may also be an icon or the like displayed on the display unit that can trigger the running of an application.
In this embodiment, the first attribute parameter is preset in the first display object, and the first attribute parameter represents whether the first display object changes along with the deformation of the electronic device. For example, the first attribute parameter is 0 or 1, and when the first attribute parameter is set to 0, the first display object is represented to change along with the deformation of the electronic device; when the first attribute parameter is set to 1, the first display object is characterized to be kept unchanged along with the deformation of the electronic equipment. The first attribute parameter may be preconfigured according to the type of the first display object, and when the first display object is a player display window, the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, so that when the electronic device deforms, the content played by the player display window does not change, and the display content viewed by the user does not deform or distort. Alternatively, the first attribute parameter may be set by the user.
Step 303: when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment; the first parameter characterizes a deformation amount of the electronic device.
Here, the obtaining of the first parameter of the electronic device is: obtaining a first parameter of a display unit of the electronic equipment; the first parameter may be a deformation amount representing an amount of tension or an amount of compression of the display unit. Specifically, the stretching amount and the compressing amount may be determined by a positive value or a negative value of the type variable, for example, when the deformation amount is a positive value, the type variable may be determined as the stretching amount; accordingly, when the deformation amount is a negative value, it may be determined that the type variable is a compression amount.
Step 304: and obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object.
Here, the first display parameter is a display parameter that characterizes a display effect of the first display object on the display unit. Specifically, the first display parameter may be at least one of the following display parameters: a display parameter that controls a display size of the first display object, a display parameter that controls a display attribute of the first display object (the display attribute is a color attribute such as a luminance attribute, color or black and white), a display parameter that controls a display font size of the first display object, and the like. The second parameter may be at least one of the following parameters: a variation amount of a display size of the first display object, a variation amount of a display attribute parameter of the first display object (such as a luminance variation amount, a chromaticity variation amount, and the like), a variation amount of a display font size of the first display object, and the like.
Step 305: controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
Here, the second parameter is negatively correlated with the first parameter, that is, when the first parameter represents the stretching amount of the display unit, the second parameter represents the reduction amount of the first display parameter of the first display object, such as the reduction amount of the display size of the first display object, the reduction amount of the display attribute parameter of the first display object (such as a luminance reduction amount, a chromaticity reduction amount, and the like), the reduction amount of the display font size of the first display object, and the like; accordingly, when the first parameter represents the shrinkage of the display unit, the second parameter represents the amplification amount of the first display parameter of the first display object, such as the amplification amount of the display size of the first display object, the amplification amount of the display attribute parameter of the first display object (such as the luminance amplification amount, the chrominance amplification amount, and the like), the amplification amount of the display font size of the first display object, and the like, so that the display of the first display object is maintained to follow the deformation of the electronic device.
By adopting the technical scheme of the embodiment of the invention, the display object in the flexible screen can be kept unchanged along with the deformation of the flexible screen, the display modes of the display object in the flexible screen are enriched, and the operation experience of a user is improved.
Example four
The embodiment of the invention also provides an information processing method; the information processing method is applied to the electronic equipment; the electronic device includes a display unit and is capable of deforming in response to stress. FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: and detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result.
In this embodiment, the electronic device includes a display unit and is capable of deforming in response to a stress. The electronic device may specifically be an electronic device with a flexible display screen, such as a mobile phone, a computer, etc. with a flexible screen.
In this step, the detecting whether the electronic device is deformed to meet a predetermined condition includes: detecting whether the deformation parameter of the electronic equipment reaches a first threshold value; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
Specifically, the detecting whether the deformation parameter of the electronic device reaches the first threshold may be detecting whether the deformation parameter of a display unit (specifically, a flexible display screen) of the electronic device reaches the first threshold. The electronic equipment is provided with a sensor capable of detecting the deformation parameters of the electronic equipment, the deformation parameters of the electronic equipment are obtained through the detection of the sensor, or the sensor capable of detecting the deformation parameters of the display unit is arranged on the display unit or around the display unit of the electronic equipment, and the deformation parameters of the display unit are obtained through the sensor.
The sensor may be a hall sensor, the deformation parameter may be a young modulus of a flexible material in the display unit, the young modulus of the flexible material in the display unit is obtained through measurement of the hall sensor, and the deformation degree of the electronic device is determined based on the young modulus.
Of course, the sensor may also be other sensors, such as a laser displacement sensor, etc., which will not be described in detail herein.
Step 402: and when the first detection result shows that the electronic equipment is deformed to meet the preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit.
Here, the first display object may be any content displayed on a display unit of the electronic device, including a display window of any running application program, such as a browser display window and a player display window, where the display window may be a full screen window, and an area of the full screen window is equal to an area of a display area of the display unit; the display window can also be a small window, and the area of the small window is smaller than that of the display area of the display unit; the first display object may also be an icon or the like displayed on the display unit that can trigger the running of an application.
In this embodiment, the first attribute parameter is preset in the first display object, and the first attribute parameter represents whether the first display object changes along with the deformation of the electronic device. For example, the first attribute parameter is 0 or 1, and when the first attribute parameter is set to 0, the first display object is represented to change along with the deformation of the electronic device; when the first attribute parameter is set to 1, the first display object is characterized to be kept unchanged along with the deformation of the electronic equipment. The first attribute parameter may be preconfigured according to the type of the first display object, and when the first display object is a player display window, the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, so that when the electronic device deforms, the content played by the player display window does not change, and the display content viewed by the user does not deform or distort. Alternatively, the first attribute parameter may be set by the user.
Step 403: and controlling a first display parameter of the first display object to be kept unchanged in response to the deformation based on the first attribute parameter, wherein the display of the first display object is changed along with the deformation of the electronic equipment.
In this embodiment, when the first attribute parameter indicates that the first display object remains unchanged along with the deformation of the electronic device, the first display parameter of the first display object is controlled to remain unchanged in response to the deformation. In this embodiment, the display unit of the electronic device has a flexible display screen; the flexible material of the flexible display screen can deform in response to stress; in the process of deformation of the flexible material, the material particles in the flexible material are stretched or compressed, and in a conventional case, the first display object displayed in the display unit is enlarged or reduced according to the material particles in the flexible material.
By adopting the technical scheme of the embodiment of the invention, the display object in the flexible screen can change along with the deformation of the flexible screen, the display mode of the display object in the flexible screen is enriched, and the operation experience of a user is improved.
EXAMPLE five
The embodiment of the invention also provides the electronic equipment. FIG. 5 is a schematic diagram of a structure of an electronic device according to an embodiment of the invention; as shown in fig. 5, the electronic device includes a display unit 50 and is capable of deforming in response to stress, and further includes: a detection unit 51, an acquisition unit 52, and a control unit 53; wherein,
the detection unit 51 is configured to detect whether the electronic device deforms to meet a predetermined condition, and obtain a first detection result;
the obtaining unit 52 is configured to obtain a first attribute parameter of a first display object displayed on the display unit 50 when the first detection result obtained by the detecting unit 51 indicates that the electronic device is deformed to meet a predetermined condition;
the control unit 53 is configured to control a first display parameter of the first display object to be changed or maintained unchanged in response to the deformation based on the first attribute parameter acquired by the acquisition unit 52.
Specifically, the detecting unit 51 is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE six
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, where the electronic device includes a display unit 50, and the electronic device is capable of deforming in response to a stress, and the electronic device further includes: a detection unit 51, an acquisition unit 52, and a control unit 53; wherein,
the detection unit 51 is configured to detect whether the electronic device deforms to meet a predetermined condition, and obtain a first detection result;
the obtaining unit 52 is configured to obtain a first attribute parameter of a first display object displayed on the display unit 50 when the first detection result obtained by the detecting unit 51 indicates that the electronic device is deformed to meet a predetermined condition;
the control unit 53 is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit 52 indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates an amount of deformation of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
Specifically, the detecting unit 51 is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
EXAMPLE seven
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, where the electronic device includes a display unit 50, and the electronic device is capable of deforming in response to a stress, and the electronic device further includes: a detection unit 51, an acquisition unit 52, and a control unit 53; wherein,
the detection unit 51 is configured to detect whether the electronic device deforms to meet a predetermined condition, and obtain a first detection result;
the obtaining unit 52 is configured to obtain a first attribute parameter of a first display object displayed on the display unit 50 when the first detection result obtained by the detecting unit 51 indicates that the electronic device is deformed to meet a predetermined condition;
the control unit 53 is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit 52 indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates an amount of deformation of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
Specifically, the detecting unit 51 is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
Example eight
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, where the electronic device includes a display unit 50, and the electronic device is capable of deforming in response to a stress, and the electronic device further includes: a detection unit 51, an acquisition unit 52, and a control unit 53; wherein,
the detection unit 51 is configured to detect whether the electronic device deforms to meet a predetermined condition, and obtain a first detection result;
the obtaining unit 52 is configured to obtain a first attribute parameter of a first display object displayed on the display unit 50 when the first detection result obtained by the detecting unit 51 indicates that the electronic device is deformed to meet a predetermined condition;
the control unit 53 is configured to maintain the first display parameter, which is acquired by the acquiring unit 52 and used for controlling the first display object based on the first attribute parameter, unchanged in response to the deformation, so that the display of the first display object changes along with the deformation of the electronic device.
Specifically, the detecting unit 51 is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
It should be understood by those skilled in the art that the functions of each processing unit in the electronic device according to the embodiment of the present invention may be understood by referring to the description of the information processing method, and each processing unit in the electronic device according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that executes the functions described in the embodiment of the present invention on an intelligent terminal.
In the fifth to eighth embodiments of the present invention, in practical application, both the obtaining unit 52 and the control unit 53 of the electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the electronic device; the detection unit 51 of the electronic device may be implemented by a sensor in the electronic device in practical application; the display unit 50 of the electronic device may be implemented by a flexible display screen of the electronic device in practical applications.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. An information processing method is applied to electronic equipment, wherein the electronic equipment comprises a display unit and can deform in response to stress; the method comprises the following steps:
detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result;
when the first detection result shows that the electronic equipment is deformed to meet a preset condition, acquiring a first attribute parameter of a first display object displayed on the display unit;
and controlling a first display parameter of the first display object to be changed or maintained unchanged in response to the deformation based on the first attribute parameter.
2. The method of claim 1, wherein the detecting whether the electronic device is deformed to meet a predetermined condition comprises:
detecting whether the deformation parameter of the electronic equipment reaches a first threshold value;
when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
3. The method of claim 1, wherein the controlling the first display parameter of the first display object based on the first attribute parameter changes in response to the deformation comprises:
when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment, wherein the first parameter represents the deformation quantity of the electronic equipment;
obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object;
and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
4. The method of claim 1, wherein the controlling the first display parameter of the first display object based on the first attribute parameter changes in response to the deformation comprises:
when the first attribute parameter represents that the first display object changes in response to the deformation of the electronic equipment, obtaining a first parameter of the electronic equipment; the first parameter is used for representing the deformation quantity of the electronic equipment;
obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object;
controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
5. The method of claim 1, wherein when the first display parameter controlling the first display object based on the first attribute parameter remains unchanged in response to the deformation, the display of the first display object changes following the deformation of the electronic device.
6. An electronic device that includes a display unit and that is capable of deforming in response to stress, the electronic device further comprising: the device comprises a detection unit, an acquisition unit and a control unit; wherein,
the detection unit is used for detecting whether the electronic equipment deforms to meet a preset condition or not to obtain a first detection result;
the acquisition unit is used for acquiring a first attribute parameter of a first display object displayed on the display unit when the first detection result acquired by the detection unit indicates that the electronic equipment is deformed to meet a preset condition;
the control unit is configured to control a first display parameter of the first display object to change or remain unchanged in response to the deformation based on the first attribute parameter acquired by the acquisition unit.
7. The electronic device according to claim 6, wherein the detecting unit is configured to detect whether a deformation parameter of the electronic device reaches a first threshold; when the deformation parameter of the electronic equipment reaches a first threshold value, the electronic equipment is indicated to be deformed to meet the preset condition.
8. The electronic device according to claim 6, wherein the control unit is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates an amount of deformation of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; and controlling the second parameter based on the first parameter, wherein the second parameter is positively correlated with the first parameter, so that the display of the first display object changes along with the deformation of the electronic equipment.
9. The electronic device according to claim 6, wherein the control unit is configured to obtain a first parameter of the electronic device when the first attribute parameter obtained by the obtaining unit indicates that the first display object changes in response to deformation of the electronic device, where the first parameter indicates an amount of deformation of the electronic device; obtaining a second parameter of the first display object, wherein the second parameter represents the change of the first display parameter of the first display object; controlling the second parameter based on the first parameter, wherein the second parameter is inversely related to the first parameter, so that the display of the first display object is kept unchanged along with the deformation of the electronic equipment.
10. The electronic device according to claim 6, wherein the control unit is configured to maintain the first display parameter for controlling the first display object based on the first attribute parameter, which is acquired by the acquisition unit, unchanged in response to the deformation, so that the display of the first display object changes in accordance with the deformation of the electronic device.
CN201410837416.9A 2014-12-29 2014-12-29 A kind of information processing method and electronic equipment Active CN104598139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410837416.9A CN104598139B (en) 2014-12-29 2014-12-29 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410837416.9A CN104598139B (en) 2014-12-29 2014-12-29 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104598139A true CN104598139A (en) 2015-05-06
CN104598139B CN104598139B (en) 2018-08-10

Family

ID=53123968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410837416.9A Active CN104598139B (en) 2014-12-29 2014-12-29 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104598139B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293214A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 A kind of method of illumination and mobile terminal
CN107077812A (en) * 2015-10-23 2017-08-18 深圳市柔宇科技有限公司 A kind of display control method and electronic equipment
CN107179861A (en) * 2016-03-11 2017-09-19 联想(北京)有限公司 A kind of information processing method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130113895A (en) * 2012-04-08 2013-10-16 삼성전자주식회사 Flexible display apparatus and user interface providing method thereof
CN103389861A (en) * 2012-05-08 2013-11-13 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
US20140015745A1 (en) * 2012-07-13 2014-01-16 Samsung Electronics Co., Ltd. Apparatus and method for detecting and handling flexion states of flexible display
US20140132506A1 (en) * 2011-12-30 2014-05-15 Lg Electronics Inc. Bending threshold and release for a flexible display device
CN103853514A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN103870040A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104182141A (en) * 2014-08-18 2014-12-03 联想(北京)有限公司 Method for processing information and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140132506A1 (en) * 2011-12-30 2014-05-15 Lg Electronics Inc. Bending threshold and release for a flexible display device
KR20130113895A (en) * 2012-04-08 2013-10-16 삼성전자주식회사 Flexible display apparatus and user interface providing method thereof
CN103389861A (en) * 2012-05-08 2013-11-13 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
US20140015745A1 (en) * 2012-07-13 2014-01-16 Samsung Electronics Co., Ltd. Apparatus and method for detecting and handling flexion states of flexible display
CN103853514A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN103870040A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Information processing method and electronic device
CN104182141A (en) * 2014-08-18 2014-12-03 联想(北京)有限公司 Method for processing information and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077812A (en) * 2015-10-23 2017-08-18 深圳市柔宇科技有限公司 A kind of display control method and electronic equipment
CN107077812B (en) * 2015-10-23 2020-11-10 深圳市柔宇科技有限公司 Display control method and electronic equipment
CN107179861A (en) * 2016-03-11 2017-09-19 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106293214A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 A kind of method of illumination and mobile terminal

Also Published As

Publication number Publication date
CN104598139B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
US11145039B2 (en) Dynamic tone mapping method, mobile terminal, and computer readable storage medium
US10748390B2 (en) Dynamic haptic generation based on detected video events
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
CN104660816B (en) A kind of method and mobile terminal of display reminding information
WO2017202170A1 (en) Method and device for video compression and electronic device
KR101674284B1 (en) Method, device, program and recording medium for image processing
US9131227B2 (en) Computing device with video analyzing function and video analyzing method
CN104598139B (en) A kind of information processing method and electronic equipment
CN104318912A (en) Method and device for detecting environmental light brightness
US9990009B2 (en) Output control using gesture input
CN103076954B (en) The method of adjustment display effect and device
WO2014101573A1 (en) Method and device for adjusting display effect
TW201619803A (en) System and method for displaying user interface
US11636572B2 (en) Method and apparatus for determining and varying the panning speed of an image based on saliency
US20140184493A1 (en) Electronic device and gesture contol method for electronic device
CN104951185A (en) Information processing method and electronic equipment
CN104301484A (en) Method for showing mobile phone program change process
CN102880391B (en) Change display control apparatus and the method for the content that browser window shows
CN105549892A (en) Augmented reality information display method and apparatus
CN104731689A (en) Information processing method and electronic equipment
CN106651968B (en) Game abnormity detection method and device
US20130181894A1 (en) Display device and method for large screen
CN107608589B (en) Video production method and mobile terminal
JP2017116739A5 (en)
JP2007074149A5 (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant