WO2022042429A1 - 一种界面的展示方法以及相关设备 - Google Patents

一种界面的展示方法以及相关设备 Download PDF

Info

Publication number
WO2022042429A1
WO2022042429A1 PCT/CN2021/113660 CN2021113660W WO2022042429A1 WO 2022042429 A1 WO2022042429 A1 WO 2022042429A1 CN 2021113660 W CN2021113660 W CN 2021113660W WO 2022042429 A1 WO2022042429 A1 WO 2022042429A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
display
terminal device
interface component
shaking
Prior art date
Application number
PCT/CN2021/113660
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 WO2022042429A1 publication Critical patent/WO2022042429A1/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 field of computer technology, and in particular, to an interface display method and related equipment.
  • the embodiments of the present application provide an interface display method and related equipment.
  • the current display mode is automatically adjusted to a more prominent display method, so as to reduce the difficulty for users to clearly see the information on the display interface, thereby improving the user experience.
  • the embodiments of the present application provide an interface display method, which can be used in the field of graphical user interfaces.
  • the method includes: when the terminal device shakes, converting a first interface component in a display interface from a first display mode to a second display mode, where the second display mode includes highlighting the first interface component.
  • the display interface for performing the mode transition includes the currently displayed interface, or one or more interfaces to be displayed next.
  • the display interface for performing the mode conversion does not include the current display interface, but includes one or more interfaces to be displayed next.
  • the display interface for performing the mode conversion may be a full-screen interface of the terminal device, or may not be a full-screen interface of the terminal device, but only part of the components or part of the content displayed on the screen.
  • the display mode of the first interface component is automatically converted, and the display is further highlighted on the basis of the current display mode, so as to reduce the difficulty for users to clearly see the information on the display interface, thereby improving the The accuracy of the interaction between the user and the terminal device; in addition, in the current display interface of the terminal device, the switching operation of the display mode of the interface component can be triggered, and the operation is simple and conducive to increasing user stickiness.
  • converting the first interface component in the display interface from the first display mode to the second display mode may include: the terminal device acquires shaking parameters of the terminal device , the shaking parameter is used to indicate the shaking situation of the terminal device.
  • the terminal device determines according to the shaking parameter that the first preset condition is satisfied at least one first interface component in the display interface of the terminal device is converted from the first display mode to the second display mode.
  • the shaking parameter is used to indicate the shaking duration and/or shaking intensity of the terminal device, and the shaking intensity is determined according to shaking amplitude and/or shaking frequency.
  • the first preset condition may be that the shaking duration of the terminal device reaches the first preset duration, or the first preset condition is that the shaking frequency of the terminal device reaches the preset frequency, or the first preset condition is the shaking duration of the terminal device.
  • the first preset duration and the shaking amplitude reach the preset amplitude, or the first preset condition is that the shaking duration of the terminal device reaches the first preset duration and the shaking intensity reaches the preset intensity.
  • a first preset condition is preset, and the first interface component that will display the interface will be triggered only when it is determined according to the shaking parameter of the terminal device that the shaking condition of the terminal device satisfies the first preset condition Converting from the first display mode to the second display mode may not affect the interaction between the user and the display interface of the terminal device in the case of slight shaking.
  • the type of the first interface component includes any one or more of the following: text, icon, button, card, input box, and the sensing area of the button; the sensing area of the button is also Can be referred to as the button's hot zone or the button's touchable area.
  • the terminal device may display the first interface component in a prominent manner, including any one or more of the following: enlarging the first interface component in the first display mode; On the basis of the first display mode, the contrast between the first interface component and the interface background is improved; or, the first interface component is set as a floating button.
  • several specific types of the first interface component are provided, as well as multiple ways to highlight the first interface component, which expands the application scenarios of the solution and improves the implementation flexibility of the solution.
  • the terminal device converts the first interface component in the display interface from the first display mode to the second display mode, and further includes: when there is a text type in at least one of the first interface components
  • the terminal device adds a second interface component on the basis of the first display mode, and the second interface component is used to trigger the conversion of the text in the first interface component into a voice output.
  • the terminal device can invoke the screen reading function to convert the text in the first interface component into voice output.
  • the user can trigger the conversion of the text in the first interface component into voice output through the second interface component, providing a multi-modal interaction mode, so that the user can obtain information by voice when it is inconvenient to read , further reducing the difficulty for users to receive information through the display interface.
  • the method further includes: on the basis of the first display mode, the terminal device reduces or hides at least one third interface component in the display interface.
  • the third interface component and the first interface component are different interface components; further, the third interface component may be an interface component whose usage frequency is lower than a preset threshold in the display interface, and the first interface component is the usage frequency in the display interface UI components above a preset threshold.
  • the first interface component in the display interface is highlighted, but also the third interface component in the display interface is reduced or hidden, that is, the first interface component in the display interface is further highlighted to assist The user can see the first interface component in the interface more clearly, thereby facilitating the interaction between the user and the first interface component.
  • the method further includes: when it is determined that the first preset condition is satisfied according to the shaking parameter of the terminal device, changing the animation effect of the terminal device when switching between different display interfaces from the first The switching mode is replaced with the second switching mode.
  • the shaking parameter is used to indicate the shaking condition of the terminal device
  • the second switching method is to perform one or more of the following operations on the basis of the first switching method: reducing the animation duration, changing the animation curve and reducing the transformation rate.
  • the first interface components included in the display interface and the type of the display interface there is a correspondence between the first interface components included in the display interface and the type of the display interface, and the first interface components included in different types of display interfaces are different or not completely the same,
  • the type of presentation interface is determined by the kind of tasks performed through the presentation interface. And/or, the conversion methods used for the first interface component in different types of display interfaces are different or not completely the same. And/or, when different types of display interfaces use the same conversion method for the same type of first interface components, the conversion ratios used for the same type of first interface components in different types of display interfaces are different.
  • the method before the terminal device converts the first interface component in the display interface from the first display mode to the second display mode, the method further includes: the terminal device acquires the first interface type of the display interface , and obtain the first conversion rule corresponding to the first interface type.
  • the type of the display interface is determined by the type of tasks performed through the display interface, and the type of the display interface is any of the following: call, screen lock, music, navigation, weather forecast, main interface or instant messaging.
  • Converting the first interface component in the display interface by the terminal device from the first display mode to the second display mode includes: the terminal device converts at least one first interface component in the display interface from the first display mode according to the first conversion rule for the second display mode.
  • the terminal device is pre-configured with various conversion rules corresponding to different types of display interfaces, the type of the interface is determined according to the type of tasks performed by the display interface, and then the corresponding conversion rule is selected according to the interface type of the current display interface , that is, each type of display interface has its own customized conversion rules, so as to improve the interface effect after conversion, thereby enhancing the user viscosity of this solution.
  • the display interface of the terminal device includes at least one first interface component, and what is included in the at least one first interface component is that the frequency of use in the display interface of the terminal device reaches a first preset threshold interface components.
  • the display interface of the terminal device includes at least one third interface component, and the at least one third interface component includes interface components whose usage frequency is less than or equal to the second preset threshold in the display interface of the terminal device.
  • the values of the first preset threshold and the second preset threshold may be the same or different.
  • the first interface component is an interface component that needs to be highlighted, and an interface component whose usage frequency reaches the first preset threshold is determined as the first interface component.
  • the higher the usage frequency the greater the need to be highlighted. , so that the display method provided by the embodiment of the present application is more in line with the user's personal habits, and the user viscosity of the solution is improved.
  • the shaking parameters of the terminal device include shaking duration and/or shaking intensity, and the shaking intensity of the terminal device is determined according to the shaking amplitude of the terminal equipment and/or the shaking frequency of the terminal equipment.
  • the shaking intensity of the terminal equipment is the shaking amplitude of the terminal equipment, or the shaking strength of the terminal equipment is the shaking frequency of the terminal equipment, or, the shaking strength of the terminal equipment includes the shaking amplitude and shaking frequency of the terminal equipment.
  • the shaking intensity of the device is a new characterization dimension determined according to the shaking amplitude and shaking frequency of the terminal device.
  • the terminal device converts the first interface component in the display interface from the first display mode to the second display mode when it is determined according to the shaking parameter that the first preset condition is satisfied
  • the method includes: when the shaking duration of the terminal device reaches the first preset duration and the shaking intensity of the terminal device reaches the preset strength, the terminal device converts the first interface component from the first display mode to the second display mode.
  • the first preset condition is deemed to be met, that is, the triggering condition for the display mode of the conversion interface component is met.
  • the method before the terminal device converts the first interface component in the display interface from the first display mode to the second display mode, the method further includes: the terminal device obtains a shaking intensity corresponding to the terminal device. the second conversion rule.
  • the conversion rules corresponding to different levels of shaking intensities are different.
  • the difference between the conversion rules corresponding to different levels of shaking intensity may include one or more of the following five types: the enlargement ratio, the bold ratio, or the contrast between the first interface component and the interface background are different, and/or , the reduction ratio of the third interface component is different, and/or the conversion mode of the third interface component is converted from reduction to hiding, etc.
  • Converting the first interface component in the display interface by the terminal device from the first display mode to the second display mode includes: the terminal device converts the first interface component from the first display mode to the second display mode according to the second conversion rule.
  • the shaking intensity of the terminal device is graded, and the conversion rules corresponding to different levels of shaking intensity are different, which is beneficial to
  • the interface components of the display interface are managed more delicately, so that the final display state can better fit the user's usage habits, so as to improve the user viscosity of this solution.
  • the method before the terminal device converts the first interface component in the display interface from the first display mode to the second display mode, the method further includes: the terminal device acquires the first interface type of the display interface , and obtain the corresponding third conversion rule according to the first interface type of the display interface and the shaking level. Among them, the conversion rules corresponding to different levels of shaking intensities are different. Converting the first interface component in the display interface by the terminal device from the first display mode to the second display mode includes: the terminal device converts the first interface component from the first display mode to the second display mode according to the third conversion rule.
  • the method further includes: acquiring state information of the terminal device, the state information indicating The interface of the terminal device displays the state or motion state.
  • the terminal device determines according to the state information that the second preset condition is satisfied, the first interface component is converted from the second presentation mode to the first presentation mode.
  • the second preset condition may be that the interface of the terminal device enters an off-screen state; or, the second preset condition may be that the duration of the stationary state of the terminal device reaches the second preset duration.
  • the terminal device can automatically trigger the conversion from the second display mode to the first display mode, and the solution is convenient and conducive to improving user viscosity.
  • the embodiments of the present application provide an interface display method, which can be used in the field of graphical user interfaces.
  • the method includes: when the terminal device shakes, converting at least one first interface component in the display interface of the terminal device from the first display mode to the second display mode.
  • the second display mode includes adding a second interface component on the basis of the first display mode, and the second interface component is used to trigger the conversion of text into voice output .
  • the terminal device may also be used to implement the steps performed by the terminal device in the various possible implementation manners of the first aspect.
  • the terminal device may also be used to implement the steps performed by the terminal device in the various possible implementation manners of the first aspect.
  • the terminal device may also be used to implement the steps performed by the terminal device in the various possible implementation manners of the first aspect.
  • the embodiments of the present application provide an interface display device, which can be used in the field of graphical user interfaces.
  • the apparatus includes: a conversion module for converting a first interface component in the display interface from a first display mode to a second display mode when the terminal device shakes, and the second display mode includes highlighting the first interface component.
  • the interface display device may also be used to implement the steps performed by the terminal device in various possible implementation manners of the first aspect.
  • the interface display device may also be used to implement the steps performed by the terminal device in various possible implementation manners of the first aspect.
  • the third aspect and various possible implementations of the third aspect of the embodiments of the present application For the specific implementation manner of some steps in the method, and the beneficial effects brought by each possible implementation manner, reference may be made to the descriptions in the various possible implementation manners in the first aspect, which will not be repeated here.
  • an embodiment of the present application provides an interface display device, which can be used in the field of graphical user interfaces.
  • the apparatus includes: a conversion module, configured to convert at least one first interface component in the display interface from the first display mode to the second display mode when the terminal device shakes.
  • the second display mode includes adding a second interface component on the basis of the first display mode, and the second interface component is used to trigger the conversion of text into voice output .
  • the interface display device may also be used to implement the steps performed by the terminal device in various possible implementation manners of the second aspect.
  • the fourth aspect and various possible implementations of the fourth aspect of the embodiment of the present application For the specific implementation manner of some steps in the method, and the beneficial effects brought by each possible implementation manner, reference may be made to the descriptions in the various possible implementation manners in the second aspect, which will not be repeated here.
  • the embodiments of the present application provide a computer program or computer program product, which, when the computer program or computer program product runs on a computer, causes the computer to execute the method for displaying the interface described in the first aspect above, or, The computer is caused to execute the method for displaying the interface described in the second aspect.
  • an embodiment of the present application provides a terminal device, including a processor and a memory, the processor is coupled to the memory; the memory is used to store a program; the processor is used to execute the The program in the memory causes the terminal device to execute the method for displaying an interface as described in the first aspect above, or causes the terminal device to execute the method for displaying an interface as described in the second aspect above.
  • an embodiment of the present application provides a computer-readable storage medium, where an instruction is stored in the computer-readable storage medium, and when the instruction is executed on a computer, the computer executes the interface described in the first aspect above.
  • the display method or, make the computer execute the interface display method as described in the second aspect above.
  • an embodiment of the present application provides a circuit system, where the circuit system includes a processing circuit, and the processing circuit is configured to execute the method for displaying an interface described in the first aspect, or to execute the second aspect as described above.
  • the interface display method is configured to display the interface described in the first aspect, or to execute the second aspect as described above.
  • an embodiment of the present application provides a chip, the chip includes at least one processor and at least one interface circuit, the interface circuit is coupled to the processor, and the at least one interface circuit is configured to perform a transceiving function and send an instruction Give at least one processor, and at least one processor is used to run a computer program or instruction, which has the function of realizing the method for displaying the interface as described in the first aspect or the second aspect, and the function can be realized by hardware or software.
  • the implementation can also be implemented by a combination of hardware and software, where the hardware or software includes one or more modules corresponding to the above functions.
  • the interface circuit is used to communicate with other modules outside the chip.
  • FIG. 1 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for displaying an interface provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface for displaying an interface in a method for displaying an interface provided by an embodiment of the present application
  • FIG. 4 is another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 5 is another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 6 is still another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 7 is another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 8 is still another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 9 is another interface schematic diagram of displaying an interface in an interface displaying method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of yet another interface for displaying an interface in the method for displaying an interface provided by an embodiment of the present application;
  • FIG. 11 is a schematic diagram of another interface for displaying an interface in the method for displaying an interface provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of still another interface for displaying an interface in the method for displaying an interface provided by an embodiment of the present application;
  • FIG. 13 is another interface schematic diagram of displaying an interface in the method for displaying an interface provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of still another interface for displaying an interface in the method for displaying an interface provided by an embodiment of the present application;
  • FIG. 15 is a schematic diagram of another interface for displaying an interface in the method for displaying an interface provided by an embodiment of the present application.
  • 16a is a schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • FIG. 16b is another schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • 17a is another schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • FIG. 17b is a schematic structural diagram of yet another apparatus for displaying an interface provided by an embodiment of the present application.
  • FIG. 18 is another schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the embodiments of the present application provide an interface display method and related equipment.
  • the terminal device shakes, it is automatically adjusted to a more prominent display method based on the current display mode, so as to reduce the difficulty for users to clearly see the information on the display interface. difficulty, thereby improving the accuracy of user interaction with the terminal device.
  • the embodiments of the present application can be applied to application scenarios in which various terminal devices are in a shaking state for interface display.
  • the terminal device performs a navigation task through a display interface, and the terminal device displays a navigation interface in a shaking state.
  • the terminal device performs the task of sending text information through the display interface, and the terminal device will display the text information sending interface in a shaking state, etc.
  • the application scenarios of the embodiments of the present application are not exhaustively enumerated. In the aforementioned scenarios, there is a problem that it is difficult for the user to clearly see the information on the display interface.
  • FIG. 1 is a structure of the terminal device provided by the embodiment of the present application. Schematic.
  • the terminal device 10 may include a processor 101 , a monitoring module 102 , an output module 103 and an input module 104 .
  • the processor 101 may specifically be represented as a processor or a processing circuit in a terminal device.
  • the monitoring module 102 is configured with a sensor for measuring the shaking of the terminal device, as an example, such as a gyroscope, a gravity sensor, an acceleration sensor, or other types of motion sensors; as another example, for example, through an image acquisition device on the terminal device The collected images are used to compare the front and back motion states to monitor the shaking of the terminal equipment.
  • the output module 103 and the input module 104 include interface components in the display interface of the terminal device, and the output module 103 includes interface components used for information output in the display interface, as examples, such as text components, icons, buttons , card component or text-to-speech output component, etc.
  • the input module 104 includes interface components used for information input in the display interface, such as an input box, a voice input component, a button or a button's sensing area (touch target size), etc., wherein the button's sensing area may also be referred to as The hot area of the button or the touchable area of the button, etc.
  • the actual terminal device may also include more or less sensors or components, and the foregoing examples are only for the convenience of understanding the present solution, and are not intended to limit the present solution.
  • the processor 101 monitors the shaking of the terminal device through the monitoring module 102 .
  • the processor 101 also converts at least one first interface component in the current display interface of the terminal device from the first display mode to the second display mode when the terminal device shakes.
  • the second display mode includes highlighting the first interface component on the basis of the first display mode; the at least one first interface component includes interface components in the output module 103 and the input module 104, and the type of the first interface component is Including any one or more of the following: text, icons, buttons, cards, input boxes, the perception area of buttons, or other types of interface components, etc.
  • FIG. 2 is a schematic flowchart of the display method of the interface provided by the embodiment of the present application, and the display method of the interface provided by the embodiment of the present application.
  • Can include:
  • the terminal device acquires shaking parameters of the terminal device.
  • the terminal device can monitor the shaking situation of the terminal device in real time through the monitoring module, and when it is found that the terminal device changes from a static state to a shaking state, it starts to collect and generate terminal device shaking parameters.
  • the execution body may be replaced by a processor in the terminal device.
  • the shaking parameter of the terminal device is used to indicate the shaking situation of the terminal device, and the shaking parameter of the terminal device includes shaking duration and/or shaking intensity. Further, the shaking intensity of the terminal equipment may be determined according to the shaking amplitude of the terminal equipment and/or the shaking frequency of the terminal equipment.
  • the shaking intensity of the terminal equipment is the shaking amplitude of the terminal equipment, or the shaking strength of the terminal equipment is the shaking frequency of the terminal equipment, or, the shaking strength of the terminal equipment includes the shaking amplitude and shaking frequency of the terminal equipment.
  • the shaking intensity of the device is a new characterization dimension determined according to the shaking amplitude and shaking frequency of the terminal device. Further, both the shaking amplitude and the shaking trajectory can be calculated according to the monitored shaking trajectory of the terminal device.
  • the longer the shaking duration, the larger the shaking amplitude, and the higher the shaking frequency the more difficult it is for the user to see the content in the display interface, and it is more difficult for the user to interact with the display interface.
  • the three shaking parameters of frequency can fit the actual situation, so as to truly reflect whether the display mode of the interface needs to be adjusted.
  • the terminal device determines whether the shaking duration has reached the first preset duration. If the shaking duration reaches the first preset duration, proceed to step 203; if the shaking duration does not reach the first preset duration, proceed to step 201.
  • the monitoring module can obtain the shaking duration of the terminal device in real time, and determine whether the shaking duration of the terminal device reaches the first preset duration. If the duration is not reached, go to step 203; if the first preset duration is not reached, go to step 201 again, and continue to monitor and update the shaking duration of the terminal device in real time.
  • the shaking duration of the terminal device refers to the duration from the terminal device entering the shaking state until it re-enters the stationary state. After the terminal device enters the stationary state, the shaking duration needs to be recalculated.
  • the first preset duration may be 5 seconds, 6 seconds, 8 seconds, 10 seconds, 20 seconds, or other durations, etc., which are not limited here.
  • the terminal device determines whether the shaking intensity reaches the preset intensity, and if it reaches the preset intensity, then goes to step 204; if it does not reach the preset intensity, goes to step 201.
  • the shaking amplitude and/or shaking frequency of the terminal equipment can be acquired in real time through the monitoring module, and then the current shaking intensity of the terminal equipment can be generated in real time.
  • the preset strength may be that the shaking amplitude is greater than or equal to 2 centimeters, 3 centimeters, 5 centimeters, or other shaking amplitudes. If the shaking intensity of the terminal device refers to the shaking frequency, the preset intensity can be that the number of shaking per unit time is greater than the preset number of times. It is equal to 6 times, and the number of shaking in 8 seconds is greater than 10 times, etc.
  • the shaking intensity of the terminal equipment is comprehensively determined according to the shaking amplitude and shaking frequency of the terminal equipment
  • the preset strength can be determined according to the calculation rule of shaking strength on the terminal equipment.
  • the shaking intensity may be the sum of shaking amplitude and shaking frequency; as another example, for example, shaking intensity may be the weighted summation of shaking amplitude and shaking frequency; as another example, for example, shaking intensity may be shaking amplitude and shaking
  • the frequencies are weighted and summed, and then normalized, etc., which are not limited here.
  • step 202 and step 203 are both optional steps, and the purpose of performing step 202 and/or step 203 by the terminal device is to determine whether the first preset condition is satisfied according to the shaking parameter.
  • the first preset condition refers to The trigger condition for transitioning the presentation mode of the UI component. If only step 202 is performed and step 203 is not performed, the first preset condition is that the shaking duration of the terminal device reaches the first preset duration. If only step 203 is performed and step 202 is not performed, the first preset condition is that the shaking intensity of the terminal device reaches the preset intensity.
  • the first preset condition is that the shaking duration of the terminal device reaches the first preset duration and the shaking intensity of the terminal device reaches the preset strength.
  • the terminal device may also set other types of first preset conditions.
  • the first preset condition is that the shaking frequency of the terminal equipment reaches the preset frequency, or the first preset condition is the shaking duration of the terminal equipment. Reaching the preset duration and the shaking amplitude reaching the preset amplitude, etc., the setting of the specific first preset condition can be combined with the specific application product, which is not limited here.
  • the first preset condition is deemed to be met, that is, the triggering of the display mode of the conversion interface component is reached.
  • a first icon may be preset on the terminal device, and the first icon is used to enable and disable the presentation mode function of the conversion interface component provided in the embodiment of the present application. If the first icon is in the on state, the terminal device starts to execute step 201, and when the terminal device determines that the first preset condition is satisfied according to the shaking parameter of the terminal device, it triggers to enter the second display mode. If the first icon is in an off state, the terminal device will not execute the interface display method provided by the embodiment of the present application; or, the terminal device will still execute steps 201 to 203, when the terminal device determines according to the shaking parameters of the terminal device that the first preset is satisfied.
  • a query prompt whether to open the second display mode, after receiving the user's confirmation operation to open the second display mode, then enter step 204, if the user's cancel operation to open the second display mode is received. , the current display state of the display interface is maintained.
  • the query prompt may be in the form of text, or may be in the form of voice output, or the like. As an example, for example, the text message "May I ask whether to enlarge the interface components" is output through the display interface.
  • the terminal device is not pre-configured with the first icon, and the terminal device always executes steps 201 to 203.
  • the terminal device can output whether the After receiving the user's confirmation operation to enable the second display mode, the query prompt for the second display mode goes to step 204. If the user's cancel operation for enabling the second display mode is received, the current display state of the display interface is maintained.
  • the terminal device acquires the first interface type of the display interface.
  • the terminal device may also acquire the first interface type of the display interface.
  • the type of the presentation interface is determined by the types of tasks performed through the presentation interface.
  • the interface type of the display interface may be a call, screen lock, music, navigation, weather forecast, home interface or instant messaging, etc., which is not limited here.
  • the interface type of the application program can also be classified according to the task type performed by the application program.
  • the terminal device acquires the conversion rule.
  • conversion rules may be pre-configured on the terminal device. After the terminal device determines that the first interface component in the display interface needs to be converted from the first display mode to the second display mode, the terminal device may Get transformation rules from the data.
  • the conversion rule is a conversion rule for converting the first interface component in the display interface of the terminal device from the first display mode to the second display mode; the second display mode is based on the first display mode. Make a prominent display.
  • the type of a first interface component may specifically represent any of the following: text, icon, button, card, input box, button's sensing area, or other types of interface components.
  • the first interface component may be the answer/hang up button of the call interface; as another example, for example, the first interface component may be the sensing area of the answer/hang up button of the call interface;
  • the interface component is the time component of the lock screen interface, and the type of the time component is an icon, etc., which will not be exhaustive here. Since a display interface may include one or more first interface components, the conversion rule indicates which display modes of the first interface components in the current display interface need to be adjusted, and what is the conversion method for highlighting each first interface component .
  • the manner of highlighting the first interface component includes any one or more of the following: enlarging the first interface component in the first display mode; displaying the first interface component The first interface component in the mode is bolded; on the basis of the first display mode, the contrast between the first interface component and the interface background is improved; or, the first interface component is set as a floating button.
  • first interface component In the embodiments of the present application, several specific types of the first interface component are provided, as well as multiple ways to highlight the first interface component, which expands the application scenarios of the solution and improves the implementation flexibility of the solution.
  • the conversion rule is further used to indicate which interface components in the display interface are the third interface components, and to reduce or hide the third interface components on the display interface.
  • the first interface component is a component with high importance in the display interface
  • the third interface component is a component with low importance in the display interface.
  • the third interface component may be an interface component in the status bar; as another example, for example, the third interface component may be read information in an instant messaging application, etc., which will not be exhaustive here.
  • the conversion rule when there is a text-type interface component in at least one of the first interface components, the conversion rule further includes adding a second interface component on the basis of the first display mode, and the second interface component is used to trigger the conversion of the first interface.
  • the text in the component is converted to speech output.
  • N types of conversion rules may be pre-configured on the terminal device, and one type of conversion rule corresponds to one type of display interface.
  • step 205 may include: the terminal device obtains the first conversion rule corresponding to the first interface type according to the acquisition.
  • the conversion rules corresponding to different types of display interfaces may be different, and the differences between the conversion rules corresponding to different types of display interfaces can be described as follows:
  • the first interface components included in the display interface are different or not completely the same, that is, the different types of display interfaces need to be highlighted. Interface components are different or not identical.
  • the first interface components that need to be converted include answer/hang up buttons, caller avatar (icon-based price), caller information (text-based components), or answer/hang up
  • the perception area of the button when the display interface type is lock screen, the first interface components that need to be converted include the unlock button, the perception area of the unlock button, and the time component (icon component or text component), etc.
  • the conversion methods used for the first interface component in different types of display interfaces are different or not completely the same.
  • the first interface component that needs to be converted is the lyrics in the display interface, and the way to convert the lyrics from the first display mode to the second display mode can be in the first display mode. Enlarge and bold the lyrics on the basis of the display interface; when the type of the display interface is instant communication, the first interface component that needs to be converted is the text information sent by the two interacting parties.
  • the contrast between the text information sent by both parties and the interface background should be understood that the foregoing examples are only for the convenience of understanding this solution, and are not intended to limit this solution.
  • the conversion ratios used for the same type of first interface components in different types of display interfaces are different.
  • the magnification ratio for enlarging the text information sent by both parties is 100%; when the type of the display interface is lock screen, the text in the lock screen interface is enlarged.
  • the magnification ratio can be 50%. It should be understood that the above examples are only for the convenience of this solution and are not used to limit this solution.
  • the conversion methods used in different types of display interfaces and the interface components that need to be highlighted may be different, and each type of display interface has its own customized conversion rules, so as to improve the interface effect after conversion; in addition, Several differences in display rules between different types of display interfaces are listed, which enhances the implementation flexibility of this solution.
  • the above table 1 shows the interface components that need to be converted in the display interface when the interface types of the display interface are call, lock screen, instant messaging, music and navigation, and the conversion method, It should be understood that the conversion rules in the actual situation also include more or less types, and the conversion methods may also include information such as enlarged ratios or bolded ratios. plan.
  • the shaking intensity of the terminal device may be graded, and the conversion rules corresponding to different levels of shaking intensity may be different.
  • the different levels of shaking intensity may specifically be a first-level shaking intensity, a second-level shaking intensity, or a third-level shaking intensity, etc., and may also be a high-level shaking intensity, an intermediate-level shaking intensity, and a low-level shaking intensity.
  • step 205 may include: the terminal device determines a shaking level according to the shaking intensity, and acquires a second conversion rule corresponding to the shaking level.
  • the shaking intensity of the terminal device is determined according to the shaking amplitude of the terminal device and/or the shaking frequency of the terminal device. If the shaking intensity of the terminal device is represented by the shaking amplitude of the terminal device, at least two shaking amplitude ranges may be preset on the terminal device, corresponding to at least two different shaking intensity levels respectively. If the shaking intensity of the terminal equipment is the shaking frequency of the terminal equipment, at least two shaking frequency ranges may be preset on the terminal equipment, corresponding to at least two different shaking strength levels respectively. If the shaking intensity of the terminal device is a new representation dimension determined according to the shaking amplitude and shaking frequency of the terminal device, at least two shaking intensity ranges may be preset on the terminal device, corresponding to at least two different shaking intensity levels respectively.
  • the difference between the conversion rules corresponding to different levels of shaking intensity may include one or more of the following five types: the enlargement ratio, the bold ratio, or the contrast between the first interface component and the interface background are different, and/or , the reduction ratio of the third interface component is different, and/or the conversion mode of the third interface component is converted from reduction to hiding, etc.
  • step 205 may include: the terminal device determines a shaking level according to the shaking intensity, and obtains a corresponding third conversion rule according to the first interface type of the display interface and the shaking level. That is, the classification basis of different conversion rules includes two dimensions: interface type and shaking level.
  • Table 2 shows the conversion rules in the form of a table.
  • the terminal device is set with a first-level shaking level and a second-level shaking level as an example. The greater the shaking intensity, the higher the shaking level.
  • the above table 2 shows that when the interface types of the display interface are call, screen lock, instant messaging, music and navigation, under different levels of shaking intensity, the display interface needs to be converted.
  • the conversion rules in actual situations also include more or less types, and the above Table 2 is only an example, and is not used to limit this solution.
  • the terminal device may also automatically identify which components in the displayed interface are the first interface component and/or the third interface component. Specifically, after acquiring the identification information of the display interface, the terminal device can acquire the historical operation data of the current interface, and then can acquire the historical usage times of each interface component in the display interface, and can make the usage frequency in the display interface reach the first
  • the interface component with the preset threshold is determined as the first interface component, and the interface component whose usage frequency in the display interface is less than or equal to the second preset threshold may be determined as the third interface component.
  • the first preset threshold may be more than 5 times of use in one week, more than 10 times of use in one week, more than 2 times of use in one day, more than 10 times of use in one month, etc.
  • the second preset threshold may be The number of times of use in a week is not more than 1 time, the number of times of use in a day is not more than 0 times, etc.
  • the specific values of the first preset threshold and the second preset threshold can be determined according to the actual situation, which is not limited here.
  • the terminal device can determine which of all the interface components included in the display interface are the first interface components and which are the third interface components, and for each first interface component and each interface component. How the third interface component performs display mode conversion. However, there may be interface components in the display interface that are not included in the conversion rules, or if the terminal device needs to distinguish important interface components and unimportant interface components in the display interface after acquiring the pre-stored conversion rules, the terminal The device may also perform the selection operation of the first interface component and the third interface component on the aforementioned at least one interface component according to the historical usage times of the interface component not mentioned in the pre-stored conversion rule.
  • the first interface component is an interface component that needs to be highlighted, and an interface component whose usage frequency reaches the first preset threshold is determined as the first interface component.
  • the higher the usage frequency the higher the demand for highlighted display.
  • the display method provided by the embodiment of the present application is more in line with the personal habits of the user, and the user stickiness of the solution is improved.
  • the terminal device converts the first interface component in the display interface from the first display mode to the second display mode.
  • the terminal device when it is determined that the first preset condition is satisfied according to the shaking parameter of the terminal device, the terminal device converts the first interface component in the display interface from the first display mode to the second display mode.
  • the second presentation mode includes highlighting the first interface component.
  • the display interface for performing mode conversion in the embodiment of the present application includes the current display interface, or one or more interfaces to be displayed next. In other implementation manners, the display interface for performing the mode conversion does not include the current display interface, but includes one or more interfaces to be displayed next. In other implementation manners, the display interface for performing the mode conversion may be a full-screen interface of the terminal device, or may not be a full-screen interface of the terminal device, but only part of the components or part of the content displayed on the screen.
  • a conversion rule is preconfigured in the terminal device, the conversion rule indicates which display modes of the first interface components in the current display interface need to be adjusted, and the conversion method for highlighting each first interface component is as follows: what. Then, the terminal device can directly convert the first interface component in the presentation interface from the first presentation mode to the second presentation mode according to the pre-stored conversion rule.
  • the conversion rule please refer to the description in step 205 .
  • the interface display method provided by the embodiment of the present application may further include: on the basis of the first display mode, reducing or hiding one or more third interface components in the display interface; Interface components are different interface components.
  • the display interface is music
  • the music interface includes a button for triggering entry into the comment area of the song.
  • the aforementioned button can be determined to be a third interface component, and the aforementioned button can be reduced or hidden, which is not done here.
  • the third interface component in the display interface is reduced or hidden, that is, the first interface component in the display interface is further highlighted, so as to reduce or hide the third interface component in the display interface.
  • the user is assisted to see the first interface component in the interface more clearly, thereby facilitating the interaction between the user and the first interface component.
  • step 206 may also include: when there is a text-type interface component in at least one of the first interface components, adding one or more second interface components on the basis of the first display mode, and the second interface components are used to trigger the display of the first interface component.
  • Text in an interface component is converted to speech output.
  • the type of the second interface component may be a button.
  • the type of the display interface is instant messaging, and the display interface displays multiple pieces of interaction information sent by both parties, then a second interface component can be added next to each piece of interaction information.
  • the text in the interactive information is converted into voice output.
  • the type of the display interface is a lock screen, and the time information of text type is displayed on the lock screen, then a second interface component can be added next to the time information.
  • the time information Converting to voice output, etc. will not be exhaustive here.
  • the user can trigger the conversion of the text in the first interface component into voice output through the second interface component, providing a multi-modal interaction mode, so that the user can obtain information through voice when it is inconvenient to read information, further reducing the difficulty for users to receive information through the display interface.
  • step 206 may include: the terminal device converts the display interface of the terminal device according to the first conversion rule. Convert from the first presentation mode to the second presentation mode.
  • the first conversion rule please refer to the description in step 205 .
  • the terminal device is pre-configured with various conversion rules corresponding to different types of display interfaces, the type of the interface is determined according to the type of tasks performed by the display interface, and then the corresponding conversion is selected according to the interface type of the current display interface Rules, that is, each type of display interface has its own customized conversion rules to improve the interface effect after conversion, thereby enhancing the user viscosity of this solution.
  • step 206 may include: the terminal device converts the display interface of the terminal device from the first display mode to the second display mode according to the second conversion rule.
  • the second conversion rule please refer to the description in step 205 .
  • the shaking intensity of the terminal device is graded, and the conversion rules corresponding to different levels of shaking intensity are different, which is beneficial to The more refined management of the interface components of the display interface makes the final display state more suitable for the user's usage habits, so as to improve the user viscosity of this solution.
  • the terminal device can also select at least one first interface component from the display interface according to the historical usage frequency of each interface component in the display interface, and based on the first display mode, Components are highlighted.
  • the manner of highlighting the first interface component includes any one or more of the following: enlarging the first interface component in the first display mode; The first interface component is bolded; on the basis of the first display mode, the contrast between the first interface component and the interface background is improved; the first interface component is set as a floating button.
  • Different first interface components may adopt the same prominent display manner, or may adopt different prominent display manners.
  • the terminal device may also select at least one third interface component from the display interface according to the historical usage frequency of each interface component in the display interface, and reduce the size of the first interface component on the basis of the first display mode. or hide processing.
  • FIGS. 3 to 13 are schematic diagrams of eleven interfaces of the second display mode of the first interface component in the interface display method provided by the embodiment of the present application. 3 to FIG. 13 all take as an example that different levels of shaking intensity correspond to different conversion rules.
  • FIG. 3 and FIG. 4 show the conversion situation of the display interface when the type of the display interface is a call.
  • FIG. 3 includes two sub-schematic diagrams, left and right. The left sub-schematic diagram of FIG. 3 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 3 includes two sub-schematic diagrams, left and right. The left sub-schematic diagram of FIG. 3 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 3 includes two sub-schematic diagrams, left and right. The left sub-schematic diagram
  • FIG. 4 represents the display situation of each interface component in the display interface when the terminal device has a secondary shaking intensity. Comparing the left sub-schematic diagram of FIG. 3 and the right sub-schematic diagram of FIG. 3, it can be seen that when the terminal device is in the first-level shaking intensity, the caller’s avatar (that is, A1 in FIG. 3) in the display interface is enlarged and displayed; The information (that is, A2 in Figure 3) is enlarged and displayed, although it is not shown in Figure 3, the contrast between the caller information and the background interface is also increased by adjusting the color of the caller information in Figure 3; The shortcut buttons in the interface (that is, A3 in FIG. 3 ) are enlarged and displayed; the answer/hangup buttons in the presentation interface (that is, A4 in FIG.
  • FIG. 5 and FIG. 6 both show the transition of the display interface when the type of the display interface is a lock screen interface.
  • FIG. 5 includes two sub-schematic diagrams, left and right.
  • the left sub-schematic diagram of FIG. 5 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 6 represents the display situation of each interface component in the display interface when the terminal device has a secondary shaking intensity. Comparing the left sub-schematic diagram of FIG. 5 and the right sub-schematic diagram of FIG. 5, it can be seen that when the terminal device is in the first-level shaking intensity, the time component (that is, B1 in FIG.
  • FIG. 7 and FIG. 8 show the conversion of the display interface when the type of the display interface is instant messaging.
  • FIG. 7 includes two sub-schematic diagrams, left and right.
  • the left sub-schematic diagram of FIG. 7 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 8 represents the display situation of each interface component in the display interface when the terminal device has a secondary shaking intensity. Comparing the left sub-schematic diagram of FIG. 7 and the right sub-schematic diagram of FIG. 7, it can be seen that when the terminal device is at the first-level shaking intensity, the top title text (ie, C1 in FIG.
  • the interaction information (that is, C2 in Figure 7) is enlarged and displayed, and the interaction information of the text type in the interaction information is also displayed in bold; a second interface component (That is, C3 in Fig. 7), when the user clicks C3, the aforementioned text information is converted into sound information output; the component of voice input in the display interface is displayed by the floating button (that is, C4 in Fig. 7), and the text input box is displayed. , a send button, an expression input button and other interactive buttons (ie, C5 in FIG. 7 ) for enlarged display. Comparing the right sub-schematic diagram of Fig. 7 with Fig.
  • the top title text in the display interface (that is, C1 in Fig. 8) is further enlarged and displayed; the interactive information between users in the display interface is displayed. (ie, C2 in Figure 8) is further enlarged and displayed; the second interface component (ie, C3 in Figure 8) is enlarged and displayed; the floating button (ie, C4 in Figure 8) is enlarged and displayed, and the text Interactive buttons such as the input box, the send button, and the expression input button (ie, C5 in FIG. 8 ) are further enlarged and displayed.
  • FIG. 9 and FIG. 10 show the transition of the display interface when the type of the display interface is music.
  • FIG. 9 includes two sub-schematic diagrams, left and right.
  • the left sub-schematic diagram of FIG. 9 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 10 represents the display situation of each interface component in the display interface when the terminal device has a secondary shaking intensity. Comparing the left sub-schematic diagram of FIG. 9 and the right sub-schematic diagram of FIG. 9, it can be seen that when the terminal device is in the first-level shaking intensity, the top button (that is, D1 in FIG.
  • FIG. 11 and FIG. 12 show the transition of the display interface when the type of the display interface is a navigation interface.
  • FIG. 11 includes two sub-schematic diagrams, left and right.
  • the left sub-schematic diagram of FIG. 11 represents the display situation of each interface component when the display interface is in the first display mode; the right sub-schematic diagram of FIG. Shows the display of each interface component in the interface.
  • FIG. 12 represents the display situation of each interface component in the display interface when the terminal device has a secondary shaking intensity. Comparing the left sub-schematic diagram of FIG. 11 and the right sub-schematic diagram of FIG. 11 , it can be seen that when the terminal device is in the first-level shaking intensity, the top navigation text (ie, E1 in FIG.
  • FIG. 13 includes a left sub-schematic diagram, a neutron schematic diagram and a right sub-schematic diagram, and all shown in FIG. 13 are in the case where the type of the display interface is a call interface.
  • the left sub-schematic diagram in FIG. 13 represents the display situation of each interface component when the display interface is in the first display mode; the neutron schematic diagram in FIG. 13 represents the display situation of the display interface when the terminal device is in the first-level shaking intensity.
  • the sub-schematic diagram is similar to the right sub-schematic diagram in FIG. 3 , except that the neutron schematic diagram in FIG. 13 also shows F1 and F2, where F1 represents the sensing area of the answer button, and F2 represents the sensing area of the hang-up button.
  • the right sub-schematic diagram of FIG. 13 represents the display situation of the display interface when the terminal device is in the second-level shaking intensity. Comparing the neutron schematic diagram of FIG. 13 and the right sub-schematic diagram of FIG. 13 , the sensing area of the answer button (that is, the F3) and the sensing area of the hang up button (ie, F4 in Figure 13) are enlarged.
  • the terminal device replaces the animation effect when switching between different display interfaces from the first switching mode to the second switching mode.
  • the terminal device may also replace the animation effect when switching between different display interfaces from the first switching method to the second switching method.
  • the second switching method is to perform one or more of the following operations on the basis of the first switching method: reducing the animation duration, changing the animation curve, and reducing the transformation rate.
  • the first switching method is that the animation curve of the application's sliding interface is "Z”
  • the second switching method is that the application enters the interface. Fade in and out, thus changing the animation curve of the application as it enters the interface.
  • the first switching method is replaced with the second switching method, the animation effect is simplified during the user's movement, and the degree of dizziness of the user to the animation effect is reduced.
  • FIG. 14 shows an interface schematic diagram of the first switching mode in the interface display method provided by the embodiment of the present application
  • FIG. 15 shows the implementation of the present application.
  • Fig. 14 includes a left sub-schematic diagram, a neutron schematic diagram and a right sub-schematic diagram.
  • the left sub-schematic diagram of Fig. 14 shows the main interface of the terminal device.
  • the application program "Information" is triggered to open , triggering into the neutron schematic of FIG. 14 and the right sub-schematic of FIG. 14 .
  • the neutron schematic diagram of FIG. 14 and the right sub-schematic diagram of FIG. 14 show the process of sliding entry of the display interface of the application "information", that is, an example of the first switching mode is sliding entry.
  • Fig. 15 is described in conjunction with Fig. 14.
  • Fig. 15 includes a left sub-schematic diagram and a right sub-schematic diagram.
  • the application program "Information” is triggered to open, and the left sub-diagram of Fig. 15 is triggered.
  • the left sub-schematic diagram of FIG. 15 and the right sub-schematic diagram of FIG. 15 show that the display interface of the application "Information” realizes the interface switching by means of "fade in", that is, an example of the second switching method is "fade in” .
  • FIG. 14 and FIG. 15 are only to facilitate understanding of the present solution, and are not intended to limit the present solution.
  • steps 202 and 203 are optional steps. If steps 202 and 203 are not executed, that is, the terminal device does not have the first preset condition set, the terminal device determines the terminal device according to the shaking parameters obtained in step 201. When the device is in a shaking state, step 204 may be directly entered, that is, the subsequent process of converting the display mode of the first interface component in the display interface may be directly entered. If step 202 and/or step 203 is executed, that is, the terminal device is set with the first preset condition, only when it is determined that the first preset condition is satisfied according to the shaking parameters of the terminal device, will the display interface be triggered to display the first preset condition.
  • the first interface component is converted from the first display mode to the second display mode, that is, only when it is determined that the shaking of the terminal device satisfies the first preset condition, will the first interface component of the display interface be triggered to be displayed from the first interface component.
  • the display mode is converted to the second display mode, because the slight shaking may not affect the interaction between the user and the display interface of the terminal device. After adding the first preset condition, it is beneficial to avoid unnecessary display modes. conversion to avoid wasting computer resources.
  • the terminal device acquires status information.
  • the terminal device may also acquire status information of the terminal device in real time.
  • the state information indicates an interface display state or a motion state of the terminal device.
  • the interface display state of the terminal device may be acquired by a processor on the terminal device.
  • the terminal device determines whether the second preset condition is met according to the status information, and if the second preset condition is met, proceed to step 210 ; if the second preset condition is not met, proceed to step 208 .
  • the terminal device may determine whether the second preset condition is met, and if the second preset condition is met, the process proceeds to step 210; if the second preset condition is not met, the Proceed to step 208 to continue to acquire the status information of the terminal device.
  • the second preset condition may be that the interface of the terminal device enters an on-screen state.
  • the second preset condition may be that the duration that the terminal device is in a stationary state reaches the second preset duration, and the length of the second preset duration may be 10 seconds, 20 seconds, 30 seconds, or other durations, which are not limited here.
  • the second preset condition is that the duration of time when the shaking intensity of the terminal device is lower than the preset intensity reaches a third preset duration, and the value of the third preset duration may be 20 seconds, 30 seconds, 40 seconds, or other durations, etc. There is no limitation here.
  • the terminal device converts the first interface component in the presentation interface from the second presentation mode to the first presentation mode.
  • the terminal device when it is determined that the second preset condition is satisfied according to the state information of the terminal device, the terminal device re-converts at least one first interface component in the display interface from the second display mode to the first interface In the presentation mode, the terminal device can re-enter step 201 .
  • the second preset condition is that the interface of the terminal device enters the screen-off state, when the user reopens the screen, it will be found that the display mode of the first interface component in the display interface has been re-converted to the first display mode.
  • the method ensures the integrity of the solution; the terminal device can automatically trigger the conversion from the second display mode to the first display mode, and the solution is convenient and beneficial to improve user viscosity.
  • the terminal device may output query information to ask the user whether to re-convert the first interface component from the second presentation mode to the first presentation mode.
  • the terminal device is preconfigured with a first icon
  • the user can use the first icon to turn off the display mode function of the conversion interface component provided in the embodiment of the present application, thereby realizing that the first interface component in the display interface is replaced by the first interface component.
  • the second display mode is converted into the first display mode, and so on.
  • the first interface component in the display interface can also be re-converted from the second display mode to the first display mode by other means, which is not exhaustive here.
  • the display mode of the first interface component when it is determined according to the shaking parameter that the first preset condition is satisfied, the display mode of the first interface component is automatically converted, and the display mode is further highlighted on the basis of the current display mode, so as to reduce the user's ability to see the display interface clearly
  • the conversion operation of the display mode of the interface components can be triggered, and the operation is simple, which is conducive to increasing user stickiness .
  • FIG. 16a is a schematic structural diagram of an interface display apparatus provided by an embodiment of the present application.
  • the interface display apparatus 1600 includes: a conversion module 1601, configured to convert the first interface component in the display interface from the first display mode to the second display mode when the terminal device shakes, and the second display mode includes converting the first interface component to the first interface component. Make a prominent display.
  • FIG. 16b is a schematic structural diagram of an interface display apparatus provided by an embodiment of the present application.
  • the interface display apparatus 1600 further includes: an acquisition module 1602, which is used to acquire the shaking parameters of the terminal equipment, and the shaking parameters are used to indicate the shaking situation of the terminal equipment; In the case of the display interface, the first interface component in the display interface is converted from the first display mode to the second display mode.
  • the type of the first interface component includes any one or more of the following: text, icon, button, card, input box, and the perception area of the button.
  • the conversion module 1601 is specifically configured to perform any one or more of the following operations: enlarge the first interface component in the first display mode; make the first interface component in the first display mode bold; On the basis of the mode, the contrast between the first interface component and the interface background is improved; or, the first interface component is set as a floating button.
  • the conversion module 1601 is further configured to add a second interface component on the basis of the first display mode when there is a text-type interface component in at least one of the first interface components, and the second interface component uses For triggering, the text in the first interface component is converted into a voice output.
  • the conversion module 1601 is further configured to reduce or hide a third interface component in the display interface based on the first display mode, where the third interface component is different from the first interface component interface components.
  • the conversion module 1601 is further configured to switch the animation effect when the terminal device switches between different display interfaces from the first preset condition when the first preset condition is satisfied according to the shaking parameter of the terminal device.
  • the second switching method is replaced by the second switching method, the shaking parameter is used to indicate the shaking situation of the terminal device, and the second switching method is to perform one or more of the following operations on the basis of the first switching method: reducing the animation duration, changing the animation curve and reduce the conversion rate.
  • the first interface components included in the display interface are different or not identical, and the type of the display interface Determined by the types of tasks performed through the presentation interface; and/or, the conversion methods used for the first interface component in different types of presentation interfaces are different or not identical; and/or, when different types of presentation interfaces
  • the conversion ratios used for the same type of first interface components in different types of display interfaces are different.
  • the interface display device 1600 further includes: an acquisition module 1602, configured to acquire the first interface type of the display interface, and acquire the first conversion rule corresponding to the first interface type,
  • the type of the display interface is determined by the type of tasks performed through the display interface;
  • the conversion module 1601 is specifically configured to convert the first interface component from the first display mode to the second display mode according to the first conversion rule.
  • the display interface of the terminal device includes at least one first interface component, and the at least one first interface component includes an interface component whose usage frequency reaches the first preset threshold in the display interface of the terminal device.
  • the shaking parameters of the terminal device include shaking duration and/or shaking intensity
  • the shaking intensity of the terminal equipment is determined according to the shaking amplitude of the terminal equipment and/or the shaking frequency of the terminal equipment.
  • the conversion module 1601 is specifically configured to convert the first interface component from the first display mode when the shaking duration of the terminal device reaches a preset duration and the shaking intensity of the terminal device reaches a preset intensity for the second display mode.
  • the obtaining module 1602 is further configured to obtain a second conversion rule corresponding to the shaking intensity of the terminal device, wherein the conversion rules corresponding to different levels of shaking intensity are different; the conversion module 1601, specifically configured to convert the first interface component from the first presentation mode to the second presentation mode according to the second conversion rule.
  • the obtaining module 1602 is further configured to obtain the state information of the terminal device, the state information indicates the interface display state or the motion state of the terminal device; In the case of a preset condition, the first interface component is converted from the second display mode to the first display mode.
  • FIG. 17a is a schematic structural diagram of the interface display device provided by the embodiment of the present application.
  • the interface display apparatus 1700 includes: a conversion module 1701, configured to convert at least one first interface component in the display interface from the first display mode to the second display mode when the terminal device shakes.
  • the second display mode includes adding a second interface component on the basis of the first display mode, and the second interface component is used to trigger the conversion of text into voice output .
  • FIG. 17b is a schematic structural diagram of an interface display apparatus provided by an embodiment of the present application.
  • the interface display apparatus 1700 further includes: an acquisition module 1702, which is used to acquire the shaking parameters of the terminal equipment, and the shaking parameters are used to indicate the shaking situation of the terminal equipment;
  • the first interface component in the display interface is converted from the first display mode to the second display mode.
  • FIG. 18 is a schematic structural diagram of the terminal device provided by the embodiment of the present application.
  • the terminal device 10 may specifically be represented as a mobile phone, a tablet, a notebook computer, a smart wearable device, etc., which is not limited here.
  • the terminal device 10 described in the embodiment corresponding to FIG. 2 to FIG. 15 may be deployed on the terminal device 10 to implement the function of the interface display apparatus 1600 in the embodiment corresponding to FIG. 16a or FIG. 16b .
  • it is used to implement the function of the display apparatus 1700 of the interface in the embodiment corresponding to FIG. 17a or FIG. 17b.
  • the terminal device 10 includes: a receiver 1801, a transmitter 1802, a processor 101 and a memory 1803 (wherein the number of processors 101 in the terminal device 10 may be one or more, and one processor is taken as an example in FIG. 18 ) , wherein the processor 101 may include an application processor 1011 and a communication processor 1012 .
  • the receiver 1801, the transmitter 1802, the processor 101 and the memory 1803 may be connected by a bus or otherwise.
  • Memory 1803 may include read-only memory and random access memory, and provides instructions and data to processor 101 .
  • a portion of memory 1803 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 1803 stores processors and operation instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
  • the processor 101 controls the operation of the terminal device.
  • various components of the terminal device are coupled together through a bus system, where the bus system may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus.
  • the various buses are referred to as bus systems in the figures.
  • the methods disclosed in the above embodiments of the present application may be applied to the processor 101 or implemented by the processor 101 .
  • the processor 101 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 101 or an instruction in the form of software.
  • the above-mentioned processor 101 can be a general-purpose processor, a digital signal processor (digital signal processing, DSP), a microprocessor or a microcontroller, and may further include an application specific integrated circuit (ASIC), a field programmable Field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processing
  • ASIC application specific integrated circuit
  • FPGA field programmable Field-programmable gate array
  • the processor 101 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory 1803, and the processor 101 reads the information in the memory 1803, and completes the steps of the above method in combination with its hardware.
  • the receiver 1801 can be used to receive input digital or character information, and generate signal input related to related settings and function control of the terminal device.
  • the transmitter 1802 can be used to output digital or character information through the first interface; the transmitter 1802 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 1802 can also include a display device such as a display screen .
  • the application processor 1011 is configured to implement the functions of the terminal device in the embodiments corresponding to FIG. 2 to FIG. 15 .
  • the application processor 1011 performing the functions of the terminal device in the embodiments corresponding to FIG. 2 to FIG. 15 and the beneficial effects brought about, reference may be made to the descriptions in the respective method embodiments corresponding to FIG. 2 to FIG. 15 , here I won't repeat them one by one.
  • the embodiments of the present application also provide a computer program or computer program product, when the computer program or computer program product is run on a computer, the computer is made to execute the method described by the terminal device in the aforementioned embodiments shown in FIG. 2 to FIG. 15 . steps to perform.
  • An embodiment of the present application further provides a circuit system, where the circuit system includes a processing circuit, and the processing circuit is configured to execute the steps performed by the terminal device in the methods described in the foregoing embodiments shown in FIG. 2 to FIG. 15 .
  • the display device or terminal device of the interface provided by the embodiment of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pipe feet or circuits, etc.
  • the processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip executes the steps performed by the terminal device in the methods described in the foregoing embodiments shown in FIG. 2 to FIG. 15 .
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the method in the first aspect.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
  • U disk mobile hard disk
  • ROM read-only memory
  • RAM magnetic disk or optical disk
  • a computer device which may be a personal computer, server, or network device, etc.
  • the computer program includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

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

一种界面的展示方法以及相关设备
本申请要求于2020年8月28日提交中国专利局、申请号为202010886068.X、发明名称为“一种界面的展示方法以及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种界面的展示方法以及相关设备。
背景技术
随着通信技术和终端硬件的不断发展,终端设备的普及率不断提高,用户对终端设备的依赖程度也不断提高。
但当用户在移动状态下使用移动终端时,用户往往较难看清终端设备的展示界面上的信息,进而很难与终端设备进行准确交互。
发明内容
本申请实施例提供了一种界面的展示方法以及相关设备,当终端设备晃动时,自动调整当前展示模式为更突出的展示方式,以降低用户看清展示界面上的信息的难度,进而提高用户与终端设备进行交互的准确率。
为解决上述技术问题,本申请实施例提供以下技术方案:
第一方面,本申请实施例提供一种界面的展示方法,可用于图形用户界面领域中。方法包括:当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,第二展示模式包括对第一界面组件进行突出展示。在一种实现方式中,执行模式转换的展示界面包括当前显示界面,或进一步接下来待显示的一个或多个界面。在其他实现方式下,执行模式转换的展示界面不包括当前显示界面,包括接下来待显示的一个或多个界面。在其他实现方式下,执行模式转换的展示界面可以是终端设备的全屏界面,也可以不是终端设备的全屏界面,而仅仅是屏幕显示的部分组件或部分内容。
本实现方式中,当终端设备晃动时,自动对第一界面组件的展示模式进行转换,在当前展示模式的基础上做进一步突出展示,以降低用户看清展示界面上的信息的难度,进而提高用户与终端设备进行交互的准确率;此外,在终端设备的当前展示界面中,就可以触发对界面组件的展示模式的转换操作,操作简洁,有利于增加用户粘性。
在第一方面的一种可能实现方式中,当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,可以包括:终端设备获取终端设备的晃动参数,晃动参数用于指示终端设备的晃动情况。在终端设备根据晃动参数确定满足第一预设条件的情况下,将终端设备的展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。其中,晃动参数用于指示终端设备的晃动时长和/或晃动强度,晃动强度根据晃动幅度和/或晃动频率确定。第一预设条件可以为终端设备的晃动时长达到第一预设时长,或者,第一预设条件为终端设备的晃动频率达到预设频率,或者,第一预设条件为终端设 备的晃动时长达到第一预设时长且晃动幅度达到预设幅度,或者,第一预设条件为终端设备的晃动时长达到第一预设时长且晃动强度达到预设强度。
本实现方式中,预先设定有第一预设条件,只有在根据终端设备的晃动参数确定终端设备的晃动情况满足第一预设条件的情况下,才会触发将展示界面的第一界面组件由第一展示模式转换为第二展示模式,由于在轻微晃动的情况下,可能并不影响用户与终端设备的展示界面之间的交互,增设第一预设条件之后,有利于避免不必要的展示模式的转换,以避免计算机资源的浪费。
在第一方面的一种可能实现方式中,第一界面组件的类型包括以下中的任一种或多种:文字、图标、按钮、卡片、输入框和按钮的感知区域;按钮的感知区域也可以称为按钮的热区或按钮的可触区域。终端设备在第一展示模式的基础上,对第一界面组件进行突出展示的方式包括以下中任一种或多种:将第一展示模式下的第一界面组件进行放大;将第一展示模式下的第一界面组件进行加粗;在第一展示模式的基础上,提高第一界面组件与界面背景之间的对比度;或者,将第一界面组件设置为悬浮按钮。本实现方式中,提供了第一界面组件的几种具体类型,以及对第一界面组件进行突出展示的多种方式,扩展了本方案的应用场景,且提高了本方案的实现灵活性。
在第一方面的一种可能实现方式中,终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,还包括:当至少一个第一界面组件中存在文字类型的界面组件时,终端设备在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将第一界面组件中的文字转换为语音输出。当用户通过第二界面组件触发将第一界面组件中的文字转换为语音输出的功能时,终端设备可以调用读屏功能,以实现将第一界面组件中的文字转换为语音输出。本实现方式中,用户可以通过第二界面组件触发将第一界面组件中的文字转换为语音输出,提供多模态交互方式,从而用户在不方便通过阅读的情况下可以通过语音的方式获取信息,进一步降低用户通过展示界面接收信息的难度。
在第一方面的一种可能实现方式中,方法还包括:终端设备在第一展示模式的基础上,将展示界面中的至少一个第三界面组件进行缩小或隐藏处理。其中,第三界面组件与第一界面组件为不同的界面组件;进一步地,第三界面组件可以为展示界面中使用频率低于预设阈值的界面组件,第一界面组件为展示界面中使用频率高于预设阈值的界面组件。
本实现方式中,不仅将展示界面中的第一界面组件进行突出展示,还堆展示界面中的第三界面组件进行缩小或隐藏处理,也即进一步突出展示界面中的第一界面组件,以协助用户更为清楚的看清界面中的第一界面组件,从而方便用户与第一界面组件的交互。
在第一方面的一种可能实现方式中,方法还包括:在根据终端设备的晃动参数确定满足第一预设条件的情况下,将终端设备在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式。晃动参数用于指示终端设备的晃动情况,第二切换方式为在第一切换方式的基础上执行以下中的一项或多项操作:减少动画时长、改变动画曲线和降低变换速率。本实现方式中,当用户通过终端设备在不同展示界面进行切换时,将第一切换方式替换为第二切换方式,用户在移动过程中简化动画效果,减轻用户对动画效果的眩晕程度。
在第一方面的一种可能实现方式中,展示界面中包括的第一界面组件与展示界面的类型之间具有对应关系,不同类型的展示界面中包括的第一界面组件不同或不完全相同,展示界面的类型由通过展示界面执行的任务的种类确定。和/或,不同类型的展示界面中对第一界面组件采用的转换方式不同或不完全相同。和/或,当不同类型的展示界面对同一类型的第一界面组件采用相同的转换方式时,不同类型的展示界面中对同一类型的第一界面组件采用的转换比例不同。本实现方式中,不同类型的展示界面中采用的转换方式以及需要突出显示的界面组件可以不同,每种类型的展示界面有各自定制化的转换规则,以提高转换后的界面效果;此外,列举了不同类型的展示界面之间展示规则的几种区别,增强了本方案的实现灵活性。
在第一方面的一种可能实现方式中,终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之前,方法还包括:终端设备获取展示界面的第一界面类型,并获取与第一界面类型对应的第一转换规则。其中,展示界面的类型由通过展示界面执行的任务的种类确定,展示界面的类型为以下中的任一种:通话、锁屏、音乐、导航、天气预报、主界面或即时通信。终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:终端设备根据第一转换规则,将展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。
本实现方式中,终端设备上预先配置有与不同类型的展示界面对应多种转换规则,根据展示界面执行的任务的种类确定界面的类型,进而根据当前展示界面的界面类型来选择对应的转换规则,也即每种类型的展示界面有各自定制化的转换规则,以提高转换后的界面效果,进而增强本方案的用户粘度。
在第一方面的一种可能实现方式中,终端设备的展示界面中包括至少一个第一界面组件,至少一个第一界面组件中包括的为终端设备的展示界面中使用频率达到第一预设阈值的界面组件。终端设备的展示界面中包括至少一个第三界面组件,至少一个第三界面组件中包括的为终端设备的展示界面中使用频率小于或等于第二预设阈值的界面组件。第一预设阈值和第二预设阈值的取值可以相同或不同。
本实现方式中,第一界面组件为需要进行突出展示的界面组件,将使用频率达到第一预设阈值的界面组件确定为第一界面组件,使用频率越高,证明被突出展示的需求越大,使得本申请实施例提供的展示方法更加符合用户的个人习惯,提高本方案的用户粘度。
在第一方面的一种可能实现方式中,终端设备的晃动参数包括晃动时长和/或晃动强度,终端设备的晃动强度根据终端设备的晃动幅度和/或终端设备的晃动频率确定。终端设备的晃动强度为终端设备的晃动幅度,或者,终端设备的晃动强度为终端设备的晃动频率,或者,终端设备的晃动强度包括终端设备的晃动幅度和晃动频率两个表征维度,或者,终端设备的晃动强度为根据终端设备的晃动幅度和晃动频率确定的新的表征维度。本实现方式中,由于晃动时长越长、晃动幅度越大、晃动频率越高,则用户越难看清展示界面中的内容,进而较难与展示界面进行交互,选择晃动时长、晃动幅度和晃动频率这三种晃动参数,能够与实际情况相贴合,从而能够真实反映是否需要调整界面的展示模式。
在第一方面的一种可能实现方式中,终端设备在根据晃动参数确定满足第一预设条件 的情况下,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:终端设备在终端设备的晃动时长达到第一预设时长且终端设备的晃动强度达到预设强度的情况下,将第一界面组件由第一展示模式转换为第二展示模式。本实现方式中,只有在晃动时长达到第一预设时长且晃动强度达到预设强度的情况下,才视为达到第一预设条件,也即视为达到转换界面组件的展示模式的触发条件,以避免终端设备的展示界面的频繁变化,尽量保证当终端设备触发转变展示模式时,用户确实已较难看清展示界面上的内容,有利于增强用户粘度。
在第一方面的一种可能实现方式中,终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之前,方法还包括:终端设备获取与终端设备的晃动强度对应的第二转换规则。其中,与不同级别的晃动强度对应的转换规则不同。不同级别的晃动强度所对应的转换规则的区别可以包括以下五种中的一种或多种:对于第一界面组件的放大比例、加粗比例或者与界面背景之间的对比度不同,和/或,对于第三界面组件的缩小比例不同,和/或,将第三界面组件的转换方式由缩小转换为隐藏等。终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:终端设备根据第二转换规则,将第一界面组件由第一展示模式转换为第二展示模式。
本实现方式中,由于晃动强度越大,用户对于第一界面组件突出显示的程度可能就越大,对终端设备的晃动强度进行分级,与不同级别的晃动强度对应的转换规则不同,有利于对展示界面的界面组件更为精细化的管理,使得最后的展现状态更能贴合用户的使用习惯,以提高本方案的用户粘度。
在第一方面的一种可能实现方式中,终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之前,方法还包括:终端设备获取展示界面的第一界面类型,并根据展示界面的第一界面类型和该晃动级别,获取对应的第三转换规则。其中,与不同级别的晃动强度对应的转换规则不同。终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:终端设备根据第三转换规则,将第一界面组件由第一展示模式转换为第二展示模式。
在第一方面的一种可能实现方式中,终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之后,方法还包括:获取终端设备的状态信息,状态信息指示终端设备的界面展示状态或运动状态。在终端设备根据状态信息确定满足第二预设条件的情况下,将第一界面组件由第二展示模式转换为第一展示模式。其中,第二预设条件可以为终端设备的界面进入息屏状态;或者,第二预设条件可以为终端设备处于静止状态的时长达到第二预设时长。本实现方式中,不仅提供了第一界面组件由第一展示模式转换为第二展示模式的具体实现方式,还提供了第一界面组件由第二展示模式转换为第一展示模式的具体实现方式,保证了本方案的完整性;终端设备能够自动触发第二展示模式重新到第一展示模式的转换,方案便捷,有利于提高用户粘度。
第二方面,本申请实施例提供了一种界面的展示方法,可用于图形用户界面领域中。方法包括:当终端设备晃动时,将终端设备的展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。其中,当至少一个第一界面组件中存在文字类型的界面组 件时,第二展示模式包括在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将文字转换为语音输出。
本申请实施例第二方面中,终端设备还可以用于实现第一方面各种可能实现方式中终端设备执行的步骤,对于本申请实施例第二方面以及第二方面的各种可能实现方式中某些步骤的具体实现方式,以及每种可能实现方式所带来的有益效果,均可以参考第一方面中各种可能的实现方式中的描述,此处不再一一赘述。
第三方面,本申请实施例提供了一种界面的展示装置,可用于图形用户界面领域中。装置包括:转换模块,用于在终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,第二展示模式包括对第一界面组件进行突出展示。
本申请实施例第三方面中,界面的展示装置还可以用于实现第一方面各种可能实现方式中终端设备执行的步骤,对于本申请实施例第三方面以及第三方面的各种可能实现方式中某些步骤的具体实现方式,以及每种可能实现方式所带来的有益效果,均可以参考第一方面中各种可能的实现方式中的描述,此处不再一一赘述。
第四方面,本申请实施例提供了一种界面的展示装置,可用于图形用户界面领域中。装置包括:转换模块,用于在终端设备晃动时,将展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。其中,当至少一个第一界面组件中存在文字类型的界面组件时,第二展示模式包括在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将文字转换为语音输出。
本申请实施例第四方面中,界面的展示装置还可以用于实现第二方面各种可能实现方式中终端设备执行的步骤,对于本申请实施例第四方面以及第四方面的各种可能实现方式中某些步骤的具体实现方式,以及每种可能实现方式所带来的有益效果,均可以参考第二方面中各种可能的实现方式中的描述,此处不再一一赘述。
第五方面,本申请实施例提供了一种计算机程序或计算机程序产品,当该计算机程序或计算机程序产品在计算机上运行时,使得计算机执行上述第一方面所述的界面的展示方法,或者,使得计算机执行上述第二方面所述的界面的展示方法。
第六方面,本申请实施例提供了一种终端设备,包括处理器和存储器,所述处理器与所述存储器耦合;所述存储器,用于存储程序;所述处理器,用于执行所述存储器中的程序,使得所述终端设备执行如上述第一方面所述的界面的展示方法,或者,使得所述终端设备执行如上述第二方面所述的界面的展示方法。
第七方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当该指令在计算机上运行时,使得计算机执行上述第一方面所述的界面的展示方法,或者,使得计算机执行如上述第二方面所述的界面的展示方法。
第八方面,本申请实施例提供了一种电路系统,所述电路系统包括处理电路,所述处理电路配置为执行上述第一方面所述的界面的展示方法,或者,执行如上述第二方面所述的界面的展示方法。
第九方面,本申请实施例提供了一种芯片,该芯片包括至少一个处理器和至少一个接口电路,该接口电路和该处理器耦合,至少一个接口电路用于执行收发功能,并将指令发 送给至少一个处理器,至少一个处理器用于运行计算机程序或指令,其具有实现如上述第一方面或第二方面所述的界面的展示方法的功能,该功能可以通过硬件实现,也可以通过软件实现,还可以通过硬件和软件组合实现,该硬件或软件包括一个或多个与上述功能相对应的模块。此外,该接口电路用于与该芯片之外的其它模块进行通信。
附图说明
图1为本申请实施例提供的终端设备的一种结构示意图;
图2为本申请实施例提供的界面的展示方法的一种流程示意图;
图3为本申请实施例提供的界面的展示方法中展示界面的一种界面示意图;
图4为本申请实施例提供的界面的展示方法中展示界面的另一种界面示意图;
图5为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图6为本申请实施例提供的界面的展示方法中展示界面的再一种界面示意图;
图7为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图8为本申请实施例提供的界面的展示方法中展示界面的再一种界面示意图;
图9为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图10为本申请实施例提供的界面的展示方法中展示界面的再一种界面示意图;
图11为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图12为本申请实施例提供的界面的展示方法中展示界面的再一种界面示意图;
图13为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图14为本申请实施例提供的界面的展示方法中展示界面的再一种界面示意图;
图15为本申请实施例提供的界面的展示方法中展示界面的又一种界面示意图;
图16a为本申请实施例提供的界面的展示装置的一种结构示意图;
图16b为本申请实施例提供的界面的展示装置的另一种结构示意图;
图17a为本申请实施例提供的界面的展示装置的又一种结构示意图;
图17b为本申请实施例提供的界面的展示装置的再一种结构示意图;
图18为本申请实施例提供的终端设备的另一种结构示意图。
具体实施方式
本申请实施例提供了一种界面的展示方法以及相关设备,当终端设备晃动时,在当前展示模式的基础上,自动调整为更突出的展示方式,以降低用户看清展示界面上的信息的难度,进而提高用户与终端设备进行交互的准确率。
本申请的说明书和权利要求书及上述附图中的术语“第一”、第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。
下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着技术的发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请实施例可应用于各种终端设备处于晃动状态下进行界面展示的应用场景中。作为示例,例如用户在行走过程使用终端设备进行导航中,则终端设备通过展示界面执行导航任务,则终端设备会在处于晃动状态下进行导航界面的展示。作为另一示例,例如用户在坐公交车时用终端设备发短信,则终端设备通过展示界面执行文字信息发送任务,则终端设备会在处于晃动状态下进行文字信息发送界面的展示等,此处不对本申请实施例的应用场景进行穷举。在前述种种场景中,均存在用户较难看清展示界面上的信息的问题。
为了解决上述问题,本申请实施例提供了一种界面的展示方法,可应用于图1示出的终端设备中,请参阅图1,图1为本申请实施例提供的终端设备的一种结构示意图。终端设备10可以包括处理器101、监测模块102、输出模块103和输入模块104。
其中,处理器101具体可以表现为终端设备中的处理器或处理电路。监测模块102中配置有用于测量终端设备的晃动情况的传感器,作为示例,例如陀螺仪、重力传感器、加速度传感器或其他类型的运动传感器等;作为另一示例,例如通过终端设备上的图像采集装置采集的图像来对比前后运动状态以监测终端设备的晃动情况。输出模块103和输入模块104中包括的为终端设备的展示界面中的界面组件,输出模块103中包括的为展示界面中用于进行信息输出的界面组件,作为示例,例如文字组件、图标、按钮、卡片组件或文字转语音输出组件等。输入模块104中包括的为展示界面中用于进行信息输入的界面组件,例如输入框、语音输入组件、按钮或按钮的感知区域(touch target size)等,其中,按钮的感知区域也可以称为按钮的热区或按钮的可触区域等。应理解,在实际的终端设备中还可以包括更多或更少的传感器或组件,前述举例均仅为方便理解本方案,不用于限定本方案。
具体的,处理器101通过监测模块102监测终端设备的晃动情况。处理器101还会在终端设备晃动时,将终端设备的当前展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。第二展示模式包括在第一展示模式的基础上对第一界面组件进行突出展示;该至少一个第一界面组件包括的为输出模块103和输入模块104中的界面组件,第一界面组件的类型包括以下中的任一种或多种:文字、图标、按钮、卡片、输入框、按钮的感知区域或其他类型的界面组件等。
接下来对本申请实施例提供的界面的展示方法进行详细介绍,请参阅图2,图2为本申请实施例提供的界面的展示方法的一种流程示意图,本申请实施例提供的界面的展示方法可以包括:
201、终端设备获取终端设备的晃动参数。
本申请实施例中,终端设备可以通过监测模块实时监测终端设备的晃动情况,当发现终端设备从静止状态转变为晃动状态时,开始采集并生成终端设备晃动参数。需要说明的是,本申请实施例中由终端设备执行的步骤,执行主体均可以替代为由终端设备中的处理器,以下均以执行主体为终端设备为例,进行说明。
其中,终端设备的晃动参数用于指示终端设备的晃动情况,终端设备的晃动参数包括晃动时长和/或晃动强度。进一步地,终端设备的晃动强度可以根据终端设备的晃动幅度和 /或终端设备的晃动频率确定。终端设备的晃动强度为终端设备的晃动幅度,或者,终端设备的晃动强度为终端设备的晃动频率,或者,终端设备的晃动强度包括终端设备的晃动幅度和晃动频率两个表征维度,或者,终端设备的晃动强度为根据终端设备的晃动幅度和晃动频率确定的新的表征维度。进一步地,晃动幅度和晃动轨迹均可以根据监测到的终端设备的晃动轨迹计算。本申请实施例中,由于晃动时长越长、晃动幅度越大、晃动频率越高,则用户越难看清展示界面中的内容,进而较难与展示界面进行交互,选择晃动时长、晃动幅度和晃动频率这三种晃动参数,能够与实际情况相贴合,从而能够真实反映是否需要调整界面的展示模式。
202、终端设备判断晃动时长是否达到第一预设时长,若达到第一预设时长,则进入步骤203;若未达到第一预设时长,则进入步骤201。
本申请实施例中,在监测到终端设备处于晃动状态之后,可以通过监测模块实时获取到终端设备的晃动时长,并判断终端设备的晃动时长是否达到第一预设时长,若达到第一预设时长,则进入步骤203;若未达到第一预设时长,则重新进入步骤201,继续实时监测并更新终端设备的晃动时长。
其中,终端设备的晃动时长指的是终端设备从开始进入晃动状态直到重新进入静止状态之前的时长,当终端设备进入静止状态之后,晃动时长要重新计算。第一预设时长可以为5秒、6秒、8秒、10秒、20秒或其他时长等,此处不做限定。
203、终端设备判断晃动强度是否达到预设强度,若达到预设强度,则进入步骤204;若未达到预设强度,则进入步骤201。
本申请实施例中,在监测到终端设备处于晃动状态之后,还可以通过监测模块实时获取到终端设备的晃动幅度和/或晃动频率,进而可以实时生成终端设备的当前晃动强度。
若终端设备的晃动强度指的是晃动幅度,则预设强度可以为晃动幅度大于或等于2厘米、3厘米、5厘米或其他晃动幅度等。若终端设备的晃动强度指的是晃动频率,则预设强度可以为单位时间内晃动次数大于预设次数,作为示例,例如5秒内晃动次数大于或等于5次,6秒内晃动次数大于或等于6次,8秒内晃动次数大于10次等。
若终端设备的晃动强度是根据终端设备的晃动幅度和晃动频率综合确定的,则预设强度的大小可以根据终端设备上的晃动强度的计算规则确定。作为示例,例如晃动强度可以为晃动幅度和晃动频率的和;作为另一示例,例如晃动强度可以为晃动幅度和晃动频率进行加权求和;作为再一示例,例如晃动强度可以为晃动幅度和晃动频率进行加权求和,再进行归一化处理等,此处不做限定。
需要说明的是,步骤202和步骤203均为可选步骤,终端设备执行步骤202和/或步骤203的目的是为了根据晃动参数确定是否满足第一预设条件,第一预设条件指的是转换界面组件的展示模式的触发条件。若只执行步骤202,不执行步骤203,则第一预设条件为终端设备的晃动时长达到第一预设时长。若只执行步骤203,不执行步骤202,则第一预设条件为终端设备的晃动强度达到预设强度。若同时执行步骤202和203,则第一预设条件为终端设备的晃动时长达到第一预设时长且终端设备的晃动强度达到预设强度。在实际情况中,终端设备还可以设置其他类型的第一预设条件,例如,第一预设条件为终端设备的晃 动频率达到预设频率,或者,第一预设条件为终端设备的晃动时长达到预设时长且晃动幅度达到预设幅度等,具体第一预设条件的设定可结合具体应用产品,此处不做限定。
本申请实施例中,只有在晃动时长达到第一预设时长且晃动强度达到预设强度的情况下,才视为达到第一预设条件,也即视为达到转换界面组件的展示模式的触发条件,以避免终端设备的展示界面的频繁变化,尽量保证当终端设备触发转变展示模式时,用户确实已较难看清展示界面上的内容,有利于增强用户粘度。
可选地,在一种情况下,终端设备上可以预先设置有第一图标,第一图标用于开启和关闭本申请实施例提供的转换界面组件的展示模式功能。若第一图标处于开启状态,则终端设备开始执行步骤201,当终端设备根据终端设备的晃动参数确定满足第一预设条件时,触发进入第二展示模式。若第一图标处于关闭状态,终端设备不会执行本申请实施例提供的界面的展示方法;或者,终端设备仍然会执行步骤201至203,当终端设备根据终端设备的晃动参数确定满足第一预设条件的情况下,输出是否开启第二展示模式的询问提示,在接收到用户对开启第二展示模式的确认操作之后,再进入步骤204,若接收到用户对开启第二展示模式的取消操作,则保持展示界面的当前展示状态。其中,该询问提示可以为文字的形式,也可以为语音输出的形式等。作为示例,例如通过展示界面输出“请问是否放大界面组件”的文字信息,若用户点击确认按钮,则视为接收到对开启第二展示模式的确认操作;若用户点击取消按钮,则视为接收到用户对开启第二展示模式的取消操作,应理解,此处举例仅为方便理解本方案,不用于限定本方案。
在另一种情况下,终端设备上未预先配置有第一图标,终端设备一直执行步骤201至203,在根据终端设备的晃动参数确定满足第一预设条件的情况下,可以输出是否开启第二展示模式的询问提示,在接收到用户对开启第二展示模式的确认操作之后,再进入步骤204,若接收到用户对开启第二展示模式的取消操作,则保持展示界面的当前展示状态。
204、终端设备获取展示界面的第一界面类型。
本申请的一些实施例中,终端设备还可以获取展示界面的第一界面类型。其中,展示界面的类型由通过展示界面执行的任务的种类确定。作为示例,例如展示界面的界面类型可以为通话、锁屏、音乐、导航、天气预报、主界面或即时通信等,此处不做限定。
进一步地,当用户通过终端设备下载新的应用程序(application,APP)时,也可以根据该应用程序所执行的任务类型,对该应用程序的界面类型进行分类。
205、终端设备获取转换规则。
本申请的一些实施例中,终端设备上可以预先配置有转换规则,终端设备在确定需要将展示界面中的第一界面组件由第一展示模式转换为第二展示模式后,可以从预先存储的数据中获取转换规则。该转换规则为将终端设备的展示界面中的第一界面组件由第一展示模式转换为第二展示模式的转换规则;第二展示模式为在第一展示模式的基础上,对第一界面组件进行突出展示。
其中,一个第一界面组件的类型具体可以表现为以下中的任一种:文字、图标、按钮、卡片、输入框、按钮的感知区域或其他类型的界面组件等。作为示例,例如第一界面组件可以为通话界面的接听/挂断按钮;作为另一示例,例如第一界面组件为通话界面的接听/ 挂断按钮的感知区域;作为再一示例,例如第一界面组件为锁屏界面的时间组件,该时间组件的类型为图标等等,此处不做穷举。由于一个展示界面中可以包括一个或多个第一界面组件,该转换规则指示当前展示界面中哪些第一界面组件的展示模式需要被调整,每个第一界面组件进行突出展示的转换方式是什么。具体的,在第一展示模式的基础上,对第一界面组件进行突出展示的方式包括以下中任一种或多种:将第一展示模式下的第一界面组件进行放大;将第一展示模式下的第一界面组件进行加粗;在第一展示模式的基础上,提高第一界面组件与界面背景之间的对比度;或者,将第一界面组件设置为悬浮按钮。
本申请实施例中,提供了第一界面组件的几种具体类型,以及对第一界面组件进行突出展示的多种方式,扩展了本方案的应用场景,且提高了本方案的实现灵活性。
可选地,该转换规则还用于指示展示界面中哪些界面组件为第三界面组件,以及对展示界面上的第三界面组件进行缩小或隐藏处理。第一界面组件为展示界面中重要度高的组件,第三界面组件为展示界面中重要度低的组件。作为示例,例如第三界面组件可以为状态栏中的界面组件;作为另一示例,例如第三界面组件可以为即时通信应用程序中的已读信息等,此处不做穷举。
可选地,当至少一个第一界面组件中存在文字类型的界面组件时,该转换规则还包括在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将第一界面组件中的文字转换为语音输出。
可选地,终端设备上可以预先配置有N种类型的转换规则,一种类型的转换规则对应于一种类型的展示界面。则步骤205可以包括:终端设备根据获取与第一界面类型对应的第一转换规则。与不同类型的展示界面对应的转换规则可以不同,与不同类型的展示界面对应的转换规则的不同可以如下描述:
展示界面中包括的第一界面组件与展示界面的类型之间具有对应关系,不同类型的展示界面中包括的第一界面组件不同或不完全相同,也即不同类型的展示界面中需要突出显示的界面组件不同或不完全相同。作为示例,例如当展示界面的类型为通话,需要转换的第一界面组件中有接听/挂断按钮、来电人头像(图标类组价)、来电人信息(文字类组件)或接听/挂断按钮的感知区域;当展示界面的类型为锁屏,需要转换的第一界面组件中有解锁按钮、解锁按钮的感知区域、时间组件(图标类组件或文字类组件)等。
和/或,不同类型的展示界面中对第一界面组件采用的转换方式不同或不完全相同。作为示例,例如当展示界面的类型为音乐时,需要进行转换的第一界面组件为展示界面中的歌词,将歌词由第一展示模式转换为第二展示模式的方式可以为在第一展示模式的基础上对歌词进行放大和加粗;当展示界面的类型为及时通信时,需要进行转换的第一界面组件为交互双方发送的文字信息,将交互双方发送的文字信息进行放大,并提高交互双方发送的文字信息与界面背景之间的对比度,应当理解,前述举例仅为方便理解本方案,不用于限定本方案。
和/或,当不同类型的展示界面对同一类型的第一界面组件采用相同的转换方式时,不同类型的展示界面中对同一类型的第一界面组件采用的转换比例不同。作为示例,例如当展示界面的类型为及时通信,将交互双方发送的文字信息进行放大的放大比例为百分之一 百;当展示界面的类型为锁屏,将锁屏界面中的文字进行放大的放大比例可以为百分之五十,应理解,上述举例均仅为方便本方案,不用于限定本方案。
本申请实施例中,不同类型的展示界面中采用的转换方式以及需要突出显示的界面组件可以不同,每种类型的展示界面有各自定制化的转换规则,以提高转换后的界面效果;此外,列举了不同类型的展示界面之间展示规则的几种区别,增强了本方案的实现灵活性。
为更直观地理解本方案,请参阅如下表1,以表格的形式对转换规则中进行展示。
Figure PCTCN2021113660-appb-000001
Figure PCTCN2021113660-appb-000002
表1
参阅上述表1,上述表1中示出了当展示界面的界面类型为通话、锁屏、即时通信、音乐和导航这几种类型下,展示界面中需要进行转换的界面组件,以及转换方式,应理解,实际情况中的转换规则中还包括更多或更少的类型,且转换方式中还可以有放大比例或加粗比例等信息,上述表1中仅为一种示例,不用于限定本方案。
可选地,可以对终端设备的晃动强度进行分级,与不同级别的晃动强度对应的转换规则可以不同。其中,可以为晃动强度越强,晃动级别越高;也可以为晃动强度越弱,晃动级别越高。不同级别的晃动强度具体可以为一级晃动强度、二级晃动强度或三级晃动强度等,也可以为高级晃动强度、中级晃动强度和低级晃动强度等。则步骤205可以包括:终端设备根据晃动强度确定晃动级别,并获取与该晃动级别对应的第二转换规则。
由于终端设备的晃动强度是根据终端设备的晃动幅度和/或终端设备的晃动频率确定。若终端设备的晃动强度表现为终端设备的晃动幅度,则终端设备上可以预先设置有至少两个晃动幅度范围,分别对应至少两个不同的晃动强度级别。若终端设备的晃动强度为终端设备的晃动频率,则终端设备上可以预先设置有至少两个晃动频率范围,分别对应至少两个不同的晃动强度级别。若终端设备的晃动强度为根据终端设备的晃动幅度和晃动频率确定的新的表征维度,则终端设备上可以预先设置有至少两个晃动强度范围,分别对应至少两个不同的晃动强度级别。
不同级别的晃动强度所对应的转换规则的区别可以包括以下五种中的一种或多种:对于第一界面组件的放大比例、加粗比例或者与界面背景之间的对比度不同,和/或,对于第三界面组件的缩小比例不同,和/或,将第三界面组件的转换方式由缩小转换为隐藏等。
进一步可选地,步骤205可以包括:终端设备根据晃动强度确定晃动级别,并根据展示界面的第一界面类型和该晃动级别,获取对应的第三转换规则。也即不同转换规则的分类依据包括界面类型和晃动级别两个维度。
为更直观地理解本方案,请参阅如下表2,以表格的形式对转换规则中进行展示。表2中以终端设备上设置有一级晃动级别和二级晃动级别为例,晃动强度越大,晃动级别越高。
Figure PCTCN2021113660-appb-000003
Figure PCTCN2021113660-appb-000004
表2
参阅上述表2,上述表2中示出了当展示界面的界面类型为通话、锁屏、即时通信、音乐和导航这几种类型下,不同级别的晃动强度下,展示界面中需要进行转换的界面组件,以及转换方式,应理解,实际情况中的转换规则中还包括更多或更少的类型,上述表2中仅为一种示例,不用于限定本方案。
可选地,终端设备还可以自动识别展示界面中哪些组件为第一界面组件和/或第三界面组件。具体的,终端设备在获取到展示界面的标识信息之后,可以获取当前界面的历史操作数据,进而可以获取到展示界面中每个界面组件的历史使用次数,可以将展示界面中使用频率达到第一预设阈值的界面组件确定为第一界面组件,可以将展示界面中使用频率小于或等于第二预设阈值的界面组件确定为第三界面组件。其中,该第一预设阈值可以为一周内使用次数超过5次、一周内使用次数超过10次、一天内使用次数超过2次、一个月内使用次数超过10次等,第二预设阈值可以为一周内使用次数不超过1次、一天内使用次数不超过0次等等,具体第一预设阈值和第二预设阈值的取值可结合实际情况确定,此处不做限定。
进一步地,终端设备在获取到预先存储的转换规则之后,可以确定展示界面包括的所有界面组件中哪些为第一界面组件,哪些为第三界面组件,以及对每个第一界面组件和每个第三界面组件如何进行展示模式转换。但展示界面中可能会存在转换规则中不包含的界面组件,或者,终端设备在获取到预先存储的转换规则之后还需要区分展示界面中的重要界面组件和不重要界面组件的情况下,则终端设备还可以根据预先存储的转换规则中未提及的界面组件的历史使用次数,对前述至少一个界面组件执行第一界面组件和第三界面组件的选取操作。
本申请实施例中,第一界面组件为需要进行突出展示的界面组件,将使用频率达到第一预设阈值的界面组件确定为第一界面组件,使用频率越高,证明被突出展示的需求越大,使得本申请实施例提供的展示方法更加符合用户的个人习惯,提高本方案的用户粘度。
206、终端设备将展示界面中的第一界面组件由第一展示模式转换为第二展示模式。
本申请实施例中,在根据终端设备的晃动参数确定满足第一预设条件的情况下,终端设备会将展示界面中的第一界面组件由第一展示模式转换为第二展示模式。第二展示模式包括对第一界面组件进行突出展示。需要说明的是,本申请实施例中执行模式转换的展示界面包括当前显示界面,或进一步接下来待显示的一个或多个界面。在其他实现方式下,执行模式转换的展示界面不包括当前显示界面,包括接下来待显示的一个或多个界面。在 其他实现方式下,执行模式转换的展示界面可以是终端设备的全屏界面,也可以不是终端设备的全屏界面,而仅仅是屏幕显示的部分组件或部分内容。
具体的,在一种情况下,终端设备中预先配置有转换规则,转换规则指示当前展示界面中哪些第一界面组件的展示模式需要被调整,每个第一界面组件进行突出展示的转换方式是什么。则终端设备可以直接根据预先存储的转换规则,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式。对于转换规则的具体表现形式可参阅步骤205中的描述。
可选地,若转换规则还指示展示界面中哪些界面组件为第三界面组件,以及对展示界面上的第三界面组件进行缩小或隐藏处理。则本申请实施例提供的界面的展示方法还可以包括:在第一展示模式的基础上,将展示界面中的一个或多个第三界面组件进行缩小或隐藏处理,第三界面组件与第一界面组件为不同的界面组件。作为示例,例如展示界面为音乐,音乐界面中包括用于触发进入歌曲的评论区的按键,前述按键可以确定为第三界面组件,则可以将前述按键进行缩小或隐藏处理等,此处不做穷举。
本申请实施例中,不仅将展示界面中的第一界面组件进行突出展示,还堆展示界面中的第三界面组件进行缩小或隐藏处理,也即进一步突出展示界面中的第一界面组件,以协助用户更为清楚的看清界面中的第一界面组件,从而方便用户与第一界面组件的交互。
可选地,若该转换规则还指示当至少一个第一界面组件中存在文字类型的界面组件时,在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将第一界面组件中的文字转换为语音输出。则步骤206还可以包括:当至少一个第一界面组件中存在文字类型的界面组件时,在第一展示模式的基础上增设一个或多个第二界面组件,第二界面组件用于触发将第一界面组件中的文字转换为语音输出。当用户通过第二界面组件触发将第一界面组件中的文字转换为语音输出的功能时,终端设备可以调用读屏功能,以实现将第一界面组件中的文字转换为语音输出。
其中,第二界面组件的类型可以为按钮。作为示例,例如展示界面的类型为即时通信,展示界面中展示有多条交互双方发送的交互信息,则在每条交互信息旁边都可以增设一个第二界面组件,当用户点击该第二界面组件时,该交互信息中的文字转换为语音输出。作为另一示例,例如展示界面的类型为锁屏,锁屏中展示有文字类型的时间信息,则可以在时间信息旁边增设第二界面组件,当用户点击该第二界面组件时,该时间信息转为语音输出等等,此处不做穷举。
本申请实施例中,用户可以通过第二界面组件触发将第一界面组件中的文字转换为语音输出,提供多模态交互方式,从而用户在不方便通过阅读的情况下可以通过语音的方式获取信息,进一步降低用户通过展示界面接收信息的难度。
可选地,若展示界面的转换规则与展示界面的类型对应,不同类型的展示界面所对应的转换规则可以不同,则步骤206可以包括:终端设备根据第一转换规则,将终端设备的展示界面由第一展示模式转换为第二展示模式。对于第一转换规则的介绍可参阅步骤205中的描述。本申请实施例中,终端设备上预先配置有与不同类型的展示界面对应多种转换规则,根据展示界面执行的任务的种类确定界面的类型,进而根据当前展示界面的界面类 型来选择对应的转换规则,也即每种类型的展示界面有各自定制化的转换规则,以提高转换后的界面效果,进而增强本方案的用户粘度。
可选地,若展示界面的转换规则与展示界面的晃动强度对应,不同级别的晃动强度对应的转换规则不同。则步骤206可以包括:终端设备根据第二转换规则,将终端设备的展示界面由第一展示模式转换为第二展示模式。对于第二转换规则的介绍可参阅步骤205中的描述。本申请实施例中,由于晃动强度越大,用户对于第一界面组件突出显示的程度可能就越大,对终端设备的晃动强度进行分级,与不同级别的晃动强度对应的转换规则不同,有利于对展示界面的界面组件更为精细化的管理,使得最后的展现状态更能贴合用户的使用习惯,以提高本方案的用户粘度。
在另一种情况下,终端设备也可以根据展示界面中每个界面组件的历史使用频率,从展示界面中选取至少一个第一界面组件,并在第一展示模式的基础上,对第一界面组件进行突出展示。在第一展示模式的基础上,对第一界面组件进行突出展示的方式包括以下中任一种或多种:将第一展示模式下的第一界面组件进行放大;将第一展示模式下的第一界面组件进行加粗;在第一展示模式的基础上,提高第一界面组件与界面背景之间的对比度;将第一界面组件设置为悬浮按钮。不同的第一界面组件可以采用相同的突出展示方式,也可以采用不同的突出展示方式。
可选地,终端设备还可以根据展示界面中每个界面组件的历史使用频率,从展示界面中选取至少一个第三界面组件,并在第一展示模式的基础上,对第一界面组件进行缩小或隐藏处理。
为更直观的理解本方案,请参阅图3至图13,图3至图13为本申请实施例提供的界面的展示方法中第一界面组件的第二展示模式的十一种界面示意图,图3至图13中均以不同级别的晃动强度对应不同的转换规则为例。请先参阅图3和图4,图3和图4示出的均为展示界面的类型为通话的情况下,展示界面的转换情况。图3中包括左和右两个子示意图,图3的左子示意图代表展示界面处于第一展示模式下各个界面组件的展示情况;图3的右子示意图代表当终端设备为一级晃动强度时,展示界面中各个界面组件的展示情况。图4代表当终端设备为二级晃动强度时,展示界面中各个界面组件的展示情况。对比图3的左子示意图和图3的右子示意可知,当终端设备处于一级晃动强度时,展示界面中来电人头像(也即图3中的A1)被放大显示;展示界面中来电人信息(也即图3中的A2)被放大显示,虽然图3中未示出,图3中还通过调整来电人信息的颜色的方式,增加了来电人信息与背景界面之间的对比度;展示界面中的快捷按钮(也即图3中的A3)被放大显示;展示界面中的接听/挂断按钮(也即图3中的A4)被放大显示。对比图3的右子示意图和图4,当终端处于二级晃动程度时,展示界面中的来电人头像(也即图4中的A1)被进一步放大显示;展示界面中来电人信息(也即图4中的A2)被进一步放大显示;展示界面中的快捷按钮(也即图4中的A3)被进一步放大显示;展示界面中的接听/挂断按钮(也即图4中的A4)被进一步放大显示。
图5和图6示出的均为展示界面的类型为锁屏界面的情况下,展示界面的转换情况。图5中包括左和右两个子示意图,图5的左子示意图代表展示界面处于第一展示模式下各 个界面组件的展示情况;图5的右子示意图代表当终端设备为一级晃动强度时,展示界面中各个界面组件的展示情况。图6代表当终端设备为二级晃动强度时,展示界面中各个界面组件的展示情况。对比图5的左子示意图和图5的右子示意可知,当终端设备处于一级晃动强度时,展示界面中时间组件(也即图5中的B1)被放大显示;展示界面中通知卡片(也即图5中的B2)被放大显示;展示界面中的指纹解锁按钮(也即图5中的B3)被放大显示;展示界面中的快捷按钮(也即图5中的B4)进行放大显示;对展示界面中的不重要信息(也即图5中的B5)不做调整。对比图5的右子示意图和图6,当终端处于二级晃动程度时,展示界面中的时间组件(也即图6中的B1)被进一步放大显示;展示界面中通知卡片(也即图6中的B2)被进一步放大显示;展示界面中指纹解锁按钮(也即图6中的B3)被进一步放大显示;展示界面中的快捷按钮(也即图6中的B4)被进一步放大显示;对展示界面中的不重要信息(也即图6中的B5)不做调整。
请先参阅图7和图8,图7和图8示出的均为展示界面的类型为即时通信的情况下,展示界面的转换情况。图7中包括左和右两个子示意图,图7的左子示意图代表展示界面处于第一展示模式下各个界面组件的展示情况;图7的右子示意图代表当终端设备为一级晃动强度时,展示界面中各个界面组件的展示情况。图8代表当终端设备为二级晃动强度时,展示界面中各个界面组件的展示情况。对比图7的左子示意图和图7的右子示意可知,当终端设备处于一级晃动强度时,展示界面中顶部标题文字(也即图7中的C1)被放大显示;展示界面中用户之间的交互信息(也即图7中的C2)被放大显示,其中交互信息中文字类型的交互信息还被加粗显示;在当前用户的聊天对象发送的文本信息旁边增设有第二界面组件(也即图7中的C3),当用户点击C3时,前述文本信息转换为声音信息输出;将展示界面中语音输入的组件通过悬浮按钮展示(也即图7中的C4),将文本输入框、发送按钮、表情输入按钮等交互按钮(也即图7中的C5)进行放大显示。对比图7的右子示意图和图8,当终端处于二级晃动程度时,展示界面中的顶部标题文字(也即图8中的C1)被进一步放大显示;展示界面中用户之间的交互信息(也即图8中的C2)被进一步放大显示;对第二界面组件(也即图8中的C3)进行放大显示;对悬浮按钮(也即图8中的C4)进行放大显示,将文本输入框、发送按钮、表情输入按钮等交互按钮(也即图8中的C5)进行进一步放大显示。
图9和图10示出的均为展示界面的类型为音乐的情况下,展示界面的转换情况。图9中包括左和右两个子示意图,图9的左子示意图代表展示界面处于第一展示模式下各个界面组件的展示情况;图9的右子示意图代表当终端设备为一级晃动强度时,展示界面中各个界面组件的展示情况。图10代表当终端设备为二级晃动强度时,展示界面中各个界面组件的展示情况。对比图9的左子示意图和图9的右子示意可知,当终端设备处于一级晃动强度时,展示界面中顶部按钮(也即图9中的D1)被放大显示;展示界面中歌词(也即图9中的D2)被放大显示;展示界面中的底部按钮(也即图9中的D3)被放大显示。对比图9的右子示意图和图10,当终端处于二级晃动程度时,展示界面中顶部按钮(也即图10中的D1)被进一步放大显示;展示界面中歌词(也即图10中的D2)被进一步放大显示;展示界面中的底部按钮(也即图10中的D3)被进一步放大显示;底部按钮不重要的按钮被 隐藏处理,且通过调暗背景界面的方式来增加展示界面中界面组件与背景界面之间的对比度。
图11和图12示出的均为展示界面的类型为导航界面的情况下,展示界面的转换情况。图11中包括左和右两个子示意图,图11的左子示意图代表展示界面处于第一展示模式下各个界面组件的展示情况;图11的右子示意图代表当终端设备为一级晃动强度时,展示界面中各个界面组件的展示情况。图12代表当终端设备为二级晃动强度时,展示界面中各个界面组件的展示情况。对比图11的左子示意图和图11的右子示意可知,当终端设备处于一级晃动强度时,展示界面中顶部导航文字(也即图11中的E1)被放大显示;展示界面中地图的页面提示信息(也即图11中的E2)被放大显示;展示界面中的导航标志(也即图11中的E3)被放大显示;展示界面中地图的页面悬浮信息(也即图11中的E4)进行放大显示;展示界面中底部导航路线信息组件(也即图11中的E5)被放大显示。对比图11的右子示意图和图12,当终端处于二级晃动程度时,展示界面中的顶部导航文字(也即图12中的E1)被进一步放大显示;展示界面中地图的页面提示信息(也即图11中的E2)被隐藏处理;展示界面中的导航标志(也即图12中的E3)被进一步放大处理;展示界面中的地图的页面悬浮信息(也即图11中的E4)被隐藏处理;展示界面中底部导航路线信息组件(也即图12中的E5)被进一步放大显示。
请继续参阅图13,图13中包括左子示意图、中子示意图和右子示意图,图13示出的均为展示界面的类型为通话界面的情况下。图13中的左子示意图代表展示界面处于第一展示模式下各个界面组件的展示情况;图13的中子示意图代表当终端设备处于一级晃动强度时,展示界面的展示情况,图13的中子示意图与图3的右子示意图类似,区别在于,图13的中子示意图还示出了F1和F2,F1代表接听按钮的感知区域,F2代表挂断按钮的感知区域。图13的右子示意图代表当终端设备处于二级晃动强度时,展示界面的展示情况,对比图13的中子示意图和图13的右子示意图可知,接听按钮的感知区域(也即图13中的F3)和挂断按钮的感知区域(也即图13中的F4)被放大。
应理解,上述图3至图13中的示例均仅为方便理解本方案,不用于限定本方案,在实际情况中,通过展示界面还有可能执行其他类型的任务,此处不做穷举。
207、终端设备将在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式。
本申请的一些实施例中,在根据晃动参数确定满足第一预设条件的情况下,终端设备还可以将在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式。第二切换方式为在第一切换方式的基础上执行以下中的一项或多项操作:减少动画时长、改变动画曲线和降低变换速率。作为示例,例如当用户通过主界面打开某个应用程序,第一切换方式为该应用程序的划入界面的动画曲线为“Z”字型,第二切换方式为该应用程序切入界面的方式为淡入淡出,从而改变了应用程序进入界面时的动画曲线。
本申请实施例中,当用户通过终端设备在不同展示界面进行切换时,将第一切换方式替换为第二切换方式,用户在移动过程中简化动画效果,减轻用户对动画效果的眩晕程度。
为更直观的理解本方案,请参阅图14和图15,图14示出了本申请实施例提供的界面 的展示方法中第一切换方式的一种界面示意图,图15示出了本申请实施例提供的界面的展示方法中第二切换方式的一种界面示意图。图14包括左子示意图、中子示意图和右子示意图,图14的左子示意图示出的为终端设备的主界面,当用户通过主界面点击F1时,也即触发打开“信息”这个应用程序,触发进入图14的中子示意图和图14的右子示意图。图14的中子示意图和图14的右子示意图示出了“信息”这个应用程序的展示界面滑动进入的过程,也即第一切换方式的一种示例为滑动切入。
结合图14描述图15,图15包括左子示意图和右子示意图,当用户通过主界面点击F1时(参阅图14),也即触发打开“信息”这个应用程序,触发进入图15的左子示意图和图15的右子示意图。图15的左子示意图和图15的右子示意图示出了“信息”这个应用程序的展示界面通过“淡入”的方式实现界面的切换,也即第二切换方式的一种示例为“淡入”。应理解,图14和图15中的示例仅为方便理解本方案,不用于限定本方案。
需要说明的是,步骤202和203均为可选步骤,若不执行步骤202和203,也即终端设备中未设置有第一预设条件,终端设备在根据步骤201获取到的晃动参数确定终端设备处于晃动状态时,可以直接进入步骤204,也即直接进入后续对展示界面中的第一界面组件进行展示模式转换的流程中。若执行步骤202和/或步骤203,也即终端设备中设置有第一预设条件,只有在根据终端设备的晃动参数,确定满足第一预设条件的情况下,才触发将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,也即只有在确定终端设备的晃动情况满足第一预设条件的情况下,才会触发将展示界面的第一界面组件由第一展示模式转换为第二展示模式,由于在轻微晃动的情况下,可能并不影响用户与终端设备的展示界面之间的交互,增设第一预设条件之后,有利于避免不必要的展示模式的转换,以避免计算机资源的浪费。
208、终端设备获取状态信息。
本申请的一些实施例中,终端设备在将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之后,还可以实时获取终端设备的状态信息。其中,状态信息指示终端设备的界面展示状态或运动状态。终端设备的运动状态的获取方式可参阅步骤201中的描述,此处不做赘述。终端设备的界面展示状态可通过终端设备上的处理器获取。
209、终端设备根据状态信息,判断是否满足第二预设条件,若满足第二预设条件,则进入步骤210;若不满足第二预设条件,则进入步骤208。
本申请的一些实施例中,终端设备在获取到状态信息之后,可以判断是否满足第二预设条件,若满足第二预设条件,则进入步骤210;若不满足第二预设条件,则继续进入步骤208,以继续获取终端设备的状态信息。
其中,第二预设条件可以为终端设备的界面进入息屏状态。或者,第二预设条件可以为终端设备处于静止状态的时长达到第二预设时长,第二预设时长的长度可以为10秒、20秒、30秒或其他时长等,此处不做限定。或者,第二预设条件为终端设备的晃动强度低于预设强度的时长达到第三预设时长,第三预设时长的取值可以为20秒、30秒、40秒或其他时长等,此处不做限定。
210、终端设备将展示界面中的第一界面组件由第二展示模式转换为第一展示模式。
本申请的一些实施例中,在根据终端设备的状态信息,确定满足第二预设条件的情况下,终端设备将展示界面中的至少一个第一界面组件由第二展示模式重新转换为第一展示模式,则终端设备可以重新进入步骤201。其中,若第二预设条件为终端设备的界面进入息屏状态,则当用户重新打开屏幕时会发现展示界面中的第一界面组件的展示模式已经重新转换为第一展示模式。
本申请实施例中,不仅提供了第一界面组件由第一展示模式转换为第二展示模式的具体实现方式,还提供了第一界面组件由第二展示模式转换为第一展示模式的具体实现方式,保证了本方案的完整性;终端设备能够自动触发第二展示模式重新到第一展示模式的转换,方案便捷,有利于提高用户粘度。
可选地,若第二预设条件为终端设备处于静止状态的时长达到第二预设时长,或者,第二预设条件为终端设备的晃动强度低于预设强度的时长达到第三预设时长,在确定满足第二预设时长的情况下,终端设备可输出询问信息,以询问用户是否将第一界面组件由第二展示模式重新转换为第一展示模式。
可选地,若终端设备上预先配置有第一图标,则用户可以通过第一图标关闭本申请实施例提供的转换界面组件的展示模式功能,从而实现将展示界面中的第一界面组件由第二展示模式转换为第一展示模式等。
应理解,在实际情况中,还可以通过其他方式实现将展示界面中的第一界面组件由第二展示模式重新转换为第一展示模式,此处不做穷举。
本申请实施例中,当根据晃动参数确定满足第一预设条件时,自动将第一界面组件的展示模式进行转换,在当前展示模式的基础上做进一步突出展示,以降低用户看清展示界面上的信息的难度,进而提高用户与终端设备进行交互的准确率;此外,在终端设备的当前展示界面中,就可以触发对界面组件的展示模式的转换操作,操作简洁,有利于增加用户粘性。
在图1至图15所对应的实施例的基础上,为了更好的实施本申请实施例的上述方案,下面还提供用于实施上述方案的相关设备。具体参阅图16a,图16a为本申请实施例提供的界面的展示装置的一种结构示意图。界面的展示装置1600包括:转换模块1601,用于当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,第二展示模式包括对第一界面组件进行突出展示。
在一种可能的设计中,请参阅图16b,图16b为本申请实施例提供的界面的展示装置的一种结构示意图。界面的展示装置1600还包括:获取模块1602,用于获取终端设备的晃动参数,晃动参数用于指示终端设备的晃动情况;转换模块1601,具体用于在根据晃动参数确定满足第一预设条件的情况下,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式。
在一种可能的设计中,第一界面组件的类型包括以下中的任一种或多种:文字、图标、按钮、卡片、输入框和按钮的感知区域。转换模块1601具体用于执行以下中任一种或多种操作:将第一展示模式下的第一界面组件进行放大;将第一展示模式下的第一界面组件进行加粗;在第一展示模式的基础上,提高第一界面组件与界面背景之间的对比度;或者, 将第一界面组件设置为悬浮按钮。
在一种可能的设计中,转换模块1601,还用于当至少一个第一界面组件中存在文字类型的界面组件时,在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将第一界面组件中的文字转换为语音输出。
在一种可能的设计中,转换模块1601,还用于在第一展示模式的基础上,将展示界面中的第三界面组件进行缩小或隐藏处理,第三界面组件与第一界面组件为不同的界面组件。
在一种可能的设计中,转换模块1601,还用于在根据终端设备的晃动参数确定满足第一预设条件的情况下,将终端设备在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式,晃动参数用于指示终端设备的晃动情况,第二切换方式为在第一切换方式的基础上执行以下中的一项或多项操作:减少动画时长、改变动画曲线和降低变换速率。
在一种可能的设计中,展示界面中包括的第一界面组件与展示界面的类型之间具有对应关系,不同类型的展示界面中包括的第一界面组件不同或不完全相同,展示界面的类型由通过展示界面执行的任务的种类确定;和/或,不同类型的展示界面中对第一界面组件采用的转换方式不同或不完全相同;和/或,当不同类型的展示界面对同一类型的第一界面组件采用相同的转换方式时,不同类型的展示界面中对同一类型的第一界面组件采用的转换比例不同。
在一种可能的设计中,请参阅图16b,界面的展示装置1600还包括:获取模块1602,用于获取展示界面的第一界面类型,并获取与第一界面类型对应的第一转换规则,展示界面的类型由通过展示界面执行的任务的种类确定;转换模块1601,具体用于根据第一转换规则,将第一界面组件由第一展示模式转换为第二展示模式。
在一种可能的设计中,终端设备的展示界面中包括至少一个第一界面组件,至少一个第一界面组件中包括的为终端设备的展示界面中使用频率达到第一预设阈值的界面组件。
在一种可能的设计中,终端设备的晃动参数包括晃动时长和/或晃动强度,终端设备的晃动强度根据终端设备的晃动幅度和/或终端设备的晃动频率确定。
在一种可能的设计中,转换模块1601,具体用于在终端设备的晃动时长达到预设时长且终端设备的晃动强度达到预设强度的情况下,将第一界面组件由第一展示模式转换为第二展示模式。
在一种可能的设计中,请参阅图16b,获取模块1602,还用于获取与终端设备的晃动强度对应的第二转换规则,其中,与不同级别的晃动强度对应的转换规则不同;转换模块1601,具体用于根据第二转换规则,将第一界面组件由第一展示模式转换为第二展示模式。
在一种可能的设计中,获取模块1602,还用于获取终端设备的状态信息,状态信息指示终端设备的界面展示状态或运动状态;转换模块1601,还用于在根据状态信息确定满足第二预设条件的情况下,将第一界面组件由第二展示模式转换为第一展示模式。
需要说明的是,界面的展示装置1600中各模块/单元之间的信息交互、执行过程等内容,与本申请中图2至图15对应的各个方法实施例基于同一构思,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。
本申请实施例还提供一种界面的展示装置,请参阅图17a,图17a为本申请实施例提供的界面的展示装置的一种结构示意图。界面的展示装置1700包括:转换模块1701,用于当终端设备晃动时,将展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式。其中,当至少一个第一界面组件中存在文字类型的界面组件时,第二展示模式包括在第一展示模式的基础上增设第二界面组件,第二界面组件用于触发将文字转换为语音输出。
在一种可能的设计中,请参阅图17b,图17b为本申请实施例提供的界面的展示装置的一种结构示意图。界面的展示装置1700还包括:获取模块1702,用于获取终端设备的晃动参数,晃动参数用于指示终端设备的晃动情况;转换模块1701,具体用于在根据晃动参数确定满足第一预设条件的情况下,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式。
需要说明的是,界面的展示装置1700中各模块/单元之间的信息交互、执行过程等内容,与本申请中图2至图15对应的各个方法实施例基于同一构思,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。
本申请实施例还提供了一种终端设备10,终端设备10除了包括图1中示出的组件外,请继续参阅图18,图18为本申请实施例提供的终端设备的一种结构示意图,终端设备10具体可以表现为手机、平板、笔记本电脑、智能穿戴设备等,此处不做限定。其中,终端设备10上可以部署有图2至图15对应实施例中所描述的终端设备,用于实现图16a或图16b对应实施例中界面的展示装置1600的功能。或者,用于实现图17a或图17b对应实施例中界面的展示装置1700的功能。具体的,终端设备10包括:接收器1801、发射器1802、处理器101和存储器1803(其中终端设备10中的处理器101的数量可以一个或多个,图18中以一个处理器为例),其中,处理器101可以包括应用处理器1011和通信处理器1012。在本申请的一些实施例中,接收器1801、发射器1802、处理器101和存储器1803可通过总线或其它方式连接。
存储器1803可以包括只读存储器和随机存取存储器,并向处理器101提供指令和数据。存储器1803的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。存储器1803存储有处理器和操作指令、可执行模块或者数据结构,或者它们的子集,或者它们的扩展集,其中,操作指令可包括各种操作指令,用于实现各种操作。
处理器101控制终端设备的操作。具体的应用中,终端设备的各个组件通过总线系统耦合在一起,其中总线系统除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都称为总线系统。
上述本申请实施例揭示的方法可以应用于处理器101中,或者由处理器101实现。处理器101可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器101可以是通用处理器、数字信号处理器(digital signal processing,DSP)、微处理器或微控制器,还可进一步包括专用集成电路(application specific integrated circuit,ASIC)、现 场可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。该处理器101可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1803,处理器101读取存储器1803中的信息,结合其硬件完成上述方法的步骤。
接收器1801可用于接收输入的数字或字符信息,以及产生与终端设备的相关设置以及功能控制有关的信号输入。发射器1802可用于通过第一接口输出数字或字符信息;发射器1802还可用于通过第一接口向磁盘组发送指令,以修改磁盘组中的数据;发射器1802还可以包括显示屏等显示设备。
本申请实施例中,应用处理器1011,用于实现图2至图15对应实施例中终端设备的功能。对于应用处理器1011执行图2至图15对应实施例中终端设备的功能的具体实现方式以及带来的有益效果,均可以参考图2至图15对应的各个方法实施例中的叙述,此处不再一一赘述。
本申请实施例还提供一种计算机程序或计算机程序产品,当该计算机程序或计算机程序产品在计算机上运行时,使得计算机执行如前述图2至图15所示实施例描述的方法中终端设备所执行的步骤。
本申请实施例中还提供一种电路系统,所述电路系统包括处理电路,所述处理电路配置为执行如前述图2至图15所示实施例描述的方法中终端设备所执行的步骤。
本申请实施例提供的界面的展示装置或终端设备具体可以为芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使芯片执行上述前述图2至图15所示实施例描述的方法中终端设备所执行的步骤。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述第一方面方法的程序执行的集成电路。
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CLU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序的形式实现。
所述计算机程序包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。

Claims (30)

  1. 一种界面的展示方法,其特征在于,所述方法包括:
    当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,所述第二展示模式包括对所述第一界面组件进行突出展示。
  2. 根据权利要求1所述的方法,其特征在于,所述当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:
    获取所述终端设备的晃动参数,所述晃动参数用于指示所述终端设备的晃动情况;
    在根据所述晃动参数确定满足第一预设条件的情况下,将展示界面中的第一界面组件由所述第一展示模式转换为所述第二展示模式。
  3. 根据权利要求1所述的方法,其特征在于,所述第一界面组件的类型包括以下中的任一种或多种:文字、图标、按钮、卡片、输入框和按钮的感知区域;
    所述对所述第一界面组件进行突出展示的方式包括以下中任一种或多种:
    将所述第一展示模式下的所述第一界面组件进行放大;
    将所述第一展示模式下的所述第一界面组件进行加粗;
    提高所述第一界面组件与界面背景之间的对比度;或者,
    将所述第一界面组件设置为悬浮按钮。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述终端设备的展示界面中的第一界面组件由第一展示模式转换为第二展示模式,还包括:
    当至少一个第一界面组件中存在文字类型的界面组件时,在所述展示界面中增设第二界面组件,所述第二界面组件用于触发将所述第一界面组件中的文字转换为语音输出。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    将所述展示界面中的第三界面组件进行缩小或隐藏处理,所述第三界面组件与所述第一界面组件为不同的界面组件。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在根据所述终端设备的晃动参数确定满足第一预设条件的情况下,将所述终端设备在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式,所述晃动参数用于指示所述终端设备的晃动情况,所述第二切换方式为在所述第一切换方式的基础上执行以下中的一项或多项操作:减少动画时长、改变动画曲线和降低变换速率。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,
    展示界面中包括的第一界面组件与展示界面的类型之间具有对应关系,不同类型的展示界面中包括的第一界面组件不同或不完全相同,所述展示界面的类型由通过所述展示界面执行的任务的种类确定;和/或,
    不同类型的展示界面中对所述第一界面组件采用的转换方式不同或不完全相同;和/或,
    当不同类型的展示界面对同一类型的第一界面组件采用相同的转换方式时,不同类型的展示界面中对同一类型的第一界面组件采用的转换比例不同。
  8. 根据权利要求7所述的方法,其特征在于,所述将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之前,所述方法还包括:
    获取所述展示界面的第一界面类型,并获取与所述第一界面类型对应的第一转换规则,所述展示界面的类型由通过所述展示界面执行的任务的种类确定;
    所述将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:
    根据所述第一转换规则,将所述第一界面组件由所述第一展示模式转换为所述第二展示模式。
  9. 根据权利要求1至6任一项所述的方法,其特征在于,所述终端设备的展示界面中包括至少一个第一界面组件,所述至少一个第一界面组件中包括的为所述终端设备的展示界面中使用频率达到第一预设阈值的界面组件。
  10. 根据权利要求2所述的方法,其特征在于,终端设备的晃动参数包括晃动时长和/或晃动强度,终端设备的晃动强度根据终端设备的晃动幅度和/或终端设备的晃动频率确定。
  11. 根据权利要求10所述的方法,其特征在于,所述在根据所述晃动参数确定满足第一预设条件的情况下,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:
    在所述终端设备的晃动时长达到预设时长且所述终端设备的晃动强度达到预设强度的情况下,将所述第一界面组件由所述第一展示模式转换为所述第二展示模式。
  12. 根据权利要求10所述的方法,其特征在于,所述将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之前,所述方法还包括:
    获取与所述终端设备的晃动强度对应的第二转换规则,其中,与不同级别的晃动强度对应的转换规则不同;
    所述将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,包括:
    根据所述第二转换规则,将所述第一界面组件由所述第一展示模式转换为所述第二展示模式。
  13. 根据权利要求1至6任一项所述的方法,其特征在于,所述将展示界面中的第一界面组件由第一展示模式转换为第二展示模式之后,所述方法还包括:
    获取所述终端设备的状态信息,所述状态信息指示所述终端设备的界面展示状态或运动状态;
    在根据所述状态信息确定满足第二预设条件的情况下,将所述第一界面组件由所述第二展示模式转换为所述第一展示模式。
  14. 一种界面的展示方法,其特征在于,所述方法包括:
    当所述终端设备晃动时,将展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式;
    其中,当所述至少一个第一界面组件中存在文字类型的界面组件时,所述第二展示模式包括在所述展示界面上增设第二界面组件,所述第二界面组件用于触发将文字转换为语音输出。
  15. 一种界面的展示装置,其特征在于,所述装置包括:
    转换模块,用于当终端设备晃动时,将展示界面中的第一界面组件由第一展示模式转换为第二展示模式,所述第二展示模式包括对所述第一界面组件进行突出展示。
  16. 根据权利要求15所述的装置,其特征在于,所述装置还包括:
    获取模块,用于获取所述终端设备的晃动参数,所述晃动参数用于指示所述终端设备的晃动情况;
    所述转换模块,具体用于在根据所述晃动参数确定满足第一预设条件的情况下,将展示界面中的第一界面组件由所述第一展示模式转换为所述第二展示模式。
  17. 根据权利要求15所述的装置,其特征在于,所述第一界面组件的类型包括以下中的任一种或多种:文字、图标、按钮、卡片、输入框和按钮的感知区域;
    所述转换模块具体用于执行以下中任一种或多种操作:
    将所述第一展示模式下的所述第一界面组件进行放大;
    将所述第一展示模式下的所述第一界面组件进行加粗;
    提高所述第一界面组件与界面背景之间的对比度;或者,
    将所述第一界面组件设置为悬浮按钮。
  18. 根据权利要求15所述的装置,其特征在于,所述转换模块,还用于当至少一个第一界面组件中存在文字类型的界面组件时,在所述展示界面上增设第二界面组件,所述第二界面组件用于触发将所述第一界面组件中的文字转换为语音输出。
  19. 根据权利要求15所述的装置,其特征在于,所述转换模块,还用于将所述展示界面中的第三界面组件进行缩小或隐藏处理,所述第三界面组件与所述第一界面组件为不同的界面组件。
  20. 根据权利要求15所述的装置,其特征在于,所述转换模块,还用于在根据所述终端设备的晃动参数确定满足第一预设条件的情况下,将所述终端设备在不同展示界面进行切换时的动画效果由第一切换方式替换为第二切换方式,所述晃动参数用于指示所述终端设备的晃动情况,所述第二切换方式为在所述第一切换方式的基础上执行以下中的一项或多项操作:减少动画时长、改变动画曲线和降低变换速率。
  21. 根据权利要求15至20任一项所述的装置,其特征在于,
    展示界面中包括的第一界面组件与展示界面的类型之间具有对应关系,不同类型的展示界面中包括的第一界面组件不同或不完全相同,所述展示界面的类型由通过所述展示界面执行的任务的种类确定;和/或,
    不同类型的展示界面中对所述第一界面组件采用的转换方式不同或不完全相同;和/或,
    当不同类型的展示界面对同一类型的第一界面组件采用相同的转换方式时,不同类型的展示界面中对同一类型的第一界面组件采用的转换比例不同。
  22. 根据权利要求21所述的装置,其特征在于,所述装置还包括:
    获取模块,用于获取所述展示界面的第一界面类型,并获取与所述第一界面类型对应的第一转换规则,所述展示界面的类型由通过所述展示界面执行的任务的种类确定;
    所述转换模块,具体用于根据所述第一转换规则,将所述第一界面组件由所述第一展示模式转换为所述第二展示模式。
  23. 根据权利要求15至20任一项所述的装置,其特征在于,所述终端设备的展示界面中包括至少一个第一界面组件,所述至少一个第一界面组件中包括的为所述终端设备的 展示界面中使用频率达到第一预设阈值的界面组件。
  24. 根据权利要求16所述的装置,其特征在于,终端设备的晃动参数包括晃动时长和/或晃动强度,终端设备的晃动强度根据终端设备的晃动幅度和/或终端设备的晃动频率确定。
  25. 根据权利要求24所述的装置,其特征在于,所述转换模块,具体用于在所述终端设备的晃动时长达到预设时长且所述终端设备的晃动强度达到预设强度的情况下,将所述第一界面组件由第一展示模式转换为第二展示模式。
  26. 根据权利要求24所述的装置,其特征在于,
    所述获取模块,还用于获取与所述终端设备的晃动强度对应的第二转换规则,其中,与不同级别的晃动强度对应的转换规则不同;
    所述转换模块,具体用于根据所述第二转换规则,将所述第一界面组件由所述第一展示模式转换为所述第二展示模式。
  27. 根据权利要求15至20任一项所述的装置,其特征在于,所述获取模块,还用于获取所述终端设备的状态信息,所述状态信息指示所述终端设备的界面展示状态或运动状态;
    所述转换模块,还用于在根据所述状态信息确定满足第二预设条件的情况下,将所述第一界面组件由所述第二展示模式转换为所述第一展示模式。
  28. 一种界面的展示装置,其特征在于,所述装置包括:
    转换模块,用于当终端设备晃动时,将展示界面中的至少一个第一界面组件由第一展示模式转换为第二展示模式;
    其中,当所述至少一个第一界面组件中存在文字类型的界面组件时,所述第二展示模式包括在所述展示界面上增设第二界面组件,所述第二界面组件用于触发将文字转换为语音输出。
  29. 一种计算机程序,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机上运行时,使得计算机执行如权利要求1至13中任一项所述的方法,或者,使得计算机执行如权利要求14所述的方法。
  30. 一种终端设备,其特征在于,包括存储器和处理器,所述处理器与所述存储器耦合;
    所述存储器,用于存储程序;
    所述处理器,用于执行所述存储器中的程序,使得所述终端设备执行如权利要求1至13中任一项所述的方法,或者,使得所述终端设备执行如权利要求14所述的方法。
PCT/CN2021/113660 2020-08-28 2021-08-20 一种界面的展示方法以及相关设备 WO2022042429A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010886068.X 2020-08-28
CN202010886068.XA CN112130941A (zh) 2020-08-28 2020-08-28 一种界面的展示方法以及相关设备

Publications (1)

Publication Number Publication Date
WO2022042429A1 true WO2022042429A1 (zh) 2022-03-03

Family

ID=73848775

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113660 WO2022042429A1 (zh) 2020-08-28 2021-08-20 一种界面的展示方法以及相关设备

Country Status (2)

Country Link
CN (1) CN112130941A (zh)
WO (1) WO2022042429A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112130941A (zh) * 2020-08-28 2020-12-25 华为技术有限公司 一种界面的展示方法以及相关设备
CN113778580B (zh) * 2021-07-28 2023-12-08 赤子城网络技术(北京)有限公司 模态用户界面显示方法、电子设备及存储介质
CN114637443A (zh) * 2022-03-18 2022-06-17 上海瑾盛通信科技有限公司 界面交互方法、装置、移动终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160362A (zh) * 2012-03-07 2014-11-19 印象笔记公司 针对不利使用条件调整移动用户界面
CN104750412A (zh) * 2015-03-02 2015-07-01 深圳市金立通信设备有限公司 一种显示界面的操控方法
CN106648341A (zh) * 2016-11-18 2017-05-10 惠州Tcl移动通信有限公司 一种显示界面排版调整方法及系统
US10425807B2 (en) * 2017-02-10 2019-09-24 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
CN112130941A (zh) * 2020-08-28 2020-12-25 华为技术有限公司 一种界面的展示方法以及相关设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324378A (zh) * 2012-03-22 2013-09-25 富泰华工业(深圳)有限公司 字体尺寸动态调整系统和方法
CN109240591B (zh) * 2018-09-26 2022-02-25 北京乐蜜科技有限责任公司 一种界面显示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160362A (zh) * 2012-03-07 2014-11-19 印象笔记公司 针对不利使用条件调整移动用户界面
CN104750412A (zh) * 2015-03-02 2015-07-01 深圳市金立通信设备有限公司 一种显示界面的操控方法
CN106648341A (zh) * 2016-11-18 2017-05-10 惠州Tcl移动通信有限公司 一种显示界面排版调整方法及系统
US10425807B2 (en) * 2017-02-10 2019-09-24 Youku Internet Technology (Beijing) Co., Ltd. Method and apparatus for controlling interface display
CN112130941A (zh) * 2020-08-28 2020-12-25 华为技术有限公司 一种界面的展示方法以及相关设备

Also Published As

Publication number Publication date
CN112130941A (zh) 2020-12-25

Similar Documents

Publication Publication Date Title
WO2022042429A1 (zh) 一种界面的展示方法以及相关设备
JP7148725B2 (ja) 会話メッセージトップ配置の処理方法及び装置
US9052894B2 (en) API to replace a keyboard with custom controls
RU2535582C2 (ru) Предоставление выбранных данных при помощи заблокированного устройства отображения
US9207838B2 (en) Device, method, and graphical user interface for managing and interacting with concurrently open software applications
US8954887B1 (en) Long press interface interactions
KR102057944B1 (ko) 단말 장치 및 그의 공유 방법
CN105988860B (zh) 执行应用程序的方法及移动装置
US11868592B2 (en) User interfaces for customizing graphical objects
KR101538705B1 (ko) 휴대단말의 기능 제어 방법 및 시스템
US20110179372A1 (en) Automatic Keyboard Layout Determination
US20110175826A1 (en) Automatically Displaying and Hiding an On-screen Keyboard
US9720557B2 (en) Method and apparatus for providing always-on-top user interface for mobile application
JP2013516699A (ja) 別の装置の表示解像度を持つモードを含む複数のアプリケーション表示モードを有する装置および方法
WO2019037359A1 (zh) 一种分屏显示的方法、装置及终端
WO2019047728A1 (zh) 开启快捷功能的方法、装置、移动终端及存储介质
WO2016154893A1 (zh) 一种处理与应用关联的新消息的方法和装置
WO2019127439A1 (zh) 一种计算器的运行方法以及终端
KR20180051653A (ko) 일시적인 그래픽 객체를 렌더링하는 방법 및 장치
CN106648281B (zh) 一种截图方法及装置
CN110286836B (zh) 用于移动应用接口元素的设备、方法和图形用户界面
US11243679B2 (en) Remote data input framework
US11181664B2 (en) Method and device for determining descriptive information of precipitation trend, and readable storage medium
US10254940B2 (en) Modifying device content to facilitate user interaction
WO2023222003A1 (zh) 图像语义对齐方法、装置、电子设备及存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1