WO2017107769A1 - Indication method and apparatus for pressure screen - Google Patents

Indication method and apparatus for pressure screen Download PDF

Info

Publication number
WO2017107769A1
WO2017107769A1 PCT/CN2016/108758 CN2016108758W WO2017107769A1 WO 2017107769 A1 WO2017107769 A1 WO 2017107769A1 CN 2016108758 W CN2016108758 W CN 2016108758W WO 2017107769 A1 WO2017107769 A1 WO 2017107769A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure value
pressure
screen
image
current
Prior art date
Application number
PCT/CN2016/108758
Other languages
French (fr)
Chinese (zh)
Inventor
杜兆喜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017107769A1 publication Critical patent/WO2017107769A1/en

Links

Images

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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]
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for prompting a pressure screen.
  • Pressure screen also known as pressure sensing screen, is a kind of screen applied to smart phones and laptops. This kind of screen needs to rely on independent pressure sensor. Once the finger touch is detected, the pressure sensor will present the entire touch process. The chip is processed, and the processing chip can determine whether this is a touch or a heavy press.
  • any material can withstand the strength, if the pressure is applied, the equipment will be damaged. However, it is not easy for the user to know what status of the device has been reached. Different users feel differently about the strength of pressing, and are also related to the fatigue state of people. For example, the maximum pressure on a child's screen may not be as light as some adults.
  • the pressure screen can sense the applied pressure and will not be deformed to a certain extent, when the user mistakenly believes that the pressure sensing is not sensitive, the screen will be heavily pressed, which will affect the service life of the screen.
  • the embodiment of the invention provides a method and a device for prompting a pressure screen, so as to at least solve the problem that the pressure level of the current pressure screen cannot be presented to the user in the related art.
  • a method for prompting a pressure screen includes: acquiring a pressure value at which a current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein The pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed.
  • the prompting the pressing state of the current pressure screen according to the pressure value comprises: adding a predetermined layer on an initial display interface preset by the current pressure screen, wherein the initial display interface is used for displaying a first image; a second image corresponding to the pressed state of the current pressure screen is set on the predetermined layer; and the target image obtained by superimposing the first image and the second image is used to prompt the Press the status.
  • the prompting the pressing state of the current pressure screen according to the pressure value comprises: adjusting an image size of the first image on the initial display interface according to the pressing state; and prompting an image size by using the first image The pressed state of the current pressure screen.
  • adjusting an image size of the first image on the initial display interface according to the pressing state including: adjusting, by using a mapping relationship between the pressure value set in advance and an image size of the first image An image size of an image, wherein the pressure value is inversely proportional to an image size of the first image.
  • the prompting the pressing state of the current pressure screen according to the pressure value further comprising: determining whether the pressure value is in a predetermined range; if the pressure value is in the predetermined range, prompting the The pressing state of the current pressure screen.
  • the predetermined range includes: a first preset pressure value, a second preset pressure value, the first preset pressure value is less than the second preset pressure value; Mode determining: obtaining a first pressure value and a second pressure value by using the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset a pressure value, the second pressure value is set as the second preset pressure value; or acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as a The first preset pressure value is set, and the maximum value of the plurality of pressure values is set as the second preset pressure value.
  • a prompting device for a pressure screen comprising: an obtaining module configured to acquire a pressure value at which a current pressure screen is pressed; and a first prompting module configured to prompt according to the pressure value a pressing state of the current pressure screen, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate a degree to which the current pressure screen is pressed.
  • the first prompting module includes: an adding unit, configured to add a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image; a unit configured to set a second image corresponding to the pressed state of the current pressure screen on the predetermined layer; a first prompting unit configured to be superposed by the first image and the second image The target image to prompt the pressed state.
  • the first prompting module includes: an adjusting unit configured to adjust an image size of the first image on the initial display interface according to the pressing state; and a second prompting unit configured to pass the image of the first image The size prompts the pressed state of the current pressure screen.
  • the adjusting unit is further configured to adjust an image size of the first image by a mapping relationship between the pressure value set in advance and an image size of the first image, wherein the pressure value is The image size of the first image is inversely proportional.
  • the device further includes: a determining module, configured to determine whether the pressure value is in a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value; In order to indicate the pressing state of the current pressure screen when the pressure value is within the predetermined range.
  • a determining module configured to determine whether the pressure value is in a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value; In order to indicate the pressing state of the current pressure screen when the pressure value is within the predetermined range.
  • the device further includes: a determining module, configured to include, in the predetermined range, a first preset pressure value, a second preset pressure value, and the first preset pressure value is smaller than the second preset
  • the predetermined range is determined by one of the following methods: obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is smaller than the second pressure value; The first pressure value is set as the first preset pressure value, and the second pressure value is set as the second preset pressure value; or, the plurality of pressure values of the current pressure screen are acquired within a predetermined time And setting a minimum value of the plurality of pressure values as the first preset pressure value, and a maximum value of the plurality of pressure values is set as the second preset pressure value.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the prompting method of the pressure screen in the above embodiment.
  • a pressure value at which the current pressure screen is pressed a pressure value at which the current pressure screen is pressed;
  • the pressed state of the current pressure screen is displayed, wherein the pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed.
  • the present invention can prompt the pressed state of the current pressure screen according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, and the related technology cannot be prompted to the user.
  • the problem of the degree of pressure on the current pressure screen has reached the effect of protecting the screen, further improving the user experience.
  • FIG. 1 is a flow chart of a prompting method of a pressure screen according to an embodiment of the present invention
  • FIG. 2a is a schematic diagram of a prompting method of a pressure screen according to an embodiment of the present invention
  • 2b is a schematic diagram (1) of a prompting method of a pressure screen according to an embodiment of the invention.
  • 2c is a schematic diagram (2) of a prompting method of a pressure screen according to an embodiment of the invention.
  • FIG. 3 is a block diagram showing the structure of a prompting device for a pressure screen according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram (1) of a prompting device for a pressure screen according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram (2) of a prompting device for a pressure screen according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram (3) of a prompting device for a pressure screen according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram (4) of a prompting device of a pressure screen according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for prompting a pressure screen according to an embodiment of the present invention. As shown in FIG. 1 , the flow includes the following steps:
  • Step S102 acquiring a pressure value at which the current pressure screen is pressed
  • Step S104 prompting the pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, and the pressing state is used to indicate the extent to which the current pressure screen is pressed.
  • the prompting method of the pressure screen includes: acquiring a pressure value that the current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, And the pressed state is used to indicate the extent to which the current pressure screen is pressed. That is to say, the pressed state of the current pressure screen can be prompted according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure of pressing the current pressure screen according to the prompt, which solves the problem that the current pressure screen cannot be presented to the user in the related art.
  • the problem of the degree of pressure that is withstood thereby achieving the effect of protecting the screen, further improving the user experience.
  • the method for prompting the pressing state of the current pressure screen according to the pressure value includes, but is not limited to, adding a predetermined layer on the initial display interface preset by the current pressure screen, and adopting the initial display interface and the predetermined
  • the state of the image superimposed by the layer prompts the pressing state; the pressing state is indicated by adjusting the image size on the initial display interface according to the pressing state; or the pressing state is indicated by issuing different prompt sounds according to the pressing state, and no pressing is performed here. limited.
  • prompting the pressing state of the current pressure screen according to the pressure value comprises the following steps:
  • Step S11 adding a predetermined layer on the initial display interface preset on the current pressure screen, wherein the initial display interface is used to display the first image;
  • Step S12 setting a second image corresponding to the pressed state of the current pressure screen on the predetermined layer
  • Step S13 the pressed state is prompted by the target image obtained by superimposing the first image and the second image.
  • the manner of prompting the pressed state by the target image superimposed by the first image and the second image includes, but is not limited to, prompting the pressing state according to the sharpness of the first image located under the second image.
  • the light-to-dark change of the color of the second image is associated with the pressed state of the current pressure screen, that is, the greater the pressing force of the current pressure screen is, the deeper the color of the second image is until the first An image is not visible.
  • the second image is exemplified by an overlay layer.
  • the pressure screen when the user presses a slight degree, the pressure screen generally does not display the cover layer, that is, the color of the cover layer is transparent, as shown in Fig. 2a. If the degree of user press changes from mild to moderate, the overlay becomes translucent from the transparency shown in Figure 2a, as shown in Figure 2b. If the degree of pressing the pressure screen by the user changes from moderate to heavy, the overlay will change from translucent to opaque as shown in Figure 2b, as shown in Figure 2c, prompting the user not to press down.
  • the cover layer can also display the current state of the pressure screen.
  • a configuration program can be provided to turn the function off. For example, when adjusting the camera focal length according to the pressing force, the display overlay will affect the framing effect, and the user chooses to turn off the overlay at this time.
  • the pressing state is prompted according to the changing state of the target image, which further solves the problem that the screen can be easily damaged due to the failure of the user to prompt the user to the pressure level of the current pressure screen, thereby achieving the protection screen. effect.
  • prompting the pressing state of the current pressure screen according to the pressure value further includes the following steps:
  • Step S21 adjusting an image size of the first image on the initial display interface according to the pressing state
  • Step S22 prompting the pressing state of the current pressure screen by the image size of the first image.
  • adjusting the image size of the first image on the initial display interface according to the pressing state includes, but is not limited to, setting the pressure value and the image size of the first image to an inverse relationship, where the pressure value is When the small size becomes larger, the first image is changed from large to small; or, the pressure value is the same as the first
  • the image size of an image is set to a proportional relationship, and as the pressure value changes from small to large, the first image becomes larger from small to large.
  • the inverse relationship and the proportional relationship are not limited to a linear inverse relationship and a linear proportional relationship in a strict sense, and the representation may be a change trend, such as a pressure value and a
  • the image size of an image may be first increased in a linear relationship and then increased in an exponential relationship, and is not limited herein.
  • the image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved.
  • the effect of protecting the screen is provided.
  • adjusting an image size of the first image on the initial display interface according to the pressing state includes the following steps:
  • Step S31 adjusting the image size of the first image by a mapping relationship between the pressure value set in advance and the image size of the first image, wherein the pressure value is inversely proportional to the image size of the first image.
  • the image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved.
  • the effect of protecting the screen is provided.
  • the method before the prompting the pressing state of the current pressure screen according to the pressure value, the method further includes:
  • Step S41 determining whether the pressure value is within a predetermined range
  • Step S42 if the pressure value is within the predetermined range, prompting the pressing state of the current pressure screen.
  • the pressing state of the current pressure screen is prompted.
  • the pressing state of the current pressure screen is prompted, instead of being prompted as long as the current pressure screen is pressed, thereby not affecting the normal display of the screen. . That is, information indicating the pressing state of the current pressure screen, in most cases It can't be seen, or it is transparent. Only when it is close to the limit, it will warn the user with opaque or darker colors, no need to increase the effort, and improve the user experience.
  • the predetermined range includes: a first preset pressure value, and a second preset pressure value, wherein the first preset pressure value is less than the second preset pressure value; Way to determine:
  • Step S51 obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset pressure value, the first The second pressure value is set to the second preset pressure value; or,
  • Step S52 acquiring a plurality of pressure values of the current pressure screen for a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, and setting a maximum value of the plurality of pressure values to the second Preset pressure value.
  • the obtaining manner of the foregoing predetermined range includes, but is not limited to, a preset prompt range when the pressure screen device is shipped from the factory; or a range obtained after the user performs calibration, for example, by current
  • the pressure screen obtains a first pressure value and a second pressure value, and the first pressure value is less than the second pressure value; the first pressure value is set to the first preset pressure value, and the second pressure value is set to a second preset pressure value; or, acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, the maximum of the plurality of pressure values The value is set to the second preset pressure value.
  • first pressure value and the second pressure value may be pressure values between a pressure value obtained by the user tapping the surface of the current pressure screen and a pressure value obtained by applying the desired maximum force, that is, by tapping at the user.
  • the first pressure value and the second pressure value are obtained as needed within a range determined by the pressure value obtained by the current pressure screen surface and the pressure value obtained by applying the desired maximum force; or, by the user tapping the surface of the current pressure screen.
  • a plurality of pressure values are acquired, and the first preset pressure value and the second preset pressure value are obtained from the plurality of pressure values as needed.
  • the invention provides a prompting method for a pressure screen. After the user performs calibration, the current strength condition is fed back according to the user's pressing strength, and the user's pressure is prevented from excessively crushing the screen. At the same time, due to the calibration of the pressure screen, different users can have the same user experience when they are using different strengths.
  • the material of the pressure screen is not likely to withstand a lot of pressure to prevent irreversible deformation.
  • the pressure screen device the device calibration program, and the pressure feedback prompt program are mainly included.
  • the calibration procedure is designed to be compatible with different users and can provide the same experience for different users after calibration.
  • the feedback program can visualize the user and the strength of the current user output.
  • the invention solves the problem that the power output of different users is very different, which may cause different users to feel, and even a part of the user is too strong to damage the screen, intuitively inform the user of the current pressing force, prolong the service life of the pressure screen, and also Can save user effort.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a prompting device for a pressure screen is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware Implementation is also possible and conceived.
  • FIG. 3 is a structural block diagram of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
  • the obtaining module 32 is configured to obtain a pressure value at which the current pressure screen is pressed
  • the first prompting module 34 is configured to prompt the pressing state of the current pressure screen according to the pressure value, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate that the current pressure screen is pressed degree.
  • the prompting method of the pressure screen includes: acquiring a pressure value that the current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, And the pressed state is used to indicate the extent to which the current pressure screen is pressed. That is to say, the pressed state of the current pressure screen can be prompted according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, thereby solving the related art that the current pressure cannot be presented to the user.
  • the problem of the degree of pressure on the screen achieves the effect of protecting the screen, further improving the user experience.
  • the method for prompting the pressing state of the current pressure screen according to the pressure value includes, but is not limited to, adding a predetermined layer on the initial display interface preset by the current pressure screen, and adopting the initial display interface and the predetermined
  • the state of the image superimposed by the layer prompts the pressing state; the pressing state is indicated by adjusting the image size on the initial display interface according to the pressing state; or the pressing state is indicated by issuing different prompt sounds according to the pressing state, and no pressing is performed here. limited.
  • FIG. 4 is a structural block diagram (1) of a prompting device for a pressure screen according to an embodiment of the present invention.
  • the first prompting module 34 includes:
  • the adding unit 42 is configured to add a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image;
  • setting unit 44 configured to set a second image corresponding to the pressed state of the current pressure screen on the predetermined layer
  • the first prompting unit 46 is configured to prompt the pressed state by the target image obtained by superimposing the first image and the second image.
  • the manner of prompting the pressed state by the target image superimposed by the first image and the second image includes, but is not limited to, prompting the pressing state according to the sharpness of the first image located under the second image.
  • the light-to-dark change of the color of the second image is associated with the pressed state of the current pressure screen, that is, the greater the pressing force of the current pressure screen is, the deeper the color of the second image is until the first An image is not visible.
  • the pressing state is prompted according to the changing state of the target image, which further solves the problem that the screen can be easily damaged due to the failure of the user to prompt the user to the pressure level of the current pressure screen, thereby achieving the protection screen. effect.
  • FIG. 5 is a structural block diagram (2) of a prompting device for a pressure screen according to an embodiment of the present invention.
  • the first prompting module 34 includes:
  • an adjusting unit 52 configured to adjust an image size of the first image on the initial display interface according to the pressing state
  • the second prompting unit 54 is arranged to prompt the pressing state of the current pressure screen by the image size of the first image.
  • adjusting the image size of the first image on the initial display interface according to the pressing state includes, but is not limited to, setting the pressure value and the image size of the first image to an inverse relationship, where the pressure value is When the small size is large, the first image is changed from large to small; or, the pressure value is set to a proportional relationship with the image size of the first image, and when the pressure value is changed from small to large, the first image is changed from small to large.
  • the inverse relationship and the proportional relationship are not limited to a linear inverse relationship and a linear proportional relationship in a strict sense, and the representation may be a change trend, such as a pressure value and a
  • the image size of an image may be first increased in a linear relationship and then increased in an exponential relationship, and is not limited herein.
  • the image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved.
  • the effect of protecting the screen is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved. The effect of protecting the screen.
  • the adjusting unit 52 is further configured to adjust an image size of the first image by a mapping relationship between the pressure value set in advance and an image size of the first image, where the pressure value is It is inversely proportional to the image size of the first image.
  • the adjustment unit 52 adjusts the image size of the first image on the initial display interface according to the pressing state, and further solves the problem that the screen cannot be damaged due to the pressure level of the current pressure screen that cannot be presented to the user in the related art. In turn, the effect of protecting the screen is achieved.
  • FIG. 6 is a structural block diagram (3) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 6, the device includes, in addition to all the devices shown in FIG. :
  • the determining module 62 is configured to determine whether the pressure value is within a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value;
  • the second prompting module 64 is configured to prompt the pressing state of the current pressure screen when the pressure value is within the predetermined range.
  • the pressing state of the current pressure screen is prompted.
  • the pressing state of the current pressure screen is prompted, instead of being prompted as long as the current pressure screen is pressed, thereby not affecting the normal display of the screen. . That is, the information indicating the pressing state of the current pressure screen is invisible in most cases, or it is transparent. Only when it is close to the limit, the user will be warned by opaque or darker colors, and no need to increase. Improve your user experience.
  • FIG. 7 is a structural block diagram (4) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 7, the device includes, in addition to all the devices shown in FIG. :
  • the determining module 72 is configured to: when the predetermined range includes: a first preset pressure value, a second preset pressure value, and the first preset pressure value is less than the second preset pressure value, by one of the following manners Determine the predetermined range:
  • the second pressure value is set as the first preset pressure value, the second pressure value is set as the second preset pressure value; or the current pressure screen is acquired within a predetermined time a plurality of pressure values; a minimum value of the plurality of pressure values is set as the first preset pressure value, and a maximum value of the plurality of pressure values is set as the second preset pressure value.
  • the manner of obtaining the predetermined range includes, but is not limited to, a preset prompt range when the pressure screen device is shipped from the factory; or a range obtained after the user performs calibration, for example, by using the The current pressure screen acquires a first pressure value and a second pressure value, and the first pressure value is less than the second pressure value; the first pressure value is set as the first preset pressure value, and the second pressure value is set to The second preset pressure value; or, acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, the plurality of pressure values The maximum value is set to the second preset pressure value.
  • first pressure value and the second pressure value may be pressure values between a pressure value obtained by the user tapping the surface of the current pressure screen and a pressure value obtained by applying the desired maximum force, that is, by tapping at the user.
  • the first pressure value and the second pressure value are obtained as needed within a range determined by the pressure value obtained by the current pressure screen surface and the pressure value obtained by applying the desired maximum force; or, by the user tapping the surface of the current pressure screen.
  • a plurality of pressure values are acquired, and the first preset pressure value and the second preset pressure value are obtained from the plurality of pressure values as needed.
  • a predetermined range of pressure values prompting the pressing state of the current pressure screen is obtained, so that when the pressure received by the pressure screen is within the above-mentioned predetermined range, the pressing state of the current pressure screen is prompted, and the user experience is improved.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium can be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the above steps S1, S2 according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the pressure value at which the current pressure screen is pressed is acquired;
  • the pressed state of the current pressure screen is displayed, wherein the pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed.
  • the present invention can prompt the pressed state of the current pressure screen according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, and the related technology cannot be prompted to the user.
  • the problem of the degree of pressure on the current pressure screen has reached the effect of protecting the screen, further improving the user experience.

Abstract

An indication method and apparatus for a pressure screen. The method comprises: acquiring a current pressure value on a pressed pressure screen (S102); and indicating a current pressing state of the pressure screen on the basis of the pressure value, wherein the pressing state corresponds to the pressure value and is used to indicate the current degree of pressing on the pressure screen (S104). The method solves the problem in which the related prior art cannot indicate to the user the current degree of pressure on the pressure screen, thereby achieving an effect of protecting the screen, and further improving user experience.

Description

压力屏的提示方法及装置Pressure screen prompting method and device 技术领域Technical field
本发明实施例涉及通信领域,具体而言,涉及一种压力屏的提示方法及装置。Embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for prompting a pressure screen.
背景技术Background technique
压力屏,又称压力感应屏幕,是应用于智能手机及笔记本电脑上的一种屏幕,这种屏幕需要依靠独立的压力传感器,一旦检测到手指触控,压力传感器就会将整个触控过程呈递给处理芯片,而处理芯片可以判断这是一次轻触还是一次重压。Pressure screen, also known as pressure sensing screen, is a kind of screen applied to smart phones and laptops. This kind of screen needs to rely on independent pressure sensor. Once the finger touch is detected, the pressure sensor will present the entire touch process. The chip is processed, and the processing chip can determine whether this is a touch or a heavy press.
任何材质都有可承受力度,如果一味的施加压力会对设备造成损伤。但用户也不容易知道,当前已经达到设备的什么承受状态。不同用户对按压的力度感受也不一样,还和人的疲劳状态相关。譬如,小孩子对屏幕的最大压力,可能不及某些成人的轻轻按压。Any material can withstand the strength, if the pressure is applied, the equipment will be damaged. However, it is not easy for the user to know what status of the device has been reached. Different users feel differently about the strength of pressing, and are also related to the fatigue state of people. For example, the maximum pressure on a child's screen may not be as light as some adults.
压力屏幕尽管可以感应施加的压力,且一定程度上并不会变形,但用户错误的认为压力感应不灵敏的时候,会重重的按压屏幕,影响屏幕的使用寿命。Although the pressure screen can sense the applied pressure and will not be deformed to a certain extent, when the user mistakenly believes that the pressure sensing is not sensitive, the screen will be heavily pressed, which will affect the service life of the screen.
针对相关技术中,无法向用户提示当前压力屏所承受的压力程度所造成的用户体验度较低的问题,尚未提出有效的解决方案。In the related art, the problem that the user experience degree caused by the pressure level of the current pressure screen cannot be presented to the user is low, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明实施例提供了一种压力屏的提示方法及装置,以至少解决相关技术中无法向用户提示当前压力屏所承受的压力程度的问题。The embodiment of the invention provides a method and a device for prompting a pressure screen, so as to at least solve the problem that the pressure level of the current pressure screen cannot be presented to the user in the related art.
根据本发明实施例的一个方面,提供了一种压力屏的提示方法,包括:获取当前压力屏被按压的压力值;根据所述压力值提示所述当前压力屏的按压状态,其中,所述按压状态与所述压力值是对应的,并且所述按压状态用于指示所述当前压力屏被按压的程度。 According to an aspect of the embodiments of the present invention, a method for prompting a pressure screen includes: acquiring a pressure value at which a current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein The pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed.
可选地,所述根据所述压力值提示所述当前压力屏的按压状态包括:在所述当前压力屏预设的初始显示界面上添加预定图层,其中,所述初始显示界面用于显示第一图像;在所述预定图层上设置与所述当前压力屏的所述按压状态对应的第二图像;通过所述第一图像与所述第二图像叠加得到的目标图像来提示所述按压状态。Optionally, the prompting the pressing state of the current pressure screen according to the pressure value comprises: adding a predetermined layer on an initial display interface preset by the current pressure screen, wherein the initial display interface is used for displaying a first image; a second image corresponding to the pressed state of the current pressure screen is set on the predetermined layer; and the target image obtained by superimposing the first image and the second image is used to prompt the Press the status.
可选地,所述根据所述压力值提示所述当前压力屏的按压状态包括:根据所述按压状态调整初始显示界面上的第一图像的图像大小;通过所述第一图像的图像大小提示所述当前压力屏的按压状态。Optionally, the prompting the pressing state of the current pressure screen according to the pressure value comprises: adjusting an image size of the first image on the initial display interface according to the pressing state; and prompting an image size by using the first image The pressed state of the current pressure screen.
可选地,根据所述按压状态调整初始显示界面上的第一图像的图像大小,包括:通过预先设置的所述压力值与所述第一图像的图像大小之间的映射关系调整所述第一图像的图像大小,其中,所述压力值与所述第一图像的图像大小成反比。Optionally, adjusting an image size of the first image on the initial display interface according to the pressing state, including: adjusting, by using a mapping relationship between the pressure value set in advance and an image size of the first image An image size of an image, wherein the pressure value is inversely proportional to an image size of the first image.
可选地,在所述根据所述压力值提示所述当前压力屏的按压状态之前,还包括:判断所述压力值是否处于预定范围;若所述压力值处于所述预定范围,则提示所述当前压力屏的按压状态。Optionally, before the prompting the pressing state of the current pressure screen according to the pressure value, further comprising: determining whether the pressure value is in a predetermined range; if the pressure value is in the predetermined range, prompting the The pressing state of the current pressure screen.
可选地,所述预定范围包括:第一预设压力值、第二预设压力值,所述第一预设压力值小于所述第二预设压力值;所述预定范围通过以下之一方式确定:通过所述当前压力屏获取第一压力值和第二压力值,且所述第一压力值小于所述第二压力值;将所述第一压力值设为所述第一预设压力值,所述第二压力值设为所述第二预设压力值;或者获取所述当前压力屏在预定时间内的多个压力值;将所述多个压力值的最小值设为所述第一预设压力值,所述多个压力值的最大值设为所述第二预设压力值。Optionally, the predetermined range includes: a first preset pressure value, a second preset pressure value, the first preset pressure value is less than the second preset pressure value; Mode determining: obtaining a first pressure value and a second pressure value by using the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset a pressure value, the second pressure value is set as the second preset pressure value; or acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as a The first preset pressure value is set, and the maximum value of the plurality of pressure values is set as the second preset pressure value.
根据本发明实施例的另一方面,提供了一种压力屏的提示装置,包括:获取模块,设置为获取当前压力屏被按压的压力值;第一提示模块,设置为根据所述压力值提示所述当前压力屏的按压状态,其中,所述按压状态与所述压力值是对应的,并且所述按压状态用于指示所述当前压力屏被按压的程度。 According to another aspect of the present invention, a prompting device for a pressure screen is provided, comprising: an obtaining module configured to acquire a pressure value at which a current pressure screen is pressed; and a first prompting module configured to prompt according to the pressure value a pressing state of the current pressure screen, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate a degree to which the current pressure screen is pressed.
可选地,所述第一提示模块包括:添加单元,设置为在所述当前压力屏预设的初始显示界面上添加预定图层,其中,所述初始显示界面用于显示第一图像;设置单元,设置为在所述预定图层上设置与所述当前压力屏的所述按压状态对应的第二图像;第一提示单元,设置为通过所述第一图像与所述第二图像叠加得到的目标图像来提示所述按压状态。Optionally, the first prompting module includes: an adding unit, configured to add a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image; a unit configured to set a second image corresponding to the pressed state of the current pressure screen on the predetermined layer; a first prompting unit configured to be superposed by the first image and the second image The target image to prompt the pressed state.
可选地,所述第一提示模块包括:调整单元,设置为根据所述按压状态调整初始显示界面上的第一图像的图像大小;第二提示单元,设置为通过所述第一图像的图像大小提示所述当前压力屏的按压状态。Optionally, the first prompting module includes: an adjusting unit configured to adjust an image size of the first image on the initial display interface according to the pressing state; and a second prompting unit configured to pass the image of the first image The size prompts the pressed state of the current pressure screen.
可选地,所述调整单元还设置为通过预先设置的所述压力值与所述第一图像的图像大小之间的映射关系调整所述第一图像的图像大小,其中,所述压力值与所述第一图像的图像大小成反比。Optionally, the adjusting unit is further configured to adjust an image size of the first image by a mapping relationship between the pressure value set in advance and an image size of the first image, wherein the pressure value is The image size of the first image is inversely proportional.
可选地,所述装置还包括:判断模块,设置为在所述根据所述压力值提示所述当前压力屏的按压状态之前,判断所述压力值是否处于预定范围;第二提示模块,设置为在所述压力值处于所述预定范围时,提示所述当前压力屏的按压状态。Optionally, the device further includes: a determining module, configured to determine whether the pressure value is in a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value; In order to indicate the pressing state of the current pressure screen when the pressure value is within the predetermined range.
可选地,所述装置还包括:确定模块,设置为在所述预定范围包括:第一预设压力值、第二预设压力值且所述第一预设压力值小于所述第二预设压力值时,通过以下之一方式确定所述预定范围:通过所述当前压力屏获取第一压力值和第二压力值,且所述第一压力值小于所述第二压力值;将所述第一压力值设为所述第一预设压力值,所述第二压力值设为所述第二预设压力值;或者,获取所述当前压力屏在预定时间内的多个压力值;将所述多个压力值的最小值设为所述第一预设压力值,所述多个压力值的最大值设为所述第二预设压力值。Optionally, the device further includes: a determining module, configured to include, in the predetermined range, a first preset pressure value, a second preset pressure value, and the first preset pressure value is smaller than the second preset When the pressure value is set, the predetermined range is determined by one of the following methods: obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is smaller than the second pressure value; The first pressure value is set as the first preset pressure value, and the second pressure value is set as the second preset pressure value; or, the plurality of pressure values of the current pressure screen are acquired within a predetermined time And setting a minimum value of the plurality of pressure values as the first preset pressure value, and a maximum value of the plurality of pressure values is set as the second preset pressure value.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的压力屏的提示方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the prompting method of the pressure screen in the above embodiment.
通过本发明实施例,获取当前压力屏被按压的压力值;根据压力值提 示当前压力屏的按压状态,其中,按压状态与压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。也就是说,本发明可以根据当前压力屏所承受的压力值提示当前压力屏的被按压的状态,使得用户可以根据提示动态调整按压当前压力屏的压力值,解决了相关技术中无法向用户提示当前压力屏所承受的压力程度的问题,进而达到了保护屏幕的效果,进一步提高了用户体验度。Obtaining, by using the embodiment of the present invention, a pressure value at which the current pressure screen is pressed; The pressed state of the current pressure screen is displayed, wherein the pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed. In other words, the present invention can prompt the pressed state of the current pressure screen according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, and the related technology cannot be prompted to the user. The problem of the degree of pressure on the current pressure screen has reached the effect of protecting the screen, further improving the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的压力屏的提示方法流程图;1 is a flow chart of a prompting method of a pressure screen according to an embodiment of the present invention;
图2a是根据本发明实施例的压力屏的提示方法示意图;2a is a schematic diagram of a prompting method of a pressure screen according to an embodiment of the present invention;
图2b是根据本发明实施例的压力屏的提示方法示意图(一);2b is a schematic diagram (1) of a prompting method of a pressure screen according to an embodiment of the invention;
图2c是根据本发明实施例的压力屏的提示方法示意图(二);2c is a schematic diagram (2) of a prompting method of a pressure screen according to an embodiment of the invention;
图3是根据本发明实施例的压力屏的提示装置的结构框图;3 is a block diagram showing the structure of a prompting device for a pressure screen according to an embodiment of the present invention;
图4是根据本发明实施例的压力屏的提示装置的结构框图(一);4 is a structural block diagram (1) of a prompting device for a pressure screen according to an embodiment of the present invention;
图5是根据本发明实施例的压力屏的提示装置的结构框图(二);5 is a structural block diagram (2) of a prompting device for a pressure screen according to an embodiment of the present invention;
图6是根据本发明实施例的压力屏的提示装置的结构框图(三);6 is a structural block diagram (3) of a prompting device for a pressure screen according to an embodiment of the present invention;
图7是根据本发明实施例的压力屏的提示装置的结构框图(四)。7 is a structural block diagram (4) of a prompting device of a pressure screen according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。 It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
在本实施例中提供了一种压力屏的提示方法,图1是根据本发明实施例的压力屏的提示方法流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for prompting a pressure screen is provided. FIG. 1 is a flowchart of a method for prompting a pressure screen according to an embodiment of the present invention. As shown in FIG. 1 , the flow includes the following steps:
步骤S102,获取当前压力屏被按压的压力值;Step S102, acquiring a pressure value at which the current pressure screen is pressed;
步骤S104,根据该压力值提示该当前压力屏的按压状态,其中,该按压状态与该压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。Step S104, prompting the pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, and the pressing state is used to indicate the extent to which the current pressure screen is pressed.
可选地,在本实施例中,上述压力屏的提示方法包括:获取当前压力屏被按压的压力值;根据压力值提示当前压力屏的按压状态,其中,按压状态与压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。也就是说,可以根据当前压力屏所承受的压力值提示当前压力屏的被按压的状态,使得用户可以根据提示动态调整按压当前压力屏的压力,解决了相关技术中无法向用户提示当前压力屏所承受的压力程度的问题,进而达到了保护屏幕的效果,进一步提高了用户体验度。Optionally, in the embodiment, the prompting method of the pressure screen includes: acquiring a pressure value that the current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, And the pressed state is used to indicate the extent to which the current pressure screen is pressed. That is to say, the pressed state of the current pressure screen can be prompted according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure of pressing the current pressure screen according to the prompt, which solves the problem that the current pressure screen cannot be presented to the user in the related art. The problem of the degree of pressure that is withstood, thereby achieving the effect of protecting the screen, further improving the user experience.
可选地,在本实施例中,根据压力值提示当前压力屏的按压状态的方法包括但并不限于:在当前压力屏预设的初始显示界面上添加预定图层,通过初始显示界面与预定图层叠加后的图像的状态的方式提示按压状态;根据按压状态调整初始显示界面上图像大小的方式提示按压状态;或者根据按压状态发出不同的提示音的方式提示按压状态,在此并不作任何限定。Optionally, in this embodiment, the method for prompting the pressing state of the current pressure screen according to the pressure value includes, but is not limited to, adding a predetermined layer on the initial display interface preset by the current pressure screen, and adopting the initial display interface and the predetermined The state of the image superimposed by the layer prompts the pressing state; the pressing state is indicated by adjusting the image size on the initial display interface according to the pressing state; or the pressing state is indicated by issuing different prompt sounds according to the pressing state, and no pressing is performed here. limited.
在一个可选地实施方式中,根据该压力值提示该当前压力屏的按压状态包括以下步骤:In an optional implementation manner, prompting the pressing state of the current pressure screen according to the pressure value comprises the following steps:
步骤S11,在该当前压力屏预设的初始显示界面上添加预定图层,其中,该初始显示界面用于显示第一图像;Step S11, adding a predetermined layer on the initial display interface preset on the current pressure screen, wherein the initial display interface is used to display the first image;
步骤S12,在该预定图层上设置与该当前压力屏的该按压状态对应的第二图像;Step S12, setting a second image corresponding to the pressed state of the current pressure screen on the predetermined layer;
步骤S13,通过该第一图像与该第二图像叠加得到的目标图像来提示该按压状态。 Step S13, the pressed state is prompted by the target image obtained by superimposing the first image and the second image.
需要说明的是,通过第一图像与第二图像叠加得到的目标图像来提示按压状态的方式包括但并不限于:根据位于第二图像下面的第一图像的清晰度来提示按压状态。It should be noted that the manner of prompting the pressed state by the target image superimposed by the first image and the second image includes, but is not limited to, prompting the pressing state according to the sharpness of the first image located under the second image.
例如,假设,将第二图像的颜色的由浅至深的变化和当前压力屏的该按压状态相关联,即当前压力屏的按压力度至越大时,第二图像的颜色的越深,直至第一图像不可见。For example, suppose that the light-to-dark change of the color of the second image is associated with the pressed state of the current pressure screen, that is, the greater the pressing force of the current pressure screen is, the deeper the color of the second image is until the first An image is not visible.
下面结合具体示例,对上述步骤进行举例说明。The above steps are exemplified below with reference to specific examples.
在本示例中,第二图像以覆盖层为例。在使用压力屏的时候,用户按压程度为轻度时,压力屏一般不会显示覆盖层,即该覆盖层的颜色是透明的,如图2a所示。如果用户按压的程度由轻度变为中度时,覆盖层由图2a所示的透明变为半透明,如图2b所示。如果用户按压压力屏的程度由中度变为重度时,覆盖层就会由图2b所示的半透明变为不透明,具体如图2c所示,提示用户不要再往下按了。此外,覆盖层上同时也可以显示,当前压力屏的承力状态。In this example, the second image is exemplified by an overlay layer. When the pressure screen is used, when the user presses a slight degree, the pressure screen generally does not display the cover layer, that is, the color of the cover layer is transparent, as shown in Fig. 2a. If the degree of user press changes from mild to moderate, the overlay becomes translucent from the transparency shown in Figure 2a, as shown in Figure 2b. If the degree of pressing the pressure screen by the user changes from moderate to heavy, the overlay will change from translucent to opaque as shown in Figure 2b, as shown in Figure 2c, prompting the user not to press down. In addition, the cover layer can also display the current state of the pressure screen.
在某些场景下,如果用户不需要上述覆盖层,可以提供配置程序,把该功能关掉。譬如,根据按压力度调整相机焦距的时候,显示覆盖层会影响取景效果,这个时候用户选择关掉覆盖层。In some scenarios, if the user does not need the above overlay, a configuration program can be provided to turn the function off. For example, when adjusting the camera focal length according to the pressing force, the display overlay will affect the framing effect, and the user chooses to turn off the overlay at this time.
通过上述步骤,根据目标图像的变化状态来提示该按压状态,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。Through the above steps, the pressing state is prompted according to the changing state of the target image, which further solves the problem that the screen can be easily damaged due to the failure of the user to prompt the user to the pressure level of the current pressure screen, thereby achieving the protection screen. effect.
在一个可选地实施方式中,根据该压力值提示该当前压力屏的按压状态还包括以下步骤:In an optional implementation manner, prompting the pressing state of the current pressure screen according to the pressure value further includes the following steps:
步骤S21,根据按压状态调整初始显示界面上的第一图像的图像大小;Step S21, adjusting an image size of the first image on the initial display interface according to the pressing state;
步骤S22,通过该第一图像的图像大小提示该当前压力屏的按压状态。Step S22, prompting the pressing state of the current pressure screen by the image size of the first image.
可选地,在本实施例中,根据按压状态调整初始显示界面上的第一图像的图像大小包括但并不限于:将压力值与第一图像的图像大小设置为反比关系,在压力值由小变大时,第一图像由大变小;或者,将压力值与第 一图像的图像大小设置为正比关系,在压力值由小变大时,第一图像由小变大。Optionally, in this embodiment, adjusting the image size of the first image on the initial display interface according to the pressing state includes, but is not limited to, setting the pressure value and the image size of the first image to an inverse relationship, where the pressure value is When the small size becomes larger, the first image is changed from large to small; or, the pressure value is the same as the first The image size of an image is set to a proportional relationship, and as the pressure value changes from small to large, the first image becomes larger from small to large.
需要说明的是,在本可选实施例中,上述反比关系和正比关系并不局限于严格意义上的线性反比关系和线性正比关系,其表示的可以是一种变化趋势,例如压力值与第一图像的图像大小可以是先按线性关系变大,然后按照指数关系变大,在此并不做任何限定。It should be noted that, in the present optional embodiment, the inverse relationship and the proportional relationship are not limited to a linear inverse relationship and a linear proportional relationship in a strict sense, and the representation may be a change trend, such as a pressure value and a The image size of an image may be first increased in a linear relationship and then increased in an exponential relationship, and is not limited herein.
通过上述步骤,根据按压状态调整初始显示界面上的第一图像的图像大小,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。Through the above steps, the image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved. The effect of protecting the screen.
在一个可选地实施方式中,根据按压状态调整初始显示界面上的第一图像的图像大小,包括以下步骤:In an optional implementation manner, adjusting an image size of the first image on the initial display interface according to the pressing state includes the following steps:
步骤S31,通过预先设置的该压力值与该第一图像的图像大小之间的映射关系调整该第一图像的图像大小,其中,压力值与该第一图像的图像大小成反比。Step S31, adjusting the image size of the first image by a mapping relationship between the pressure value set in advance and the image size of the first image, wherein the pressure value is inversely proportional to the image size of the first image.
通过上述步骤,根据按压状态调整初始显示界面上的第一图像的图像大小,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。Through the above steps, the image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved. The effect of protecting the screen.
在一个可选地实施方式中,在该根据该压力值提示该当前压力屏的按压状态之前,还包括:In an optional implementation manner, before the prompting the pressing state of the current pressure screen according to the pressure value, the method further includes:
步骤S41,判断压力值是否处于预定范围;Step S41, determining whether the pressure value is within a predetermined range;
步骤S42,若该压力值处于该预定范围,则提示该当前压力屏的按压状态。Step S42, if the pressure value is within the predetermined range, prompting the pressing state of the current pressure screen.
可选地,在本实施例中,首先判断压力值是否处于预定范围,在判断压力值处于该预定范围,则提示该当前压力屏的按压状态。换言之,在本实施例中,当按压当前压力屏的压力值位于预定范围内时,才提示当前压力屏的按压状态,而不是只要按压当前压力屏就必须提示,进而不会影响屏幕的正常显示。即提示当前压力屏的按压状态的信息,在大多数情况下 是看不到,或者是透明的,只有在接近极限的时候,才会以不透明或者较深颜色,警告用户注意,不用再加大力气了,提高用户体验度。Optionally, in this embodiment, it is first determined whether the pressure value is in a predetermined range, and when it is determined that the pressure value is in the predetermined range, the pressing state of the current pressure screen is prompted. In other words, in the embodiment, when the pressure value of the current pressure screen is pressed within the predetermined range, the pressing state of the current pressure screen is prompted, instead of being prompted as long as the current pressure screen is pressed, thereby not affecting the normal display of the screen. . That is, information indicating the pressing state of the current pressure screen, in most cases It can't be seen, or it is transparent. Only when it is close to the limit, it will warn the user with opaque or darker colors, no need to increase the effort, and improve the user experience.
在一个可选地实施方式中,预定范围包括:第一预设压力值、第二预设压力值,该第一预设压力值小于该第二预设压力值;该预定范围通过以下之一方式确定:In an optional implementation manner, the predetermined range includes: a first preset pressure value, and a second preset pressure value, wherein the first preset pressure value is less than the second preset pressure value; Way to determine:
步骤S51,通过该当前压力屏获取第一压力值和第二压力值,且该第一压力值小于该第二压力值;将该第一压力值设为该第一预设压力值,该第二压力值设为该第二预设压力值;或者,Step S51, obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset pressure value, the first The second pressure value is set to the second preset pressure value; or,
步骤S52,获取该当前压力屏在预定时间内的多个压力值;将该多个压力值的最小值设为该第一预设压力值,该多个压力值的最大值设为该第二预设压力值。Step S52, acquiring a plurality of pressure values of the current pressure screen for a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, and setting a maximum value of the plurality of pressure values to the second Preset pressure value.
可选地,在本实施例中,上述预定范围的获取方式包括但并不限于:压力屏设备在出厂时,预置的提示范围;或者,在用户执行校准后得到的范围,例如,通过当前压力屏获取第一压力值和第二压力值,且该第一压力值小于该第二压力值;将该第一压力值设为该第一预设压力值,该第二压力值设为该第二预设压力值;或者,获取该当前压力屏在预定时间内的多个压力值;将该多个压力值的最小值设为该第一预设压力值,该多个压力值的最大值设为该第二预设压力值。Optionally, in this embodiment, the obtaining manner of the foregoing predetermined range includes, but is not limited to, a preset prompt range when the pressure screen device is shipped from the factory; or a range obtained after the user performs calibration, for example, by current The pressure screen obtains a first pressure value and a second pressure value, and the first pressure value is less than the second pressure value; the first pressure value is set to the first preset pressure value, and the second pressure value is set to a second preset pressure value; or, acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, the maximum of the plurality of pressure values The value is set to the second preset pressure value.
需要说明的是,上述第一压力值和第二压力值可以是用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值之间的压力值,即通过在用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值确定的范围内,根据需要获取上述第一压力值和第二压力值;或者,通过在用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值确定的范围内,获取多个压力值,并根据需要从多个压力值中获取第一预设压力值和第二预设压力值。It should be noted that the first pressure value and the second pressure value may be pressure values between a pressure value obtained by the user tapping the surface of the current pressure screen and a pressure value obtained by applying the desired maximum force, that is, by tapping at the user. The first pressure value and the second pressure value are obtained as needed within a range determined by the pressure value obtained by the current pressure screen surface and the pressure value obtained by applying the desired maximum force; or, by the user tapping the surface of the current pressure screen. Within a range determined by the pressure value and the pressure value obtained by applying the desired maximum force, a plurality of pressure values are acquired, and the first preset pressure value and the second preset pressure value are obtained from the plurality of pressure values as needed.
通过上述方法,获取提示当前压力屏的按压状态的压力值预定范围,使得压力屏承受的压力处于上述预订范围内时,提示当前压力屏的按压状 态,提高了用户体验度。Through the above method, obtaining a predetermined range of pressure values prompting the pressing state of the current pressure screen, so that when the pressure of the pressure screen is within the above-mentioned predetermined range, the current pressure screen is pressed. State, improve user experience.
下面结合具体示例,对本实施例作举例说明。The present embodiment will be exemplified below with reference to specific examples.
本发明提供了一种压力屏的提示方法,在用户进行校准之后,根据用户按压力度,反馈当前力度状况,防止用户压力过度压坏屏幕。同时,因校准过压力屏,不同用户在使用的时候,虽然每个人的力度不同,也可以有相同的用户体验。压力屏的材质,也不可能承受很大的压力,防止不可逆形变。The invention provides a prompting method for a pressure screen. After the user performs calibration, the current strength condition is fed back according to the user's pressing strength, and the user's pressure is prevented from excessively crushing the screen. At the same time, due to the calibration of the pressure screen, different users can have the same user experience when they are using different strengths. The material of the pressure screen is not likely to withstand a lot of pressure to prevent irreversible deformation.
在本实施例中,主要包括压力屏设备、设备校准程序,以及压力反馈提示程序组成。校准程序用来兼容不同用户,校准之后可以为不同用户提供相同的使用体验。反馈程序,可以可视化提示用户,当前用户输出的力度。In this embodiment, the pressure screen device, the device calibration program, and the pressure feedback prompt program are mainly included. The calibration procedure is designed to be compatible with different users and can provide the same experience for different users after calibration. The feedback program can visualize the user and the strength of the current user output.
通过本发明,解决了不同用户的力量输出差异很大,会造成不同用户感受,甚至一部分用户力度过大还会损伤屏幕的问题,直观地告知用户当前按压力度,延长压力屏使用寿命,并还可以节约用户力气。The invention solves the problem that the power output of different users is very different, which may cause different users to feel, and even a part of the user is too strong to damage the screen, intuitively inform the user of the current pressing force, prolong the service life of the pressure screen, and also Can save user effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种压力屏的提示装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的 实现也是可能并被构想的。In the embodiment, a prompting device for a pressure screen is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware Implementation is also possible and conceived.
图3是根据本发明实施例的压力屏的提示装置的结构框图,如图3所示,该装置包括:3 is a structural block diagram of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
1)获取模块32,设置为获取当前压力屏被按压的压力值;1) The obtaining module 32 is configured to obtain a pressure value at which the current pressure screen is pressed;
2)第一提示模块34,设置为根据该压力值提示该当前压力屏的按压状态,其中,该按压状态与该压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。2) The first prompting module 34 is configured to prompt the pressing state of the current pressure screen according to the pressure value, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate that the current pressure screen is pressed degree.
可选地,在本实施例中,上述压力屏的提示方法包括:获取当前压力屏被按压的压力值;根据压力值提示当前压力屏的按压状态,其中,按压状态与压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。也就是说,可以根据当前压力屏所承受的压力值提示当前压力屏的被按压的状态,使得用户可以根据提示动态调整按压当前压力屏的压力值,解决了相关技术中无法向用户提示当前压力屏所承受的压力程度的问题,进而达到了保护屏幕的效果,进一步提高了用户体验度。Optionally, in the embodiment, the prompting method of the pressure screen includes: acquiring a pressure value that the current pressure screen is pressed; and prompting a pressing state of the current pressure screen according to the pressure value, wherein the pressing state corresponds to the pressure value, And the pressed state is used to indicate the extent to which the current pressure screen is pressed. That is to say, the pressed state of the current pressure screen can be prompted according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, thereby solving the related art that the current pressure cannot be presented to the user. The problem of the degree of pressure on the screen, in turn, achieves the effect of protecting the screen, further improving the user experience.
可选地,在本实施例中,根据压力值提示当前压力屏的按压状态的方法包括但并不限于:在当前压力屏预设的初始显示界面上添加预定图层,通过初始显示界面与预定图层叠加后的图像的状态的方式提示按压状态;根据按压状态调整初始显示界面上图像大小的方式提示按压状态;或者根据按压状态发出不同的提示音的方式提示按压状态,在此并不作任何限定。Optionally, in this embodiment, the method for prompting the pressing state of the current pressure screen according to the pressure value includes, but is not limited to, adding a predetermined layer on the initial display interface preset by the current pressure screen, and adopting the initial display interface and the predetermined The state of the image superimposed by the layer prompts the pressing state; the pressing state is indicated by adjusting the image size on the initial display interface according to the pressing state; or the pressing state is indicated by issuing different prompt sounds according to the pressing state, and no pressing is performed here. limited.
在一个可选地实施方式中,图4是根据本发明实施例的压力屏的提示装置的结构框图(一),如图4所示,第一提示模块34包括:In an alternative embodiment, FIG. 4 is a structural block diagram (1) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 4, the first prompting module 34 includes:
1)添加单元42,设置为在该当前压力屏预设的初始显示界面上添加预定图层,其中,该初始显示界面用于显示第一图像;1) The adding unit 42 is configured to add a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image;
2)设置单元44,设置为在该预定图层上设置与该当前压力屏的该按压状态对应的第二图像;2) setting unit 44, configured to set a second image corresponding to the pressed state of the current pressure screen on the predetermined layer;
3)第一提示单元46,设置为通过该第一图像与该第二图像叠加得到的目标图像来提示该按压状态。 3) The first prompting unit 46 is configured to prompt the pressed state by the target image obtained by superimposing the first image and the second image.
需要说明的是,通过第一图像与第二图像叠加得到的目标图像来提示按压状态的方式包括但并不限于:根据位于第二图像下面的第一图像的清晰度来提示按压状态。It should be noted that the manner of prompting the pressed state by the target image superimposed by the first image and the second image includes, but is not limited to, prompting the pressing state according to the sharpness of the first image located under the second image.
例如,假设,将第二图像的颜色的由浅至深的变化和当前压力屏的该按压状态相关联,即当前压力屏的按压力度至越大时,第二图像的颜色的越深,直至第一图像不可见。For example, suppose that the light-to-dark change of the color of the second image is associated with the pressed state of the current pressure screen, that is, the greater the pressing force of the current pressure screen is, the deeper the color of the second image is until the first An image is not visible.
通过上述装置,根据目标图像的变化状态来提示该按压状态,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。Through the above device, the pressing state is prompted according to the changing state of the target image, which further solves the problem that the screen can be easily damaged due to the failure of the user to prompt the user to the pressure level of the current pressure screen, thereby achieving the protection screen. effect.
在一个可选地实施方式中,图5是根据本发明实施例的压力屏的提示装置的结构框图(二),如图5所示,第一提示模块34包括:In an alternative embodiment, FIG. 5 is a structural block diagram (2) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 5, the first prompting module 34 includes:
1)调整单元52,设置为根据该按压状态调整初始显示界面上的第一图像的图像大小;1) an adjusting unit 52, configured to adjust an image size of the first image on the initial display interface according to the pressing state;
2)第二提示单元54,设置为通过该第一图像的图像大小提示该当前压力屏的按压状态。2) The second prompting unit 54 is arranged to prompt the pressing state of the current pressure screen by the image size of the first image.
可选地,在本实施例中,根据按压状态调整初始显示界面上的第一图像的图像大小包括但并不限于:将压力值与第一图像的图像大小设置为反比关系,在压力值由小变大时,第一图像由大变小;或者,将压力值与第一图像的图像大小设置为正比关系,在压力值由小变大时,第一图像由小变大。Optionally, in this embodiment, adjusting the image size of the first image on the initial display interface according to the pressing state includes, but is not limited to, setting the pressure value and the image size of the first image to an inverse relationship, where the pressure value is When the small size is large, the first image is changed from large to small; or, the pressure value is set to a proportional relationship with the image size of the first image, and when the pressure value is changed from small to large, the first image is changed from small to large.
需要说明的是,在本可选实施例中,上述反比关系和正比关系并不局限于严格意义上的线性反比关系和线性正比关系,其表示的可以是一种变化趋势,例如压力值与第一图像的图像大小可以是先按线性关系变大,然后按照指数关系变大,在此并不做任何限定。It should be noted that, in the present optional embodiment, the inverse relationship and the proportional relationship are not limited to a linear inverse relationship and a linear proportional relationship in a strict sense, and the representation may be a change trend, such as a pressure value and a The image size of an image may be first increased in a linear relationship and then increased in an exponential relationship, and is not limited herein.
通过上述装置,根据按压状态调整初始显示界面上的第一图像的图像大小,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。 The image size of the first image on the initial display interface is adjusted according to the pressing state, and the problem that the screen is easily damaged due to the pressure level of the current pressure screen cannot be presented to the user in the related art is further solved. The effect of protecting the screen.
可选地,在本实施例中,调整单元52还设置为通过预先设置的该压力值与该第一图像的图像大小之间的映射关系调整该第一图像的图像大小,其中,该压力值与该第一图像的图像大小成反比。Optionally, in this embodiment, the adjusting unit 52 is further configured to adjust an image size of the first image by a mapping relationship between the pressure value set in advance and an image size of the first image, where the pressure value is It is inversely proportional to the image size of the first image.
通过上述调整单元52,根据按压状态调整初始显示界面上的第一图像的图像大小,进一步解决了相关技术中无法向用户提示当前压力屏所承受的压力程度所造成的屏幕易被损坏的问题,进而达到了保护屏幕的效果。The adjustment unit 52 adjusts the image size of the first image on the initial display interface according to the pressing state, and further solves the problem that the screen cannot be damaged due to the pressure level of the current pressure screen that cannot be presented to the user in the related art. In turn, the effect of protecting the screen is achieved.
在一个可选地实施方式中,图6是根据本发明实施例的压力屏的提示装置的结构框图(三),如图6所示,该装置除了包括图3所示的所有装置外还包括:In an alternative embodiment, FIG. 6 is a structural block diagram (3) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 6, the device includes, in addition to all the devices shown in FIG. :
1)判断模块62,设置为在该根据该压力值提示该当前压力屏的按压状态之前,判断该压力值是否处于预定范围;1) The determining module 62 is configured to determine whether the pressure value is within a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value;
2)第二提示模块64,设置为在该压力值处于该预定范围时,提示该当前压力屏的按压状态。2) The second prompting module 64 is configured to prompt the pressing state of the current pressure screen when the pressure value is within the predetermined range.
可选地,在本实施例中,首先判断压力值是否处于预定范围,在判断压力值处于该预定范围,则提示该当前压力屏的按压状态。换言之,在本实施例中,当按压当前压力屏的压力值位于预定范围内时,才提示当前压力屏的按压状态,而不是只要按压当前压力屏就必须提示,进而不会影响屏幕的正常显示。即提示当前压力屏的按压状态的信息,在大多数情况下是看不到,或者是透明的,只有在接近极限的时候,才会以不透明或者较深颜色,警告用户注意,不用再加大力气了,提高用户体验度。Optionally, in this embodiment, it is first determined whether the pressure value is in a predetermined range, and when it is determined that the pressure value is in the predetermined range, the pressing state of the current pressure screen is prompted. In other words, in the embodiment, when the pressure value of the current pressure screen is pressed within the predetermined range, the pressing state of the current pressure screen is prompted, instead of being prompted as long as the current pressure screen is pressed, thereby not affecting the normal display of the screen. . That is, the information indicating the pressing state of the current pressure screen is invisible in most cases, or it is transparent. Only when it is close to the limit, the user will be warned by opaque or darker colors, and no need to increase. Improve your user experience.
在一个可选地实施方式中,图7是根据本发明实施例的压力屏的提示装置的结构框图(四),如图7所示,该装置除了包括图6所示的所有装置外还包括:In an alternative embodiment, FIG. 7 is a structural block diagram (4) of a prompting device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 7, the device includes, in addition to all the devices shown in FIG. :
1)确定模块72,设置为在该预定范围包括:第一预设压力值、第二预设压力值且该第一预设压力值小于该第二预设压力值时,通过以下之一方式确定该预定范围:1) The determining module 72 is configured to: when the predetermined range includes: a first preset pressure value, a second preset pressure value, and the first preset pressure value is less than the second preset pressure value, by one of the following manners Determine the predetermined range:
通过该当前压力屏获取第一压力值和第二压力值,且该第一压力值小 于该第二压力值;将该第一压力值设为该第一预设压力值,该第二压力值设为该第二预设压力值;或者,获取该当前压力屏在预定时间内的多个压力值;将该多个压力值的最小值设为该第一预设压力值,该多个压力值的最大值设为该第二预设压力值。Obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is small The second pressure value is set as the first preset pressure value, the second pressure value is set as the second preset pressure value; or the current pressure screen is acquired within a predetermined time a plurality of pressure values; a minimum value of the plurality of pressure values is set as the first preset pressure value, and a maximum value of the plurality of pressure values is set as the second preset pressure value.
可选地,在本实施例中,上述预定范围的获取方式包括但并不限于:压力屏设备在出厂时,预置的提示范围;或者,在用户执行校准后得到的范围,例如,通过该当前压力屏获取第一压力值和第二压力值,且该第一压力值小于该第二压力值;将该第一压力值设为该第一预设压力值,该第二压力值设为该第二预设压力值;或者,获取该当前压力屏在预定时间内的多个压力值;将该多个压力值的最小值设为该第一预设压力值,该多个压力值的最大值设为该第二预设压力值。Optionally, in this embodiment, the manner of obtaining the predetermined range includes, but is not limited to, a preset prompt range when the pressure screen device is shipped from the factory; or a range obtained after the user performs calibration, for example, by using the The current pressure screen acquires a first pressure value and a second pressure value, and the first pressure value is less than the second pressure value; the first pressure value is set as the first preset pressure value, and the second pressure value is set to The second preset pressure value; or, acquiring a plurality of pressure values of the current pressure screen within a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, the plurality of pressure values The maximum value is set to the second preset pressure value.
需要说明的是,上述第一压力值和第二压力值可以是用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值之间的压力值,即通过在用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值确定的范围内,根据需要获取上述第一压力值和第二压力值;或者,通过在用户轻触当前压力屏表面得到的压力值与施加期望的最大力得到的压力值确定的范围内,获取多个压力值,并根据需要从多个压力值中获取第一预设压力值和第二预设压力值。It should be noted that the first pressure value and the second pressure value may be pressure values between a pressure value obtained by the user tapping the surface of the current pressure screen and a pressure value obtained by applying the desired maximum force, that is, by tapping at the user. The first pressure value and the second pressure value are obtained as needed within a range determined by the pressure value obtained by the current pressure screen surface and the pressure value obtained by applying the desired maximum force; or, by the user tapping the surface of the current pressure screen. Within a range determined by the pressure value and the pressure value obtained by applying the desired maximum force, a plurality of pressure values are acquired, and the first preset pressure value and the second preset pressure value are obtained from the plurality of pressure values as needed.
通过上述装置,获取提示当前压力屏的按压状态的压力值预定范围,使得压力屏承受的压力处于上述预订范围内时,提示当前压力屏的按压状态,提高了用户体验度。Through the above device, a predetermined range of pressure values prompting the pressing state of the current pressure screen is obtained, so that when the pressure received by the pressure screen is within the above-mentioned predetermined range, the pressing state of the current pressure screen is prompted, and the user experience is improved.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
实施例3Example 3
本发明的实施例还提供了一种存储介质。本实施例的应用场景及示例,可以参考实施例1、实施例2,在此不赘述。可选地,在本实施例中,上 述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. For the application scenario and examples of the embodiment, refer to Embodiment 1 and Embodiment 2, and details are not described herein. Optionally, in this embodiment, on The storage medium can be configured to store program code for performing the following steps:
S1,获取当前压力屏被按压的压力值;S1, obtaining a pressure value at which the current pressure screen is pressed;
S2,根据该压力值提示该当前压力屏的按压状态,其中,该按压状态与该压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。S2, prompting the pressing state of the current pressure screen according to the pressure value, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate the extent to which the current pressure screen is pressed.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述步骤S1、S2。Optionally, in this embodiment, the processor performs the above steps S1, S2 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,获取当前压力屏被按压的压力值;根据压力值提 示当前压力屏的按压状态,其中,按压状态与压力值是对应的,并且该按压状态用于指示该当前压力屏被按压的程度。也就是说,本发明可以根据当前压力屏所承受的压力值提示当前压力屏的被按压的状态,使得用户可以根据提示动态调整按压当前压力屏的压力值,解决了相关技术中无法向用户提示当前压力屏所承受的压力程度的问题,进而达到了保护屏幕的效果,进一步提高了用户体验度。 In the embodiment of the present invention, the pressure value at which the current pressure screen is pressed is acquired; The pressed state of the current pressure screen is displayed, wherein the pressed state corresponds to the pressure value, and the pressed state is used to indicate the extent to which the current pressure screen is pressed. In other words, the present invention can prompt the pressed state of the current pressure screen according to the pressure value of the current pressure screen, so that the user can dynamically adjust the pressure value of the current pressure screen according to the prompt, and the related technology cannot be prompted to the user. The problem of the degree of pressure on the current pressure screen has reached the effect of protecting the screen, further improving the user experience.

Claims (12)

  1. 一种压力屏的提示方法,包括:A method for prompting a pressure screen, comprising:
    获取当前压力屏被按压的压力值;Obtaining the pressure value at which the current pressure screen is pressed;
    根据所述压力值提示所述当前压力屏的按压状态,其中,所述按压状态与所述压力值是对应的,并且所述按压状态用于指示所述当前压力屏被按压的程度。The pressed state of the current pressure screen is prompted according to the pressure value, wherein the pressed state corresponds to the pressure value, and the pressed state is used to indicate a degree to which the current pressure screen is pressed.
  2. 根据权利要求1所述的方法,其中,所述根据所述压力值提示所述当前压力屏的按压状态包括:The method according to claim 1, wherein said prompting said pressing state of said current pressure screen according to said pressure value comprises:
    在所述当前压力屏预设的初始显示界面上添加预定图层,其中,所述初始显示界面用于显示第一图像;Adding a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image;
    在所述预定图层上设置与所述当前压力屏的所述按压状态对应的第二图像;Setting a second image corresponding to the pressed state of the current pressure screen on the predetermined layer;
    通过所述第一图像与所述第二图像叠加得到的目标图像来提示所述按压状态。The pressed state is prompted by the target image obtained by superimposing the first image and the second image.
  3. 根据权利要求1所述的方法,其中,所述根据所述压力值提示所述当前压力屏的按压状态包括:The method according to claim 1, wherein said prompting said pressing state of said current pressure screen according to said pressure value comprises:
    根据所述按压状态调整初始显示界面上的第一图像的图像大小;Adjusting an image size of the first image on the initial display interface according to the pressing state;
    通过所述第一图像的图像大小提示所述当前压力屏的按压状态。The pressed state of the current pressure screen is prompted by the image size of the first image.
  4. 根据权利要求3所述的方法,其中,根据所述按压状态调整初始显示界面上的第一图像的图像大小,包括:The method according to claim 3, wherein adjusting the image size of the first image on the initial display interface according to the pressing state comprises:
    通过预先设置的所述压力值与所述第一图像的图像大小之间的映射关系调整所述第一图像的图像大小,其中,所述压力值与所述第一图像的图像大小成反比。 The image size of the first image is adjusted by a mapping relationship between the pressure value set in advance and an image size of the first image, wherein the pressure value is inversely proportional to an image size of the first image.
  5. 根据权利要求2或3所述的方法,其中,在所述根据所述压力值提示所述当前压力屏的按压状态之前,还包括:The method according to claim 2 or 3, further comprising: before the prompting the pressing state of the current pressure screen according to the pressure value,
    判断所述压力值是否处于预定范围;Determining whether the pressure value is within a predetermined range;
    若所述压力值处于所述预定范围,则提示所述当前压力屏的按压状态。If the pressure value is within the predetermined range, the pressed state of the current pressure screen is prompted.
  6. 根据权利要求5所述的方法,其中,所述预定范围包括:第一预设压力值、第二预设压力值,所述第一预设压力值小于所述第二预设压力值;所述预定范围通过以下之一方式确定:The method according to claim 5, wherein the predetermined range comprises: a first preset pressure value, a second preset pressure value, the first preset pressure value being less than the second preset pressure value; The predetermined range is determined by one of the following methods:
    通过所述当前压力屏获取第一压力值和第二压力值,且所述第一压力值小于所述第二压力值;将所述第一压力值设为所述第一预设压力值,所述第二压力值设为所述第二预设压力值;或者Obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset pressure value, The second pressure value is set to the second preset pressure value; or
    获取所述当前压力屏在预定时间内的多个压力值;将所述多个压力值的最小值设为所述第一预设压力值,所述多个压力值的最大值设为所述第二预设压力值。Obtaining a plurality of pressure values of the current pressure screen for a predetermined time; setting a minimum value of the plurality of pressure values as the first preset pressure value, and setting a maximum value of the plurality of pressure values to the The second preset pressure value.
  7. 一种压力屏的提示装置,包括:A reminder device for a pressure screen, comprising:
    获取模块,设置为获取当前压力屏被按压的压力值;Obtaining a module, configured to obtain a pressure value at which the current pressure screen is pressed;
    第一提示模块,设置为根据所述压力值提示所述当前压力屏的按压状态,其中,所述按压状态与所述压力值是对应的,并且所述按压状态用于指示所述当前压力屏被按压的程度。a first prompting module, configured to prompt a pressing state of the current pressure screen according to the pressure value, wherein the pressing state is corresponding to the pressure value, and the pressing state is used to indicate the current pressure screen The degree of being pressed.
  8. 根据权利要求7所述的装置,其中,所述第一提示模块包括:The apparatus according to claim 7, wherein the first prompting module comprises:
    添加单元,设置为在所述当前压力屏预设的初始显示界面上添加预定图层,其中,所述初始显示界面用于显示第一图像; Adding a unit, configured to add a predetermined layer on the initial display interface preset by the current pressure screen, wherein the initial display interface is used to display the first image;
    设置单元,设置为在所述预定图层上设置与所述当前压力屏的所述按压状态对应的第二图像;a setting unit configured to set a second image corresponding to the pressed state of the current pressure screen on the predetermined layer;
    第一提示单元,设置为通过所述第一图像与所述第二图像叠加得到的目标图像来提示所述按压状态。The first prompting unit is configured to prompt the pressed state by the target image obtained by superimposing the first image and the second image.
  9. 根据权利要求7所述的装置,其中,所述第一提示模块包括:The apparatus according to claim 7, wherein the first prompting module comprises:
    调整单元,设置为根据所述按压状态调整初始显示界面上的第一图像的图像大小;The adjusting unit is configured to adjust an image size of the first image on the initial display interface according to the pressing state;
    第二提示单元,设置为通过所述第一图像的图像大小提示所述当前压力屏的按压状态。The second prompting unit is configured to prompt the pressed state of the current pressure screen by the image size of the first image.
  10. 根据权利要求9所述的装置,其中,所述调整单元还设置为通过预先设置的所述压力值与所述第一图像的图像大小之间的映射关系调整所述第一图像的图像大小,其中,所述压力值与所述第一图像的图像大小成反比。The apparatus according to claim 9, wherein the adjustment unit is further configured to adjust an image size of the first image by a mapping relationship between the pressure value set in advance and an image size of the first image, Wherein the pressure value is inversely proportional to the image size of the first image.
  11. 根据权利要求8或9所述的装置,其中,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    判断模块,设置为在所述根据所述压力值提示所述当前压力屏的按压状态之前,判断所述压力值是否处于预定范围;a determining module, configured to determine whether the pressure value is within a predetermined range before the pressing state of the current pressure screen is prompted according to the pressure value;
    第二提示模块,设置为在所述压力值处于所述预定范围时,提示所述当前压力屏的按压状态。The second prompting module is configured to prompt the pressing state of the current pressure screen when the pressure value is within the predetermined range.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    确定模块,设置为在所述预定范围包括:第一预设压力值、第二预设压力值且所述第一预设压力值小于所述第二预设压力值时,通过以下之一方式确定所述预定范围: a determining module, configured to: when the predetermined range includes: a first preset pressure value, a second preset pressure value, and the first preset pressure value is less than the second preset pressure value, by one of the following manners Determining the predetermined range:
    通过所述当前压力屏获取第一压力值和第二压力值,且所述第一压力值小于所述第二压力值;将所述第一压力值设为所述第一预设压力值,所述第二压力值设为所述第二预设压力值;或者,获取所述当前压力屏在预定时间内的多个压力值;将所述多个压力值的最小值设为所述第一预设压力值,所述多个压力值的最大值设为所述第二预设压力值。 Obtaining a first pressure value and a second pressure value through the current pressure screen, and the first pressure value is less than the second pressure value; setting the first pressure value to the first preset pressure value, The second pressure value is set to the second preset pressure value; or, the plurality of pressure values of the current pressure screen are acquired within a predetermined time; and the minimum value of the plurality of pressure values is set to the first a preset pressure value, the maximum value of the plurality of pressure values being set to the second preset pressure value.
PCT/CN2016/108758 2015-12-24 2016-12-07 Indication method and apparatus for pressure screen WO2017107769A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510988902.5A CN106919277A (en) 2015-12-24 2015-12-24 The reminding method and device of pressure screen
CN201510988902.5 2015-12-24

Publications (1)

Publication Number Publication Date
WO2017107769A1 true WO2017107769A1 (en) 2017-06-29

Family

ID=59089066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108758 WO2017107769A1 (en) 2015-12-24 2016-12-07 Indication method and apparatus for pressure screen

Country Status (2)

Country Link
CN (1) CN106919277A (en)
WO (1) WO2017107769A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124159A (en) * 2019-12-20 2020-05-08 上海传英信息技术有限公司 Touch reminding method based on stylus, terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841696A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and password input method thereof
CN102841786A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and method thereof for setting process priority
CN103106028A (en) * 2012-11-15 2013-05-15 苏州佳世达电通有限公司 Electronic device system and controlling method thereof
CN103870181A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Handheld device control method, handheld device control device and handheld device
CN104793967A (en) * 2014-01-22 2015-07-22 鸿富锦精密工业(深圳)有限公司 Handheld device and screen starting system and method thereof
CN105117065A (en) * 2015-09-15 2015-12-02 广东欧珀移动通信有限公司 Terminal and pressure detection method and system
CN105700750A (en) * 2016-01-14 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Pressure touch control feedback method, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488336B (en) * 2013-08-17 2016-12-28 广东欧珀移动通信有限公司 Mobile terminal touch screen is scratched method and the mobile terminal of front prompting
CN105159528A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Picture content display method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841696A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and password input method thereof
CN102841786A (en) * 2011-06-24 2012-12-26 国基电子(上海)有限公司 Electronic equipment and method thereof for setting process priority
CN103106028A (en) * 2012-11-15 2013-05-15 苏州佳世达电通有限公司 Electronic device system and controlling method thereof
CN103870181A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Handheld device control method, handheld device control device and handheld device
CN104793967A (en) * 2014-01-22 2015-07-22 鸿富锦精密工业(深圳)有限公司 Handheld device and screen starting system and method thereof
CN105117065A (en) * 2015-09-15 2015-12-02 广东欧珀移动通信有限公司 Terminal and pressure detection method and system
CN105700750A (en) * 2016-01-14 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Pressure touch control feedback method, device and terminal

Also Published As

Publication number Publication date
CN106919277A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN107977110B (en) Electronic device and method for acquiring fingerprint information
KR102319803B1 (en) Electronic device, operating method thereof and recording medium
US20190324620A1 (en) Method and device for controlling display screens
US9143749B2 (en) Light sensitive, low height, and high dynamic range camera
EP3291516B1 (en) Electronic device having display and sensor and method for operating the same
US10470345B2 (en) Electronic device including shield structure
KR20190092995A (en) Terminal and image processing method thereof
US20180032797A1 (en) Apparatus and method for processing a beauty effect
EP3189412B1 (en) Electronic device and display method thereof
US10101827B2 (en) Method and apparatus for controlling a touch-screen based application ported in a smart device
EP2950196B1 (en) Electronic device and method for operating display
US20150261319A1 (en) Display control method and user equipment
WO2016197638A2 (en) Method and device for implementing screenshot, and terminal
CN105100447B (en) A kind of setting of application attribute and message treatment method, device
US10564822B2 (en) Electronic device for reducing burn-in and computer-readable recording medium
CN106264452A (en) A kind of method of skin detection and terminal
WO2017107769A1 (en) Indication method and apparatus for pressure screen
EP3057065B1 (en) Image processing method and electronic device for supporting the same
CN109144363B (en) Information processing method and electronic equipment
EP3528102A1 (en) Electronic device and screen provision method of electronic device
WO2017152386A1 (en) Display method and handheld electronic device
KR102275794B1 (en) Electronic device, operating method thereof and recording medium
CN104850297A (en) Display method for control, and electronic equipment
CN109725864B (en) Method and system for customizing resolution based on EDID
KR101280738B1 (en) Method for displaying touchscreen with color change and recording medium for the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877580

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877580

Country of ref document: EP

Kind code of ref document: A1