WO2023071954A1 - 画面修正方法、装置及电子设备 - Google Patents

画面修正方法、装置及电子设备 Download PDF

Info

Publication number
WO2023071954A1
WO2023071954A1 PCT/CN2022/126895 CN2022126895W WO2023071954A1 WO 2023071954 A1 WO2023071954 A1 WO 2023071954A1 CN 2022126895 W CN2022126895 W CN 2022126895W WO 2023071954 A1 WO2023071954 A1 WO 2023071954A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
folding screen
folding
screen
deformation
Prior art date
Application number
PCT/CN2022/126895
Other languages
English (en)
French (fr)
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 WO2023071954A1 publication Critical patent/WO2023071954A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the technical field of communications, and in particular to a method, device and electronic equipment for image correction.
  • Folding screens are widely favored by people because they can provide larger display images and have better portability.
  • folding screens are in the early stage of mass production and use, and there is no effective solution to the problems of screen distortion caused by screen folding and affecting the appearance of the screen.
  • the purpose of the embodiments of the present application is to provide a screen correction method, device, and electronic equipment to solve the problems in the prior art that screen folding causes screen distortion and affects screen perception.
  • the embodiment of the present application provides a screen correction method, including:
  • the folding screen displays the first interface, acquiring deformation parameters of the folding screen;
  • the deformation parameters of the folding screen update the first interface to a second interface, wherein the content of the second interface is the same as that of the first interface, but the display effect is different, and the display effect of the second interface is It is determined by the deformation parameters of the folding screen.
  • the embodiment of the present application provides a screen correction device, including:
  • An acquisition module configured to acquire deformation parameters of the folding screen when the folding screen displays the first interface
  • An update module configured to update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the content of the second interface is the same as that of the first interface, and the display effect is different.
  • the display effect of the second interface is determined by the deformation parameters of the folding screen.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen, and the content displayed on the folding screen is the same as that of the first interface , displaying a second screen with different effects, realizes screen correction according to the deformation parameters of the folding screen, guarantees the user's visual perception of the screen, solves the problem of screen distortion on the folding screen without hardware improvement, and saves the cost of screen correction.
  • FIG. 1A shows a schematic diagram of a folding screen in an unfolded state
  • FIG. 1B shows a schematic diagram of the folding screen in a closed state
  • Fig. 2 shows a schematic diagram of switching between display screens displayed on a normal folding screen and a deformed folding screen
  • FIG. 3 shows a schematic diagram of a screen correction method provided by an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a display correction grid provided by an embodiment of the present application
  • FIG. 5 shows a schematic diagram of screen modification according to the second input provided by the embodiment of the present application.
  • FIG. 6 shows a schematic diagram of image correction based on reverse parameters provided by the embodiment of the present application.
  • FIG. 7 shows a flow chart of screen correction according to the number of folds provided by the embodiment of the present application.
  • FIG. 8 shows a schematic diagram of a picture correction device provided by an embodiment of the present application.
  • FIG. 9 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 10 is a second schematic block diagram of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that references to "first”, “second”, etc. to distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects.
  • “and/or” in the specification and claims means at least one of the connected objects, and the character “/" generally means that the related objects are an "or” relationship.
  • the screen correction method provided by the embodiment of the present application is applied to an electronic device with a folding screen, and the electronic device displays a screen through the folding screen, which can provide a larger display screen to improve the user's visual experience, as shown in Figure 1A, which is a folding screen
  • Figure 1A which is a folding screen
  • the schematic diagram of the screen in the unfolded state can be folded when there is no need for a large screen display, which has good portability.
  • Figure 1B which is a schematic diagram of the folded screen in the closed state.
  • the folding screen is deformed, and the normal display screen will be distorted to a certain extent when displayed through the folding screen, and the screen appears to be deformed to the human eye.
  • the normal display screen is distorted to a certain extent when displayed through the deformable folding screen, which will affect the perception of the screen.
  • the display screen can be corrected to ensure the user's screen perception.
  • the screen correction method provided in the embodiment of the present application, as shown in Figure 3, includes:
  • Step 301 Acquire deformation parameters of the folding screen when the folding screen displays the first interface.
  • the folding screen of the electronic device will cause the content displayed on the folding screen to be distorted to a certain extent.
  • the electronic device displays the first interface through the folding screen, the electronic device obtains the deformation parameters of the folding screen, and the folding screen Deformation parameters can be used to characterize the degree of deformation of the folding screen.
  • the degree of deformation of the folding screen can be known, wherein the deformation parameters of the folding screen may include a twist value of the folding screen.
  • Step 302 Update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the content of the second interface is the same as that of the first interface, and the display effect is different, and the second interface The display effect of is determined by the deformation parameters of the folding screen.
  • display correction may be performed on the first interface displayed on the folding screen according to the deformation parameters of the folding screen.
  • the first interface is updated to a second interface with the same content as the first interface but with a different display effect.
  • the display effect of the second interface is based on the folding screen
  • the deformation parameters of the folding screen are determined to realize display correction by using the deformation parameters of the folding screen.
  • the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen, and the content displayed on the folding screen is the same as that of the first interface
  • the second screen with different display effects realizes screen correction according to the deformation parameters of the folding screen, guarantees the user's visual perception of the screen, solves the problem of screen distortion on the folding screen without hardware improvement, and saves the cost of screen correction.
  • the acquisition of the deformation parameters of the folding screen in step 301 includes:
  • the first folding times of the folding screen and the target model of the device corresponding to the folding screen can be obtained.
  • the first folding times here is the total number of folding times corresponding to the folding screen since it was produced and started to be used.
  • the target model of the device corresponding to the folding screen can be understood as the model corresponding to the electronic device using the folding screen, and the performance (including the degree of flexibility) of the folding screen corresponding to the same type of electronic device is the same.
  • Method 1 Since the folding screens of electronic devices are mostly hinge designs, if the folding hinge mechanism has the ability to count the number of folding times, the first folding number of the folding screen can be obtained directly.
  • Method 2 When the folding screen switches between the folded state and the unfolded state, the measured value of the Hall sensor will change. If the Hall sensor has statistical capabilities, the first folding times of the folding screen can be obtained directly.
  • Method 3 Count the display times of the inner screen after unfolding and the display times of the outer screen after folding. The two screens are switched and displayed once, and the number of times of folding is counted once.
  • At least two of the above three methods may be used to count the number of folds, and then check whether the number of folds counted by different methods is the same. For the same situation, it is possible to obtain an accurate number of first folds. For different situations, you can continue to use other methods to obtain the counted number of folds, and then determine the same number of folds obtained through different methods as the first number of folds; you can also determine the first number of folds based on a preset strategy , such as counting the mean value of the number of folds corresponding to different methods, and the statistical results of a certain method shall prevail.
  • the ways of counting the first folding times of the folding screen are not limited to the above listed ones, and those skilled in the art can also use other ways to count the folding times according to the actual situation.
  • the deformation parameters of the folding screen may be obtained according to the obtained first folding times and target model.
  • the acquiring deformation parameters of the folding screen according to the first folding times and the target model includes:
  • the target model determine a first target mapping relationship that matches the target model among multiple first mapping relationships, each of the first mapping relationships corresponds to a device model, and the first mapping relationship is a folding The mapping relationship between the folding times of the screen and the deformation parameters;
  • the first target mapping relationship may be first determined among multiple first mapping relationships based on the target model.
  • each first mapping relationship corresponds to a device model
  • the first target mapping relationship is the first mapping relationship corresponding to the target model
  • the first mapping relationship is the mapping relationship between the folding times of the folding screen and the deformation parameters
  • the first mapping relationship Relationships are determined based on statistical analysis of big data.
  • the first target mapping relationship is the mapping relationship between the folding times and the deformation parameters of the folding screen of the electronic device of the target model, after obtaining the first target mapping relationship, the first Folding times, searching the deformation parameters matching the first folding times in the first target mapping relationship, so as to obtain the deformation parameters of the folding screen.
  • the first target mapping relationship matching the target model is determined among multiple first mapping relationships, and according to the folding screen According to the mapping relationship between the first folding times and the first target, the deformation parameters of the folding screen can be obtained, and the deformation degree of the folding screen can be obtained based on the usage of the folding screen.
  • the first interface includes a correction grid
  • acquiring deformation parameters of the folding screen includes:
  • Deformation parameters of the folding screen are determined within the deformation region.
  • the correction grid displayed on the first interface is used to prompt that the displayed content in the first interface is deformed and displayed at the crease position of the folding screen.
  • the correction grid is normally displayed when the folding screen is not deformed.
  • the partial area of the correction grid is displayed distorted. Therefore, by displaying the correction grid, the target user can be prompted for the display in the first interface The content is deformed and displayed at the crease position of the folding screen.
  • the distorted display of the local area of the correction grid is due to the deformation of the local area of the folding screen, and the corresponding local area on the correction grid is normally displayed, but due to the deformation of this area on the folding screen, the normal display of the correction grid
  • the local region of is seen as distorted by the human eye.
  • the correction grid includes multiple small grids of the same size.
  • the small grid at the crease position is distorted.
  • the small grid at the crease position is displayed normally. , but due to the deformation of the crease position, the normally displayed small mesh appears distorted to the human eye.
  • FIG. 4 it is a schematic diagram showing that the first interface includes a correction grid.
  • the first interface includes display content A, and also includes a correction grid.
  • the small grid at the crease position of the folding screen is deformed and displayed.
  • the deformation area of the folding screen is determined according to the position of the first input on the calibration grid. That is, the position corresponding to the first input is the area corresponding to the deformed and displayed small grid, and the user performs the first input on the deformed and displayed small grid.
  • deformation parameters of the folding screen are determined for the deformation area.
  • the degree of deformation of the deformed area compared with the normal area such as the degree of depression, may be determined, so as to determine the deformation parameters corresponding to the deformed area of the folding screen.
  • the deformation parameter of the deformation region may also be determined based on the folding times of the folding screen.
  • the deformation area of the folding screen is determined according to the position of the first input on the correction grid, within the deformation area Determining the deformation parameters of the folding screen can firstly determine the position where the deformation occurs on the folding screen and then further determine the degree of deformation.
  • the first interface may also include adjustment controls, and the method further includes:
  • the first interface While the first interface includes the correction grid, it may also include an adjustment control, wherein the adjustment control is a correction control for correcting the first interface.
  • the adjustment control is a correction control for correcting the first interface.
  • the first interface is corrected in response to the second input. Since the first interface includes a correction grid, the correction grid can be corrected synchronously during correction.
  • the second input here may be a sliding input, a click input satisfying preset input characteristics, and the like.
  • the first interface When correcting the first interface according to the second input, if the first interface is corrected to the target display effect (the display effect corresponding to the second interface), it indicates that the correction is successful, and a prompt message of successful correction is output, so that the user can follow the prompt information Stop performing the second input on the adjustment control, and the prompt information may be at least one of voice prompt and text prompt.
  • the target user stops the second input, and a prompt message that the correction is not completed, please continue to modify may be output. If the target user is dissatisfied with the correction result of a certain time, they can re-correct until a satisfactory correction effect is achieved.
  • a first interface including a correction grid and adjustment controls is displayed, wherein the first interface is deformed and displayed on the deformed folding screen, as shown in FIG.
  • the first interface is deformed away from the end face of the folding screen at the crease position of the folding screen.
  • the second input of the target user on the adjustment control such as sliding input on the adjustment control
  • the first interface is corrected, and the correction is made.
  • the left diagram in Figure 5 illustrates the situation where the correction grid and adjustment controls are displayed on the first interface, and the first interface is deformed at the crease position of the folding screen.
  • the middle diagram in Figure 5 illustrates the display correction based on the adjustment controls process
  • the right diagram in Figure 5 schematically shows the modified interface display after exiting the editing mode.
  • the screen correction based on the target user's manual operation can be realized.
  • a screen correction plan may be generated and saved, so as to save the manual correction plan of the target user.
  • the third interface is displayed on the folding screen (when the degree of deformation has not changed)
  • the third interface can be corrected according to the saved screen correction scheme, and any display on the folding screen can be corrected according to the manual correction scheme of the target user picture.
  • the operation by responding to the second input of the adjustment control, the first interface is corrected, and when the first interface is corrected to the display effect of the second interface, a prompt message of successful correction is output, which can realize the manual adjustment according to the target user.
  • the operation performs screen correction, and by generating and saving the screen correction plan, it is realized to correct any display screen on the folding screen according to the user's correction input.
  • the updating the first interface to the second interface according to the deformation parameters of the folding screen includes:
  • the first interface is updated to the second interface according to the reverse parameter.
  • the reverse parameters can be determined according to the deformation parameters of the folding screen, and the degree of deformation of the reverse parameters is the same as the degree of deformation of the deformation parameters
  • the deformation parameter corresponds to the first degree of deformation
  • the reverse parameter corresponds to the second degree of deformation
  • the deformation direction of the first degree of deformation is opposite to that of the second degree of deformation.
  • the first interface is corrected according to the reverse parameter. Since the deformation degree of the reverse parameter is opposite to that of the deformation parameter, the first interface can be updated to have the same content as the first interface and the display effect A different second interface is used to determine the display effect of the second interface based on the deformation parameters of the folding screen.
  • the left picture in Figure 6 is a schematic diagram of the folding screen generating creases, and the display content is distorted and displayed at the crease position.
  • the middle picture in Figure 6 is a schematic diagram of the display content being twisted and displayed in reverse at the crease position.
  • the right figure in Figure 6 is a schematic diagram of the normal display of the display content at the crease position, which can be corrected based on the reverse parameter.
  • the reverse parameter is determined according to the deformation parameter of the folding screen, and the first interface is updated to the second interface according to the reverse parameter, so that the display effect of the second interface can be determined based on the deformation parameter of the folding screen.
  • the above is the implementation process of the screen correction method provided by the embodiment of the present application.
  • the folding screen displays the first interface
  • the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen.
  • the folding screen Display the second screen with the same content as the first interface but with different display effects, realize screen correction according to the deformation parameters of the folding screen, guarantee the user's visual perception of the screen, and solve the problem of folding screen screen distortion without hardware improvement.
  • the cost of screen correction is saved.
  • the folding screen by obtaining the first folding times of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding times and the target model, it is possible to obtain the folding screen based on the usage of the folding screen.
  • Deformation degree in the case where the first interface includes a correction grid, the deformation area of the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined in the deformation area, which can firstly determine the position where the deformation occurs on the folding screen and then Further determine the degree of deformation; by correcting the first interface according to the target user's second input to the adjustment control, the screen correction based on the target user's manual operation can be realized; the reverse parameter is determined by the deformation parameter of the folding screen, and according to the reverse parameter , the first interface is updated to the second interface, and the display effect of the second interface can be determined based on the deformation parameters of the folding screen.
  • the embodiment of the present application also provides a picture correction device, as shown in Figure 8, including:
  • An obtaining module 801, configured to obtain deformation parameters of the folding screen when the folding screen displays the first interface
  • An updating module 802 configured to update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the content of the second interface is the same as that of the first interface, but the display effect is different, and the The display effect of the second interface is determined by the deformation parameters of the folding screen.
  • the acquisition module includes:
  • the first obtaining submodule is used to obtain the first folding times of the folding screen and the target model of the device corresponding to the folding screen;
  • the second acquiring submodule is used to acquire deformation parameters of the folding screen according to the first folding times and the target model
  • the second acquisition submodule includes:
  • a determining unit configured to determine a first target mapping relationship matching the target model among a plurality of first mapping relationships according to the target model, each of the first mapping relationships corresponds to a device model, and the first A mapping relationship is a mapping relationship between the folding times of the folding screen and the deformation parameters;
  • An acquiring unit configured to acquire deformation parameters of the folding screen according to the first folding times and the first target mapping relationship.
  • the first interface includes a correction grid
  • the acquisition module includes:
  • a receiving submodule configured to receive a first input to the correction grid
  • the first determining submodule in response to the first input, determines the deformation area of the folding screen according to the position of the first input on the correction grid;
  • the second determining submodule is configured to determine deformation parameters of the folding screen within the deformation region.
  • the update module includes:
  • the third determining submodule is used to determine the reverse parameter according to the deformation parameter of the folding screen
  • An updating submodule configured to update the first interface to the second interface according to the reverse parameter.
  • the above is the screen correction device provided by the embodiment of the present application.
  • the folding screen displays the first interface
  • obtain the deformation parameters of the folding screen update the first interface according to the deformation parameters of the folding screen, and display on the folding screen the same as the second interface.
  • the content of the first interface is the same, but the second screen with different display effects realizes the screen correction according to the deformation parameters of the folding screen, guarantees the user's visual perception of the screen, solves the problem of screen distortion of the folding screen without hardware improvement, and saves the screen Correction costs.
  • the folding screen by obtaining the first folding times of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding times and the target model, it is possible to obtain the folding screen based on the usage of the folding screen.
  • Deformation degree in the case where the first interface includes a correction grid, the deformation area of the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined in the deformation area, which can firstly determine the position where the deformation occurs on the folding screen and then The degree of deformation is further determined; the reverse parameter is determined by the deformation parameter of the folding screen, and the first interface is updated to the second interface according to the reverse parameter, so that the display effect of the second interface can be determined based on the deformation parameter of the folding screen.
  • the image correction device in the embodiment of the present application may be a device, or may be a component, an integrated circuit or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer)
  • non-mobile electronic devices can be server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), TV ( television, TV), teller machines or self-service machines, etc., are not specifically limited in this embodiment of the present application.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • TV television, TV
  • teller machines or self-service machines etc., are not specifically limited in this embodiment of the present application.
  • the screen modification device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the image correction device provided by the embodiment of the present application can implement various processes implemented by the embodiment of the image correction method shown in FIG. 3 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and programs or instructions stored in the memory 902 and operable on the processor 901,
  • the program or instruction is executed by the processor 901
  • the various processes of the above-mentioned screen correction method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010. .
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so as to manage charging, discharging and power consumption through the power management system. Management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the processor 1010 is configured to: acquire the deformation parameters of the folding screen when the folding screen displays the first interface; and control the display unit 1006 to update the first interface to the second interface according to the deformation parameters of the folding screen.
  • Two interfaces wherein the content of the second interface is the same as that of the first interface, but the display effect is different, and the display effect of the second interface is determined by the deformation parameters of the folding screen.
  • the processor 1010 when acquiring the deformation parameters of the folding screen, is further configured to: acquire the first folding times of the folding screen and the target model of the device corresponding to the folding screen; times and the target model, to obtain the deformation parameters of the folding screen
  • the processor 1010 when acquiring the deformation parameters of the folding screen according to the first folding times and the target model, is further configured to: determine among multiple first mapping relationships according to the target model The first target mapping relationship matching the target model, each of the first mapping relationships corresponds to a device model, and the first mapping relationship is the mapping relationship between the folding times of the folding screen and the deformation parameters; according to the first A mapping relationship between the number of folding times and the first target to obtain deformation parameters of the folding screen.
  • the first interface includes a correction grid.
  • the user input unit 1007 is further configured to: receive a correction grid the first input;
  • the processor 1010 is further configured to: in response to the first input, determine the deformation area of the folding screen according to the position of the first input on the correction grid; in the deformation area Determining the deformation parameters of the folding screen.
  • the processor 1010 when updating the first interface to the second interface according to the deformation parameters of the folding screen, is further configured to: determine a reverse parameter according to the deformation parameters of the folding screen; The reverse parameter is used to control the display unit 1006 to update the first interface to the second interface.
  • the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen, and the content of the first interface is the same as that of the first interface, but the display effect is different.
  • the second screen realizes screen correction according to the deformation parameters of the folding screen, guarantees the user's visual perception of the screen, solves the problem of screen distortion on the folding screen without hardware improvement, and saves the cost of screen correction.
  • the folding screen by obtaining the first folding times of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding times and the target model, it is possible to obtain the folding screen based on the usage of the folding screen.
  • Deformation degree in the case where the first interface includes a correction grid, the deformation area of the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined in the deformation area, which can firstly determine the position where the deformation occurs on the folding screen and then The degree of deformation is further determined; the reverse parameter is determined by the deformation parameter of the folding screen, and the first interface is updated to the second interface according to the reverse parameter, so that the display effect of the second interface can be determined based on the deformation parameter of the folding screen.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used by the image capture device in the video capture mode or the image capture mode (such as a camera) to process the image data of still pictures or videos.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user pages, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium stores programs or instructions.
  • the program or instructions are executed by the processor, the various processes of the above-mentioned screen modification method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned screen correction method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above-mentioned screen correction method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种画面修正方法、装置及电子设备,画面修正方法包括:在折叠屏显示第一界面的情况下,获取折叠屏的变形参数;根据折叠屏的变形参数,将第一界面更新为第二界面,其中,第二界面与第一界面的内容相同,显示效果不同,第二界面的显示效果通过折叠屏的变形参数确定。

Description

画面修正方法、装置及电子设备
相关申请的交叉引用
本申请要求在2021年10月26日提交中国专利局、申请号为202111250969.0、名称为“画面修正方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,具体涉及一种画面修正方法、装置及电子设备。
背景技术
随着智能技术的进步,电子设备应用折叠屏已经成为一种发展趋势,折叠屏由于可以提供更大的显示画面且具有较好的便携性,受到人们的广泛青睐。
应用折叠屏的电子设备的最大缺陷是在展开屏幕时,会留下明显折痕,这些折痕会使显示画面造成一定程度的扭曲,随着屏幕使用的时间越长、折叠的次数越多,折痕就越会明显,严重影响画面观感。
目前,折叠屏处于量产使用的早期阶段,针对屏幕折叠带来的画面扭曲、影响画面观感的问题,暂无有效的解决方案。
发明内容
本申请实施例的目的是提供一种画面修正方法、装置及电子设备,以解决现有技术中屏幕折叠带来的画面扭曲、影响画面观感的问题。
第一方面,本申请实施例提供了一种画面修正方法,包括:
在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数;
根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
第二方面,本申请实施例提供了一种画面修正装置,包括:
获取模块,用于在折叠屏显示第一界面的情况下,获取所述折叠屏的变 形参数;
更新模块,用于根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,在折叠屏显示第一界面的情况下,获取折叠屏的变形参数,根据折叠屏的变形参数,对第一界面更新,在折叠屏上显示与第一界面的内容相同,显示效果不同的第二画面,实现根据折叠屏的变形参数进行画面修正,保障用户的画面视觉观感,在无需硬件改进的情况下解决折叠屏画面扭曲的问题,节约了画面修正成本。
附图说明
图1A表示折叠屏处于展开状态的示意图;
图1B表示折叠屏处于闭合状态的示意图;
图2表示显示画面在正常折叠屏和变形折叠屏上显示的切换示意图;
图3表示本申请实施例提供的画面修正方法的示意图;
图4表示本申请实施例提供的显示校正网格的示意图;
图5表示本申请实施例提供的根据第二输入进行画面修正的示意图;
图6表示本申请实施例提供的基于反向参数进行画面修正的示意图;
图7表示本申请实施例提供的根据折叠次数进行画面修正的流程图;
图8表示本申请实施例提供的画面修正装置的示意图;
图9是本申请实施例提供的电子设备的示意框图之一;
图10是本申请实施例提供的电子设备的示意框图之二。
具体实施例
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的画面修正方法进行详细地说明。
本申请实施例提供的画面修正方法,应用于具有折叠屏的电子设备,电子设备通过折叠屏进行画面显示,可以提供更大的显示画面以提升用户的视觉体验,参见图1A所示,为折叠屏处于展开状态的示意图,在无需大屏显示时,可以进行折叠,具有较好的便携性,参见图1B所示,为折叠屏处于闭合状态的示意图。但是折叠屏在经过多次折叠之后,折叠屏发生形变,正常的显示画面通过折叠屏进行显示时会呈现一定程度的扭曲,在人眼看来画面出现了变形。
参见图2所示,正常的显示画面通过变形折叠屏进行显示时呈现一定程度的扭曲,会影响画面观感。通过本申请实施例提供的画面修正方法,可以修正显示画面,保障用户的画面观感。
本申请实施例提供的画面修正方法,参见图3所示,包括:
步骤301、在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数。
电子设备的折叠屏由于经过折叠,会造成在折叠屏上显示的内容产生一定程度的扭曲,在电子设备通过折叠屏显示第一界面的情况下,电子设备获取折叠屏的变形参数,折叠屏的变形参数可用于表征折叠屏的变形程度。
通过获取折叠屏的变形参数,可以了解折叠屏的变形程度,其中,折叠屏的变形参数可以包括折叠屏的扭曲值。
步骤302、根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
在获取折叠屏的变形参数之后,可以根据折叠屏的变形参数对折叠屏所显示的第一界面进行显示修正。在对第一界面进行显示修正时,根据获取的折叠屏的变形参数,将第一界面更新为与第一界面的内容相同、显示效果不同的第二界面,第二界面的显示效果基于折叠屏的变形参数确定,以利用折叠屏的变形参数实现显示修正。
本申请上述实施过程,在折叠屏显示第一界面的情况下,获取折叠屏的变形参数,根据折叠屏的变形参数,对第一界面更新,在折叠屏上显示与第一界面的内容相同,显示效果不同的第二画面,实现根据折叠屏的变形参数进行画面修正,保障用户的画面视觉观感,在无需硬件改进的情况下解决折叠屏画面扭曲的问题,节约了画面修正成本。
其中,步骤301所述获取所述折叠屏的变形参数,包括:
获取所述折叠屏的第一折叠次数和所述折叠屏对应的设备的目标型号;
根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数。
在获取折叠屏的变形参数时,可以获取折叠屏的第一折叠次数以及折叠屏对应的设备的目标型号,这里的第一折叠次数为折叠屏自生产完成开始使用以来所对应的折叠总次数,折叠屏对应的设备的目标型号可以理解为应用 折叠屏的电子设备所对应的型号,同一型号的电子设备所对应的折叠屏的性能(包括柔性程度)相同。
其中,在获取折叠屏的第一折叠次数时,可以通过以下三种方式中的至少一种来获取。方式一:由于电子设备的折叠屏大多是铰链设计,若折叠铰链机构具有统计折叠次数的能力,可以直接获取折叠屏的第一折叠次数。方式二:折叠屏在发生折叠状态与展开状态的切换时,霍尔传感器的测量值会发生变化,若霍尔传感器具有统计能力,则可以直接获取折叠屏的第一折叠次数。方式三:通过展开后的内屏幕显示次数与折叠后外屏的显示次数来进行统计,两个屏幕切换显示一次,记一次折叠次数。
需要说明的是,为了获取准确的第一折叠次数,可以采用上述三种方式中的至少两种来统计折叠次数,然后校验通过不同的方式统计的折叠次数是否相同。针对相同的情况,可以实现获取准确的第一折叠次数。针对不同的情况,可以继续采用其他的方式获取所统计的折叠次数,然后将通过不同的方式统计得到的相同的折叠次数确定为第一折叠次数;也可以基于预设策略来确定第一折叠次数,如统计不同方式对应的折叠次数的均值、以某种方式的统计结果为准等。当然,统计折叠屏的第一折叠次数的方式并不局限于上述所列举的几种,本领域技术人员还可以根据实际情况采用其他方式进行折叠次数的统计。
在获取折叠屏的第一折叠次数以及折叠屏对应的设备的目标型号之后,可以根据所获取的第一折叠次数和目标型号,获取折叠屏的变形参数。所述根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数,包括:
根据所述目标型号,在多个第一映射关系中确定与所述目标型号匹配的第一目标映射关系,每个所述第一映射关系对应于一个设备型号,所述第一映射关系为折叠屏的折叠次数与变形参数的映射关系;
根据所述第一折叠次数和所述第一目标映射关系,获取所述折叠屏的变形参数。
在根据第一折叠次数和目标型号,获取折叠屏的变形参数时,可以首先 基于目标型号在多个第一映射关系中确定第一目标映射关系。其中,每个第一映射关系对应于一个设备型号,第一目标映射关系为目标型号对应的第一映射关系,第一映射关系为折叠屏的折叠次数与变形参数的映射关系,且第一映射关系基于大数据统计分析确定。
由于第一目标映射关系为目标型号的电子设备的折叠屏的折叠次数与变形参数的映射关系,因此在获取第一目标映射关系之后,可以根据折叠屏(对应的设备为目标型号)的第一折叠次数,在第一目标映射关系中查找与第一折叠次数匹配的变形参数,实现获取折叠屏的变形参数。
其中,由于不同设备型号的电子设备,其折叠屏的柔性程度有所区别,在确定多个第一映射关系时,可以针对每一个设备型号,获取多个用户在使用当前设备型号对应的折叠屏时所记录的折叠屏的折叠次数与变形参数的对应关系。针对每个设备型号,根据获取的多个用户记录的对应关系进行数据分析,确定折叠屏的折叠次数与变形参数的映射关系。至此,可以确定多个第一映射关系。
上述实施过程,通过获取折叠屏的第一折叠次数和折叠屏对应的设备的目标型号,根据目标型号,在多个第一映射关系中确定与目标型号匹配的第一目标映射关系,根据折叠屏的第一折叠次数和第一目标映射关系,获取折叠屏的变形参数,可以实现基于折叠屏的使用情况获取折叠屏的变形度。
可选地,所述第一界面包括校正网格,所述在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数,包括:
接收对所述校正网格的第一输入;
响应于所述第一输入,根据所述第一输入在所述校正网格上的位置,确定所述折叠屏的变形区域;
在所述变形区域内确定所述折叠屏的变形参数。
在折叠屏所显示的第一界面包括校正网格的情况下,可以接收目标用户对校正网格执行的第一输入。其中,第一界面所显示的校正网格用于提示第一界面中的显示内容在折叠屏的折痕位置处变形显示。校正网格在折叠屏未 发生形变时正常显示,在折叠屏的折痕位置发生形变时,校正网格的局部区域扭曲显示,因此通过显示校正网格,可以提示目标用户第一界面中的显示内容在折叠屏的折痕位置处变形显示。其中,校正网格的局部区域扭曲显示是因为折叠屏的局部区域发生形变,校正网格上对应的局部区域是正常显示的,但由于折叠屏上该区域发生形变,导致正常显示的校正网格的局部区域在人眼看来是变形的。
校正网格包括多个尺寸相同的小网格,在折叠屏的折痕位置发生形变时,位于折痕位置的小网格扭曲显示,同理,位于折痕位置的小网格是正常显示的,但由于折痕位置发生形变,导致正常显示的小网格在人眼看来是变形的。参见图4所示,为第一界面包括校正网格的示意,第一界面包括显示内容A,还包括校正网格,折叠屏的折痕位置处的小网格变形显示。
在接收对校正网格所执行的第一输入之后,响应于第一输入,根据第一输入在校正网格上的位置,确定折叠屏的变形区域。即,第一输入对应的位置为变形显示的小网格所对应的区域,用户对变形显示的小网格执行第一输入。在确定折叠屏的变形区域之后,针对变形区域确定折叠屏的变形参数。
在针对变形区域确定折叠屏的变形参数时,可以确定变形区域相较于正常区域的变形度,如凹陷程度,以确定折叠屏的变形区域所对应的变形参数。也可以基于折叠屏的折叠次数确定变形区域的变形参数。
上述实施过程,在第一界面包括校正网格的情况下,接收用户对校正网格的第一输入,根据第一输入在校正网格上的位置,确定折叠屏的变形区域,在变形区域内确定折叠屏的变形参数,可以实现首先在折叠屏上确定发生形变的位置然后进一步确定变形程度。
其中,在第一界面在包括校正网格的基础上,还可以包括调整控件,所述方法还包括:
接收对所述调整控件的第二输入;
响应于所述第二输入,对所述第一界面进行修正;
在所述第一界面修正至所述第二界面的显示效果时,输出修正成功的提 示信息。
第一界面在包括校正网格的同时还可以包括调整控件,其中调整控件为修正控件,用于对第一界面进行修正。在接收到目标用户对调整控件所执行的第二输入时,响应于第二输入,对第一界面进行修正,由于第一界面包括校正网格,在修正时可以对校正网格进行同步修正。这里的第二输入可以为滑动输入、满足预设输入特征的点击输入等。
在根据第二输入对第一界面进行修正时,若第一界面修正至目标显示效果(第二界面对应的显示效果),则表明修正成功,输出修正成功的提示信息,以便于用户根据提示信息停止对调整控件执行第二输入,提示信息可以为语音提示和文字提示中的至少一种。
需要说明的是,根据目标用户的第二输入修正第一界面时,若第一界面未修正至目标显示效果时,目标用户停止第二输入,则可以输出修正未完成请继续修正的提示信息。若目标用户对某次的修正结果不满意,可以重新修正,直至达到满意的修正效果。
下面通过一实例对手动修正画面的情况进行阐述,如,参见图5所示,显示包括校正网格和调整控件的第一界面,其中,第一界面在发生形变的折叠屏上变形显示,如第一界面在折叠屏的折痕位置发生远离折叠屏所在端面的变形,根据目标用户对调整控件的第二输入(如在调整控件上的滑动输入),对第一界面进行修正,在进行修正时,可以理解为对第一界面执行靠近折叠屏所在端面的拖动。图5中的左侧图示意了在第一界面显示校正网格以及调整控件、第一界面在折叠屏的折痕位置发生形变的情况,图5中的中间图示意了根据调整控件进行显示修正的过程,图5中的右侧图示意了退出编辑模式后修正后的界面显示的情况。
上述实施过程,通过根据目标用户对调整控件的第二输入对第一界面进行修正,可以实现基于目标用户的手动操作进行画面修正。
其中,在根据第二输入,对第一界面进行修正之后,可以生成画面修正方案并保存,实现对目标用户的手动修正方案进行保存。当折叠屏(变形程 度未发生变化时)上显示第三界面的情况下,可以根据保存的画面修正方案,对第三界面进行修正,实现根据目标用户的手动修正方案修正折叠屏上的***示画面。
上述实施过程,通过响应于对调整控件的第二输入,对第一界面进行修正,在第一界面修正至第二界面的显示效果时,输出修正成功的提示信息,可以实现根据目标用户的手动操作进行画面修正,且通过生成画面修正方案并保存,实现根据用户的修正输入修正折叠屏上的***示画面。
可选地,所述根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,包括:
根据所述折叠屏的变形参数确定反向参数;
根据所述反向参数,将所述第一界面更新为所述第二界面。
在根据折叠屏的变形参数,将第一界面更新为内容相同、显示效果不同的第二界面时,可以根据折叠屏的变形参数确定反向参数,反向参数的变形程度与变形参数的变形程度相反,如,变形参数对应于第一变形程度、反向参数对应于第二变形程度,第一变形程度与第二变形程度的形变方向相反。
在确定反向参数之后,根据反向参数对第一界面进行修正,由于反向参数的变形程度与变形参数的变形程度相反,可以将第一界面更新为与第一界面的内容相同、显示效果不同的第二界面,实现基于折叠屏的变形参数确定第二界面的显示效果。
参见如6所示,图6中的左侧图为折叠屏产生折痕,显示内容在折痕位置扭曲显示的示意图,图6中的中间图为显示内容在折痕位置反向扭曲显示的示意图,图6中的右侧图为在折痕位置显示内容正常显示的示意图,可以实现基于反向参数进行修正。
上述实施过程,根据折叠屏的变形参数确定反向参数,根据反向参数,将第一界面更新为第二界面,可以实现基于折叠屏的变形参数确定第二界面的显示效果。
下面通过一具体实例对本申请实施例提供的根据折叠屏的折叠次数确 定折叠屏的变形参数,根据折叠屏的变形参数,将第一界面更新为第二界面的情况进行阐述。参见图7所示,在折叠屏显示第一界面的情况下,获取折叠屏的第一折叠次数,根据折叠屏的第一折叠次数和折叠屏对应的设备的目标型号,获取折叠屏的变形参数,根据折叠屏的变形参数确定反向参数,根据反向参数,将第一界面更新为与第一界面的内容相同、显示效果不同的第二界面。图7中左侧为显示第一界面的示意图、图7中右侧为显示第二界面的示意图。
以上为本申请实施例提供的画面修正方法的实施过程,在折叠屏显示第一界面的情况下,获取折叠屏的变形参数,根据折叠屏的变形参数,对第一界面更新,在折叠屏上显示与第一界面的内容相同,显示效果不同的第二画面,实现根据折叠屏的变形参数进行画面修正,保障用户的画面视觉观感,在无需硬件改进的情况下解决折叠屏画面扭曲的问题,节约了画面修正成本。
进一步地,通过获取折叠屏的第一折叠次数和折叠屏对应的设备的目标型号,根据第一折叠次数和目标型号,获取折叠屏的变形参数,可以实现基于折叠屏的使用情况获取折叠屏的变形度;在第一界面包括校正网格的情况下,根据第一输入确定折叠屏的变形区域,在变形区域内确定折叠屏的变形参数,可以实现首先在折叠屏上确定发生形变的位置然后进一步确定变形程度;通过根据目标用户对调整控件的第二输入对第一界面进行修正,可以实现基于目标用户的手动操作进行画面修正;通过折叠屏的变形参数确定反向参数,根据反向参数,将第一界面更新为第二界面,可以实现基于折叠屏的变形参数确定第二界面的显示效果。
本申请实施例还提供一种画面修正装置,如图8所示,包括:
获取模块801,用于在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数;
更新模块802,用于根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不 同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
可选地,所述获取模块包括:
第一获取子模块,用于获取所述折叠屏的第一折叠次数和所述折叠屏对应的设备的目标型号;
第二获取子模块,用于根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数
可选地,所述第二获取子模块包括:
确定单元,用于根据所述目标型号,在多个第一映射关系中确定与所述目标型号匹配的第一目标映射关系,每个所述第一映射关系对应于一个设备型号,所述第一映射关系为折叠屏的折叠次数与变形参数的映射关系;
获取单元,用于根据所述第一折叠次数和所述第一目标映射关系,获取所述折叠屏的变形参数。
可选地,所述第一界面包括校正网格,所述获取模块包括:
接收子模块,用于接收对所述校正网格的第一输入;
第一确定子模块,响应于所述第一输入,根据所述第一输入在所述校正网格上的位置,确定所述折叠屏的变形区域;
第二确定子模块,用于在所述变形区域内确定所述折叠屏的变形参数。
可选地,所述更新模块包括:
第三确定子模块,用于根据所述折叠屏的变形参数确定反向参数;
更新子模块,用于根据所述反向参数,将所述第一界面更新为所述第二界面。
以上为本申请实施例提供的画面修正装置,在折叠屏显示第一界面的情况下,获取折叠屏的变形参数,根据折叠屏的变形参数,对第一界面更新,在折叠屏上显示与第一界面的内容相同,显示效果不同的第二画面,实现根据折叠屏的变形参数进行画面修正,保障用户的画面视觉观感,在无需硬件改进的情况下解决折叠屏画面扭曲的问题,节约了画面修正成本。
进一步地,通过获取折叠屏的第一折叠次数和折叠屏对应的设备的目标 型号,根据第一折叠次数和目标型号,获取折叠屏的变形参数,可以实现基于折叠屏的使用情况获取折叠屏的变形度;在第一界面包括校正网格的情况下,根据第一输入确定折叠屏的变形区域,在变形区域内确定折叠屏的变形参数,可以实现首先在折叠屏上确定发生形变的位置然后进一步确定变形程度;通过折叠屏的变形参数确定反向参数,根据反向参数,将第一界面更新为第二界面,可以实现基于折叠屏的变形参数确定第二界面的显示效果。
本申请实施例中的画面修正装置可以是装置,也可以是终端中的部件、集成电路或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal
computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的画面修正装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为iOS操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的画面修正装置能够实现图3所示的画面修正方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图9所示,本申请实施例还提供一种电子设备900,包括处理器901,存储器902,存储在存储器902上并可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述画面修正方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图10为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频 输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器1010用于:在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数;根据所述折叠屏的变形参数,控制显示单元1006将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
可选地,在获取所述折叠屏的变形参数时,处理器1010还用于:获取所述折叠屏的第一折叠次数和所述折叠屏对应的设备的目标型号;根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数
可选地,在根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数时,处理器1010还用于:根据所述目标型号,在多个第一映射关系中确定与所述目标型号匹配的第一目标映射关系,每个所述第一映射关系对应于一个设备型号,所述第一映射关系为折叠屏的折叠次数与变形参数的映射关系;根据所述第一折叠次数和所述第一目标映射关系,获取所述折叠屏的变形参数。
可选地,所述第一界面包括校正网格,在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数时,用户输入单元1007还用于:接收对所述校正网格的第一输入;处理器1010还用于:响应于所述第一输入,根据所述第一输入在所述校正网格上的位置,确定所述折叠屏的变形区域;在所述变形区域内确定所述折叠屏的变形参数。
可选地,在根据所述折叠屏的变形参数,将所述第一界面更新为第二界 面时,处理器1010还用于:根据所述折叠屏的变形参数确定反向参数;根据所述反向参数,控制显示单元1006将所述第一界面更新为所述第二界面。
这样,在折叠屏显示第一界面的情况下,获取折叠屏的变形参数,根据折叠屏的变形参数,对第一界面更新,在折叠屏上显示与第一界面的内容相同,显示效果不同的第二画面,实现根据折叠屏的变形参数进行画面修正,保障用户的画面视觉观感,在无需硬件改进的情况下解决折叠屏画面扭曲的问题,节约了画面修正成本。
进一步地,通过获取折叠屏的第一折叠次数和折叠屏对应的设备的目标型号,根据第一折叠次数和目标型号,获取折叠屏的变形参数,可以实现基于折叠屏的使用情况获取折叠屏的变形度;在第一界面包括校正网格的情况下,根据第一输入确定折叠屏的变形区域,在变形区域内确定折叠屏的变形参数,可以实现首先在折叠屏上确定发生形变的位置然后进一步确定变形程度;通过折叠屏的变形参数确定反向参数,根据反向参数,将第一界面更新为第二界面,可以实现基于折叠屏的变形参数确定第二界面的显示效果。
应理解的是,在本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户页面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010 中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述画面修正方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述画面修正方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种画面修正方法,包括:
    在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数;
    根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
  2. 根据权利要求1所述的方法,其中,所述获取所述折叠屏的变形参数,包括:
    获取所述折叠屏的第一折叠次数和所述折叠屏对应的设备的目标型号;
    根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数。
  3. 根据权利要求2所述的方法,其中,所述根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数,包括:
    根据所述目标型号,在多个第一映射关系中确定与所述目标型号匹配的第一目标映射关系,每个所述第一映射关系对应于一个设备型号,所述第一映射关系为折叠屏的折叠次数与变形参数的映射关系;
    根据所述第一折叠次数和所述第一目标映射关系,获取所述折叠屏的变形参数。
  4. 根据权利要求1所述的方法,其中,所述第一界面包括校正网格,所述在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数,包括:
    接收对所述校正网格的第一输入;
    响应于所述第一输入,根据所述第一输入在所述校正网格上的位置,确定所述折叠屏的变形区域;
    在所述变形区域内确定所述折叠屏的变形参数。
  5. 根据权利要求1所述的方法,其中,所述根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,包括:
    根据所述折叠屏的变形参数确定反向参数;
    根据所述反向参数,将所述第一界面更新为所述第二界面。
  6. 一种画面修正装置,包括:
    获取模块,用于在折叠屏显示第一界面的情况下,获取所述折叠屏的变形参数;
    更新模块,用于根据所述折叠屏的变形参数,将所述第一界面更新为第二界面,其中,所述第二界面与所述第一界面的内容相同,显示效果不同,所述第二界面的显示效果通过所述折叠屏的变形参数确定。
  7. 根据权利要求6所述的装置,其中,所述获取模块包括:
    第一获取子模块,用于获取所述折叠屏的第一折叠次数和所述折叠屏对应的设备的目标型号;
    第二获取子模块,用于根据所述第一折叠次数和所述目标型号,获取所述折叠屏的变形参数。
  8. 根据权利要求7所述的装置,其中,所述第二获取子模块包括:
    确定单元,用于根据所述目标型号,在多个第一映射关系中确定与所述目标型号匹配的第一目标映射关系,每个所述第一映射关系对应于一个设备型号,所述第一映射关系为折叠屏的折叠次数与变形参数的映射关系;
    获取单元,用于根据所述第一折叠次数和所述第一目标映射关系,获取所述折叠屏的变形参数。
  9. 根据权利要求6所述的装置,其中,所述第一界面包括校正网格,所述获取模块包括:
    接收子模块,用于接收对所述校正网格的第一输入;
    第一确定子模块,响应于所述第一输入,根据所述第一输入在所述校正网格上的位置,确定所述折叠屏的变形区域;
    第二确定子模块,用于在所述变形区域内确定所述折叠屏的变形参数。
  10. 根据权利要求6所述的装置,其中,所述更新模块包括:
    第三确定子模块,用于根据所述折叠屏的变形参数确定反向参数;
    更新子模块,用于根据所述反向参数,将所述第一界面更新为所述第二界面。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的画面修正方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的画面修正方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的画面修正方法的步骤。
  14. 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的画面修正方法的步骤。
  15. 一种画面修正装置,所述装置被配置成用于执行如权利要求1至5中任一项所述的画面修正方法。
PCT/CN2022/126895 2021-10-26 2022-10-24 画面修正方法、装置及电子设备 WO2023071954A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111250969.0 2021-10-26
CN202111250969.0A CN113986428A (zh) 2021-10-26 2021-10-26 画面修正方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2023071954A1 true WO2023071954A1 (zh) 2023-05-04

Family

ID=79741976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126895 WO2023071954A1 (zh) 2021-10-26 2022-10-24 画面修正方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN113986428A (zh)
WO (1) WO2023071954A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986428A (zh) * 2021-10-26 2022-01-28 维沃移动通信有限公司 画面修正方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170016557A (ko) * 2015-08-03 2017-02-14 삼성디스플레이 주식회사 표시 장치 및 휴대용 단말기
CN108052247A (zh) * 2017-11-29 2018-05-18 努比亚技术有限公司 桌面图标调整方法、移动终端及计算机可读存储介质
CN108055411A (zh) * 2017-12-29 2018-05-18 努比亚技术有限公司 柔性屏显示方法、移动终端及计算机可读存储介质
CN108196804A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 基于柔性屏的分屏方法、终端和计算机存储介质
CN108319487A (zh) * 2018-01-31 2018-07-24 努比亚技术有限公司 图片显示方法、移动终端及计算机可读存储介质
CN112905099A (zh) * 2021-03-29 2021-06-04 北京小米移动软件有限公司 显示方法、装置以及存储介质
CN113986428A (zh) * 2021-10-26 2022-01-28 维沃移动通信有限公司 画面修正方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291312B (zh) * 2017-06-29 2020-11-20 联想(北京)有限公司 信息显示方法及电子设备
CN108225938B (zh) * 2018-01-31 2020-09-25 北京京东方显示技术有限公司 一种弯折测试装置及弯折测试方法
CN111124561B (zh) * 2019-11-08 2021-02-12 华为技术有限公司 应用于具有折叠屏的电子设备的显示方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170016557A (ko) * 2015-08-03 2017-02-14 삼성디스플레이 주식회사 표시 장치 및 휴대용 단말기
CN108052247A (zh) * 2017-11-29 2018-05-18 努比亚技术有限公司 桌面图标调整方法、移动终端及计算机可读存储介质
CN108196804A (zh) * 2017-12-28 2018-06-22 努比亚技术有限公司 基于柔性屏的分屏方法、终端和计算机存储介质
CN108055411A (zh) * 2017-12-29 2018-05-18 努比亚技术有限公司 柔性屏显示方法、移动终端及计算机可读存储介质
CN108319487A (zh) * 2018-01-31 2018-07-24 努比亚技术有限公司 图片显示方法、移动终端及计算机可读存储介质
CN112905099A (zh) * 2021-03-29 2021-06-04 北京小米移动软件有限公司 显示方法、装置以及存储介质
CN113986428A (zh) * 2021-10-26 2022-01-28 维沃移动通信有限公司 画面修正方法、装置及电子设备

Also Published As

Publication number Publication date
CN113986428A (zh) 2022-01-28

Similar Documents

Publication Publication Date Title
US20200204738A1 (en) Photographing method and mobile terminal
WO2022063022A1 (zh) 视频预览方法、装置及电子设备
WO2021136136A1 (zh) 截图方法及电子设备
WO2022100549A1 (zh) 显示屏的控制方法、装置及电子设备
WO2022127304A1 (zh) 界面显示状态的调整方法及装置、设备、存储介质
WO2023125425A1 (zh) 一种显示方法、装置和电子设备
CN110113534A (zh) 一种图像处理方法、图像处理装置及移动终端
WO2022194003A1 (zh) 截屏方法、装置、电子设备以及可读存储介质
US20090322791A1 (en) Apparatus and method for touch screen editing of digital images
WO2018010440A1 (zh) 一种投影画面调整方法、装置和投影终端
US20240179466A1 (en) Sound channel switching method and apparatus, and electronic device
WO2023071954A1 (zh) 画面修正方法、装置及电子设备
CN107395978A (zh) 一种摄像头模组的控制方法及移动终端
US11681410B2 (en) Icon management method and terminal device
EP4187909A1 (en) Image acquisition method and apparatus, server and electronic device
WO2023284632A1 (zh) 图像展示方法、装置及电子设备
WO2022171054A1 (zh) 一种刷新显示的方法、装置和电子设备
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
WO2022143525A1 (zh) 视频播放方法、装置及电子设备
JP2024501558A (ja) 表示制御方法、装置、電子機器及び媒体
CN114038370B (zh) 显示参数调整方法、装置、存储介质及显示设备
WO2024140582A1 (zh) 显示方法、装置、电子设备及计算机可读存储介质
CN114741042A (zh) 内容显示方法及装置
CN114242023A (zh) 显示屏亮度调节方法、显示屏亮度调节装置和电子设备
JP2023544544A (ja) スクリーンキャプチャ方法、装置及び電子機器

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: 22885831

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE