WO2022078027A1 - 信息显示方法、装置、电子设备和计算机可读存储介质 - Google Patents

信息显示方法、装置、电子设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2022078027A1
WO2022078027A1 PCT/CN2021/110692 CN2021110692W WO2022078027A1 WO 2022078027 A1 WO2022078027 A1 WO 2022078027A1 CN 2021110692 W CN2021110692 W CN 2021110692W WO 2022078027 A1 WO2022078027 A1 WO 2022078027A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
display interface
information display
interface
reminder information
Prior art date
Application number
PCT/CN2021/110692
Other languages
English (en)
French (fr)
Inventor
黄千洋
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21879074.9A priority Critical patent/EP4227788A4/en
Publication of WO2022078027A1 publication Critical patent/WO2022078027A1/zh
Priority to US18/133,634 priority patent/US20230244372A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • 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 information display method, apparatus, electronic device, and computer-readable storage medium.
  • the communication mode between terminals can be seen everywhere in life and production.
  • a connection needs to be established before two terminals communicate, and after the connection is successful, the two terminals can perform data exchange.
  • the Bluetooth headset needs to establish a Bluetooth connection with the mobile phone first, and communicate after the connection is successful.
  • the user can check whether the other terminal is connected successfully through the status bar on the display screen of one terminal. This viewing method is not intuitive and clear enough, making the human-computer interaction less intelligent.
  • the embodiments of the present application provide an information display method, an apparatus, an electronic device, and a computer-readable storage medium, which can intuitively and clearly know the connection status between the second terminal and the first terminal.
  • a method for displaying information comprising:
  • a reminder information display interface is displayed floating on the current display interface of the first terminal; the reminder information display interface is used to prompt the first terminal to communicate with the second terminal.
  • the second terminal is successfully connected.
  • the method further includes:
  • the reminder information display interface is hidden, and the setting interface is displayed in a floating manner on the current display interface; the setting interface includes The function setting item of the second terminal.
  • the acquiring a setting operation instruction triggered based on the reminder information display interface includes:
  • the setting operation instruction is triggered.
  • the reminder information display interface includes a management control
  • the acquiring a setting operation instruction triggered based on the reminder information display interface includes:
  • the setting operation instruction is generated.
  • the setting interface further includes a device identifier of the second terminal.
  • the device identifier of the second terminal includes a device icon and/or a device name of the second terminal.
  • the distance between the upper boundary of the setting interface and the lower boundary of the status bar of the currently displayed interface is greater than zero.
  • the distance between the upper boundary of the setting interface and the upper boundary of the current display interface is greater than a first preset threshold.
  • the setting interface is displayed in suspension on the current display interface, including:
  • the setting interface template is used to represent page layout information of each of the function setting items on the setting interface
  • the setting interface is generated according to the function setting item and the setting interface template, and the setting interface is displayed in suspension on the current display interface.
  • the method further includes:
  • the reminder information display interface is hidden, and the first display interface is displayed in the status bar of the current display interface. Two terminal device icons.
  • the reminder information display interface includes the device identification of the second terminal and the connection success reminder information.
  • the device identification includes a device icon of the second terminal and/or the name of the second terminal.
  • the reminder information display interface further includes a mute control; the method further includes:
  • the second terminal is controlled to enter a mute mode.
  • the distance between the upper boundary of the reminder information display interface and the lower boundary of the status bar of the current display interface is greater than zero, and the lower boundary of the reminder information display interface and the upper boundary of the current display interface The distance between the boundaries is not greater than a preset threshold.
  • the preset threshold value is determined according to a ratio between the height of the reminder information display interface and the height of the current display interface.
  • the preset threshold is equal to one fifth of the height of the current display interface.
  • the displaying the reminder information display interface in suspension on the current display interface of the first terminal includes:
  • the reminder information display interface is generated according to the device identification of the second device, the connection success reminder information and the preset reminder interface template, and the reminder information display interface is displayed in a floating manner on the current display interface of the first terminal ;
  • the reminder interface template is used to represent the page layout information of the reminder information display interface.
  • An information display device comprising:
  • a detection module configured to detect whether the connection between the first terminal and the second terminal is successful
  • a display module configured to display a reminder information display interface in suspension on the current display interface of the first terminal if the connection between the first terminal and the second terminal is successful; the reminder information display interface is used to prompt the The connection between the first terminal and the second terminal is successful.
  • the information display device further includes an acquisition module:
  • an obtaining module configured to hide the reminder information display interface and display the setting interface in a floating manner on the current display interface if a setting operation instruction triggered based on the reminder information display interface is obtained within a preset time period;
  • the setting interface includes function setting items of the second terminal.
  • the acquiring module is configured to trigger the setting operation instruction if a touch operation based on the touch screen area corresponding to the display interface of the reminder information is detected.
  • the reminder information display interface includes a management control
  • the acquiring module is configured to detect that the management control is triggered, and generate the setting operation instruction.
  • the setting interface further includes a device identifier of the second terminal.
  • the device identifier of the second terminal includes a device icon and/or a device name of the second terminal.
  • the distance between the upper boundary of the setting interface and the lower boundary of the status bar of the currently displayed interface is greater than zero.
  • the distance between the upper boundary of the setting interface and the upper boundary of the current display interface is greater than a first preset threshold.
  • the acquiring module is configured to acquire the function setting items of the second terminal and the setting interface template of the second terminal; the setting interface template is used to indicate that each function setting item is in the setting interface The page layout information on the screen; the setting interface is generated according to the function setting item and the setting interface template, and the setting interface is displayed in suspension on the current display interface.
  • the information display device further includes a hidden module:
  • a hiding module configured to hide the reminder information display interface in the status bar of the current display interface if the setting operation instruction triggered based on the reminder information display interface is not obtained within the preset time period
  • the device icon of the second terminal is displayed in .
  • the reminder information display interface includes the device identification of the second terminal and the connection success reminder information.
  • the device identification includes a device icon of the second terminal and/or the name of the second terminal.
  • the reminder information display interface further includes a mute control; the detection module is further configured to control the second terminal to enter a mute mode if it is detected that the mute control is triggered.
  • the distance between the upper boundary of the reminder information display interface and the lower boundary of the status bar of the current display interface is greater than zero, and the lower boundary of the reminder information display interface and the upper boundary of the current display interface The distance between the boundaries is not greater than a preset threshold.
  • the preset threshold value is determined according to a ratio between the height of the reminder information display interface and the height of the current display interface.
  • the preset threshold is equal to one fifth of the height of the current display interface.
  • the display module is configured to generate the reminder information display interface according to the device identification of the second device, the connection successful reminder information and a preset reminder interface template, and display the reminder information in the first terminal.
  • a reminder information display interface is displayed floatingly on the current display interface; the reminder interface template is used to represent page layout information of the reminder information display interface.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned screen brightness adjustment method when the computer program is executed.
  • the above information display method, device, electronic device, and computer-readable storage medium by detecting whether the first terminal and the second terminal are successfully connected, if the first terminal and the second terminal are successfully connected, then on the current display interface of the first terminal
  • the reminder information display interface is displayed in suspension.
  • the reminder information display interface is displayed on the current display interface, and the user can directly see the reminder information display interface based on the current display interface, and Based on the display interface of the reminder information, the connection situation between the first terminal and the second terminal can be intuitively and clearly obtained, the user perception is enhanced, and the human-computer interaction is more intelligent.
  • FIG 1 is an application environment diagram of an information display method in one embodiment
  • FIG. 3 is a schematic diagram of a display interface of a first terminal in one embodiment
  • FIG. 4 is a schematic diagram of a display interface of a first terminal in one embodiment
  • FIG. 5 is a schematic diagram of a display interface of a first terminal in one embodiment
  • FIG. 6 is a schematic diagram of a display interface of a first terminal in an embodiment
  • FIG. 7 is a schematic diagram of a display interface of a first terminal in one embodiment
  • FIG. 8 is a schematic diagram of a display interface of a first terminal in an embodiment
  • FIG. 9 is a schematic diagram of a display interface of a first terminal in an embodiment
  • FIG. 11 is a schematic diagram of a display interface of a first terminal in an embodiment
  • FIG. 12 is a schematic diagram of a display interface of a first terminal in an embodiment
  • FIG. 13 is a schematic diagram of a display interface of a first terminal in one embodiment
  • FIG. 14 is a structural block diagram of an information display device in one embodiment
  • 15 is a structural block diagram of an information display device in one embodiment
  • 16 is a structural block diagram of an information display device in one embodiment
  • FIG. 17 is a structural diagram of an electronic device in one embodiment.
  • first, second, etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.
  • a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of this application.
  • Both the first client and the second client are clients, but they are not the same client.
  • FIG. 1 is a schematic diagram of an application environment of an information display method in an embodiment.
  • the application environment includes a terminal 11 and a terminal 12, and the terminal 11 and the terminal 12 communicate through a network.
  • the terminal 11 can be a device with a display screen such as a mobile phone, a computer, a TV, a game console, an iPad, etc.
  • the terminal 12 can be a speaker with a connection function besides the earphone shown in FIG. 1 .
  • FIG. 2 is a flowchart of a method for displaying information in one embodiment.
  • the information display method in this embodiment is described by taking the terminal 11 in FIG. 1 as an example for description.
  • the information display method includes steps 201 to 202 .
  • Step 201 detecting whether the connection between the first terminal and the second terminal is successful.
  • the first terminal when a second terminal accesses the first terminal, the first terminal is triggered to detect whether the connected second terminal is successfully connected. For example, when the second terminal accesses the first terminal through Bluetooth, the A terminal detects its own Bluetooth status. If the Bluetooth status is idle, it means that the current Bluetooth connection between the second terminal and the first terminal has failed; if the Bluetooth has been connected to a certain device, it means that the current second terminal and the second terminal have failed. The Bluetooth connection of the terminal is successful. Or, when the first terminal needs to connect with the second terminal, the first terminal sends a Bluetooth connection request to the second terminal, and when the first terminal receives a Bluetooth connection response returned by the second terminal, it determines the connection between the first terminal and the second terminal. connection succeeded. For connection modes of other protocols, the detection modes of the first terminal are similar, which are not limited in this embodiment.
  • Step 202 if the first terminal is successfully connected with the second terminal, a reminder information display interface is displayed in suspension on the current display interface of the first terminal; the reminder information display interface is used to remind the first terminal and the second terminal that the connection is successful.
  • FIG. 3 is a schematic layout diagram of the current display interface displaying the reminder information display interface in suspension after the first terminal and the second terminal are successfully connected.
  • the first terminal may generate reminder information indicating that the connection is successful, and display the reminder information on the current display interface.
  • related information of the second terminal may also be included, for example, information such as a device identification, a name identification, an icon and the like of the second terminal.
  • the reminder information display interface may include the icon of the earphone, the device identifier of the earphone, and the information of successful connection.
  • the first terminal may suspend and display the reminder information display interface at any position in the current display interface, for example, the reminder information display interface may be suspended and displayed in the upper and middle parts of the current display interface. , bottom, which is not limited in this embodiment.
  • the information display method in this embodiment detects whether the connection between the first terminal and the second terminal is successful. If the connection between the first terminal and the second terminal is successful, a reminder information display interface is displayed floating on the current display interface of the first terminal. In this method, when the first terminal and the second terminal are successfully connected, the reminder information display interface is displayed on the current display interface, the user can directly see the reminder information display interface based on the current display interface, and the reminder information display interface can be intuitively displayed.
  • the connection situation between the first terminal and the second terminal is clearly and clearly known, which enhances user perception and makes human-computer interaction more intelligent.
  • the method further includes: within a preset time period, if a setting operation instruction triggered based on the reminder information display interface is obtained, hiding the reminder information display interface, and the setting interface is displayed in suspension on the current display interface; the setting interface includes the function setting items of the second terminal.
  • the setting operation instruction triggered based on the reminder information display interface may be an instruction triggered based on any area on the reminder information display interface, or may be an instruction triggered based on a designated area of the reminder information display interface.
  • the first terminal acquires a setting operation instruction triggered by the reminder information display interface within a preset time period, indicating that the user needs to perform a function setting operation on the connected second terminal at this time.
  • the first terminal performs an operation of hiding the display interface of the reminder information, and at the same time, the first terminal can also display the setting interface in a floating display in the current display interface.
  • the preset time period may be 2.5 seconds, 3 seconds, 5 seconds, or other time periods, which are not limited in this embodiment.
  • FIG. 4 shows a schematic diagram of the layout of the setting interface of the second terminal in the current display interface of the first terminal when the second terminal is a headset.
  • the function setting item 1 of the two terminal setting interface can be noise reduction, and the function setting item 2 can be wearing induction.
  • multiple function setting items can be set.
  • Setting item 4 is the connection volume and so on.
  • the second terminal may also be other devices with a connection function, such as a camera.
  • the function setting items may be shooting aperture, shooting depth of field, shooting countdown, etc., which is not done in this embodiment. limited.
  • the first terminal detects whether the setting operation instruction is triggered within a preset time period, so that when the setting operation instruction is triggered, the operation of the reminder information display interface is hidden, and the setting of the second terminal is displayed in a floating manner In the interface, the user does not need to set the function items of the second terminal by opening the connection setting, which simplifies the setting operation of the user.
  • the prompt information display interface can be hidden, and the above method further includes: within a preset time period, if the prompt information triggered based on the prompt information display interface is not acquired If the operation instruction is set, the reminder information display interface is hidden, and the device icon of the second terminal is displayed in the status bar of the current display interface.
  • the preset time period may be 2.5 seconds, 3 seconds, 5 seconds, or other specified time periods. Taking the preset time period of 2.5 seconds as an example, if the first terminal does not detect the The setting operation instruction triggered by the reminder information display interface, it is considered that the user does not need to perform function settings on the current second terminal. At this time, the first terminal can hide the current reminder information display interface and display the connected second terminal.
  • FIG. 5 shows a schematic diagram of including a second terminal identifier in the status bar.
  • the identifier of the second terminal may be a device icon of the second terminal, or may be other designated virtual identifiers of the second terminal, which are not limited in this embodiment.
  • the reminder information display interface is hidden, so that the reminder information display interface will not stay on the current display interface for too long.
  • the user can also intuitively obtain the connection status of the second device through the device icon of the second device in the status bar.
  • the first terminal may perform a corresponding operation according to the display area triggered by the user.
  • the above-mentioned acquisition of the setting operation instruction triggered by the display interface based on the reminder information includes: if it is detected that the display interface corresponding to the reminder information is detected. The touch operation in the touch screen area will trigger the setting operation instruction.
  • the touch screen area corresponding to the reminder information display interface is the area where the reminder information display interface is located.
  • the touch operation can be single-click, double-click, slide, long-press and other operations, which are not limited in this embodiment.
  • the first terminal may determine whether the current touch point is within the range of the touch screen area corresponding to the reminder information display interface according to the position of the reminder information display interface and the position where the touch point is generated. If it is determined that the current touch point is within the range of the touch screen area corresponding to the reminder information display interface, it means that the user wants to set the connection function of the second terminal. At this time, the first terminal determines to trigger the setting operation instruction. Not limited.
  • the user can trigger the setting operation instruction based on any point of the touch screen area corresponding to the reminder information display interface.
  • the triggering area has a large range, and the user can quickly trigger the setting operation instruction, which simplifies the user's setting operation.
  • the above-mentioned reminder information display interface includes a management control, and the setting operation instruction triggered based on the reminder information display interface is obtained, including:
  • the first terminal may determine whether the current touch point is within the range of the position of the management control according to the position of the management control and the position where the touch point is generated. If it is determined that the current touch point is within the position range where the management control is located, it means that the user wants to set the connection function of the second terminal. At this time, the first terminal determines to trigger the setting operation instruction.
  • a schematic diagram of the layout of the management controls can be referred to as shown in FIG. 6 . Taking the second terminal as an earphone as an example, the management controls can be set at the right end of the reminder information display interface. Optionally, the management controls can also be located at other positions on the reminder information display interface. Determine the relative position of the management control according to the positions of other identifiers on the display interface of the reminder information.
  • the user can trigger the setting operation instruction based on the management control in the reminder information display interface, and the triggering area range is precise, which will not cause the false triggering operation, which simplifies the setting operation of the user.
  • the above-mentioned setting interface further includes a device identifier of the second terminal.
  • the device identification of the second terminal is an identification used to represent the current second terminal information, and the device identification may be the icon identification of the second terminal, the device identification of the second terminal, the symbolic identification of the second terminal, or the second terminal. Other specified meaningful identifiers for the terminal.
  • the device identifier of the second terminal includes a device icon and/or a device name of the second terminal.
  • the device identification of the second terminal may be set at the top of the setting interface, or the device identification of the second terminal may be set at other designated positions on the setting interface, and the device identification is determined according to the positions of other marks in the setting interface. relative position.
  • the schematic diagram of the layout of the device identifier of the second terminal on the setting interface can be referred to as shown in FIG. 7 .
  • the content in the dotted box in FIG. 7 is the device identifier of the second terminal, which is optional.
  • the device identifier may be the icon identifier of the second terminal, or the device identifier of the second terminal, or the icon identifier and device identifier of the second terminal.
  • the device identifier is the icon identifier and device identifier of the second terminal
  • its icon The layout of the logo and the device logo may be in parallel, and as shown in FIG. 7 , the icon logo and the device logo may be displayed in two lines, which is not limited in this embodiment.
  • the device identifier of the second terminal is set in the setting interface, so that the user can intuitively know the information of the currently set second terminal.
  • the distance between the upper boundary of the setting interface and the lower boundary of the status bar of the currently displayed interface is greater than zero.
  • FIG. 8 shows the distance between the upper boundary of the setting interface and the lower boundary of the status bar of the current display interface.
  • the distance can be It is represented as H1.
  • the H1 can be set to a number greater than 0.
  • the layout of the setting interface according to the size of the status bar, the size of the setting interface, and the current Display the size of the interface to set the distance H1.
  • the lower boundary of the status bar may be determined according to the size and position of the status bar
  • the upper boundary of the setting interface may be determined according to the size and position of the setting interface
  • the size and position of the current display interface may be determined, and the viewing suitability of the user may be considered to determine the relationship between the setting interface and the setting interface.
  • the distance H1 of the status bar is not limited in this embodiment.
  • the layout setting of the setting interface is performed according to the upper boundary of the setting interface and the lower boundary of the status bar of the current display interface, which ensures that the floating display of the setting interface will not affect the display of the status bar in the current display interface. user experience.
  • the distance between the upper boundary of the setting interface and the upper boundary of the current display interface is greater than a first preset threshold.
  • the first preset threshold may be determined according to the height of the status bar, where the first preset threshold may be equal to the height of the status bar, or may be the sum of the height of the status bar and the allowable error.
  • FIG. 9 shows the distance between the upper boundary of the setting interface and the upper boundary of the current display interface, and the distance can be expressed as H2
  • the layout of the setting interface is performed according to a first preset threshold. For example, if the height of the status bar is 1 cm and the allowable error is 0.2 cm, then the first preset threshold is taken as The value range can be (1cm, 1.2cm).
  • the distance H2 is determined, and H2 can be a value greater than 1.2cm and less than the height of the current display interface.
  • Set the font size of the information in the setting interface According to the font size, the amount of information in the setting interface, and the size of the current interface, determine whether the setting interface is set at the upper, middle or bottom of the current display interface, so as to determine the corresponding distance. H2, this is not limited in this embodiment.
  • the layout setting of the setting interface is performed according to the upper boundary of the setting interface and the upper boundary of the current display interface. Since the upper boundary of the current display interface will not change, a certain fixed value is used as a reference, and the method is simple and accurate It ensures that setting the interface layout will not cause other effects on the current display interface and status bar, and improves the comfort of the screen.
  • the first terminal may determine a setting interface corresponding to the second terminal according to the type of the second terminal.
  • the setting interface is displayed in a floating manner on the current display interface, including:
  • Step 301 Obtain the function setting items of the second terminal and the setting interface template of the second terminal; the setting interface template is used to represent page layout information of each function setting item on the setting interface.
  • the first terminal may pre-build setting interface templates corresponding to different types of second terminals. For example, when the second terminal is a camera, build a setting interface template corresponding to the camera; when the second terminal is a headset, build a headset The corresponding setting interface template.
  • the setting interface template includes function setting items corresponding to the second terminal, and the function setting items in different types of setting interface templates are different.
  • the function setting items in the corresponding setting interface template may include shooting aperture, shooting depth of field, shooting countdown, etc.
  • the corresponding setting interface template in the The function setting items can include noise reduction, wearing induction, sound effect mode, etc.
  • Step 302 Generate a setting interface according to the function setting item and the setting interface template, and display the setting interface in a floating manner on the current display interface.
  • the first terminal determines the type of the second terminal according to the acquired device identifier of the second terminal, and then determines its corresponding setting interface template according to the type of the second terminal , and generate the setting interface according to the function setting item and setting interface template. For example, if it is determined that the second terminal is an earphone according to the device identifier of the second terminal, a setting interface template corresponding to the earphone is determined from the setting interface template database, and the earphone is generated according to the setting interface template corresponding to the earphone and the function setting item corresponding to the earphone.
  • the corresponding setting interface, and the setting interface is suspended and displayed in the current display interface, which is not limited in this embodiment.
  • the first terminal can determine the type of the second terminal according to the device identification of the second terminal, so as to adaptively determine the setting interface template corresponding to the second terminal, so that the generated setting interface can accurately reflect the current second terminal related function setting item information.
  • the reminder information display interface includes the device identifier of the second terminal and the connection success reminder information.
  • the device identification of the second terminal is an identification used to represent the current second terminal information
  • the device identification may be the icon identification of the second terminal, the device identification of the second terminal, the symbolic identification of the second terminal, or the second terminal.
  • the connection-successful reminder information can be a specified character identification, such as "connected” or "connected successfully", or other specified identifications.
  • the above-mentioned device identification includes a device icon of the second terminal and/or a name of the second terminal.
  • the device identifier of the second terminal may be the icon identifier of the second terminal, or the device identifier of the second terminal, or the icon identifier and the device identifier of the second terminal, where the device identifier is the icon identifier and the device identifier of the second terminal.
  • the layout of the icon identification and the device identification may be in parallel, as shown in FIG. 11 , which is not limited in this embodiment.
  • the device identifier of the second terminal and the connection success reminder information are set in the reminder information display interface, wherein the layout position of the device identifier of the second terminal and the connection success reminder information is determined according to the size of the reminder information display interface,
  • a schematic diagram of the layout of the reminder information display interface can be referred to as shown in FIG. 11 .
  • the reminder information display interface in FIG. 11 includes two dashed boxes.
  • the device identification of the second terminal, the dotted box on the right side of the figure includes the reminder information of successful connection.
  • Figure 11 only provides a layout of the reminder information display interface.
  • the layout of the reminder information display interface can also include the connection success reminder information on the left, and the device identification of the second terminal on the right, which is not done in this embodiment. limited.
  • the device identifier and the connection success identifier of the second terminal are set in the reminder information display interface.
  • the device identifier of the second terminal includes an icon and/or a name, which can make the user know the second terminal more intuitively. device information and whether the second terminal is successfully connected.
  • the above-mentioned reminder information display interface further includes a mute control; the method further includes:
  • the second terminal is controlled to enter the mute mode.
  • the mute control is used to control the second terminal to adjust the working mode of the second terminal to the mute mode. For example, when the second terminal is an earphone, the mute control is used to adjust the volume of the earphone to 0; when the second terminal is a camera, the mute control is used to turn off the sound generated by the camera operation, such as when shooting. sound effects, etc.
  • the first terminal detects that the mute control is triggered, that is, detects that the mute control is clicked or selected, or detects a touch point in the area where the mute control is located, it controls the second terminal to enter the mute mode.
  • the layout setting of the mute control can be referred to as shown in FIG. 12 .
  • the mute control can be set at the right end of the reminder information display interface, or the mute control can be set at other designated areas of the reminder information display interface. position, where the layout position of the mute control is determined according to other information identifiers in the reminder information display interface, which is not limited in this embodiment.
  • the user can control the second terminal to enter the silent mode based on the mute control on the reminder information display interface, which simplifies the user's operation selection on the second terminal.
  • the distance between the upper boundary of the reminder information display interface and the lower boundary of the status bar of the current display interface is greater than zero , and the distance between the lower boundary of the reminder information display interface and the upper boundary of the current display interface is not greater than the preset threshold.
  • the preset threshold refers to a distance threshold determined according to the layout relationship between the current interface and the reminder information display interface.
  • FIG. 13 shows the distance between the upper boundary of the reminder information display interface and the lower boundary of the status bar of the current display interface.
  • the distance can be expressed as H3.
  • the H3 can be set to a number greater than 0.
  • Figure 13 also shows the lower boundary of the reminder information display interface and the upper boundary of the current display interface.
  • the distance can be expressed as H4.
  • not only the relationship between the reminder information display interface and the status bar, but also the relationship between the reminder information display interface and the current interface should be considered.
  • Layout proportional relationship that is, it is necessary to ensure that the reminder information display interface does not overlap with the status bar, and also to ensure that the reminder information display interface is located in the upper part of the current display interface.
  • the preset threshold is 4 cm
  • H1 is 0.5 cm
  • H4 is 2 cm
  • the position of the reminder information display interface and the size of the reminder information display interface can basically be determined, which are not limited in this embodiment.
  • the layout setting of the reminder information display interface is performed according to the upper boundary of the reminder information display interface, the lower boundary of the reminder information display interface, the lower boundary of the status bar of the current display interface, and the upper boundary of the current display interface to ensure that The reminder information display interface ensures that the reminder information display interface is in the upper position of the current display interface while not affecting the status bar, so that the purpose of intuitively displaying the reminder information to the user is realized, and the page layout is more optimized.
  • the above-mentioned preset threshold value is determined according to a ratio between the height of the reminder information display interface and the height of the current display interface.
  • the display interface of the first terminal has different sizes and sizes.
  • the preset threshold corresponding to H4 in can be determined according to the ratio between the height of the current display interface and the height of the reminder information display interface.
  • the above-mentioned preset threshold is equal to one-fifth of the height of the current display interface.
  • the threshold range corresponding to H4 in the above embodiment may be one-fifth times the height of the current display interface.
  • the display interface of the first terminal is 5.5 inches
  • the height of the corresponding display interface is 5.5 inches. It is 12.18cm.
  • the preset threshold can be determined to be 2.436cm, that is, the value range of H4 is (0, 2.436cm), and one H4 value and one H3 value are determined.
  • H4 is 2cm
  • H3 If it is 0.2 cm, the upper boundary and the lower boundary of the reminder information display interface can be determined, so as to determine the size and size of the reminder information display interface, which is not limited in this embodiment.
  • the layout setting of the reminder information display interface is performed according to the height of the reminder information display interface and the height of the current display interface, which ensures that the reminder information display interface does not affect the status bar and at the same time ensures the reminder information display interface. It is located in the upper position of the current display interface, which realizes the purpose of intuitively displaying the reminder information to the user, and at the same time optimizes the layout of the display interface, which is more in line with user habits.
  • the first terminal may display the reminder information display interface in a floating manner according to a preset template.
  • the above-mentioned floating display of the reminder information display interface on the current display interface of the first terminal includes: according to the device identification of the second device, the connection The successful reminder information and the preset reminder interface template are used to generate the reminder information display interface, and the reminder information display interface is displayed in suspension on the current display interface of the first terminal; the reminder interface template is used to represent the page layout information of the reminder information display interface.
  • the first terminal may pre-build reminder interface templates corresponding to different types of second terminals. For example, when the second terminal is a camera, a reminder interface template corresponding to the camera is constructed; when the second terminal is a headset Next, build the reminder interface template corresponding to the headset. For example, after detecting the connection of the second terminal, the first terminal determines the type of the second terminal according to the acquired device identification of the second terminal.
  • the second terminal is determined to be a headset according to the device identification of the second terminal, then Determine the reminder interface template corresponding to the headset from the reminder interface template, generate the reminder information display interface corresponding to the headset according to the reminder interface template corresponding to the headset, the device identification of the second terminal and the connection success reminder information, and display the reminder information
  • the interface is suspended and displayed in the current display interface, which is not limited in this embodiment.
  • the first terminal can determine the type of the second terminal according to the device identifier of the second terminal, so as to adaptively determine the reminder interface template corresponding to the second terminal, so that the generated reminder information display interface can accurately reflect the current first terminal. Information about the second terminal.
  • steps in the flowcharts of FIG. 2 and FIG. 10 are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 and FIG. 10 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or The order of execution of the stages is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a stage.
  • FIG. 14 is a structural block diagram of an information display apparatus according to an embodiment. As shown in Figure 14, the information display device includes a detection module 01 and a display module 02, wherein:
  • a detection module 01 configured to detect whether the connection between the first terminal and the second terminal is successful
  • the display module 02 is used to display a reminder information display interface on the current display interface of the first terminal if the connection between the first terminal and the second terminal is successful; the reminder information display interface is used to remind the first terminal and the second terminal that the connection is successful .
  • the above-mentioned information display device further includes an acquisition module 03, which is configured to hide the reminder information display if a setting operation instruction triggered by the reminder information display interface is acquired within a preset time period. interface, and the setting interface is displayed in suspension on the current display interface; the setting interface includes the function setting items of the second terminal.
  • the acquiring module 03 is configured to trigger a setting operation instruction if a touch operation based on the touch screen area corresponding to the display interface of the reminder information is detected.
  • the reminder information display interface includes a management control
  • the acquiring module 03 is configured to generate a setting operation instruction if it is detected that the management control is triggered.
  • the setting interface further includes a device identification of the second terminal.
  • the setting interface further includes a device identification of the second terminal.
  • the distance between the upper boundary of the setting interface and the lower boundary of the status bar of the currently displayed interface is greater than zero.
  • the distance between the upper boundary of the setting interface and the upper boundary of the currently displayed interface is greater than a first preset threshold.
  • the obtaining module 03 is used to obtain the function setting items of the second terminal and the setting interface template of the second terminal; the setting interface template is used to represent the page layout information of each function setting item on the setting interface; according to the function The setting item and the setting interface template generate the setting interface, and the setting interface is displayed floating on the current display interface.
  • the above-mentioned information display device further includes a hiding module 04, configured to hide the reminder information if the setting operation instruction triggered by the reminder information display interface is not obtained within a preset time period.
  • the interface is displayed, and the device icon of the second terminal is displayed in the status bar of the currently displayed interface.
  • the reminder information display interface includes the device identification of the second terminal and the connection success reminder information.
  • the device identification includes a device icon of the second terminal and/or a name of the second terminal.
  • the reminder information display interface further includes a mute control; the above-mentioned detection module 01 is further configured to control the second terminal to enter the mute mode if it is detected that the mute control is triggered.
  • the distance between the upper boundary of the reminder information display interface and the lower boundary of the status bar of the current display interface is greater than zero, and the distance between the lower boundary of the reminder information display interface and the upper boundary of the current display interface not greater than the preset threshold.
  • the preset threshold value is determined according to a ratio between the height of the reminder information display interface and the height of the current display interface.
  • the preset threshold is equal to one fifth of the height of the current display interface.
  • the display module 02 is configured to generate a reminder information display interface according to the device identification of the second device, the connection successful reminder information and a preset reminder interface template, and display it in a floating manner on the current display interface of the first terminal
  • the reminder information display interface; the reminder interface template is used to represent the page layout information of the reminder information display interface.
  • each module in the above information display device is only used for illustration. In other embodiments, the information display device may be divided into different modules as required to complete all or part of the functions of the above information display device.
  • Each module in the above-mentioned information display device may be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • FIG. 17 is a schematic diagram of the internal structure of an electronic device in one embodiment.
  • the electronic device includes a processor and a memory connected by a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire electronic device.
  • the memory may include non-volatile storage media and internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the computer program can be executed by the processor to implement an information display method provided by the following embodiments.
  • Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media.
  • the electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, and the like.
  • each module in the information display device provided in the embodiments of the present application may be in the form of a computer program.
  • the computer program can be run on a terminal or server.
  • the program modules constituted by the computer program can be stored on the memory of the electronic device.
  • the steps of the methods described in the embodiments of the present application are implemented.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of the information display method.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本方法涉及一种信息显示方法、装置、电子设备、计算机可读存储介质,包括通过检测第一终端与第二终端是否连接成功,若第一终端与第二终端连接成功,则在第一终端的当前显示界面上悬浮显示提醒信息显示界面,在本方法中,在第一终端与第二终端连接成功时,在当前显示界面展示提醒信息显示界面,用户可以基于当前显示界面,直接看到提醒信息显示界面,并且基于提醒信息显示界面可以直观地、清晰地获知第一终端与第二终端的连接情况,增强了用户感知,人机交互更加智能。

Description

信息显示方法、装置、电子设备和计算机可读存储介质
相关申请
本申请要求2020年10月12日申请的,申请号为2020110847518,名称为“信息显示方法、装置、电子设备和计算机可读存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及计算机技术领域,特别是涉及一种信息显示方法、装置、电子设备和计算机可读存储介质。
背景技术
随着移动通信技术的发展,终端与终端之间的通信方式在生活生产中随处可见。通常,当两个终端进行通信之前需要先建立连接,连接成功之后两个终端可以进行数据交互。例如,当蓝牙耳机与手机通信时,蓝牙耳机需要先和手机建立蓝牙连接,连接成功之后通信。两个终端连接成功之后,用户可以通过一个终端的显示屏幕上的状态栏查看另一个终端是否连接成功,该查看方式不够直观、清晰,使得人机交互不够智能。
发明内容
本申请实施例提供了一种信息显示方法、装置、电子设备、计算机可读存储介质,可以直观、清晰的获知第二终端与第一终端的连接状态。
一种信息显示方法,其特征在于,包括:
检测第一终端与第二终端是否连接成功;
若所述第一终端与所述第二终端连接成功,则在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒信息显示界面用于提示所述第一终端与所述第二终端连接成功。
优选的,所述方法还包括:
在预设时间段内,若获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面上悬浮显示设置界面;所述设置界面包括所述第二终端的功能设置项。
优选的,所述获取到基于所述提醒信息显示界面触发的设置操作指令,包括:
若检测到基于所述提醒信息显示界面对应的触摸屏区域的触控操作,则触发所述设置操作指令。
优选的,所述提醒信息显示界面包括管理控件,所述获取到基于所述提醒信息显示界面触发的设置操作指令,包括:
若检测到所述管理控件被触发,则生成所述设置操作指令。
优选的,所述设置界面还包括所述第二终端的设备标识。
优选的,所述第二终端的设备标识包括所述第二终端的设备图标和/或设备名称。
优选的,所述设置界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零。
优选的,所述设置界面的上边界与所述当前显示界面的上边界之间的距离大于第一预设阈值。
优选的,在所述当前显示界面上悬浮显示设置界面,包括:
获取所述第二终端的功能设置项和所述第二终端的设置界面模板;所述设置界面模板用于表示各所述功能设置项在所述设置界面上的页面布局信息;
根据所述功能设置项和所述设置界面模板生成所述设置界面,并在所述当前显示界面上悬浮显示设置界面。
优选的,所述方法还包括:
在所述预设时间段内,若未获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面的状态栏中显示所述第二终端的设备图标。
优选的,所述提醒信息显示界面包括第二终端的设备标识和连接成功提醒信息。
优选的,所述设备标识包括所述第二终端的设备图标和/或所述第二终端的名称。
优选的,所述提醒信息显示界面还包括静音控件;所述方法还包括:
若检测到所述静音控件被触发,则控制所述第二终端进入静音模式。
优选的,所述提醒信息显示界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零,且,所述提醒信息显示界面的下边界与所述当前显示界面的上边界之间的距离不大于预设阈值。
优选的,所述预设阈值为根据所述提醒信息显示界面的高度和所述当前显示界面的高度之间的比例确定的。
优选的,所述预设阈值等于所述当前显示界面的高度的五分之一倍。
优选的,所述在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面,包括:
根据所述第二设备的设备标识、所述连接成功提醒信息和预设的提醒界面模板,生成所述提醒信息显示界面,并在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒界面模板用于表示所述提醒信息显示界面的页面布局信息。
一种信息显示装置,包括:
检测模块,用于检测第一终端与第二终端是否连接成功;
显示模块,用于若所述第一终端与所述第二终端连接成功,则在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒信息显示界面用于提示所述第一终端与所述第二终端连接成功。
优选的,所述信息显示装置还包括获取模块:
获取模块,用于在预设时间段内,若获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面上悬浮显示设置界面;所述设置界面包括所述第二终端的功能设置项。
优选的,所述获取模块,用于若检测到基于所述提醒信息显示界面对应的触摸屏区域的触控操作,则触发所述设置操作指令。
优选的,所述提醒信息显示界面包括管理控件,所述获取模块,用于检测到所述管理控件被触发,生成所述设置操作指令。
优选的,所述设置界面还包括所述第二终端的设备标识。
优选的,所述第二终端的设备标识包括所述第二终端的设备图标和/或设备名称。
优选的,所述设置界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零。
优选的,所述设置界面的上边界与所述当前显示界面的上边界之间的距离大于第一预设阈值。
优选的,所述获取模块,用于获取所述第二终端的功能设置项和所述第二终端的设置界面模板;所述设置界面模板用于表示各所述功能设置项在所述设置界面上的页面布局信息;根据所述功能设置项和所述设置界面模板生成所述设置界面,并在所述当前显示界面上悬浮显示设置界面。
优选的,所述信息显示装置还包括隐藏模块:
隐藏模块,用于在所述预设时间段内,若未获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面的状态栏中显示所述第二终端的设备图标。
优选的,所述提醒信息显示界面包括第二终端的设备标识和连接成功提醒信息。
优选的,所述设备标识包括所述第二终端的设备图标和/或所述第二终端的名称。
优选的,所述提醒信息显示界面还包括静音控件;所述检测模块,还用于若检测到所述静音控件被触发,则控制所述第二终端进入静音模式。
优选的,所述提醒信息显示界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零,且,所述提醒信息显示界面的下边界与所述当前显示界面的上边界之间的距离不大于预设阈值。
优选的,所述预设阈值为根据所述提醒信息显示界面的高度和所述当前显示界面的高度之间的比例确定的。
优选的,所述预设阈值等于所述当前显示界面的高度的五分之一倍。
优选的,所述显示模块,用于根据所述第二设备的设备标识、所述连接成功提醒信息和预设的提醒界面模板,生成所述提醒信息显示界面,并在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒界面模板用于表示所述提醒信息显示界面的页面布局信息。
一种电子设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行该计算机程序时实现上述屏幕亮度调节方法。
一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述分集接收方法。
上述信息显示方法、装置、电子设备、计算机可读存储介质,通过检测第一终端与第二终端是否连接成功,若第一终端与第二终端连接成功,则在第一终端的当前显示界面上悬浮显示提醒信息显示界面,在本方法中,在第一终端与第二终端连接成功时,在当前显示界面展示提醒信息显示界面,用户可以基于当前显示界面,直接看到提醒信息显示界面,并且基于提醒信息显示界面可以直观地、清晰地获知第一终端与第二终端的连接情况,增强了用户感知,人机交互更加智能。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中信息显示方法的应用环境图;
图2为一个实施例中信息显示方法的流程图;
图3为一个实施例中第一终端的显示界面示意图;
图4为一个实施例中第一终端的显示界面示意图;
图5为一个实施例中第一终端的显示界面示意图;
图6为一个实施例中第一终端的显示界面示意图;
图7为一个实施例中第一终端的显示界面示意图;
图8为一个实施例中第一终端的显示界面示意图;
图9为一个实施例中第一终端的显示界面示意图;
图10为一个实施例中信息显示方法的流程图;
图11为一个实施例中第一终端的显示界面示意图;
图12为一个实施例中第一终端的显示界面示意图;
图13为一个实施例中第一终端的显示界面示意图;
图14为一个实施例中信息显示装置的结构框图;
图15为一个实施例中信息显示装置的结构框图;
图16为一个实施例中信息显示装置的结构框图;
图17为一个实施例中电子设备结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。
图1为一个实施例中信息显示方法的应用环境示意图。如图1所示,该应用环境包括终端11和终端12,终端11和终端12通过网络进行通信。其中,终端11可以为手机、电脑、电视机、游戏机、iPad等带有显示屏的设备,终端12除了可以是图1中所示的耳机之外,终端12还可以是具有连接功能的音箱、耳机、相机、车载、鼠标、键盘、手环、打印机、以及手机、电脑、电视机、游戏机、iPad等设备,可选地,终端11与终端12的连接方式可以为蓝牙、WIFI、以及指定协议连接方式。
图2为一个实施例中信息显示方法的流程图。本实施例中的信息显示方法,以运行于图1中的终端11上为例进行描述。如图2所示,信息显示方法包括步骤201至步骤202。
步骤201,检测第一终端与第二终端是否连接成功。
在本实施例中,在有第二终端接入第一终端时,触发第一终端检测接入的第二终端是否连接成功,示例地,当第二终端以蓝牙接入第一终端时,第一终端检测自身的蓝牙状态,若蓝牙状态为空闲状态,则意味着当前第二终端与第一终端的蓝牙连接失败;若蓝牙已连接到某一个设备,则意味着当前第二终端与第二终端的蓝牙连接成功。或者,当第一终端需要与第二终端连接时,第一终端向第二终端发送蓝牙连接请求,当第一终端接收到第二终端返回的蓝牙连接响应时,确定第一终端与第二终端连接成功。针对于其他协议的连接方式,第一终端的检测方式类似,本实施例对此不做限定。
步骤202,若第一终端与第二终端连接成功,则在第一终端的当前显示界面上悬浮显示提醒信息显示界面;提醒信息显示界面用于提示第一终端与第二终端连接成功。
在本实施例中,可参考图3所示,图3给出了第一终端与第二终端连接成功之后,当前显示界面悬浮显示提醒信息显示界面的布局示意图。当第一终端检测到第一终端与第二终端 连接成功之后,第一终端可以生成连接成功的提醒信息,并将该提醒信息显示于当前显示界面中,可选地,提醒信息显示界面中除了包括连接成功的信息之外,还可以包括第二终端的相关信息,例如,第二终端的设备标识、名称标识、图标等信息。以第二终端为耳机说明,提醒信息显示界面中可以包括耳机的图标、耳机的设备标识、以及连接成功的信息。
可选地,在进行显示提醒信息显示界面时,第一终端可以将提醒信息显示界面悬浮显示在当前显示界面中任意位置,例如,可以将提醒信息显示界面悬浮显示在当前显示界面的上部、中部、底部,本实施例对此不做限定。
本实施例中的信息显示方法,通过检测第一终端与第二终端是否连接成功,若第一终端与第二终端连接成功,则在第一终端的当前显示界面上悬浮显示提醒信息显示界面,在本方法中,在第一终端与第二终端连接成功时,在当前显示界面展示提醒信息显示界面,用户可以基于当前显示界面,直接看到提醒信息显示界面,并且基于提醒信息显示界面可以直观地、清晰地获知第一终端与第二终端的连接情况,增强了用户感知,人机交互更加智能。
为了进一步优化数据交互,使得人机交互更智能,在一个实施例中,该方法还包括:在预设时间段内,若获取到基于提醒信息显示界面触发的设置操作指令,则隐藏提醒信息显示界面,并在当前显示界面上悬浮显示设置界面;设置界面包括第二终端的功能设置项。
其中,基于提醒信息显示界面触发的设置操作指令,可以是基于提醒信息显示界面上任意区域触发的指令,还可以是基于提醒信息显示界面指定区域触发的指令。
在本实施例中,第一终端在预设的时间段内,获取到基于提醒信息显示界面触发的设置操作指令,表明此时用户需要对已连接的第二终端进行功能设置操作,此时触发第一终端执行隐藏提醒信息显示界面的操作,同时第一终端还可以将设置界面悬浮显示在当前显示界面中。示例地,预设的时间段可以为2.5秒、3秒、5秒或者其他时间段,本实施例中不加以限制。
如图4所示,图4给出了当第二终端为耳机时,在第一终端的当前显示界面中,第二终端的设置界面的布局示意图,在第二终端为耳机的情况下,第二终端设置界面的功能设置项1可以为降噪,功能设置项2可以为佩戴感应,可选地,按照实际情况,功能设置项还设置为多个,例如功能设置项3为音效模式、功能设置项4为连接音量等等。另外,第二终端还可以是其他具有连接功能的设备,例如相机,在第二终端是相机的情况下,功能设置项可以为拍摄光圈、拍摄景深、拍摄倒计时等,本实施例对此不做限定。
在本实施例中,第一终端通过检测是否在预设的时间段内是否触发设置操作指令,从而在触发设置操作指令的情况下,隐藏提醒信息显示界面的操作,悬浮显示第二终端的设置界面中,从而使得用户不需要通过打开连接设置进行第二终端的功能项设置,简化了用户的设置操作。
在一个实施例中,当用户不需要对第二终端进行功能设置时,可以隐藏该提示信息显示界面,上述方法还包括:在预设时间段内,若未获取到基于提醒信息显示界面触发的设置操作指令,则隐藏提醒信息显示界面,并在当前显示界面的状态栏中显示第二终端的设备图标。
在本实施例中,预设时间段可以为2.5秒、3秒、5秒或其他指定时间段,以预设时间段为2.5秒为例,若第一终端在2.5秒内,没有检测到基于提醒信息显示界面触发的设置操作指令,则认为用户不需要对当前第二终端进行功能设置,此时,第一终端可以将当前提醒信息显示界面隐藏,并将连接好的第二终端的标识显示于状态栏中,可参考图5,以第二终端为耳机为例,图5给出了状态栏中包括第二终端标识的示意图。可选地,第二终端的标识可以为第二终端的设备图标,还可以是第二终端的其他指定虚拟标识,本实施例对此不做限定。
在本实施例中,第一终端在预设时间段内没有检测到用户有设置第二终端功能的触发操 作,则隐藏提醒信息显示界面,不会造成提醒信息显示界面在当前显示界面停留过久的问题,同时用户还可以通过状态栏中的第二设备的设备图标直观的获取第二设备的连接状态。
可选地,第一终端可根据用户触发的显示区域执行相应的操作,在一个实施例中,上述获取到基于提醒信息显示界面触发的设置操作指令,包括:若检测到基于提醒信息显示界面对应的触摸屏区域的触控操作,则触发设置操作指令。
其中,提醒信息显示界面对应的触摸屏区域就是提醒信息显示界面所在的区域。触控操作可以单击、双击、滑动、长按等操作,本实施例中不加以限制。在本实施例中,第一终端可以根据提醒信息显示界面的位置和产生触摸点的位置,确定当前触摸点是否处于提醒信息显示界面对应的触摸屏区域范围内。若确定当前触摸点处于提醒信息显示界面对应的触摸屏区域范围内,则意味着用户想要进行第二终端的连接功能的设置,此时,第一终端确定触发设置操作指令,本实施例对此不做限定。
在本实施例中,用户可以基于提醒信息显示界面对应的触摸屏区域的任意一点触发设置操作指令,触发区域范围较大,用户可以快捷地触发设置操作指令,简化了用户的设置操作。
为了进一步提高触屏操作的准确率,在一个实施例中,上述提醒信息显示界面包括管理控件,获取到基于提醒信息显示界面触发的设置操作指令,包括:
若检测到管理控件被触发,则生成设置操作指令。
在本实施例中,第一终端可以根据管理控件所在的位置和产生触摸点的位置,确定当前触摸点是否处于管理控件所在的位置范围内。若确定当前触摸点处于管理控件所在的位置范围内,则意味着用户想要进行第二终端的连接功能的设置,此时,第一终端确定触发设置操作指令。管理控件的布局示意图可参考图6所示,以第二终端为耳机为例,管理控件可以设置于提醒信息显示界面的右端,可选地,管理控件还可以在提醒信息显示界面的其他位置,根据提醒信息显示界面其他标识的位置确定管理控件的相对位置。
在本实施例中,用户可以基于提醒信息显示界面中的管理控件触发设置操作指令,触发区域范围精确,不会造成误触发操作,简化了用户的设置操作。
为了使用户可以获取到当前与第一终端连接的第二终端的信息,在一个实施例中,上述设置界面还包括第二终端的设备标识。其中,第二终端的设备标识为用于表征当前第二终端信息的标识,其设备标识可以为第二终端的图标标识、第二终端的设备标识、第二终端的符号标识、或者是第二终端的其他指定意义标识。
可选地,为了更加直观地展示第二终端的设备信息,在一个实施例中,上述第二终端的设备标识包括第二终端的设备图标和/或设备名称。
在本实施例中,第二终端的设备标识可以设置于设置界面的顶部,或者,第二终端的设备标识可以设置于设置界面的其他指定位置,根据设置界面中其他标识的位置确定设备标识的相对位置。示例的,第二终端的设备标识在设置界面的布局示意图可参考图7所示,以第二终端为耳机为例,图7中虚线框中的内容即为第二终端的设备标识,可选地,设备标识可以为第二终端图标标识,或者第二终端的设备标识,或者第二终端的图标标识和设备标识,在设备标识为第二终端的图标标识和设备标识的情况下,其图标标识和设备标识的布局方式可以为同行并列,还可以如图7中所示,图标标识和设备标识呈现两行显示,本实施例对此不做限定。
在本实施例中,在设置界面中设置第二终端的设备标识,使得用户可以直观的获知当前设置的第二终端的信息。
在对设置界面进行布局设置时,还可以规范设置界面的位置、尺寸等。在一个实施例中,上述设置界面的上边界与当前显示界面的状态栏的下边界之间的距离大于零。
在本实施例中,可参考图8所示,以第二终端为耳机为例,图8给出了设置界面的上边界与当前显示界面的状态栏的下边界之间的距离,该距离可以表示为H1,在对设置界面进行布局设置时,可以将该H1设置为大于0的数,可选地,在对设置界面进行布局设置时,根据状态栏的大小、设置界面的大小、以及当前显示界面的大小来设置距离H1。示例地,可以根据状态栏的大小和位置确定状态栏的下边界,根据设置界面的大小和位置确定设置界面的上边界,根据当前显示界面的大小,考虑用户的观看适宜度,确定设置界面与状态栏距离H1,本命实施例对此不做限定。
在本实施例中,根据设置界面的上边界和当前显示界面的状态栏的下边界进行设置界面的布局设置,保证了设置界面的悬浮显示不会影响到当前显示界面中状态栏的显示,优化了用户体验。
可选地,在一个实施例中,上述设置界面的上边界与当前显示界面的上边界之间的距离大于第一预设阈值。
其中,第一预设阈值可以根据状态栏的高度确定,其中第一预设阈值可以等于状态栏的高度,也可以根据为状态栏的高度与允许误差之和。
在本实施例中,可参考图9所示,以第二终端为耳机为例,图9给出了设置界面的上边界与当前显示界面的上边界之间的距离,该距离可以表示为H2,可选地,在对设置界面进行布局设置时,根据第一预设阈值进行设置界面的布局,例如,状态栏的高度为1cm,允许误差为0.2cm,则该第一预设阈值的取值范围可以为(1cm,1.2cm),此时,根据该第一预设阈值,确定距离H2,H2可以为大于1.2cm,且小于当前显示界面高度的值,进一步地,还可以根据观看适宜度设置该设置界面中信息的字体大小,根据字体大小和设置界面中的信息量,以及当前界面的大小,确定设置界面是设置于当前显示界面的上部,还是中部或者底部,从而确定对应的距离H2,本命实施例对此不做限定。
在本实施例中,根据设置界面的上边界和当前显示界面的上边界进行设置界面的布局设置,由于当前显示界面的上边界不会发生变化,以一定固定值作为参照物,该方法简单准确的确保了设置界面布局不会对当前显示界面和状态栏造成其他影响,提高画面舒适感。
可选地,第一终端可以根据第二终端的类型,确定第二终端对应的设置界面,在一个实施例中,如图10所示,在当前显示界面上悬浮显示设置界面,包括:
步骤301、获取第二终端的功能设置项和第二终端的设置界面模板;设置界面模板用于表示各功能设置项在设置界面上的页面布局信息。
其中,第一终端可以预先构建不同类型的第二终端对应的设置界面模板,例如,第二终端为相机的情况下,构建相机对应的设置界面模板;第二终端为耳机的情况下,构建耳机对应的设置界面模板。
在本实施例中,设置界面模板中包括第二终端对应的功能设置项,不同类型的设置界面模板中的功能设置项不同。例如,第二终端为相机的情况下,其对应的设置界面模板中的功能设置项可以包括拍摄光圈、拍摄景深、拍摄倒计时等;第二终端为耳机的情况下,其对应的设置界面模板中的功能设置项可以包括降噪、佩戴感应、音效模式等。
步骤302、根据功能设置项和设置界面模板生成设置界面,并在当前显示界面上悬浮显示设置界面。
在本实施例中,第一终端在检测到第二终端的连接之后,根据获取到的第二终端的设备标识确定第二终端的类型,从而根据第二终端的类型确定其对应的设置界面模板,根据功能设置项和设置界面模板生成设置界面。例如,根据第二终端的设备标识确定第二终端为耳机,则从设置界面模板数据库中确定与耳机对应的设置界面模板,根据耳机对应的设置界面模板、 耳机对应的功能设置项,生成该耳机对应的设置界面,并将该设置界面悬浮显示于当前显示界面中,本实施例对此不做限定。
在本实施例中,第一终端可以根据第二终端的设备标识确定第二终端的类型,从而自适应的确定第二终端对应的设置界面模板,使得生成的设置界面可以准确反映当前第二终端的相关功能设置项信息。
类似的,为了使得用户可以直观的获知到提醒信息显示界面对应的设备信息,在一个实施例中,上述提醒信息显示界面包括第二终端的设备标识和连接成功提醒信息。
其中,第二终端的设备标识为用于表征当前第二终端信息的标识,其设备标识可以为第二终端的图标标识、第二终端的设备标识、第二终端的符号标识、或者是第二终端的其他指定意义标识。连接成功提醒信息可以为指定字符标识,例如“已连接”或“连接成功”,或者其他指定标识。
可选地,在一个实施例中,上述设备标识包括第二终端的设备图标和/或第二终端的名称。
在本实施例中,第二终端的设备标识可以为第二终端图标标识,或者第二终端的设备标识,或者第二终端的图标标识和设备标识,在设备标识为第二终端的图标标识和设备标识的情况下,其图标标识和设备标识的布局方式可以为同行并列,如图11中所示,本实施例对此不做限定。
在本实施例中,在提醒信息显示界面中设置第二终端的设备标识和连接成功提醒信息,其中,第二终端的设备标识和连接成功提醒信息的布局位置根据提醒信息显示界面的大小确定,示例的,提醒信息显示界面的一种布局示意图可参考图11所示,以第二终端为耳机为例,图11中提醒信息显示界面包括两个虚线框,图中左边的虚线框中包括第二终端的设备标识,图中右边的虚线框中包括连接成功提醒信息。需要注意的是图11只是给出提醒信息显示界面的一种布局,提醒信息显示界面的布局还可以为左边包括连接成功提醒信息,右边包括第二终端的设备标识,本实施例对此不做限定。
在本实施例中,在提醒信息显示界面中设置第二终端的设备标识和连接成功标识,特别的,第二终端的设备标识包括图标和/或名称,可以更加直观地使得用户知道第二终端的设备信息以及第二终端是否连接成功。
在一些特殊情况下,在一个实施例中,上述提醒信息显示界面还包括静音控件;该方法还包括:
若检测到静音控件被触发,则控制第二终端进入静音模式。
其中,静音控件用于控制第二终端将第二终端工作模式调整为静音模式。示例地,在第二终端为耳机的情况下,静音控件用于将耳机的音量调整至0;在第二终端为相机的情况下,静音控件用于关闭相机操作产生的声音,例如拍摄时的音效等。
在本实施例中,第一终端若检测到静音控件被触发,即检测到静音控件被点击、被选择,或者在静音控件所在的区域检测到产生触摸点,则控制第二终端进入静音模式。可选地,静音控件的布局设置可参考图12所示,以第二终端为耳机为例,静音控件可以设置于提醒信息显示界面的右端,或者静音控件可设置于提醒信息显示界面的其他指定位置,其中,静音控件的布局位置根据提醒信息显示界面中的其他信息标识确定,本实施例对此不做限定。
在本实施例中,用户可以基于提醒信息显示界面的静音控件控制第二终端进入静音模式,简化了用户对第二终端的操作选择。
对于提醒信信息显示界面的布局设置,可参考本实施例中提供的方法,在一个实施例中,上述提醒信息显示界面的上边界与当前显示界面的状态栏的下边界之间的距离大于零,且,提醒信息显示界面的下边界与当前显示界面的上边界之间的距离不大于预设阈值。
其中,预设阈值指的是根据当前界面与提醒信息显示界面的布局关系,确定的距离阈值。
在本实施例中,可参考图13所示,以第二终端为耳机为例,图13给出了提醒信息显示界面的上边界与当前显示界面的状态栏的下边界之间的距离,该距离可以表示为H3,在对提醒信息显示界面进行布局设置时,可以将该H3设置为大于0的数,图13还给出了提醒信息显示界面的下边界与当前显示界面的上边界之间的距离,该距离可以表示为H4,可选地,在对提醒信息显示界面进行布局设置时,不仅要考虑到提醒信息显示界面与状态栏的关系,还要考虑提醒信息显示界面与当前界面的布局比例关系,即,既要确保提醒信息显示界面不与状态栏重叠,又要确保提醒信息显示界面处于当前显示界面的上端部分区域。可选地,当预设阈值为4cm时,H1为0.5cm,H4为2cm时,基本可以确定提醒信息显示界面的位置以及提醒信息显示界面的大小,本命实施例对此不做限定。
在本实施例中,根据提醒信息显示界面的上边界、提醒信息显示界面的下边界、当前显示界面的状态栏的下边界、以及当前显示界面的上边界进行提醒信息显示界面的布局设置,保证了提醒信息显示界面在不会影响到状态栏的同时,确保了提醒信息显示界面处于当前显示界面的上部位置,实现了直观的将提醒信息展示给用户的目的,使得页面布局更加优化。
可选地,在一个实施例中,上述预设阈值为根据提醒信息显示界面的高度和当前显示界面的高度之间的比例确定的。在本实施例中,第一终端的显示界面存在不同的尺寸和大小,为了确保提醒信息显示界面可以始终保持显示在显示界面的上部,使得用户可以直观的看到提醒信息显示界面,上述实施例中的H4对应的预设阈值可以根据当前显示界面的高度和提醒信息显示界面的高度之间的比例确定。
可选地,在一个实施例中,上述预设阈值等于当前显示界面的高度的五分之一倍。在本实施例中,上述实施例中的H4对应的阈值范围可以是当前显示界面的高度的五分之一倍,示例地,第一终端的显示界面为5.5英寸,其对应的显示界面的高度为12.18cm,经过计算,预设阈值可以确定为2.436cm,即,H4的取值范围为(0,2.436cm),确定一个H4取值和一个H3的取值,例如,H4为2cm,H3为0.2cm,便可确定提醒信息显示界面的上边界和下边界,从而确定提醒信息显示界面的大小和尺寸,本实施例对此不做限定。
在本实施例中,根据提醒信息显示界面的高度和当前显示界面的高度进行提醒信息显示界面的布局设置,保证了提醒信息显示界面在不会影响到状态栏的同时,确保了提醒信息显示界面处于当前显示界面的上部位置,实现了直观的将提醒信息展示给用户的目的,同时优化了显示界面的布局,更加符合用户习惯。
第一终端可以根据预设的模板悬浮显示提醒信息显示界面,在一个实施例中,上述在第一终端的当前显示界面上悬浮显示提醒信息显示界面,包括:根据第二设备的设备标识、连接成功提醒信息和预设的提醒界面模板,生成提醒信息显示界面,并在第一终端的当前显示界面上悬浮显示提醒信息显示界面;提醒界面模板用于表示提醒信息显示界面的页面布局信息。
在本实施例中,第一终端可以预先构建不同类型的第二终端对应的提醒界面模板,例如,第二终端为相机的情况下,构建相机对应的提醒界面模板;第二终端为耳机的情况下,构建耳机对应的提醒界面模板。示例地,第一终端在检测到第二终端的连接之后,根据获取到的第二终端的设备标识确定第二终端的类型,例如,根据第二终端的设备标识确定第二终端为耳机,则从提醒界面模板中确定与耳机对应的提醒界面模板,根据耳机对应的提醒界面模板、第二终端的设备标识和连接成功提醒信息,生成该耳机对应的提醒信息显示界面,并将该提醒信息显示界面悬浮显示于当前显示界面中,本实施例对此不做限定。
在本实施例中,第一终端可以根据第二终端的设备标识确定第二终端的类型,从而自适 应的确定第二终端对应的提醒界面模板,使得生成的提醒信息显示界面可以准确反映当前第二终端的相关信息。
应该理解的是,虽然图2和图10的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2和图10中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
图14为一个实施例的信息显示装置的结构框图。如图14所示,信息显示装置包括检测模块01和显示模块02,其中:
检测模块01,用于检测第一终端与第二终端是否连接成功;
显示模块02,用于若第一终端与第二终端连接成功,则在第一终端的当前显示界面上悬浮显示提醒信息显示界面;提醒信息显示界面用于提示第一终端与第二终端连接成功。
在一个实施例中,如图15所示,上述信息显示装置还包括获取模块03,用于在预设时间段内,若获取到基于提醒信息显示界面触发的设置操作指令,则隐藏提醒信息显示界面,并在当前显示界面上悬浮显示设置界面;设置界面包括第二终端的功能设置项。
在一个实施例中,获取模块03,用于若检测到基于提醒信息显示界面对应的触摸屏区域的触控操作,则触发设置操作指令。
在一个实施例中,提醒信息显示界面包括管理控件,获取模块03,用于若检测到管理控件被触发,则生成设置操作指令。
在一个实施例中,设置界面还包括第二终端的设备标识。
在一个实施例中,设置界面还包括第二终端的设备标识。
在一个实施例中,设置界面的上边界与当前显示界面的状态栏的下边界之间的距离大于零。
在一个实施例中,设置界面的上边界与当前显示界面的上边界之间的距离大于第一预设阈值。
在一个实施例中,获取模块03,用于获取第二终端的功能设置项和第二终端的设置界面模板;设置界面模板用于表示各功能设置项在设置界面上的页面布局信息;根据功能设置项和设置界面模板生成设置界面,并在当前显示界面上悬浮显示设置界面。
在一个实施例中,如图16所示,上述信息显示装置还包括隐藏模块04,用于在预设时间段内,若未获取到基于提醒信息显示界面触发的设置操作指令,则隐藏提醒信息显示界面,并在当前显示界面的状态栏中显示第二终端的设备图标。
在一个实施例中,提醒信息显示界面包括第二终端的设备标识和连接成功提醒信息。
在一个实施例中,设备标识包括第二终端的设备图标和/或第二终端的名称。
在一个实施例中,提醒信息显示界面还包括静音控件;上述检测模块01,还用于若检测到静音控件被触发,则控制第二终端进入静音模式。
在一个实施例中,提醒信息显示界面的上边界与当前显示界面的状态栏的下边界之间的距离大于零,且,提醒信息显示界面的下边界与当前显示界面的上边界之间的距离不大于预设阈值。
在一个实施例中,预设阈值为根据提醒信息显示界面的高度和当前显示界面的高度之间的比例确定的。
在一个实施例中,预设阈值等于当前显示界面的高度的五分之一倍。
在一个实施例中,显示模块02,用于根据第二设备的设备标识、连接成功提醒信息和预设的提醒界面模板,生成提醒信息显示界面,并在第一终端的当前显示界面上悬浮显示提醒信息显示界面;提醒界面模板用于表示提醒信息显示界面的页面布局信息。
上述信息显示装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将信息显示装置按照需要划分为不同的模块,以完成上述信息显示装置的全部或部分功能。
关于信息显示装置的具体限定可以参见上文中对于信息显示方法的限定,在此不再赘述。上述信息显示装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
图17为一个实施例中电子设备的内部结构示意图。如图17所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种信息显示方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备。
本申请实施例中提供的信息显示装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在电子设备的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行信息显示方法的步骤。
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行信息显示方法。
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种信息显示方法,其特征在于,包括:
    检测第一终端与第二终端是否连接成功;
    若所述第一终端与所述第二终端连接成功,则在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒信息显示界面用于提示所述第一终端与所述第二终端连接成功。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在预设时间段内,若获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面上悬浮显示设置界面;所述设置界面包括所述第二终端的功能设置项。
  3. 根据权利要求2所述的方法,其特征在于,所述获取到基于所述提醒信息显示界面触发的设置操作指令,包括:
    若检测到基于所述提醒信息显示界面对应的触摸屏区域的触控操作,则触发所述设置操作指令。
  4. 根据权利要求2所述的方法,其特征在于,所述提醒信息显示界面包括管理控件,所述获取到基于所述提醒信息显示界面触发的设置操作指令,包括:
    若检测到所述管理控件被触发,则生成所述设置操作指令。
  5. 根据权利要求2-4任一项所述的方法,其特征在于,所述设置界面还包括所述第二终端的设备标识。
  6. 根据权利要求5所述的方法,其特征在于,所述第二终端的设备标识包括所述第二终端的设备图标和/或设备名称。
  7. 根据权利要求2-4任一项所述的方法,其特征在于,所述设置界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零。
  8. 根据权利要求2-4任一项所述的方法,其特征在于,所述设置界面的上边界与所述当前显示界面的上边界之间的距离大于第一预设阈值。
  9. 根据权利要求2-4任一项所述的方法,其特征在于,在所述当前显示界面上悬浮显示设置界面,包括:
    获取所述第二终端的功能设置项和所述第二终端的设置界面模板;所述设置界面模板用于表示各所述功能设置项在所述设置界面上的页面布局信息;
    根据所述功能设置项和所述设置界面模板生成所述设置界面,并在所述当前显示界面上悬浮显示设置界面。
  10. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    在所述预设时间段内,若未获取到基于所述提醒信息显示界面触发的设置操作指令,则隐藏所述提醒信息显示界面,并在所述当前显示界面的状态栏中显示所述第二终端的设备图标。
  11. 根据权利要求1所述的方法,其特征在于,所述提醒信息显示界面包括第二终端的设备标识和连接成功提醒信息。
  12. 根据权利要求11所述的方法,其特征在于,所述设备标识包括所述第二终端的设备图标和/或所述第二终端的名称。
  13. 根据权利要求11或12所述的方法,其特征在于,所述提醒信息显示界面还包括静音控件;所述方法还包括:
    若检测到所述静音控件被触发,则控制所述第二终端进入静音模式。
  14. 根据权利要求1所述的方法,其特征在于,所述提醒信息显示界面的上边界与所述当前显示界面的状态栏的下边界之间的距离大于零,且,所述提醒信息显示界面的下边界与所述当前显示界面的上边界之间的距离不大于预设阈值。
  15. 根据权利要求14所述的方法,其特征在于,所述预设阈值为根据所述提醒信息显示界面的高度和所述当前显示界面的高度之间的比例确定的。
  16. 根据权利要求14所述的方法,其特征在于,所述预设阈值等于所述当前显示界面的高度的五分之一倍。
  17. 根据权利要求11所述的方法,其特征在于,所述在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面,包括:
    根据所述第二设备的设备标识、所述连接成功提醒信息和预设的提醒界面模板,生成所述提醒信息显示界面,并在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒界面模板用于表示所述提醒信息显示界面的页面布局信息。
  18. 一种信息显示装置,其特征在于,包括:
    检测模块,用于检测第一终端与第二终端是否连接成功;
    显示模块,用于若所述第一终端与所述第二终端连接成功,则在所述第一终端的当前显示界面上悬浮显示提醒信息显示界面;所述提醒信息显示界面用于提示所述第一终端与所述第二终端连接成功。
  19. 一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,其特征在于,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至17中任一项所述的信息显示方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至17中任一项所述的信息显示方法的步骤。
PCT/CN2021/110692 2020-10-12 2021-08-05 信息显示方法、装置、电子设备和计算机可读存储介质 WO2022078027A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21879074.9A EP4227788A4 (en) 2020-10-12 2021-08-05 INFORMATION DISPLAY METHOD AND APPARATUS, ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM
US18/133,634 US20230244372A1 (en) 2020-10-12 2023-04-12 Information display method and apparatus, electronic device, and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011084751.8A CN112181272A (zh) 2020-10-12 2020-10-12 信息显示方法、装置、电子设备和计算机可读存储介质
CN202011084751.8 2020-10-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/133,634 Continuation US20230244372A1 (en) 2020-10-12 2023-04-12 Information display method and apparatus, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2022078027A1 true WO2022078027A1 (zh) 2022-04-21

Family

ID=73949242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/110692 WO2022078027A1 (zh) 2020-10-12 2021-08-05 信息显示方法、装置、电子设备和计算机可读存储介质

Country Status (4)

Country Link
US (1) US20230244372A1 (zh)
EP (1) EP4227788A4 (zh)
CN (1) CN112181272A (zh)
WO (1) WO2022078027A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181272A (zh) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 信息显示方法、装置、电子设备和计算机可读存储介质
CN113079493B (zh) * 2021-03-22 2023-08-08 北京搜狗智能科技有限公司 一种信息匹配显示方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9332578B2 (en) * 2014-07-30 2016-05-03 Google Technology Holdings LLC Connecting wireless devices using visual image capture and processing
CN111050414A (zh) * 2019-12-12 2020-04-21 上海传英信息技术有限公司 提示显示方法、装置及计算机可读存储介质
CN112181272A (zh) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 信息显示方法、装置、电子设备和计算机可读存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324293B (zh) * 2013-07-16 2016-05-04 锤子科技(北京)有限公司 移动终端显示界面的显示控制方法和装置
CN203849565U (zh) * 2014-04-03 2014-09-24 深圳市威米通讯有限公司 一种实现手机动态的提醒的蓝牙手表
CN105022568B (zh) * 2014-04-30 2018-08-24 青岛北电高科技有限公司 基于智能手表的敲击式人机交互方法和系统
CN105808091B (zh) * 2014-12-31 2022-06-24 创新先进技术有限公司 调整界面操作图标分布范围的装置、方法及触摸屏设备
CN104993934A (zh) * 2015-06-30 2015-10-21 惠州Tcl移动通信有限公司 一种智能穿戴设备与移动终端连接处理方法及系统
CN110543273A (zh) * 2018-05-28 2019-12-06 华为技术有限公司 一种用于终端的分屏显示方法及装置
CN108958591A (zh) * 2018-06-29 2018-12-07 深圳春沐源控股有限公司 基于悬浮按钮的终端程序控制方法及终端设备
CN109495850A (zh) * 2018-11-01 2019-03-19 Oppo广东移动通信有限公司 耳机与终端的连接方法、装置及耳机盒
CN111857897A (zh) * 2019-04-25 2020-10-30 北京小米移动软件有限公司 一种信息显示方法、装置及存储介质
CN111327769B (zh) * 2020-02-25 2022-04-08 北京小米移动软件有限公司 多屏互动方法及装置、存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9332578B2 (en) * 2014-07-30 2016-05-03 Google Technology Holdings LLC Connecting wireless devices using visual image capture and processing
CN111050414A (zh) * 2019-12-12 2020-04-21 上海传英信息技术有限公司 提示显示方法、装置及计算机可读存储介质
CN112181272A (zh) * 2020-10-12 2021-01-05 Oppo广东移动通信有限公司 信息显示方法、装置、电子设备和计算机可读存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4227788A4 *

Also Published As

Publication number Publication date
EP4227788A1 (en) 2023-08-16
US20230244372A1 (en) 2023-08-03
EP4227788A4 (en) 2024-03-20
CN112181272A (zh) 2021-01-05

Similar Documents

Publication Publication Date Title
US11960705B2 (en) User terminal device and displaying method thereof
US11347372B2 (en) User terminal device and displaying method thereof
US10452178B2 (en) Method of processing fingerprint and electronic device thereof
EP3091426B1 (en) User terminal device providing user interaction and method therefor
WO2019174611A1 (zh) 应用程序的设置方法及移动终端
KR102039172B1 (ko) 사용자 단말 장치 및 이의 디스플레이 방법
WO2022078027A1 (zh) 信息显示方法、装置、电子设备和计算机可读存储介质
CN108463799B (zh) 电子设备的柔性显示器及其操作方法
EP2947556B1 (en) Method and apparatus for processing input using display
USRE49272E1 (en) Adaptive determination of information display
US10311254B2 (en) Electronic apparatus and information access control method thereof
KR20140102386A (ko) 디스플레이장치 및 그 제어방법
CN110297561B (zh) 控制方法及终端
CN114677445A (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: 21879074

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021879074

Country of ref document: EP

Effective date: 20230511