WO2023098417A1 - 一种界面显示方法以及装置 - Google Patents

一种界面显示方法以及装置 Download PDF

Info

Publication number
WO2023098417A1
WO2023098417A1 PCT/CN2022/130491 CN2022130491W WO2023098417A1 WO 2023098417 A1 WO2023098417 A1 WO 2023098417A1 CN 2022130491 W CN2022130491 W CN 2022130491W WO 2023098417 A1 WO2023098417 A1 WO 2023098417A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
window
display screen
data
display data
Prior art date
Application number
PCT/CN2022/130491
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 华为技术有限公司
Priority to CN202280007445.5A priority Critical patent/CN116802600A/zh
Publication of WO2023098417A1 publication Critical patent/WO2023098417A1/zh

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • 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
    • 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/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/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/0486Drag-and-drop
    • 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/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Definitions

  • the present application relates to the field of artificial intelligence, in particular to an interface display method and device.
  • both B-side and C-side can display data, such as displaying B-side as the main screen, displaying some control buttons on C-side or B displays content-related information.
  • the B surface and the C surface form a certain angle, which is inconvenient for the user to control.
  • the present application provides an interface display method and device related to the field of artificial intelligence, which can be used to improve the user's controllability of electronic equipment and improve user experience.
  • the present application provides an interface display method, which is applied to an electronic device.
  • the electronic device includes a first display screen and a second display screen, and the first display screen and the second display screen are electrically connected.
  • the method includes: In response to the operation on the display window in the first display screen, determine the second display data according to the first display data, the first display data is the data displayed in the display window in the first display screen, and the second display data includes the first display data The data corresponding to the selected control, and the second display data is less than the first display data; displaying the window corresponding to the second display data through the second display screen.
  • the second display data in response to the operation on the display window in the first display screen, can be determined based on the first display data, and the second display data can be displayed on the second display screen.
  • the second display data includes the data corresponding to the selected control in the first display data, which is less than the first display data, so that a simplified window can be displayed on the second display screen, which is convenient for user operation and improves user experience.
  • the preset window is selected from the plurality of display windows according to the sliding operation on the second display screen. A number of windows are displayed, and the multiple display windows do not overlap on the second display screen.
  • the multiple display windows are not overlapped and displayed, and the user can view the hidden windows by sliding, so that the user can operate more conveniently. Better visual effects and improved user experience.
  • the operation on the display window corresponding to the first display data includes at least one of the following operations performed on the first display screen: drag operation, close operation, minimize operation, control selection, file Selection, play operation, gesture operation or folding operation;
  • the drag operation includes the operation of moving the display window after selecting the display window
  • the close operation is the operation of closing the display window
  • the minimize operation is the operation of hiding the display window
  • the selection of the control is the selection
  • the file selection is the operation of selecting the file displayed in the display window
  • the playback operation is the operation of playing the data displayed in the display window
  • the gesture operation is the operation of gesture formation for controlling the display window
  • the folding operation In order to adjust the angle between the first display screen and the second display screen.
  • the user can transfer the window displayed on the first display screen to the second display screen for display in various ways, and the user can operate in various ways to adapt to various scenarios, especially in some In scenarios where the user is inconvenient to operate, the various methods provided by this application can be used to perform operations more conveniently and improve user experience.
  • determining the second display data according to the first display data includes: using at least one of the first display data as The second display data: displaying the window corresponding to the second display data through the second display screen, including: determining the position of the display window of the second display data in the second display screen according to the released position of the cursor.
  • the user can very conveniently drag and display the window displayed on the first display screen to the second display screen, thereby improving user experience.
  • determining the second display data according to the first display data includes: One type of data is enlarged or reduced, and/or at least one type of data in the first display data is deleted to obtain second display data.
  • the simplified window can be displayed on the second display screen, so that the user can more conveniently observe the window displayed on the first display screen. Closed or minimized window contents to improve user experience.
  • determining the second display data according to the first display data includes: selecting the selected The text is used as the second display data; or, the selected text is translated, and the second display data is obtained based on the translation result; or, the selected text is searched, and the second display data is obtained based on the search result; or, the selected text is Arrange, or obtain the arrangement format corresponding to the selected text to obtain the second display data; or, if the selected text includes a value, perform exchange rate conversion on the value to obtain the second display data.
  • determining the second display data according to the first display data may include: The image of the selected image is used as the second display data; or, search for images related to the selected image, and obtain the second display data based on the related image; or, perform target detection on the selected image to obtain the second display data; or, select the image Perform text recognition, and obtain second display data based on the recognized text.
  • determining the second display data according to the first display data includes: obtaining from the first display data information related to the first display screen The data related to the picture played in the medium is obtained to obtain the second display data.
  • determining the second display data according to the first display data may include: if the detected gesture operation is a preset gesture , then use at least one of the first display data as the second display data.
  • the user can conveniently move the data in the first display screen to the second display screen for display through gesture operation.
  • the data determining the second display data includes: using the first display data as the second display data.
  • the data in the first display screen can be moved to the second display screen, so as to adapt to the user's holding posture for the device and improve user performance. experience.
  • displaying the window corresponding to the second display data through the second display screen includes: if it is detected that the running application program is an application program in the preset list, or if it is detected that the application program is in the preset mode, the window corresponding to the second display data is displayed through the second display screen.
  • the second display data can be displayed on the second display screen, and the preset list can be It is pre-set by the user, so that data corresponding to which application programs can be displayed on the second display screen can be selected according to the needs of the user, thereby improving user experience.
  • the data can also be displayed on the second display screen to improve user experience.
  • the first window in the second display screen includes third display data
  • the third display data includes the interface of the application program
  • the above method may further include: responding to the control in the interface of the application program Click operation, obtain the fourth display data corresponding to the control clicked by the click operation, and replace the third display data displayed in the area corresponding to the first window with the fourth display data, the first window is the Any window displayed.
  • the user when the user clicks the control in the display interface corresponding to the application program displayed on the second display screen, the user can respond to the user's click operation, so that the user can perform human-computer interaction on the second display screen, Improve user experience.
  • the preset area in the second display screen includes at least one preset window displayed, and the at least one preset window is used to display at least one of the calendar, weather information, itinerary record, memo or notes. item.
  • commonly used information such as calendar, weather, itinerary, memorandum or notes can be continuously displayed on the second display screen, so that the user can obtain the required information in a timely manner through the second display screen and improve user experience.
  • the above method may further include: if a drag operation on the fifth display data displayed on the second display screen is detected, using the area corresponding to the position where the cursor is released on the second display screen as the The fifth is a display area for displaying data.
  • the user can adjust the positions of the windows displayed on the second display screen by dragging, so that the user can arrange the windows displayed on the second display screen according to requirements, thereby improving user experience.
  • the above method may further include: acquiring information sent by at least one terminal, and displaying the information sent by at least one terminal through a second display screen.
  • information sent by other terminals can be received and displayed on the second display screen, so that cross-device interaction can be realized, and information can be displayed on the second display screen in time to improve user experience.
  • the information sent by at least one terminal includes data related to an application program corresponding to the first display data.
  • the application program can be run on the electronic device, and at the same time, if the information sent by other devices related to the application program is received, the received information can be displayed on the second display screen, so that the user can pass the first
  • the two display screens can observe the required information in time and improve the user experience.
  • the second display screen includes at least one non-overlappingly arranged window of a preset size
  • displaying information sent by at least one terminal through the second display screen may include: Information sent by at least one terminal is displayed in a window with a preset size.
  • the window in the second display screen may be a card window, and the user may observe the received information at a preset window position, thereby improving user experience.
  • acquiring information sent by at least one terminal may include: acquiring information sent by multiple terminals, where the multiple terminals include a first terminal and a second terminal; displaying information sent by at least one terminal through a second display screen
  • the information may include: displaying the information sent by the first terminal through the second window on the second display screen; and displaying the information sent by the second terminal in the second window when the switching operation for the second window is obtained.
  • the information of one of the terminals can be displayed in a certain window, and the user can switch to display the operations of other terminals, thereby improving the visibility of the second display screen.
  • Display area utilization reduce redundant display information.
  • obtaining the information sent by at least one terminal may include: sending a request message to the server to instruct the server to send a verification message to the third terminal, and the third terminal is any one of at least one terminal; In the information sent by the third terminal, the information sent by the third terminal includes a verification message.
  • the electronic device may send a request message to the server, so as to request the server to send a verification message to the terminal, and the terminal sends the message to the electronic device. It can be applied to the scene of verifying the identity of the electronic device, and the user can view the verification message through the second display screen without opening the terminal, thereby improving the user experience.
  • displaying the information sent by at least one terminal through the second display screen may include: if it is detected that the fourth terminal is in a screen-off state, displaying the information sent by the fourth terminal through the second display screen,
  • the fourth terminal is any one of at least one terminal; or, if the information sent by the fourth terminal includes information generated by the first application, and the first application is an application program included in the preset list, then the second display is displayed on the second display screen.
  • the received information can be forwarded to the electronic device, so that the user can view the information received by the terminal without opening the terminal, improving user experience.
  • the above method further includes: acquiring sixth display data in the second display screen; if a drag operation for a window corresponding to the sixth display data is detected, generating the sixth display data according to the sixth display data. Seventh display data, and display the seventh display data through the first display screen.
  • the user can drag to adjust the ranking positions of the display windows on the second display screen, so that the display windows on the second display screen can be arranged according to the user's requirements, thereby improving user experience.
  • the above method may further include: acquiring historical data displayed on the first display screen within a preset period of time; generating prompt data according to the historical data; displaying prompt data through the second display screen, and using the prompt data to Events generated in historical data are prompted.
  • the user's historical data can be obtained and events can be extracted, and prompts can be made on the second display screen, so that the user can observe the historical data through the second display screen and improve user experience.
  • the second display screen further includes a keyboard window, and the keyboard window is used to display a virtual keyboard.
  • the virtual keyboard can be displayed on the second display screen, and the virtual keyboard can be adaptively adjusted or closed according to the size and position of the window to be displayed on the second display screen, so that the second display screen The displayed window is more conducive to user observation and improves user experience.
  • the present application provides an interface display method, which is applied to an electronic device, and the electronic device includes a first display screen.
  • the method includes: sending a request message to the server, where the request message is used to request the server to send the first information to the terminal; receiving The second information sent by the terminal includes the first information; and the second information is displayed through the first display screen.
  • the electronic device may send a request message to the server to request the server to send information to the terminal, and the terminal sends the message to the electronic device. If it can be applied to the scene of verifying the identity of the electronic device, the user can view the verification message through the second display screen without opening the terminal, thereby improving the user experience.
  • displaying the second information through the first display screen includes: if it is detected that the terminal is in an off-screen state, displaying information sent by a fourth terminal through the first display screen, where the fourth terminal is at least one Any one of the terminals; or, if the second information includes information generated by the first application in the terminal, and the first application is an application program included in the preset list, displaying the second information through the first display screen; or, if If it is detected that the terminal is in a screen-off state and the second information includes information generated by the second application, the information sent by the terminal is displayed on the first display screen.
  • the received information can be forwarded to the electronic device, so that the user can view the information received by the terminal without opening the terminal, improving user experience.
  • the present application provides an electronic device, the electronic device includes a first display screen, a second display screen, a memory, and one or more processors, the code of the GUI of the application program is stored in the memory, and one or more A processor is used to execute the code of the graphical user interface (GUI) stored in the memory, to display the graphical user interface in the first display screen or the second display screen, the graphical user interface includes:
  • the second display data In response to the operation on the display window in the first display screen, determine the second display data according to the first display data, the first display data is the data displayed in the display window in the first display screen, and the second display data includes the first display data The data corresponding to the selected control in , and the second display data is less than the first display data;
  • a window corresponding to the second display data is displayed through the second display screen.
  • the second display screen includes a plurality of display windows, in response to a sliding operation for the plurality of display windows, in the second display screen according to the sliding operation, from A preset number of windows are screened out from the plurality of display windows for display, and the plurality of display windows do not overlap on the second display screen.
  • the operation on the display window corresponding to the first display data includes at least one of the following operations performed on the first display screen:
  • the dragging operation includes selecting the display window and then moving the display window
  • the closing operation is an operation of closing the display window
  • the minimizing operation is an operation of hiding the display window
  • the selection of the control is the operation of selecting the control in the display window
  • the selection of the file is the operation of selecting the file displayed in the display window
  • the playback operation is the operation of playing the data displayed in the display window.
  • the gesture operation is an operation formed by a gesture for controlling the display window
  • the folding operation is to adjust an included angle between the first display screen and the second display screen.
  • the determining the second display data according to the first display data includes: Displaying at least one of the data as the second display data; displaying the window corresponding to the second display data through the second display screen includes: determining the position of the second display data according to the released position of the cursor The position of the display window in the second display screen.
  • the determining the second display data according to the first display data includes: Enlarge or reduce at least one type of data in the first display data, and/or delete at least one type of data in the first display data to obtain the second display data.
  • the determining the second display data according to the first display data includes: selecting the selected text as the second display data; or, translate the selected text, and obtain the second display data based on the translation result; or, perform a search based on the selected text, and obtain the second display data based on the search result data; or, arrange the selected text, or obtain the arrangement format corresponding to the selected text to obtain the second display data; or, if the selected text includes a numerical value, the numerical value performing exchange rate conversion to obtain the second display data.
  • the determining the second display data according to the first display data includes: selecting the selected image An image of the selected image is used as the second display data; or, searching for images related to the selected image, and obtaining the second display data based on the related images; or, performing target detection on the selected image to obtain the the second display data; or, perform text recognition on the selected image, and obtain the second display data based on the recognized text.
  • the determining the second display data according to the first display data includes: obtaining the first display data from the first display data The data related to the picture displayed on the screen is obtained to obtain the second display data.
  • the determining the second display data according to the first display data includes: if it is detected that the gesture of the gesture operation is a preset gesture, then at least one of the first display data as the second display data.
  • the determining the second display data according to the first display data includes: using the first display data as the second display data.
  • the displaying the window corresponding to the second display data through the second display screen includes: if it is detected that the running application program is an application program in a preset list, or, If it is detected that it is in the preset mode, displaying a window corresponding to the second display data through the second display screen.
  • the GUI further includes:
  • the preset area in the second display screen includes at least one preset window displayed, and the at least one preset window is used to display a calendar, weather information, travel records, memos or notes At least one of the .
  • the GUI further includes: if a drag operation on the fifth display data displayed on the second display screen is detected, release the position of the cursor in the second display screen The corresponding area is used as a display area of the fifth display data.
  • the GUI further includes: displaying the information sent by the at least one terminal on the second display screen in response to acquiring the information sent by the at least one terminal.
  • the information sent by the at least one terminal includes data related to the application program corresponding to the first display data.
  • the second display screen includes at least one non-overlappingly arranged window of a preset size
  • the GUI specifically includes: in the at least one non-overlappingly arranged window of a preset size displaying information sent by the at least one terminal.
  • the GUI specifically includes: acquiring information sent by multiple terminals, where the multiple terminals include a first terminal and a second terminal; displaying the information through a second window on the second display screen information sent by the first terminal;
  • the acquiring information sent by at least one terminal includes: sending a request message to a server to instruct the server to send a verification message to a third terminal, and the third terminal and the at least one terminal Any one of them; receiving the information sent by the third terminal, where the information sent by the third terminal includes the verification message.
  • the GUI includes:
  • the fourth terminal If it is detected that the fourth terminal is in a screen-off state, displaying the information sent by the fourth terminal through the second display screen, where the fourth terminal is any one of the at least one terminal; or,
  • the information sent by the fourth terminal includes information generated by the first application, and the first application is an application program included in the preset list, displaying the information sent by the fourth terminal through the second display screen; or,
  • the information sent by the fourth terminal includes information generated by the first application, displaying the information sent by the fourth terminal through the second display screen.
  • the GUI further includes: acquiring sixth display data in the second display screen; if a drag operation on a window corresponding to the sixth display data is detected, The sixth display data is used to generate seventh display data, and the seventh display data is displayed through the first display screen.
  • the GUI further includes: acquiring historical data displayed on the first display screen within a preset period of time; generating prompt data according to the historical data; displaying the displayed data on the second display screen through the second display screen
  • the prompt data is used to prompt events generated in the historical data.
  • the second display screen further includes a keyboard window, and the keyboard window is used to display a virtual keyboard.
  • the second window in response to detecting an operation for expanding the window on the second window, is any window displayed on the second display screen, closing the keyboard window, or, reducing the size of the keyboard window, so that the enlarged second window and the reduced keyboard window displayed on the second display screen do not overlap.
  • the present application also provides an electronic device, the electronic device includes a first display screen, a memory, and one or more processors, the memory stores the code of the graphical user interface of the application program, and the one or a plurality of processors for executing codes of the graphical user interface (GUI) stored in the memory to display the graphical user interface on the first display screen or the second display screen, characterized in that,
  • the graphical user interface includes: sending a request message to a server, where the request message is used to request the server to send first information to the terminal; receiving second information sent by the terminal, the second information including the first information information; displaying the second information through the first display screen.
  • the displaying the second information through the first display screen includes:
  • the terminal If it is detected that the terminal is in a screen-off state, displaying the information sent by the fourth terminal through the first display screen, where the fourth terminal is any one of the at least one terminal; or,
  • the second information includes information generated by a first application in the terminal, and the first application is an application program included in a preset list, displaying the second information through the first display screen; or ,
  • the terminal If it is detected that the terminal is in a screen-off state and the second information includes information generated by the second application, displaying the information sent by the terminal through the first display screen.
  • the present application provides an interface display device, which is applied to an electronic device, and the electronic device includes a first display screen and a second display screen, the first display screen and the second display screen are electrically connected, and the Said devices include:
  • a generation module configured to determine second display data according to the first display data in response to an operation on the display window in the first display screen, the first display data being the data displayed in the display window in the first display screen,
  • the second display data includes data corresponding to the selected control in the first display data, and the second display data is less than the first display data;
  • a display module configured to display a window corresponding to the second display data through the second display screen.
  • the display module is further configured to: if the second display screen includes a plurality of display windows, in response to a sliding operation on the plurality of display windows, display the Screening out a preset number of windows from the plurality of display windows for display according to the sliding operation, and the plurality of display windows do not overlap on the second display screen.
  • the operation on the display window corresponding to the first display data includes at least one of the following operations performed on the first display screen:
  • the dragging operation includes selecting the display window and then moving the display window
  • the closing operation is an operation of closing the display window
  • the minimizing operation is an operation of hiding the display window
  • the selection of the control is the operation of selecting the control in the display window
  • the selection of the file is the operation of selecting the file displayed in the display window
  • the playback operation is the operation of playing the data displayed in the display window.
  • the gesture operation is an operation formed by a gesture for controlling the display window
  • the folding operation is to adjust an included angle between the first display screen and the second display screen.
  • the display module is further configured to: use at least one of the first display data as the Second display data;
  • the display module is further configured to determine the position of the display window of the second display data in the second display screen according to the released position of the cursor.
  • the display module is specifically configured to perform at least one type of data in the first display data Zooming in or zooming out, and/or deleting at least one type of data in the first display data to obtain the second display data.
  • the display module is specifically configured to: The text is used as the second display data; or, the selected text is translated, and the second display data is obtained based on the translation result; or, the search is performed based on the selected text, and the second display data is obtained based on the search result. display data; or, arrange the selected text, or acquire an arrangement format corresponding to the selected text, to obtain the second display data; or, if the selected text includes a numerical value, then The value is converted by exchange rate to obtain the second display data.
  • the display module is specifically configured to: The selected image is used as the second display data; or, searching for images related to the selected image, and obtaining the second display data based on the related images; or, performing target detection on the selected image to obtain The second display data; or, performing text recognition on the selected image, and obtaining the second display data based on the recognized text.
  • the display module is specifically configured to: acquire a window corresponding to the first display data from the first display data.
  • the data related to the picture played on the display screen is used to obtain the second display data.
  • the generating module is specifically configured to: at least one of the first display data as the second display data.
  • the generating module is specifically configured to: use the first display data as the second display data.
  • the display module is specifically configured to: if it is detected that the running application program is an application program in the preset list, or if it is detected that it is in the preset mode, through the first
  • the second display screen displays a window corresponding to the second display data.
  • the first window in the second display screen includes third display data
  • the third display data includes an interface of an application program
  • the display module is further configured to: respond to the A click operation on a control in the interface of the application program, obtaining fourth display data corresponding to the control clicked by the click operation, and replacing the third display data displayed in the area corresponding to the first window with the The fourth display data, the first window is any window displayed on the second display screen.
  • the preset area in the second display screen includes at least one preset window displayed, and the at least one preset window is used to display a calendar, weather information, travel records, memos or notes At least one of the .
  • the display module is further configured to: if a drag operation on the fifth display data displayed on the second display screen is detected, move the cursor in the second display screen to The area corresponding to the released position is used as the display area of the fifth display data.
  • the display module is further configured to: acquire information sent by at least one terminal, and display the information sent by the at least one terminal through the second display screen.
  • the information sent by the at least one terminal includes data related to the application program corresponding to the first display data.
  • the second display screen includes at least one non-overlappingly arranged window of a preset size
  • the display module is further configured to: The information sent by the at least one terminal is displayed in a window.
  • the display module is further configured to: acquire information sent by multiple terminals, where the multiple terminals include a first terminal and a second terminal;
  • the second window displays the information sent by the first terminal; when the switching operation for the second window is obtained, the information sent by the second terminal is displayed in the second window.
  • the display module is further configured to: send a request message to a server, to instruct the server to send a verification message to a third terminal, where any of the at least one terminal in the third terminal One: receiving information sent by the third terminal, where the information sent by the third terminal includes the verification message.
  • the display module is further configured to: if it is detected that the fourth terminal is in a screen-off state, display the information sent by the fourth terminal through the second display screen, and the first The four terminals are any one of the at least one terminal; or, if the information sent by the fourth terminal includes information generated by the first application, and the first application is an application program included in the preset list, then through the The second display screen displays the information sent by the fourth terminal; or, if it is detected that the fourth terminal is in a screen-off state, and the information sent by the fourth terminal includes information generated by the first application, then displaying the information sent by the fourth terminal through the second display screen.
  • the display module is further configured to: acquire sixth display data in the second display screen; if a drag operation on a window corresponding to the sixth display data is detected, Then generate seventh display data according to the sixth display data, and display the seventh display data through the first display screen.
  • the display module is further configured to: obtain historical data displayed on the first display screen within a preset period of time; generate prompt data according to the historical data; The prompt data is displayed on the screen, and the prompt data is used to prompt events generated in the historical data.
  • the second display screen further includes a keyboard window, and the keyboard window is used to display a virtual keyboard.
  • the display module is further configured to: if an operation for expanding the second window is detected, and the second window is any window displayed on the second display screen, close the The keyboard window, or reduce the size of the keyboard window, so that the enlarged second window and the reduced keyboard window displayed on the second display screen do not overlap.
  • the present application provides an interface display device, which is applied to an electronic device, and the electronic device includes a first display screen, which is characterized in that it includes:
  • a transceiver module configured to send a request message to the server, where the request message is used to request the server to send the first information to the terminal;
  • the transceiver module is further configured to receive second information sent by the terminal, where the second information includes the first information;
  • a display module configured to display the second information through the first display screen.
  • the display module is specifically used for:
  • the terminal If it is detected that the terminal is in a screen-off state, displaying the information sent by the fourth terminal through the first display screen, where the fourth terminal is any one of the at least one terminal; or,
  • the second information includes information generated by a first application in the terminal, and the first application is an application program included in a preset list, displaying the second information through the first display screen; or ,
  • the terminal If it is detected that the terminal is in a screen-off state and the second information includes information generated by the second application, displaying the information sent by the terminal through the first display screen.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor calls the program code in the memory to execute any one of the above-mentioned first aspects.
  • the displayed interface shows the processing-related functions in the method.
  • the electronic device may be a chip.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor calls the program code in the memory to execute any one of the above-mentioned second aspects.
  • the displayed interface shows the processing-related functions in the method.
  • the electronic device may be a chip.
  • the embodiment of the present application provides an electronic device, which can also be called a digital processing chip or a chip.
  • the chip includes a processing unit and a communication interface.
  • the processing unit obtains program instructions through the communication interface, and the program instructions are processed by the processing unit.
  • the processing unit is configured to execute processing-related functions in any optional implementation manner of the first aspect or the second aspect above.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the method in any optional implementation manner of the first aspect or the second aspect.
  • the embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method in the above-mentioned first aspect or any two optional implementation manners of the first aspect.
  • FIG. 1 is a schematic diagram of a network architecture provided by the present application.
  • FIG. 2 is a schematic structural diagram of an electronic device provided by the present application.
  • FIG. 3 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 4 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 5 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 6 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 7 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 8 is a schematic flowchart of an interface display method provided by the present application.
  • FIG. 9 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 10 is a schematic diagram of a GUI provided by the present application.
  • Fig. 11 is another GUI schematic diagram provided by the present application.
  • Fig. 12 is another GUI schematic diagram provided by the present application.
  • FIG. 13 is another GUI schematic diagram provided by the present application.
  • FIG. 14 is another GUI schematic diagram provided by the present application.
  • Fig. 15 is another GUI schematic diagram provided by the present application.
  • FIG. 16 is another GUI schematic diagram provided by the present application.
  • FIG. 17 is a schematic flowchart of another interface display method provided by the present application.
  • Fig. 18 is another GUI schematic diagram provided by this application.
  • Fig. 19 is another GUI schematic diagram provided by the present application.
  • FIG. 20 is a schematic flowchart of another interface display method provided by the present application.
  • Fig. 21 is another GUI schematic diagram provided by this application.
  • Fig. 22 is another GUI schematic diagram provided by this application.
  • Fig. 23 is another GUI schematic diagram provided by this application.
  • Fig. 24 is another GUI schematic diagram provided by this application.
  • Fig. 25 is another GUI schematic diagram provided by this application.
  • Fig. 26 is another GUI schematic diagram provided by this application.
  • Fig. 27 is another GUI schematic diagram provided by this application.
  • Fig. 28 is another GUI schematic diagram provided by this application.
  • Fig. 29 is another GUI schematic diagram provided by this application.
  • FIG. 30 is another GUI schematic diagram provided by this application.
  • FIG. 31 is a schematic structural diagram of another electronic device provided by the present application.
  • Fig. 32 is another GUI schematic diagram provided by this application.
  • Fig. 33 is another GUI schematic diagram provided by this application.
  • FIG. 34 is another GUI schematic diagram provided by this application.
  • Fig. 35 is another GUI schematic diagram provided by this application.
  • Fig. 36 is another GUI schematic diagram provided by this application.
  • Fig. 37 is another GUI schematic diagram provided by this application.
  • Fig. 38 is another GUI schematic diagram provided by this application.
  • Fig. 39 is another GUI schematic diagram provided by this application.
  • FIG. 40 is another GUI schematic diagram provided by this application.
  • Figure 41 is another GUI schematic diagram provided by this application.
  • Figure 42 is another GUI schematic diagram provided by this application.
  • Figure 43 is another GUI schematic diagram provided by this application.
  • Figure 44 is another GUI schematic diagram provided by this application.
  • Fig. 45 is a schematic flowchart of another interface display method provided by the present application.
  • Figure 46 is another GUI schematic diagram provided by this application.
  • Fig. 47 is a schematic structural diagram of an interface display device provided by the present application.
  • Fig. 48 is a schematic structural diagram of another interface display device provided by the present application.
  • FIG. 49 is a schematic structural diagram of another electronic device provided by the present application.
  • the method provided in the present application can be applied to various electronic devices, and the electronic device has a display screen or is connected to a display screen.
  • Electronic devices in this application may include, but are not limited to: smart mobile phones, televisions, tablet computers, wristbands, head-mounted display devices (Head Mount Display, HMD), augmented reality (augmented reality, AR) devices, mixed reality (mixed reality, MR) equipment, cellular phone (cellular phone), smart phone (smart phone), personal digital assistant (personal digital assistant, PDA), tablet computer, vehicle terminal, laptop computer (laptop computer) (or called Notebook computer or laptop computer, etc.), personal computer (personal computer, PC) and so on.
  • HMD head-mounted display devices
  • augmented reality augmented reality, AR
  • mixed reality mixed reality
  • cellular phone cellular phone
  • smart phone smart phone
  • PDA personal digital assistant
  • tablet computer vehicle terminal
  • laptop computer laptop computer (laptop computer) (or called Notebook computer or laptop computer, etc.)
  • PC personal computer
  • FIG. 1 a specific structure is taken as an example below to illustrate the structure of the electronic device provided in this application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, motion sensor 180N, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the USB interface 130 here can also be replaced with other interfaces, such as Type-c or Lighting, which can realize charging or data transmission, and only the USB interface 130 is used as an example for illustration here.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • ultra wide band ultra wide band
  • UWB ultra wide band
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include but not limited to: the fifth generation mobile communication technology (5th-Generation, 5G) system, the global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA) ), long term evolution (long term evolution, LTE), bluetooth (bluetooth), global navigation satellite system (the global navigation satellite system, GNSS), wireless fidelity (wireless fidelity, WiFi), near field communication (near field communication, NFC), FM (also called FM radio), Zigbee (Zigbee), radio frequency identification (radio frequency identification, RFID) and/or infrared (infrared, IR) technology, etc
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (satellite based augmentation systems, SBAS), etc.
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 may also include a wired communication module (not shown in FIG. 1 ), or the mobile communication module 150 or wireless communication module 160 here may be replaced by a wired communication module (not shown in FIG. output), the wired communication module can enable the electronic device to communicate with other devices through a wired network.
  • the wired network may include but not limited to one or more of the following: Optical Transport Network (OTN), Synchronous Digital Hierarchy (SDH), Passive Optical Network (PON), Ethernet network (Ethernet), or flexible Ethernet (flex Ethernet, FlexE), etc.
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for interface display, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into image signals in standard RGB camera, YUV and other formats.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the motion sensor 180N can be used to detect moving objects within the range captured by the camera, and collect motion profiles or trajectory of the moving objects.
  • the motion sensor 180N can be an infrared sensor, a laser sensor, a dynamic vision sensor (dynamic vision sensor, DVS), etc.
  • the DVS can specifically include DAVIS (Dynamic and Active-pixel Vision Sensor), ATIS (Asynchronous Time-based Image Sensor ) or sensors such as CeleX sensors.
  • DAVIS Dynamic and Active-pixel Vision Sensor
  • ATIS Asynchronous Time-based Image Sensor
  • CeleX sensors CeleX sensors.
  • DVS draws lessons from the characteristics of biological vision, each pixel simulates a neuron, and independently responds to relative changes in light intensity (hereinafter referred to as "light intensity"). When the relative change of light intensity exceeds the threshold, the pixel will output an event signal, including the pixel's position, time stamp and feature information of light intensity.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the electronic device may include more or fewer components than those shown in FIG. 1 , which may be adjusted according to actual application scenarios, which is not limited in this application.
  • the electronic device 100 can be logically divided into a hardware layer 21 , an operating system 261 , and an application layer 31 .
  • the hardware layer 21 includes hardware resources such as an application program processor 201 , a microcontroller unit 203 , a modem 207 , a Wi-Fi module 211 , a sensor 214 , and a positioning module 150 .
  • Application layer 31 includes one or more application programs, such as application program 263, and application program 263 can be any type of application program such as social networking application program, e-commerce application program, browser, or finding objects APP, which executes the application provided by this application.
  • the operating system 261 is a software middleware between the hardware layer 21 and the application layer 31, and is a computer program for managing and controlling hardware and software resources.
  • the operating system 261 includes a kernel 23, a hardware abstraction layer (hardware abstraction layer, HAL) 25, a library and runtime (libraries and runtime) 27, and a framework (framework) 29.
  • the kernel 23 is used to provide underlying system components and services, such as: power management, memory management, thread management, hardware drivers, etc.; hardware drivers include Wi-Fi drivers, sensor drivers, positioning module drivers, etc.
  • the hardware abstraction layer 25 encapsulates the kernel driver, provides an interface to the framework 29, and shields low-level implementation details.
  • the hardware abstraction layer 25 runs in user space, while the kernel driver runs in kernel space.
  • Library and runtime 27 is also called runtime library, which provides required library files and execution environment for executable programs at runtime.
  • the library and runtime 27 includes an Android runtime (Android Runtime, ART) 271 and a library 273, etc.
  • ART 271 is a virtual machine or virtual machine instance capable of converting an application's bytecode into machine code.
  • Library 273 is a program library that provides support for executable programs at runtime, including browser engines (such as webkit), script execution engines (such as JavaScript engines), graphics processing engines, and the like.
  • the framework 27 is used to provide various basic public components and services for applications in the application layer 31, such as window management, location management and so on.
  • the framework 27 may include a phone manager 291, a resource manager 293, a location manager 295, and the like.
  • each component of the operating system 261 described above can be realized by the application program processor 201 executing the programs stored in the memory 205 .
  • the electronic device 100 may include fewer or more components than those shown in FIG. 2.
  • the electronic device may include one or more display screens, or be connected to one or more display screens.
  • the multiple display screens may be set in the electronic device, or established a communication connection with the electronic device, and the electronic device may control the display screens.
  • the relationship between the electronic device and the display screen will be illustrated as an example below.
  • the electronic device may be a notebook computer, and the notebook computer is provided with two display screens for independent display. There is usually a certain angle between the two display screens, and usually the angle can be Tune. These two display screens can carry out input operations through mouse, stylus or touch, and the input methods of the two display screens can be the same or different, such as the first display screen can carry out input operations through a mouse, and the second display screen Input operations can be performed by touch.
  • more display screens can also be provided.
  • This application only uses an electronic device with two display screens as an example for illustration.
  • the two display screens mentioned below can also be replaced by Three or four display screens, etc., can be specifically adjusted according to actual application scenarios, which is not limited in this application.
  • the two display screens can be set in various ways.
  • the two displays are referred to as the B side (or the first display screen) and the C side as an example. (Alternatively known as the second display).
  • the B side or the first display screen
  • the C side as an example.
  • the second display Alternatively known as the second display.
  • the electronic device can also be configured with a physical keyboard, the surfaces B and C are display areas, the physical keyboard is set parallel to the surface C, and the physical keyboard can be used for input or control of the electronic device;
  • surfaces B and C are display areas, and surface C can be divided into multiple parts, one part of which can be used to display various windows or data, and the other part can be used to display a virtual keyboard, which can be used by users Input or control electronic equipment, and usually can be zoomed or closed;
  • the B side and the C side are two display areas in the same display screen, and both parts can be used as the main display screen.
  • the electronic device may include a folding screen mobile phone or a folding screen computer; for example, as shown in Figure 7, the B side and the C side may be two display screens that have established a connection, specifically through wireless or wired communication.
  • Communication connection for example, side B can usually be a display set separately, and side C can be an external touch screen connected to electronic equipment, such as a mobile phone, a tablet, and the like.
  • FIG. 8 it is a schematic flowchart of an interface display method provided by the present application.
  • the first display screen may be one of multiple display screens possessed or connected to the electronic device, and may be used to display data in the electronic device, such as application interface, text, image or video, etc., that is, the first display screen data.
  • display windows on the first display screen such as displaying interfaces of multiple application programs, or displaying multiple frames of images, or displaying texts of multiple files, etc., for example, in this application, The following takes one of the display windows as an example for illustration.
  • the user can control the electronic device by means of touch, mouse or button, and when the user's operation on the display window is detected, the second display data can be determined based on the first display data according to the type of the operation.
  • the second display data may be data generated based on the first display data, or may be part of the first display data, and the way to obtain the second display data may be different in different scenarios or for different operation modes.
  • the second display data may include data corresponding to the selected control in the first display data, and for the convenience of viewing by the user, the second display data is less than the first display data.
  • a control or called a component, widget or control
  • GUI graphical user interface
  • a display window can include one or more controls, or the entire window can be understood as a larger control that includes multiple smaller controls.
  • the controls mentioned in this step may include various controls in the display window in the first display screen, and the selected controls may be understood to include controls corresponding to the position where the cursor stays in the display interface or controls selected by the user.
  • the second display data in response to the operation on the display window in the first display screen, can be determined based on the first display data, and the second display data can be displayed on the second display screen.
  • the second display data includes the data corresponding to the selected control in the first display data, which is less than the first display data, so that a simplified window can be displayed on the second display screen, which is convenient for user operation and improves user experience.
  • the operations for the windows displayed on the first display screen may specifically include multiple types.
  • the operation may specifically include one or more of the following: drag operation, close operation, minimize operation, control selection, file selection, playback operation, gesture operation, or folding operation.
  • the drag operation is an operation of dragging the display window after the display window is selected.
  • the closing operation is an operation of closing the display window in the first display screen.
  • the minimization operation refers to the operation of hiding the display window on the first display screen, such as running an application program corresponding to the display window in the background.
  • the control selection operation is the operation of selecting the control in the display window.
  • the display window is a window for displaying chat software
  • the display interface of the chat software has various controls, such as screenshots, shaking windows, sending messages, or switching fonts, and the user can select controls by mouse or touch.
  • Selecting a file means selecting a file in the display window, and the file can include data such as text, video, and image.
  • Play operation that is, the operation of playing the selected data, such as playing video, playing voice or playing slideshow, etc.
  • the folding operation that is, the operation of folding the first display screen and the second display screen, can adjust the angle between the first display screen and the second display screen.
  • the operation on the display window corresponding to the first display data includes a drag operation
  • at least one of the first display data may be used as the first display data, and then according to the released position of the cursor Determine the position of the display window corresponding to the second display data on the second display screen. Therefore, in the embodiment of the present application, the user can drag the window displayed on the B side to the C side by dragging to the operation, which is convenient to operate and improves user experience.
  • the operation on the display window corresponding to the first display data includes a closing operation or a minimizing operation
  • at least one data in the first display data may be enlarged or reduced, and/or, At least one type of data in the first display data is deleted to obtain second display data. Therefore, in the embodiment of the present application, after closing or minimizing the window on the B side, all or part of the data in the window can be zoomed, or some data can be deleted, so as to obtain a more simplified window and display it on the C side , improve user experience.
  • the B side is inconvenient to display, the user can watch the content displayed on the C side to improve user experience.
  • At least one type of data in the aforementioned first display data may be data corresponding to the selected control.
  • the first display data is the window of the chat software that the user is using
  • some data can be selected from the first display data, such as the window data corresponding to the current chat object, or the data corresponding to the control where the cursor is currently staying, etc. as the second display data.
  • Two display data Therefore, in the embodiment of the present application, when the window on the B side is transferred to the C side for display, the part currently focused by the user can be transferred, so that a more concise and more user-friendly interface can be displayed on the C side, improving user experience .
  • the second display data may be obtained based on the selected file.
  • the specifically selected files may include data such as images, texts, videos, or audios.
  • the selected text can be directly used as the second display data; or, the selected text is translated, and then the second display data is obtained according to the translation result; or, the selected text can be used as the second display data; Search for the text, and obtain the second display data according to the search results; or, rearrange the selected text to obtain the second display data; or, search for the arrangement format corresponding to the selected text, and obtain the second display data; or , if the selected text includes a numerical value, the exchange rate conversion can be performed on the numerical value to obtain the second display data.
  • further display, search, rearrangement or exchange rate conversion can be performed based on the text selected by the user, so as to provide timely feedback on the user's choice, adapt to various scenarios, and improve user experience.
  • the selected image can be directly used as the second display data; or, the related image of the selected image can be searched, and the second display data can be obtained based on the related image; or, for Target detection is performed on the selected image, and the detection result is used as the second display data; or, text recognition is performed on the selected image, and second display data is obtained based on the recognized text.
  • the image selected by the user may be further displayed, searched, detected or identified, so as to provide timely feedback on the image selected by the user and improve user experience.
  • the operation on the window corresponding to the first display data includes a playback operation
  • data related to the picture played on the first display screen may be obtained from the first display data to obtain the second display data.
  • the first display data is video data, and one frame is currently being played on the first display screen
  • the image of the current frame can be obtained, and further operations such as display, search, detection, or identification can be performed based on the image.
  • the first display data includes a slideshow
  • the notes corresponding to one of the currently played pages can be obtained, that is, when the slideshow is played on the B side, the C side can display the notes related to the current playing screen, improving user experience.
  • the second display data may be determined based on the first display data, For example, part or all of the first display data is used as the second display data, or all or part of the first display data is further processed to obtain the second display data.
  • the first display data is used as the second display data.
  • the electronic device is a device that can be folded.
  • the angle between the B side and the C side is within the preset range, the content displayed on the B side can be transferred to the C side.
  • the display is performed, so that when the form of the electronic device is changed, the displayed content can be continuously displayed, thereby improving user experience.
  • the second display data can be displayed on the second display screen.
  • the windows displayed on the second display screen do not overlap, so that the second display data can be more complete, so that the user can interact based on the complete display window, thereby improving user experience.
  • a preset number of windows may be screened out from the multiple display windows according to the sliding operation for displaying,
  • the preset number can be determined according to the size of the display area of the second display screen or each display window. If the display area of the second display screen is larger, or the size of the display window is smaller, the number of windows that can be displayed in the second display screen will be more. Conversely, if the display area of the second display screen is smaller, or the display window size is smaller The larger the size of the window, the smaller the number of windows that can be displayed on the second display screen.
  • the sliding operation may be performed by the user through a mouse, or through a touch, and may be specifically adjusted according to an actual application scenario.
  • the multiple display windows are not stacked, so that the user can view the complete windows. Moreover, the user can view multiple windows through a sliding operation, so that the user can operate on the C surface more conveniently, so that more windows can be displayed in a limited display area, thereby improving user experience.
  • the display windows in the second display screen are interactive windows. Taking one of the windows as an example, it is called the first window for easy distinction.
  • the third display data is displayed in the first window, and the third display data Including the interface of the application program, in response to the click operation on the control of the application program interface, obtain the fourth display data corresponding to the control clicked by the click operation, and replace the content displayed in the first window with the fourth display data data.
  • the window can be switched to the interface corresponding to the control at this time, and the response to the user operation is completed, so that the user can change the control on the C surface. Interoperate easily.
  • the preset area in the second display screen may include one or more preset windows displayed, and the multiple preset windows are used to display common information such as calendar, weather information, itinerary records, memos or notes.
  • common information such as calendar, weather information, itinerary records, memos or notes.
  • one or more resident windows can be set on the second display screen, and some commonly used information such as calendar, weather, itinerary, memo or notes can be saved, so as to remind the user in time and improve the user experience.
  • the windows in the second display screen can also be dragged to adjust the display area where each window is located. If a drag operation for the fifth display data displayed in the second display screen is detected, the display area corresponding to the position where the cursor is released is used as a new display area of the fifth display area, that is, the display area is displayed in the new display area. Fifth display data. Therefore, the user can drag and adjust the display position of each window on the second display screen, thereby improving user experience.
  • data sent by other devices may also be received and displayed on the second display screen.
  • the information sent by one or more terminals can be acquired, and the information sent by one or more terminals can be displayed through the second display screen.
  • the information sent by the one or more terminals may include the terminal's own interface, information received by the terminal, or notification information sent by the terminal to the electronic device, etc., which may be adjusted according to actual application scenarios. Therefore, in the embodiments of the present application, the information sent by the terminal can be displayed on the second display screen, such as the interface of the terminal, the received information, or the interaction information between the terminal and the electronic device, so that the user can communicate with the electronic device through the electronic device. Interact with the terminal without opening the terminal, improving user experience.
  • the information sent by the foregoing one or more terminals may include data related to an application program corresponding to the first display data displayed on the electronic device.
  • a user can open a web page provided by a certain platform in an electronic device, and the application program provided by the platform can be installed in the terminal.
  • the terminal can send the information in the application program running locally Provide electronic equipment and display it on the C surface, so that users can use electronic equipment more conveniently and improve user experience.
  • the second display screen includes one or more non-overlapping windows of a preset size, or may be called card windows, and a received Or the information sent by multiple terminals, so that the information sent by the terminal can be displayed through clear layout and non-overlapping card windows, which is more convenient for users to observe and can improve user experience.
  • the information sent by one of the terminals may be displayed in the second window on the C surface, and the A switching control is set in the second window, and when a switching operation for the second window is detected, the information sent by the second terminal can be displayed in the second window. Therefore, in the embodiment of the present application, the information sent by only one of the terminals in the C-side window can be avoided, so as to avoid the display area occupied by terminal messages from being too large, and the user can choose which terminal to display the information to improve user interaction experience.
  • the electronic device may send a request message to the server, and the request message is used to request the server to send a verification message to the third terminal, and then the third terminal may forward the verification message to the electronic device after receiving the verification message. , and display the verification message on the C side of the electronic device.
  • the terminal can forward the verification message to the electronic device and display it on the C side. Without opening the terminal, you can observe the verification message through the C-side, complete the verification of the platform, and improve the user experience.
  • the information sent by the fourth terminal is displayed on the second display screen, and the fourth terminal is any one of at least one terminal; or, if the The information sent by the four terminals includes information generated by the first application, and the first application is an application program included in the preset list, then the information sent by the fourth terminal is displayed on the second display screen; or, if it is detected that the fourth terminal is in In the off-screen state, and the information sent by the fourth terminal includes information generated by the first application, the information sent by the fourth terminal is displayed on the second display screen.
  • the present application can adapt to various terminal interaction scenarios, and when the terminal screen is turned off or a specific application is running, the information in the terminal can be sent to the electronic device and displayed on the C surface, improving user experience.
  • the window displayed on the second display screen can also be switched to be displayed on the first display screen, so as to realize display screen switching between the first display screen and the second display screen.
  • the second display data displayed on the second display screen is obtained, if a drag operation for the window corresponding to the second display data is detected, the seventh display data will be generated according to the sixth display data, and the display data will be displayed on the first display screen. Seventh display data.
  • the user can drag the window in the second display screen to the first display screen, and when the window in the second display screen is switched to the first display screen for display, the size and content of the window can be adjusted , such as increasing the size of the window and the amount of displayed data, thereby making the window more suitable for the first display screen and improving the user's visual experience.
  • the meeting minutes displayed in the display window of the first display screen can be obtained, and the meeting minutes can be displayed on the second display screen, so that the user can be reminded in time and the user experience can be improved.
  • the second display screen may further include a keyboard window for displaying a virtual keyboard. Therefore, a virtual keyboard can be displayed on the second display screen, so that the user can perform input operations on the second display screen, thereby improving user experience.
  • the keyboard window may be closed, or the size of the keyboard window may be reduced, so that the enlarged second window does not overlap with other windows, thereby improving the user's visual experience.
  • the control corresponding to the virtual keyboard or the corresponding small icon can be displayed on the second display screen.
  • the user can click the control or icon to reopen the virtual keyboard. Users can use the virtual keyboard for input, improving user experience.
  • the present application provides an electronic device, the electronic device includes a first display screen, a second display screen, a memory, and one or more processors, the memory stores the code of the graphical user interface of the application program, so The one or more processors are used to execute the code of the graphical user interface (GUI) stored in the memory to display the graphical user interface on the first display screen or the second display screen, the The GUI includes:
  • the second display data In response to the operation on the display window in the first display screen, determine the second display data according to the first display data, the first display data is the data displayed in the display window in the first display screen, and the second display data The data includes the data corresponding to the selected control in the first display data, and the second display data is less than the first display data, and the window corresponding to the second display data is displayed through the second display screen .
  • the preset window is selected from the plurality of display windows according to the sliding operation on the second display screen. A number of windows are displayed, and the multiple display windows do not overlap on the second display screen.
  • the operation on the display window corresponding to the first display data includes at least one of the following operations performed on the first display screen:
  • the drag operation includes the operation of moving the display window after selecting the display window
  • the closing operation is the operation of closing the display window
  • the minimize operation is the operation of hiding the display window
  • the selection of the control is the operation of selecting the control in the display window
  • the selection of the file is the operation of The operation of selecting the file displayed in the display window
  • the playback operation is the operation of playing the data displayed in the display window
  • the gesture operation is the operation of gesture formation for controlling the display window
  • the folding operation is the adjustment of the first display screen and the second display screen angle between.
  • determining the second display data according to the first display data includes: using at least one of the first display data as The second display data: displaying the window corresponding to the second display data through the second display screen, including: determining the position of the display window of the second display data in the second display screen according to the released position of the cursor.
  • determining the second display data according to the first display data includes: One type of data is enlarged or reduced, and/or at least one type of data in the first display data is deleted to obtain second display data.
  • determining the second display data according to the first display data includes: using the selected text as the second display data; or, Translate the selected text, and obtain the second display data based on the translation result; or, perform a search based on the selected text, and obtain the second display data based on the search result; or, arrange the selected text, or obtain the corresponding to obtain the second display data; or, if the selected text includes a value, perform exchange rate conversion on the value to obtain the second display data.
  • determining the second display data according to the first display data includes: using the selected image as the second display data; or, Search for images related to the selected image, and obtain the second display data based on the related images; or, perform target detection on the selected image to obtain the second display data; or perform text recognition on the selected image, and obtain the second display data based on the recognized text Two display data.
  • determining the second display data according to the first display data includes: obtaining data related to the picture played on the first display screen from the first display data, and obtaining The second displays the data.
  • determining the second display data according to the first display data includes: if the detected gesture of the gesture operation is a preset gesture, at least One as the second display data.
  • the data determining the second display data includes: using the first display data as the second display data.
  • displaying the window corresponding to the second display data through the second display screen includes: if it is detected that the running application program is an application program in the preset list, or if it is detected that the application program is in the preset mode, the window corresponding to the second display data is displayed through the second display screen.
  • the GUI also includes:
  • the first window is any window displayed on the second display screen.
  • the preset area in the second display screen includes at least one preset window displayed, and the at least one preset window is used to display at least one of the calendar, weather information, itinerary record, memo or notes. item.
  • the GUI further includes: if a drag operation on the fifth display data displayed on the second display screen is detected, the area corresponding to the position where the cursor is released on the second display screen is used as the fifth display data. The display area where the data is displayed.
  • the GUI further includes: in response to acquiring the information sent by the at least one terminal, displaying the information sent by the at least one terminal on a second display screen.
  • the information sent by at least one terminal includes data related to an application program corresponding to the first display data.
  • the second display screen includes at least one non-overlapping arranged window of a preset size
  • the GUI specifically includes: displaying at least one non-overlapping arranged window of a preset size information.
  • the GUI specifically includes: obtaining information sent by multiple terminals, where the multiple terminals include the first terminal and the second terminal; displaying the information sent by the first terminal through the second window on the second display screen ;
  • the information sent by the second terminal is displayed in the second window.
  • obtaining the information sent by at least one terminal includes: sending a request message to the server to instruct the server to send a verification message to the third terminal, and the third terminal is any one of the at least one terminal; receiving the third terminal The information sent by the terminal, the information sent by the third terminal includes a verification message.
  • the GUI includes:
  • the fourth terminal is in a screen-off state, the information sent by the fourth terminal is displayed on the second display screen, and the fourth terminal is any one of at least one terminal; or,
  • the information sent by the fourth terminal includes information generated by the first application, and the first application is an application program included in the preset list, displaying the information sent by the fourth terminal through the second display screen; or,
  • the information sent by the fourth terminal is displayed on the second display screen.
  • the GUI further includes: acquiring sixth display data in the second display screen; if a drag operation for a window corresponding to the sixth display data is detected, generating a seventh display data according to the sixth display data. display data, and display seventh display data through the first display screen.
  • the GUI further includes: acquiring the historical data displayed on the first display screen within a preset period of time; generating prompt data according to the historical data; displaying the prompt data through the second display screen, and the prompt data is used for the historical data Prompts for events generated in .
  • the second display screen further includes a keyboard window, and the keyboard window is used to display a virtual keyboard.
  • the second window in response to detecting the operation of expanding the window for the second window, is any window displayed on the second display screen, closing the keyboard window, or reducing the size of the keyboard window, So that the enlarged second window displayed on the second display screen and the reduced keyboard window do not overlap.
  • the present application also provides an electronic device, the electronic device includes a first display screen, a memory, and one or more processors, the memory stores the code of the graphical user interface of the application program, and the one or more processors are used to execute the stored The code of the graphical user interface (GUI) in the memory, to display the graphical user interface in the first display screen or the second display screen, it is characterized in that the graphical user interface includes: sending a request message to the server, and the request message is used to request The server sends the first information to the terminal; receives the second information sent by the terminal, where the second information includes the first information; and displays the second information through the first display screen.
  • GUI graphical user interface
  • the second information is displayed through the first display screen, including:
  • the terminal If it is detected that the terminal is in a screen-off state, displaying the information sent by the fourth terminal through the first display screen, where the fourth terminal is any one of at least one terminal; or,
  • the second information includes information generated by the first application in the terminal, and the first application is an application program included in the preset list, displaying the second information through the first display screen; or,
  • the information sent by the terminal is displayed on the first display screen.
  • the structure of the electronic device may be as shown in FIG. 9 , including a B-side (ie, the first display screen) and a C-side (including the second display screen).
  • Side B can be used to display the application program or other data that the user chooses to open
  • side C can display some card-like windows.
  • the electronic device may further include a keyboard input area, and the keyboard input area may be a partial display area on the C surface, that is, a virtual keyboard, or a physical keyboard.
  • the user can perform input through the keyboard, such as inputting text through the keyboard.
  • the virtual keyboard can be adjusted or closed, for example, the size, position or display mode of the virtual keyboard can be adjusted.
  • the size of the card windows displayed on the C surface can be dynamically adjusted, or arranged according to a preset size. For example, as shown in FIG. 10 , multiple sizes of display windows can be preset on the C surface, or the user can also select the size and layout of the card window on the C surface. In addition, as shown in FIG. 11 , the distance between each display window can also be a preset distance, so that the windows displayed on the C surface can be independently displayed and neatly arranged to improve the user's visual experience.
  • the display windows on the C surface can be divided into various types, for example, they can be divided into resident windows and dynamic windows.
  • a resident window is a window fixed and displayed on the C surface, and usually the resident window is not closed when the application program is closed.
  • a dynamic window is a window that is not fixed to be displayed on the C side, such as a window dragged from the B side (that is, the first display screen) to the C side, or a window displayed on the C side after the B side is closed, etc.
  • the method provided by the present application will be exemplarily described below in conjunction with different window types.
  • the resident window can be understood as a window continuously displayed on the C surface, for example, some reminder information can be displayed on the C surface, such as schedule, memo, weather information, calendar or notes and other information.
  • the resident window will not be closed with the closing of the application program, and can be continuously displayed on the C-side, so that some information that the user needs to watch in time can be presented on the C-side in time, improving user experience.
  • the option of a resident window can be added in the setting item of the electronic device, and the user can select a resident window in the display window on the B side, as shown in Figure 13, some windows can be displayed on the C side
  • Commonly used cards such as schedules, notes, calendars, weather, memos and other information that users need to check in time, so that users can check important records in time and improve user experience.
  • the user can interact more conveniently and effectively in each window in the second display screen, and the arrangement method can make the user more clearly Interacting with electronic devices accurately can improve the user's visual experience and interactive experience.
  • the dynamic window may include displaying through the C surface after operating on the window displayed on the B surface.
  • the data displayed on the B side can be operated, and then the data displayed on the C side can be generated based on the data displayed on the B side, and displayed in the window on the C side.
  • This operation can specifically include selecting controls in the display window on side B, such as close control, minimize control, play control, file icon control or other preset controls, etc., and can also include dragging the window on side B , Folding and other operations on electronic devices.
  • the following exemplarily introduces the process of generating a dynamic window by taking some scenarios as examples.
  • the drag operation can be realized by the user through a device connected to the B surface, such as a mouse, keyboard or other control devices, or if the B surface is a touch screen, the drag operation can be realized by the user touching the B surface A drag operation on the window on side B.
  • the dragged window may be directly displayed on the C surface, or the window may be adjusted and displayed.
  • the size of the display window on the C side is smaller than the size of the display window on the B side, and the dragged window can be reduced, such as intercepting part of the content in the window, or highlighting some important content, etc., so that the window displayed on the C side is easier to interact , improve user experience.
  • the window displayed on the B side can be dragged to the C side through a touch or an input device, and the position where the cursor is released is used as the display area of the window on the C side. For example, drag the window on side B between window 1 and window 2 displayed on side C, adjust the position of the window on side C, adjust the size of the dragged window, and insert the window into window 1 and window 2 between. If the window 3 is squeezed out of the display area of the C surface, the window 3 can be hidden, and when the user slides on the C surface, the window 3 can be slid out based on the user's sliding operation.
  • the user can use the mouse cursor to drag the window displayed on the main screen (ie, side B) to the secondary screen (ie, side C), and this type of window will be closed with the end of its corresponding application , or is actively closed due to user action.
  • Drag-in methods include mouse, gesture, etc.
  • the following process uses mouse cursor drag-in as an example.
  • the user can select the current window by long-pressing the cursor, and drag the current window by controlling the moving direction of the mouse.
  • the user's drag operation is detected, if it is detected that the moving position of the window coincides with the lower boundary of the B surface, or the mouse or finger touches the boundary, or drags into the C surface, then the window can be displayed on the C surface.
  • the C side window is smaller than the B side window.
  • the window displayed on the C side can be adjusted.
  • the part of the content currently selected by the user can be enlarged , to hide some unselected content, so that users can interact more conveniently and improve user experience.
  • chat software Take a certain chat software as an example.
  • the window on the B side is usually displayed larger. If you directly move to the C side to display It seems that the text and interactive controls are very small, and it is difficult to click and interact with fingers, and the functions are too complicated for touch screen interaction, and the user experience is not good.
  • This application can solve this problem through the minimalist mode, which can be adapted to the card-type window on the C side, such as optimizing the information structure of the current window page, interactive controls, text size, and interactive methods, making it more suitable for finger touch screen interaction.
  • the window of the chat software displayed on side B is more comprehensive and displays more contacts. When switching to the display on side C, the list of chatters and the navigation bar are hidden. Users can more easily see newly received messages without being disturbed by other redundant information or accidentally touched by other interactive controls.
  • the process can be as shown in Figure 17.
  • it is judged whether to apply the minimalist mode, if not, the window is not changed, and if so, it is converted into a minimalist window.
  • the user may drag the window by using an input method such as a mouse or a touch.
  • the way to judge whether to apply the minimalist mode can be to judge whether the window meets the preset application conditions, such as whether the size of the window is larger than the first preset size, whether the display area of the C surface is larger than the second preset size, or the application program corresponding to the window Whether it is a pre-set list or not.
  • the window can be adjusted to convert the window into a minimalist window, such as removing the navigation bar of the window, keeping the currently selected part of the content, etc., so that you can Display more practical content on the C side to improve user experience.
  • the size of the window displayed on the C surface can be determined according to the window or the display area of the C surface, so that the window displayed on the C surface can be more adapted to the display area of the C surface, and user experience can be improved.
  • the user can realize the closing operation in a variety of ways, such as selecting to close the display window in the task bar displayed on the first display screen, or selecting the closing control of the display window to realize the closing operation or minimizing operation, or through an input device, Such as keyboard or gesture operation to realize close operation or minimize operation.
  • the user can pre-set the list of programs to be displayed on the C surface after the closing or minimizing operation.
  • the user closes or minimizes a window, if the program corresponding to the window is in the list , the corresponding window can be generated on the C side, so when the window on the B side is closed or hidden, it can continue to be displayed on the C side based on user needs, thereby improving user experience.
  • the user can select a close control on the display window on the B side through an input device, such as a mouse, a keyboard, or a touch screen, so as to close the window on the B side.
  • the background of the electronic device can continue to run the application program corresponding to the window, and can also close the application program corresponding to the window.
  • the closed window or content related to the window may be displayed on the C surface.
  • the window that the user chooses to close can be displayed in a reduced size, or an icon related to the closed window can be displayed on the C surface.
  • the user can select the minimized control on the display window on the B side through an input device, such as a mouse, a keyboard, or a touch screen, so as to hide the window on the B side, and the background of the electronic device can continue to run
  • an input device such as a mouse, a keyboard, or a touch screen
  • the window corresponds to an application program, and a small window of the application program is displayed on the C surface.
  • the process may be as shown in FIG. 20 .
  • the user may perform a closing operation or a minimization operation through an input method such as a mouse or a touch.
  • the manner of judging whether to switch to the C-side display may include various methods, such as whether the program corresponding to the window operated by the user is in the preset program list, whether the size of the window exceeds the preset size, and the like.
  • the window can be closed, the program corresponding to the window can be run in the background or the program can be closed.
  • the window can be moved to the C-side, or adjusted to a minimalist window and switched to the C-side display, etc.
  • various file icons can be displayed in the window on the B side, and each icon can be linked with the files stored in the electronic device.
  • the file can be read from the storage space for subsequent operations , such as display, copy, or cut.
  • the data displayed on the C surface can be obtained based on the selected text.
  • the selected text can be directly used as the data displayed on the C-side; or, the selected text can be translated, and the translation result is displayed on the C-side; or, the search can be performed based on the selected text, and the The search results are displayed on the C side; or, after confirming the selected text, you can search for the arrangement format or typesetting format corresponding to the text, and display it on the C side; or, if the selected text includes a value, you can set the value Perform calculations, such as exchange rate conversion or other mathematical calculations, and display the calculation results on the C side.
  • the data displayed on the C plane can be obtained based on the selected image.
  • the selected image can be directly displayed on the C surface; or, the related images of the selected image can be searched, and the searched related images can be displayed on the C surface; The detection result is displayed on the surface; or, text recognition is performed on the selected image, and the display content in the C surface is obtained based on the recognition result, wherein, after the text is obtained through text recognition on the selected text, you can refer to the aforementioned when the selected file includes The display method of the text will not be repeated here.
  • the window displayed on the B side of the electronic device may be as shown in FIG. 21 , in which images and various texts are displayed.
  • the currency type displayed in the display window is a currency type not commonly used by the user
  • the value can be selected by pressing or sliding, and the user can select the converted currency type, so that the selected value can be converted into the currency type required by the user.
  • the displayed image can be searched to obtain multiple frames of related images, and the searched multiple frames of related images can be displayed on the C surface.
  • the user purchases a product, if he opens a certain product link and selects one of the images, he can search based on the image, search for similar product images, and display them on the C side. Select the displayed product, and open the selected product link, so that users can quickly find the desired product and improve user experience.
  • the user can browse images through the B side, and when the user is interested in one of the images, he can select the image through touch or mouse input, and when the operation of selecting the image by the user is detected,
  • the image can be recognized, as shown in Figure 24, if the object included in the image is recognized as "dog" and the specific type is "schnauzer", the recognition result can be displayed in the window of the C surface, so as to realize the recognition
  • the image selected by the user responds quickly to improve the user experience.
  • Text can be directly selected in the display window on side B, or text can be recognized from the selected image.
  • a document can be displayed on the B side, and the user can select a piece of text in it by touching or selecting it with a mouse.
  • the selected text can be translated, and the translated text can be obtained and displayed on the C surface.
  • the specific translation language can be selected by the user, or it can be a preset commonly used translation language.
  • the translation can be performed, or after the user triggers the translation operation, the selected text can be translated. translate.
  • text can be displayed on the B side, and the user can select a piece of text by touching or selecting it with a mouse. After the user's text selection operation is detected, the text selected by the user can be searched, and the search results are displayed on the C side, so that the text selected by the user can be searched in time without changing the content displayed on the B side, improving the user experience. experience.
  • text can be displayed on the B side, and the user can select a piece of text by touching or selecting it with the mouse.
  • the typesetting format corresponding to the text can be searched for and displayed on the C side.
  • the user can select the required typesetting format on the C side, and use the typesetting format selected by the user to typeset the selected text on the B side. Therefore, in the scenario where the user wants to typeset the text, the required typesetting format can be quickly searched to improve user experience.
  • the user may choose to play various data in the electronic device, such as video, audio or slideshow.
  • the data related to the current playback screen can be obtained, and the corresponding window can be displayed on the C surface.
  • you can display the annotation information corresponding to the currently playing picture on the C side.
  • the user's gesture can be collected in a variety of ways, such as collecting the user's gesture operation through radar, camera or infrared rays.
  • the C The data displayed on the C side, and display the data in the C side.
  • gestures can be preset, such as gestures for dragging windows, closing windows, minimizing windows, playing gestures, or file selection gestures, so that users can control through gestures without touching electronic devices.
  • the way of generating the display data of the C surface can refer to the aforementioned ways of generating the drag operation, close operation, minimize operation, file selection operation or play operation, and will not be repeated here.
  • the user can perform gesture operations. After the user's gesture is collected and recognized, it is judged whether the gesture is a preset gesture. If the gesture is a preset gesture, such as the gesture of dragging the window, the data displayed on the B side can be transferred in response to the gesture to display on side C.
  • a preset gesture such as the gesture of dragging the window
  • the user can switch the window displayed on the B side to the C side through the gesture operation, thereby improving the user's control experience.
  • the electronic device provided in the present application may have multiple display screens. Taking two display screens as an example, the two display screens may not be fixedly connected, so the electronic device can be folded.
  • the data displayed on the C side can be generated based on the data displayed on the B side, or the data displayed on the B side can be used as the data displayed on the C side.
  • the electronic device can be a foldable tablet, and when the user needs to fold the tablet, the two display screens can be folded to any angle.
  • the C side faces the user.
  • the C side can be displayed as the main screen.
  • the content displayed on the B side can be switched to the C side for display, so even if the electronic device is in a different
  • the form can also respond to the form switching in a timely manner, so that the user can view the content displayed on the main screen and improve the user experience.
  • some commonly used devices only support two window management modes, such as the keyboard and mouse window system and the tablet window system.
  • this application provides a card window.
  • the window system should also change accordingly. You can use the sensors in the device to perceive the status of the device to infer the current usage. scene, and recommend the most suitable windowing system.
  • the sensors may include, but are not limited to, angle sensors, IMU sensors, magnetic sensors, and the like.
  • the relationship between the form of the device and the display manner of the B-side or C-side may be as shown in Table 1.
  • the device when the device is placed on the desktop in an L-shape (such as an open notebook), and there is a soft keyboard displayed on the C side, you can set the B side to the keyboard and mouse window mode, and the C side to the card window mode, that is, the B side displays the keyboard , and the card window is displayed on the C side.
  • the mode will determine that the user wants to use the application window in full screen on the C side, and the C side can be set as a tablet window mode.
  • Both the B side and the C side can be set to the flat window mode.
  • Mode When the user unfolds the device at 180°, places it vertically on the stand, and does not display an additional soft keyboard, it can be understood that the user may use an external physical keyboard and mouse as input, and use the device as a whole display use. Mode will set both the B and C sides to the keyboard and mouse window mode.
  • the terminal may include a bracelet, a mobile phone, a tablet, or a large smart screen, and the terminal may establish a wired or wireless connection with an electronic device, and communicate through the wired or wireless connection.
  • the electronic device can receive the information sent by the terminal, which can include the display interface of the terminal, the information received by the terminal, or the notification information sent by the terminal to the electronic device, etc., and a window displaying the information sent by the terminal can be generated on the C surface.
  • the application list can be set in advance, which includes the information of one or more applications installed in the terminal.
  • the relevant information of the application can be sent to the electronic device , so that the received information is displayed on the C side.
  • the scenarios for interacting with the terminal can be divided into various situations, such as transmitting the interface on the terminal to the electronic device, so that the user can control the terminal through the electronic device, or the terminal sends various reminder messages to the electronic device, etc., as follows Some possible scenarios are exemplarily introduced.
  • the terminal can transmit all or part of its display interface information to the electronic device, so as to display the display interface of the terminal on the B side or the C side in real time, so that the user can realize the control through the B side or the C side without operating the terminal. Terminal control can improve user experience.
  • the current interface of the terminal can be transmitted to the electronic device and displayed on the C-side, the user can operate in the display window on the C-side, and the electronic device can transmit the operation instruction to the terminal, so that The terminal provides corresponding feedback.
  • the user can open a certain chat software of the terminal on the C surface, and input and send messages through this interface. Therefore, the user does not need to operate the terminal, but only needs to operate the electronic device to realize the control of the terminal, that is, it does not need to open multiple devices, and can realize the control of multiple devices through the electronic device, thereby improving user experience.
  • the interface of the application program running before the terminal screen is turned off can be projected to the electronic device;
  • the application program in the application list can project the interface of the application program running before the terminal screen is turned off to the electronic device.
  • the interface of the application program running on the terminal can be projected to the electronic device through a preset operation. For example, when the terminal and the electronic device are touched, the interface of the application program running on the terminal can be Project the screen to the B side or C side of the electronic device.
  • Scenario 2 The terminal sends a message to the electronic device
  • the terminal can send various messages to the electronic device, such as a message received by the terminal, or a reminder message generated by the terminal.
  • the terminal can send the received message to the electronic device.
  • the registration requires a mobile phone verification code to log in, and the SMS information can only be received by the mobile phone, but it requires The input is in the device, or the user can use the B side of the electronic device to open the webpage.
  • the application server corresponding to the website sends a verification message to the user's mobile phone to verify the identity of the logged-in user.
  • the verification message can be sent to the electronic device, and the electronic device can display the verification message on the C-side, as shown in Figure 34, so that the user can observe the verification code through the C-side without Turn on the phone and improve user experience.
  • the mobile phone can send the information generated by the takeaway software to the electronic device, so as to display the progress of the takeaway or the notification of Uncle Song on the B side or C side of the electronic device, as shown in Figure 35.
  • Side C of the latter shows the predicted delivery time of the takeaway, as well as the contact information of the merchant or the delivery person.
  • the electronic device can establish connections with multiple terminals.
  • the electronic device can fold the information of the multiple terminals.
  • the user can manually choose to switch cards, or when a terminal sends a message , switch the card window to real-time received messages, etc.
  • one or more messages of one of the devices can be displayed in the card window, and when the user needs to switch to view the information of other terminals, he can choose to switch control to switch the window to display information from other terminals.
  • the information about the interaction between the electronic device and the terminal on the B-side or the C-side it may be determined by the current operating state of the electronic device. For example, when the electronic device is in a preset state, the information for interacting with the terminal can be displayed on the C surface. For example, when the electronic device is currently playing a video in full screen, using learning software, or set to a do-not-disturb state, etc., when receiving information from the terminal, the received information can be displayed on the C-side.
  • the user may choose to display the received information on the B side or the C side.
  • the user may pre-set the display position of the information of a certain terminal.
  • the content displayed on the C-side of the electronic device is introduced above.
  • the windows displayed on the C-side including the aforementioned resident windows and dynamic windows, can be adjusted, such as the size, position, display mode or adjustment of the window size.
  • the sliding window can be used to slide and display the C side. window.
  • the user can swipe left and right to view the hidden windows on the left and right sides. Taking the user swipe left as an example, there is no hidden window on the left, so no hidden window will be displayed when swiping right.
  • the user can swipe left to view For the hidden window on the left, when the leftmost window 5 is slid out, that is, the last window, no hidden window will be displayed by sliding left, and window 1 and window 2 will be hidden, and the user can continue to display window 1 and window 2 by sliding right.
  • the user can adjust the position of the window by dragging the window.
  • the user can adjust the position of each window, such as dragging the No. 2 window in the C surface, and use the position where the cursor is released as the display position of the No. 3, window 2 is between window 3 and window 4 after adjustment.
  • the user can long press the card window (ie the window), then enter the window editing state, then drag the window, and release the finger in the gap to fix the window.
  • users can drag windows to merge windows.
  • the user can long press the card window, and then enter the window editing state, the user can select a certain window, and then drag the window onto other windows to merge the two windows.
  • the user can adjust the size of the window by selecting the window. For example, the user can adjust the size of the window by zooming with two fingers or by selecting a control on the window. If the size of the enlarged window exceeds the display area of the C surface, and the virtual keyboard is also displayed on the C surface, the size of the virtual keyboard can be adjusted, or the virtual keyboard can be closed, thereby expanding the window display area and improving user experience.
  • users can also directly change the size of the card-shaped window through gestures, which may be combined with pressure information. For example, the user can press a certain window again to make it maximize half-screen in the display area of the C surface. If the device is a dual-screen or folding screen, and the general area on the C side is the soft keyboard, then the size of the window may also be related to the display area of the soft keyboard on the C side. When the user puts away the soft keyboard, the window will also be adaptively enlarged, and become a full-screen display in the display area of the C surface. As shown in Figure 41, you can press the card window again, then pull down the window to hide the virtual keyboard, and the window can be filled to the full screen, that is, the window is displayed on the C surface in full screen.
  • the windows in side C can also be displayed in side B.
  • the window on the C side can be switched to the B side through a mouse click or a touch operation.
  • the user can switch the window displayed on the C side to the B side by performing a three-finger upward sliding operation on the window displayed on the C side.
  • the window displayed on the C side is a simple window, and some controls are reduced or deleted.
  • the window on the C side is switched to the B side, the window can be restored and the display includes more controls. window.
  • card windows can also be recommended to the user according to some existing operations of the user.
  • the corresponding function window can be recommended according to the user's continuous behavior or multiple operations.
  • Figure 44 when the user is conducting a video conference on side B, the user takes screenshots of the conference content several times during the process and saves them. After the meeting, the user is likely to organize the saved screenshots.
  • This application can push the message notification window of "Multiple screenshots of the meeting have been sorted out" on the C side after the user has taken multiple screenshots. When the user meeting is over, the user can click the window to open the folder where the screenshot is located.
  • FIG. 45 it is a schematic flowchart of another interface display method provided by the present application, as described below.
  • the electronic device, the server and the terminal establish a connection with each other, users transmit data to each other, and the electronic device can send a request message to the server, which can be used to request the server to send the first information to the terminal.
  • the electronic device may establish a communication connection with the server, and the communication connection may include a wired connection, a wireless connection, or a combination of a wired connection and a wireless connection, and the like.
  • the server establishes a connection with the terminal, and the server can send information to the terminal.
  • the server can provide corresponding services to electronic devices and terminals.
  • a server can be provided by a certain operator to support services for users. Users can use electronic devices to provide services provided by the server, or use terminals to provide services provided by the server. .
  • the terminal can be used as the device for user identity authentication.
  • the user can use the mobile phone as the login credential for a certain service. Send a verification message.
  • the terminal can send the second information to the electronic device, where the second information may include all or part of the first information.
  • the verification message may include a verification code for verifying the identity of the electronic device, and the terminal may directly forward the verification message to the terminal device, or send the verification code carried in the verification message to the electronic device. equipment.
  • the electronic device After receiving the information sent by the terminal, the electronic device can display the second information on the first display screen.
  • the verification message sent by the terminal can be displayed on the display screen on the B side of the electronic device, which contains a verification code.
  • the user can directly select the copy control in the message card to copy the verification code, and verify Enter the verification code during the process to complete the identity verification for electronic devices.
  • the user can obtain the information received by the terminal without opening the terminal, which reduces the user's operation process and improves user experience.
  • the information sent by the fourth terminal is displayed on the first display screen, and the fourth terminal is at least Any one of one terminal; or, if the second information includes information generated by the first application in the fourth terminal, and the first application is an application program included in the preset list, displaying the second information through the first display screen; Alternatively, if it is detected that the fourth terminal is in a screen-off state, and the second information includes information generated by the second application, displaying the second information through the first display screen.
  • the information in the terminal can be sent to the electronic device, so that the user can observe the information of the terminal in the electronic device or more conveniently monitor the terminal without operating the terminal.
  • the control improves the user's control experience on various electronic devices.
  • the interface display method and GUI provided by the present application are described above, and the interface display device provided by the present application is introduced below, and the interface display device can be used to execute the steps of the foregoing method.
  • FIG. 47 a schematic structural diagram of an interface display device provided by the present application is applied to electronic equipment.
  • the electronic equipment includes a first display screen and a second display screen, and the first display screen and the second display screen are electrically connected.
  • the device includes:
  • the generation module 4701 is configured to determine the second display data according to the first display data in response to the operation on the display window in the first display screen, the first display data is the data displayed in the display window in the first display screen, and the second display data The data includes data corresponding to the selected control in the first display data, and the second display data is less than the first display data;
  • the display module 4702 is configured to display a window corresponding to the second display data through the second display screen.
  • the display module 4702 is further configured to, if the second display screen includes multiple display windows, in response to the sliding operation on the multiple display windows, A preset number of windows are screened out from each display window for display, and the multiple display windows do not overlap on the second display screen.
  • the operation on the display window corresponding to the first display data includes at least one of the following operations performed on the first display screen:
  • the drag operation includes the operation of moving the display window after selecting the display window
  • the closing operation is the operation of closing the display window
  • the minimize operation is the operation of hiding the display window
  • the selection of the control is the operation of selecting the control in the display window
  • the selection of the file is the operation of The operation of selecting the file displayed in the display window
  • the playback operation is the operation of playing the data displayed in the display window
  • the gesture operation is the operation of gesture formation for controlling the display window
  • the folding operation is the adjustment of the first display screen and the second display screen angle between.
  • the display module 4702 is further configured to: use at least one of the first display data as the second display data;
  • the display module 4702 is further configured to determine the position of the display window of the second display data in the second display screen according to the released position of the cursor.
  • the display module 4702 is specifically configured to enlarge or enlarge at least one type of data in the first display data shrinking, and/or deleting at least one type of data in the first display data to obtain second display data.
  • the display module 4702 is specifically configured to: use the selected text as the second display data; or, translate the selected text, and obtain the second display data based on the translation result; or, perform a search based on the selected text, and obtain the second display data based on the search result; or, arrange the selected text, or obtain and The arrangement format corresponding to the selected text is used to obtain the second display data; or, if the selected text includes a value, the exchange rate conversion is performed on the value to obtain the second display data.
  • the display module 4702 is specifically configured to: use the selected image as the second display data; or, search for images related to the selected image, and obtain the second display data based on the related image; or, perform target detection on the selected image to obtain the second display data; or, perform text recognition on the selected image, and obtain the second display data based on the recognition The text gets the second display data.
  • the display module 4702 is specifically configured to: obtain from the first display data information related to the screen displayed on the first display screen. data to get the second display data.
  • the generating module 4701 is specifically configured to convert the first display data to At least one of them is used as the second display data.
  • the generation module 4701 It is specifically used for: using the first display data as the second display data.
  • the display module 4702 is specifically configured to: if it is detected that the running application is an application in the preset list, or if it is detected that it is in the preset mode, display the A window corresponding to the second display data is displayed.
  • the first window in the second display screen includes third display data
  • the third display data includes the interface of the application program
  • the display module 4702 is further configured to: Click operation of the control, obtain the fourth display data corresponding to the control clicked by the click operation, and replace the third display data displayed in the area corresponding to the first window with the fourth display data, the first window is the second display any window displayed on the screen.
  • the preset area in the second display screen includes at least one preset window displayed, and the at least one preset window is used to display at least one of the calendar, weather information, itinerary record, memo or notes. item.
  • the display module 4702 is further configured to: if a drag operation on the fifth display data displayed on the second display screen is detected, the corresponding The area serves as a display area for the fifth display data.
  • the display module 4702 is further configured to: acquire information sent by at least one terminal, and display the information sent by at least one terminal through a second display screen.
  • the information sent by at least one terminal includes data related to an application program corresponding to the first display data.
  • the second display screen includes at least one non-overlapping window of a preset size
  • the display module 4702 is further configured to: display at least one non-overlapping window of a preset size A message sent by a terminal.
  • the display module 4702 is further configured to: acquire information sent by multiple terminals, where the multiple terminals include a first terminal and a second terminal; display the first The information sent by the terminal; when the switching operation for the second window is obtained, the information sent by the second terminal is displayed in the second window.
  • the display module 4702 is further configured to: send a request message to the server to instruct the server to send a verification message to the third terminal, any one of at least one terminal of the third terminal;
  • the information sent by the third terminal includes a verification message.
  • the display module 4702 is also configured to: if it is detected that the fourth terminal is in the off-screen state, display the information sent by the fourth terminal through the second display screen, and the fourth terminal is at least one terminal or, if the information sent by the fourth terminal includes information generated by the first application, and the first application is an application program included in the preset list, display the information sent by the fourth terminal through the second display screen; or, If it is detected that the fourth terminal is in a screen-off state, and the information sent by the fourth terminal includes information generated by the first application, the information sent by the fourth terminal is displayed on the second display screen.
  • the display module 4702 is further configured to: acquire the sixth display data in the second display screen; if a drag operation on the window corresponding to the sixth display data is detected, The data generates seventh display data, and displays the seventh display data through the first display screen.
  • the display module 4702 is also configured to: acquire historical data displayed on the first display screen within a preset period of time; generate prompt data according to historical data; display prompt data through the second display screen, and prompt data Use to prompt for events generated in historical data.
  • the second display screen further includes a keyboard window, and the keyboard window is used to display a virtual keyboard.
  • the display module 4702 is further configured to: if an operation for expanding the second window is detected, and the second window is any window displayed on the second display screen, then close the keyboard window, Alternatively, the size of the keyboard window is reduced so that the enlarged second window displayed on the second display screen does not overlap with the reduced keyboard window.
  • FIG. 48 a schematic structural diagram of another interface display device provided by the present application is applied to electronic equipment, and the electronic equipment includes a first display screen, including:
  • a transceiver module 4801 configured to send a request message to the server, where the request message is used to request the server to send the first information to the terminal;
  • the transceiver module 4801 is further configured to receive second information sent by the terminal, where the second information includes the first information;
  • the display module 4802 is configured to display the second information through the first display screen.
  • the display module 4802 is specifically used for:
  • the terminal If it is detected that the terminal is in a screen-off state, displaying the information sent by the fourth terminal through the first display screen, where the fourth terminal is any one of at least one terminal; or,
  • the second information includes information generated by the first application in the terminal, and the first application is an application program included in the preset list, displaying the second information through the first display screen; or,
  • the information sent by the terminal is displayed on the first display screen.
  • FIG. 49 is a schematic structural diagram of another interface display device provided by the present application, as described below.
  • the interface display device may include a processor 4901 and a memory 4902 .
  • the processor 4901 and memory 4902 are interconnected by wires.
  • the memory 4902 stores program instructions and data.
  • the memory 4902 stores program instructions and data corresponding to the steps in the above-mentioned Fig. 5-Fig. 46 .
  • the processor 4901 is configured to execute the method steps performed by the interface display device shown in any one of the foregoing embodiments in FIG. 5 to FIG. 46 .
  • the interface display device may also include a transceiver 4903, configured to receive or send data.
  • a transceiver 4903 configured to receive or send data.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium is stored with a program for generating the driving speed of the vehicle, and when it is running on the computer, the computer executes the above-mentioned Figure 5- Figure 46
  • the illustrated embodiments describe steps in methods.
  • the aforementioned interface display device shown in FIG. 49 is a chip.
  • the electronic device provided in the embodiment of the present application may 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 pin, or a circuit.
  • the processing unit may execute the computer-executable instructions stored in the storage unit, so that the chip in the server executes the interface display method described in the embodiments shown in FIGS. 5-46 above.
  • 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 (random access memory, RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • the aforementioned processing unit or processor may be a central processing unit (central processing unit, CPU), a network processor (neural-network processing unit, NPU), a graphics processing unit (graphics processing unit, GPU), digital signal processing (digital signal processor, DSP), application specific integrated circuit (ASIC) or field programmable logic gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the processor mentioned in any of the above can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the program execution of the above-mentioned methods in FIGS. 5-46 .
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be A physical unit can be located in one place, or it can be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the connection relationship between the modules indicates that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines.
  • the essence of the technical solution of this application or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be a personal A computer, server, or network device, etc.) executes the methods described in various embodiments of the present application.
  • a computer device which can be a personal A computer, server, or network device, etc.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • 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 transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wired eg, coaxial cable, optical fiber, 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 or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请涉及人工智能领域的一种界面显示方法以及装置,可以用于提高用户对电子设备的操控性,提高用户体验。该方法包括:首先,获取第一显示屏中显示的第一显示数据;若检测到针对第一显示数据对应的显示窗口的操作,则根据第一显示数据确定第二显示数据;通过第二显示屏显示第二显示数据对应的窗口,第二显示数据在第二显示屏中的显示窗口小于第二显示屏的尺寸,其中,若第二显示屏中包括多个显示窗口,且获取到针对多个显示窗口的滑动操作,则在第二显示屏中根据滑动操作从多个显示窗口筛选出预设数量的窗口进行显示,且多个显示窗口在第二显示屏中不重叠。

Description

一种界面显示方法以及装置
本申请要求于2021年11月30日提交中国专利局、申请号为“202111453343.X”、申请名称为“一种界面显示方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及人工智能领域,尤其涉及一种界面显示方法以及装置。
背景技术
随着电脑应用生态的逐渐丰富和应用功能的复杂化,单屏显示器已经很难满足用户对办公效率的需求,不少用户在桌面办公时会选择使用两个或两个以上的显示器。一些常用的双屏设备中,如将双屏分为B面和C面,B面和C面都可以进行数据显示,如将B面作为主屏幕进行显示,在C面显示一些控制按钮或者与B显示的内容相关的信息。通常B面和C面呈一定夹角,用户操控不便。
发明内容
本申请提供本申请涉及人工智能领域的一种界面显示方法以及装置,可以用于提高用户对电子设备的操控性,提高用户体验。
有鉴于此,第一方面,本申请提供一种界面显示方法,应用于电子设备,电子设备包括第一显示屏和第二显示屏,第一显示屏和第二显示屏电连接,方法包括:响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,第一显示数据为第一显示屏中显示窗口中显示的数据,第二显示数据包括第一显示数据中被选中的控件对应的数据,且第二显示数据少于第一显示数据;通过第二显示屏显示第二显示数据对应的窗口。
因此,本申请实施方式中,可以响应于针对第一显示屏中的显示窗口的操作,基于第一显示数据确定第二显示数据,并在第二显示屏中显示第二显示数据。第二显示数据中包括了第一显示数据中被选中的控件对应的数据,少于第一显示数据,从而可以在第二显示屏中显示更简化的窗口,便于用户操作,提高用户体验。
在一种可能的实施方式中,若第二显示屏中包括多个显示窗口,响应于针对多个显示窗口的滑动操作,在第二显示屏中根据滑动操作从多个显示窗口筛选出预设数量的窗口进行显示,且多个显示窗口在第二显示屏中不重叠。
因此,本申请实施方式中,当第二显示屏中存在多个显示窗口时,该多个显示窗口不重叠显示,用户可以通过滑动的方式来查看隐藏的窗口,使用户可以更简便的操作,视觉效果更好,提高用户体验。
在一种可能的实施方式中,针对第一显示数据对应的显示窗口的操作包括在第一显示屏中进行的以下至少一项操作:拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;其中,拖动操作包括选中显示窗口后移动显示窗口的操作,关闭操作为关闭显示窗口的操作,最小化操作为隐藏显示窗口的操作,控件选中为选择显示窗口中的控件的操作,文件选中为选择显示窗口中显示的文件的操作,播放操作 为播放显示窗口中显示的数据的操作,手势操作为针对显示窗口进行控制的手势形成的操作,折叠操作为调整第一显示屏和第二显示屏之间的夹角。
因此,本申请实施方式中,用户可以通过多种方式将第一显示屏中显示的窗口转移至第二显示屏中进行显示,用户可以使用多种方式进行操作,适应多种场景,尤其在一些用户不便于操作的场景中,通过本申请提供的多种方式可以更方便地进行操作,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括拖动操作,根据第一显示数据确定第二显示数据,包括:将第一显示数据中的至少一种作为第二显示数据;通过第二显示屏显示第二显示数据对应的窗口,包括:根据光标释放的位置确定第二显示数据的显示窗口在第二显示屏中的位置。
因此,本申请实施方式中,用户可以非常方便地将将第一显示屏中显示的窗口拖动至第二显示屏中进行显示,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,根据第一显示数据确定第二显示数据,包括:对第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除第一显示数据中的至少一种数据,得到第二显示数据。
因此,本申请实施方式中,当用户针对第一显示屏中显示的窗口进行关闭或者最小化操作时,可以在第二显示屏中显示简化后的窗口,从而使用户可以更方便地观察到已关闭或者最小化后的窗口内容,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的文本,根据第一显示数据确定第二显示数据,包括:将选中的文本作为第二显示数据;或者,对选中的文本进行翻译,基于翻译结果得到第二显示数据;或者,基于选中的文本进行搜索,基于搜索结果得到第二显示数据;或者,对选中的文本进行排列,或者获取与选中的文本对应的排列格式,得到第二显示数据;或者,若选中的文本包括数值,则对数值进行汇率换算,得到第二显示数据。
因此,本申请实施方式中,当用户在第一显示屏中选中文本时,可以根据具体应用场景进行具体操作并在第二显示屏中进行显示,如直接在第二显示屏中显示选中的文本,或者进行搜索、排版、翻译或者汇率换算等操作,从而可以实现智能化的用户推荐,适应多种应用场景,泛化能力强,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的图像,根据第一显示数据确定第二显示数据,可以包括:将选中的图像作为第二显示数据;或者,搜索与选中的图像的相关图像,基于相关图像得到第二显示数据;或者,对选中的图像进行目标检测,得到第二显示数据;或者,对选中的图像进行文本识别,基于识别的文本得到第二显示数据。
本申请实施方式中,当用户选中图像时,可以基于图像进行显示、搜索、目标检测或者文本识别等,从而可以针对不同的场景进行不同的操作,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括播放操作, 根据第一显示数据确定第二显示数据,包括:从第一显示数据中获取与第一显示屏中播放的画面相关的数据,得到第二显示数据。
因此,本申请实施方式中,当用户在第一显示屏中播放数据时,可以在第二显示屏中播放相关的数据,从而可以使用户从第二显示屏中及时观察到相关数据,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括手势操作,根据第一显示数据确定第二显示数据,可以包括:若检测到手势操作的手势为预设手势,则将第一显示数据中的至少一种作为第二显示数据。
因此,本申请实施方式中,用户可以很方便地通过手势操作来将第一显示屏中的数据移动至第二显示屏中进行显示。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括折叠操作,且第一显示屏和第二显示屏之间的夹角在预设范围内,根据第一显示数据确定第二显示数据,包括:将第一显示数据作为第二显示数据。
因此,本申请实施方式中,针对折叠屏设备,当检测到折叠操作时,即可将第一显示屏中的数据移动至第二显示屏中,从而可以适应用户针对设备的把持姿势,提高用户体验。
在一种可能的实施方式中,通过第二显示屏显示第二显示数据对应的窗口,包括:若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过第二显示屏显示第二显示数据对应的窗口。
因此,本申请实施方式中,当正在运行的程序为预先设定的程序时,或者当电子设备处于预设模式时,即可在第二显示屏中显示第二显示数据,该预设列表可以由用户预先设定,从而可以根据用户的需求来选择哪些应用程序对应的数据可以在第二显示屏中显示,提高用户体验。或者,当电子设备处于预先设定的模式时,也可以在第二显示屏中显示数据,提高用户体验。
在一种可能的实施方式中,第二显示屏中第一窗口包括第三显示数据,第三显示数据包括应用程序的界面,上述方法还可以包括:响应于针对所应用程序的界面中的控件的点击操作,获取与点击操作所点击的控件对应的第四显示数据,并将第一窗口对应的区域中显示的第三显示数据替换为第四显示数据,第一窗口为第二显示屏中显示的任意一个窗口。
因此,本申请实施方式中,当用户点击第二显示屏中显示的应用程序对应的显示界面中的控件时,可以响应用户的点击操作,使用户可以在第二显示屏中进行人机交互,提高用户体验。
在一种可能的实施方式中,第二显示屏中的预设区域包括显示的至少一个预设窗口,至少一个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记中的至少一项。
因此,本申请实施方式中,可以在第二显示屏中持续显示如日历、天气、行程、备忘录或者笔记等常用信息,从而可以使用户通过第二显示屏中及时获知需求的信息,提高用户体验。
在一种可能的实施方式中,上述方法还可以包括:若检测到针对第二显示屏中显示的第五显示数据的拖动操作,则将第二显示屏中光标释放的位置对应的区域作为第五显示数据的显示区域。
因此,本申请实施方式中,用户可以通过拖动操作来调整第二显示屏中显示的窗口的位置,从而使用户可以根据需求来对第二显示屏中显示的窗口进行排列,提高用户体验。
在一种可能的实施方式中,上述方法还可以包括:获取至少一个终端发送的信息,并通过第二显示屏显示至少一个终端发送的信息。
因此,本申请实施方式中,可以接收其他终端发送的信息,并在第二显示屏中显示,从而可以实现跨设备交互,并在第二显示屏中及时显示信息,提高用户体验。
在一种可能的实施方式中,至少一个终端发送的信息包括与第一显示数据对应的应用程序相关的数据。
本申请实施方式中,电子设备中可以运行应用程序,同时若接收到与该应用程序相关的其他设备发送的信息时,可以在第二显示屏中显示接收到的信息,从而使用户可以通过第二显示屏及时观察到所需的信息,提高用户体验。
在一种可能的实施方式中,第二显示屏中包括至少一个不重叠排列的预设大小的窗口,通过第二显示屏显示至少一个终端发送的信息,可以包括:在至少一个不重叠排列的预设大小的窗口中显示至少一个终端发送的信息。
因此,本申请实施方式中,第二显示屏中的窗口可以是卡片式窗口,用户可以在预设限定的窗口位置观察到接收到的信息,提高用户体验。
在一种可能的实施方式中,获取至少一个终端发送的信息,可以包括:获取多个终端发送的信息,多个终端包括第一终端和第二终端;通过第二显示屏显示至少一个终端发送的信息,可以包括:通过第二显示屏中的第二窗口显示第一终端发送的信息;在获取到针对第二窗口的切换操作时,在第二窗口中显示第二终端发送的信息。
因此,本申请实施方式中,当接收到多个终端发送的信息时,可以在某个窗口中显示其中一个终端的信息,用户可以切换显示其他终端的操作,从而可以提高第二显示屏中的显示区域的利用率,减少冗余的显示信息。
在一种可能的实施方式中,获取至少一个终端发送的信息,可以包括:向服务器发送请求消息,以指示服务器向第三终端发送验证消息,第三终端至少一个终端中的任意一个;接收第三终端发送的信息,第三终端发送的信息中包括验证消息。
因此,本申请实施方式中,电子设备可以向服务器发送请求消息,以请求服务器向终端发送验证消息,并由终端发送给电子设备。可以适用于为电子设备验证身份的场景,用户无需打开终端即可通过第二显示屏查看验证消息,提高用户体验。
在一种可能的实施方式中,通过第二显示屏显示至少一个终端发送的信息,可以包括:若检测到第四终端处于熄屏状态,则通过第二显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,若第四终端发送的信息包括第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第二显示屏显示第四终端发送的信息;或者,若检测到第四终端处于熄屏状态,且第四终端发送的信息包括第一应用产生的信息,则通过第二显示屏显示第四终端发送的信息。
因此,本申请实施方式中,在终端熄屏和/或运行特定程序时,即可将接收到的信息转发给电子设备,从而使用户无需打开终端,即可查看终端接收到的信息,提高用户体验。
在一种可能的实施方式中,上述方法还包括:获取第二显示屏中的第六显示数据;若检测到针对第六显示数据对应的窗口的拖动操作,则根据第六显示数据生成第七显示数据,并通过第一显示屏显示第七显示数据。
因此,本申请实施方式中,用户可以拖动以调整第二显示屏中的显示窗口的排位位置,使第二显示屏中的显示窗口按照用户的需求排列,提高用户体验。
在一种可能的实施方式中,上述方法还可以包括:获取预设时段内第一显示屏中显示的历史数据;根据历史数据生成提示数据;通过第二显示屏显示提示数据,提示数据用对历史数据中产生的事件进行提示。
因此,本申请实施方式中,可以获取用户的历史数据并提取其中的事件,并在第二显示屏中进行提示,从而可以使用户通过第二显示屏观察到历史数据,提高用户体验。
在一种可能的实施方式中,第二显示屏中还包括键盘窗口,键盘窗口用于显示虚拟键盘。
在一种可能的实施方式中,若检测到针对第二窗口的扩大窗口的操作,第二窗口是第二显示屏中显示的任意一个窗口,则关闭键盘窗口,或者,缩小键盘窗口的大小,以使第二显示屏中显示的扩大后的第二窗口和缩小后的键盘窗口不重叠。
因此,本申请实施方式中,可以在第二显示屏中显示虚拟键盘,可以根据第二显示屏中需要显示的窗口大小和位置来适应性地调整或者关闭虚拟键盘,从而使第二显示屏中显示的窗口更利于用户观察,提高用户体验。
第二方面,本申请提供一种界面显示方法,应用于电子设备,电子设备包括第一显示屏,该方法包括:向服务器发送请求消息,请求消息用于请求服务器向终端发送第一信息;接收终端发送的第二信息,第二信息中包括第一信息;通过第一显示屏显示第二信息。
因此,本申请实施方式中,电子设备可以向服务器发送请求消息,以请求服务器向终端发送信息,并由终端发送给电子设备。如可以适用于为电子设备验证身份的场景,用户无需打开终端即可通过第二显示屏查看验证消息,提高用户体验。
在一种可能的实施方式中,通过第一显示屏显示第二信息,包括:若检测到终端处于熄屏状态,则通过第一显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,若第二信息包括终端中的第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第一显示屏显示第二信息;或者,若检测到终端处于熄屏状态,且第二信息包括第二应用产生的信息,则通过第一显示屏显示终端发送的信息。
因此,本申请实施方式中,在终端熄屏和/或运行特定程序时,即可将接收到的信息转发给电子设备,从而使用户无需打开终端,即可查看终端接收到的信息,提高用户体验。
第三方面,本申请提供一种电子设备,电子设备包括第一显示屏、第二显示屏、存储器、一个或多个处理器,存储器中存储有应用程序的图形用户界面的代码,一个或多个处理器用于执行存储在存储器中的图形用户界面(GUI)的代码,以在第一显示屏或者第二显示屏中显示图形用户界面,图形用户界面包括:
响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,第一显示数据为第一显示屏中显示窗口中显示的数据,第二显示数据包括第一显示数据中被 选中的控件对应的数据,且第二显示数据少于第一显示数据;
通过第二显示屏显示第二显示数据对应的窗口。
在一种可能的实施方式中,若所述第二显示屏中包括多个显示窗口,响应于针对所述多个显示窗口的滑动操作,在所述第二显示屏中根据所述滑动操作从所述多个显示窗口筛选出预设数量的窗口进行显示,且所述多个显示窗口在所述第二显示屏中不重叠。
在一种可能的实施方式中,所述针对所述第一显示数据对应的所述显示窗口的操作包括在所述第一显示屏中进行的以下至少一项操作:
拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
其中,所述拖动操作包括选中所述显示窗口后移动所述显示窗口的操作,所述关闭操作为关闭所述显示窗口的操作,所述最小化操作为隐藏所述显示窗口的操作,所述控件选中为选择所述显示窗口中的控件的操作,所述文件选中为选择所述显示窗口中显示的文件的操作,所述播放操作为播放所述显示窗口中显示的数据的操作,所述手势操作为针对所述显示窗口进行控制的手势形成的操作,所述折叠操作为调整所述第一显示屏和所述第二显示屏之间的夹角。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括拖动操作,所述根据所述第一显示数据确定第二显示数据,包括:将所述第一显示数据中的至少一种作为所述第二显示数据;所述通过所述第二显示屏显示所述第二显示数据对应的窗口,包括:根据光标释放的位置确定所述第二显示数据的显示窗口在所述第二显示屏中的位置。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,所述根据所述第一显示数据确定第二显示数据,包括:对所述第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除所述第一显示数据中的至少一种数据,得到所述第二显示数据。
若针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的文本,所述根据所述第一显示数据确定第二显示数据,包括:将选中的文本作为所述第二显示数据;或者,对所述选中的文本进行翻译,基于翻译结果得到所述第二显示数据;或者,基于所述选中的文本进行搜索,基于搜索结果得到所述第二显示数据;或者,对所述选中的文本进行排列,或者获取与所述选中的文本对应的排列格式,得到所述第二显示数据;或者,若所述选中的文本包括数值,则对所述数值进行汇率换算,得到所述第二显示数据。
若所述针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的图像,所述根据所述第一显示数据确定第二显示数据,包括:将选中的图像作为所述第二显示数据;或者,搜索与所述选中的图像的相关图像,基于所述相关图像得到所述第二显示数据;或者,对所述选中的图像进行目标检测,得到所述第二显示数据;或者,对所述选中的图像进行文本识别,基于识别的文本得到所述第二显示数据。
若针对所述第一显示数据对应的显示窗口的操作包括播放操作,所述根据所述第一显 示数据确定第二显示数据,包括:从所述第一显示数据中获取与所述第一显示屏中播放的画面相关的数据,得到所述第二显示数据。
若针对所述第一显示数据对应的显示窗口的操作包括手势操作,所述根据所述第一显示数据确定第二显示数据,包括:若检测到手势操作的手势为预设手势,则将所述第一显示数据中的至少一种作为所述第二显示数据。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括折叠操作,且所述第一显示屏和所述第二显示屏之间的夹角在预设范围内,所述根据所述第一显示数据确定第二显示数据,包括:将所述第一显示数据作为所述第二显示数据。
在一种可能的实施方式中,所述通过所述第二显示屏显示所述第二显示数据对应的窗口,包括:若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过所述第二显示屏显示所述第二显示数据对应的窗口。
在一种可能的实施方式中,所述GUI还包括:
响应于针对所应用程序的界面中的控件的点击操作,获取与所述点击操作所点击的控件对应的第四显示数据,并将所述第一窗口对应的区域中显示的所述第三显示数据替换显示为所述第四显示数据,所述第一窗口为所述第二显示屏中显示的任意一个窗口。
在一种可能的实施方式中,所述第二显示屏中的预设区域包括显示的至少一个预设窗口,所述至少一个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记中的至少一项。
在一种可能的实施方式中,所述GUI还包括:若检测到针对所述第二显示屏中显示的第五显示数据的拖动操作,则将所述第二显示屏中光标释放的位置对应的区域作为所述第五显示数据的显示区域。
在一种可能的实施方式中,所述GUI还包括:响应于获取至少一个终端发送的信息,通过所述第二显示屏显示所述至少一个终端发送的信息。
在一种可能的实施方式中,所述至少一个终端发送的信息包括与所述第一显示数据对应的应用程序相关的数据。
在一种可能的实施方式中,所述第二显示屏中包括至少一个不重叠排列的预设大小的窗口,所述GUI具体包括:在所述至少一个不重叠排列的预设大小的窗口中显示所述至少一个终端发送的信息。
在一种可能的实施方式中,所述GUI具体包括:获取多个终端发送的信息,所述多个终端包括第一终端和第二终端;通过所述第二显示屏中的第二窗口显示第一终端发送的信息;
响应于针对所述第二窗口的切换操作时,在所述第二窗口中显示所述第二终端发送的信息。
在一种可能的实施方式中,所述获取至少一个终端发送的信息,包括:向服务器发送请求消息,以指示所述服务器向第三终端发送验证消息,所述第三终端所述至少一个终端中的任意一个;接收所述第三终端发送的信息,所述第三终端发送的信息中包括所述验证 消息。
在一种可能的实施方式中,所述GUI包括:
若检测到第四终端处于熄屏状态,则通过所述第二显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
若所述第四终端发送的信息包括第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第二显示屏显示所述第四终端发送的信息;或者,
所述若检测到第四终端处于熄屏状态,且所述第四终端发送的信息包括所述第一应用产生的信息,则通过所述第二显示屏显示所述第四终端发送的信息。
在一种可能的实施方式中,所述GUI还包括:获取所述第二显示屏中的第六显示数据;若检测到针对所述第六显示数据对应的窗口的拖动操作,则根据所述第六显示数据生成第七显示数据,并通过所述第一显示屏显示所述第七显示数据。
在一种可能的实施方式中,所述GUI还包括:获取预设时段内所述第一显示屏中显示的历史数据;根据所述历史数据生成提示数据;通过所述第二显示屏显示所述提示数据,所述提示数据用对所述历史数据中产生的事件进行提示。
在一种可能的实施方式中,所述第二显示屏中还包括键盘窗口,所述键盘窗口用于显示虚拟键盘。
在一种可能的实施方式中,响应于检测到针对第二窗口的扩大窗口的操作,所述第二窗口是所述第二显示屏中显示的任意一个窗口,关闭所述键盘窗口,或者,缩小所述键盘窗口的大小,以使所述第二显示屏中显示的扩大后的所述第二窗口和缩小后的所述键盘窗口不重叠。
第四方面,本申请还提供一种电子设备,所述电子设备包括第一显示屏、存储器、一个或多个处理器,所述存储器中存储有应用程序的图形用户界面的代码,所述一个或多个处理器用于执行存储在所述存储器中的所述图形用户界面(GUI)的代码,以在所述第一显示屏或者第二显示屏中显示所述图形用户界面,其特征在于,所述图形用户界面包括:向服务器发送请求消息,所述请求消息用于请求所述服务器向终端发送第一信息;接收所述终端发送的第二信息,所述第二信息中包括所述第一信息;通过所述第一显示屏显示所述第二信息。
在一种可能的实施方式中,所述通过所述第一显示屏显示所述第二信息,包括:
若检测到所述终端处于熄屏状态,则通过所述第一显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
若所述第二信息包括所述终端中的第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第一显示屏显示所述第二信息;或者,
若检测到所述终端处于熄屏状态,且所述第二信息包括所述第二应用产生的信息,则通过所述第一显示屏显示所述终端发送的信息。
第五方面,本申请提供一种界面显示装置,应用于电子设备,所述电子设备包括第一显示屏和第二显示屏,所述第一显示屏和所述第二显示屏电连接,所述装置包括:
生成模块,用于响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第 二显示数据,所述第一显示数据为所述第一显示屏中显示窗口中显示的数据,所述第二显示数据包括所述第一显示数据中被选中的控件对应的数据,且所述第二显示数据少于所述第一显示数据;
显示模块,用于通过所述第二显示屏显示所述第二显示数据对应的窗口。
在一种可能的实施方式中,显示模块,还用于若所述第二显示屏中包括多个显示窗口,响应于针对所述多个显示窗口的滑动操作,在所述第二显示屏中根据所述滑动操作从所述多个显示窗口筛选出预设数量的窗口进行显示,且所述多个显示窗口在所述第二显示屏中不重叠。
在一种可能的实施方式中,所述针对所述第一显示数据对应的所述显示窗口的操作包括在所述第一显示屏中进行的以下至少一项操作:
拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
其中,所述拖动操作包括选中所述显示窗口后移动所述显示窗口的操作,所述关闭操作为关闭所述显示窗口的操作,所述最小化操作为隐藏所述显示窗口的操作,所述控件选中为选择所述显示窗口中的控件的操作,所述文件选中为选择所述显示窗口中显示的文件的操作,所述播放操作为播放所述显示窗口中显示的数据的操作,所述手势操作为针对所述显示窗口进行控制的手势形成的操作,所述折叠操作为调整所述第一显示屏和所述第二显示屏之间的夹角。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括拖动操作,显示模块,还用于:将所述第一显示数据中的至少一种作为所述第二显示数据;
显示模块,还用于根据光标释放的位置确定所述第二显示数据的显示窗口在所述第二显示屏中的位置。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,显示模块,具体用于对所述第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除所述第一显示数据中的至少一种数据,得到所述第二显示数据。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的文本,所述显示模块,具体用于:将选中的文本作为所述第二显示数据;或者,对所述选中的文本进行翻译,基于翻译结果得到所述第二显示数据;或者,基于所述选中的文本进行搜索,基于搜索结果得到所述第二显示数据;或者,对所述选中的文本进行排列,或者获取与所述选中的文本对应的排列格式,得到所述第二显示数据;或者,若所述选中的文本包括数值,则对所述数值进行汇率换算,得到所述第二显示数据。
在一种可能的实施方式中,若所述针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的图像,所述显示模块,具体用于:将选中的图像作为所述第二显示数据;或者,搜索与所述选中的图像的相关图像,基于所述相关图像得到所述第二显示数据;或者,对所述选中的图像进行目标检测,得到所述第二显示数据;或者,对所述选中的图像进行文本识别,基于识别的文本得到所述第二显示数据。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括播放操作,所述显示模块,具体用于:从所述第一显示数据中获取与所述第一显示屏中播放的画面相关的数据,得到所述第二显示数据。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括手势操作,所述生成模块,具体用于若检测到手势操作的手势为预设手势,则将所述第一显示数据中的至少一种作为所述第二显示数据。
在一种可能的实施方式中,若针对所述第一显示数据对应的显示窗口的操作包括折叠操作,且所述第一显示屏和所述第二显示屏之间的夹角在预设范围内,所述生成模块,具体用于:将所述第一显示数据作为所述第二显示数据。
在一种可能的实施方式中,所述显示模块,具体用于:若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过所述第二显示屏显示所述第二显示数据对应的窗口。
在一种可能的实施方式中,所述第二显示屏中第一窗口包括第三显示数据,所述第三显示数据包括应用程序的界面,所述显示模块,还用于:响应于针对所应用程序的界面中的控件的点击操作,获取与所述点击操作所点击的控件对应的第四显示数据,并将所述第一窗口对应的区域中显示的所述第三显示数据替换为所述第四显示数据,所述第一窗口为所述第二显示屏中显示的任意一个窗口。
在一种可能的实施方式中,所述第二显示屏中的预设区域包括显示的至少一个预设窗口,所述至少一个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记中的至少一项。
在一种可能的实施方式中,所述显示模块,还用于:若检测到针对所述第二显示屏中显示的第五显示数据的拖动操作,则将所述第二显示屏中光标释放的位置对应的区域作为所述第五显示数据的显示区域。
在一种可能的实施方式中,所述显示模块,还用于:获取至少一个终端发送的信息,并通过所述第二显示屏显示所述至少一个终端发送的信息。
在一种可能的实施方式中,所述至少一个终端发送的信息包括与所述第一显示数据对应的应用程序相关的数据。
在一种可能的实施方式中,所述第二显示屏中包括至少一个不重叠排列的预设大小的窗口,所述显示模块,还用于:在所述至少一个不重叠排列的预设大小的窗口中显示所述至少一个终端发送的信息。
在一种可能的实施方式中,所述显示模块,还用于:获取多个终端发送的信息,所述多个终端包括第一终端和第二终端;通过所述第二显示屏中的第二窗口显示第一终端发送的信息;在获取到针对所述第二窗口的切换操作时,在所述第二窗口中显示所述第二终端发送的信息。
在一种可能的实施方式中,所述显示模块,还用于:向服务器发送请求消息,以指示所述服务器向第三终端发送验证消息,所述第三终端所述至少一个终端中的任意一个;接收所述第三终端发送的信息,所述第三终端发送的信息中包括所述验证消息。
在一种可能的实施方式中,所述显示模块,还用于:若检测到第四终端处于熄屏状态,则通过所述第二显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,若所述第四终端发送的信息包括第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第二显示屏显示所述第四终端发送的信息;或者,所述若检测到第四终端处于熄屏状态,且所述第四终端发送的信息包括所述第一应用产生的信息,则通过所述第二显示屏显示所述第四终端发送的信息。
在一种可能的实施方式中,所述显示模块,还用于:获取所述第二显示屏中的第六显示数据;若检测到针对所述第六显示数据对应的窗口的拖动操作,则根据所述第六显示数据生成第七显示数据,并通过所述第一显示屏显示所述第七显示数据。
在一种可能的实施方式中,所述显示模块,还用于:获取预设时段内所述第一显示屏中显示的历史数据;根据所述历史数据生成提示数据;通过所述第二显示屏显示所述提示数据,所述提示数据用对所述历史数据中产生的事件进行提示。
在一种可能的实施方式中,所述第二显示屏中还包括键盘窗口,所述键盘窗口用于显示虚拟键盘。
在一种可能的实施方式中,显示模块,还用于:若检测到针对第二窗口的扩大窗口的操作,所述第二窗口是所述第二显示屏中显示的任意一个窗口,则关闭所述键盘窗口,或者,缩小所述键盘窗口的大小,以使所述第二显示屏中显示的扩大后的所述第二窗口和缩小后的所述键盘窗口不重叠。
第六方面,本申请提供一种界面显示装置,应用于电子设备,所述电子设备包括第一显示屏,其特征在于,包括:
收发模块,用于向服务器发送请求消息,所述请求消息用于请求所述服务器向终端发送第一信息;
所述收发模块,还用于接收所述终端发送的第二信息,所述第二信息中包括所述第一信息;
显示模块,用于通过所述第一显示屏显示所述第二信息。
在一种可能的实施方式中,所述显示模块,具体用于:
若检测到所述终端处于熄屏状态,则通过所述第一显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
若所述第二信息包括所述终端中的第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第一显示屏显示所述第二信息;或者,
所述若检测到所述终端处于熄屏状态,且所述第二信息包括所述第二应用产生的信息,则通过所述第一显示屏显示所述终端发送的信息。
第七方面,本申请实施例提供一种电子设备,包括:处理器和存储器,其中,处理器和存储器通过线路互联,处理器调用存储器中的程序代码用于执行上述第一方面任一项所示的界面显示方法中与处理相关的功能。可选地,该电子设备可以是芯片。
第八方面,本申请实施例提供一种电子设备,包括:处理器和存储器,其中,处理器和存储器通过线路互联,处理器调用存储器中的程序代码用于执行上述第二方面任一项所 示的界面显示方法中与处理相关的功能。可选地,该电子设备可以是芯片。
第九方面,本申请实施例提供了一种电子设备,该电子设备也可以称为数字处理芯片或者芯片,芯片包括处理单元和通信接口,处理单元通过通信接口获取程序指令,程序指令被处理单元执行,处理单元用于执行如上述第一方面或第二方面任一可选实施方式中与处理相关的功能。
第十方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述第一方面或第二方面任一可选实施方式中的方法。
第十一方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面任二可选实施方式中的方法。
附图说明
图1本申请提供的一种网络架构示意图;
图2为本申请提供的一种电子设备的结构示意图;
图3为本申请提供的另一种电子设备的结构示意图;
图4为本申请提供的另一种电子设备的结构示意图;
图5为本申请提供的另一种电子设备的结构示意图;
图6为本申请提供的另一种电子设备的结构示意图;
图7为本申请提供的另一种电子设备的结构示意图;
图8为本申请提供的一种界面显示方法的流程示意图;
图9为本申请提供的另一种电子设备的结构示意图;
图10为本申请提供的一种GUI示意图;
图11为本申请提供的另一种GUI示意图;
图12为本申请提供的另一种GUI示意图;
图13为本申请提供的另一种GUI示意图;
图14为本申请提供的另一种GUI示意图;
图15为本申请提供的另一种GUI示意图;
图16为本申请提供的另一种GUI示意图;
图17为本申请提供的另一种界面显示方法的流程示意图;
图18为本申请提供的另一种GUI示意图;
图19为本申请提供的另一种GUI示意图;
图20为本申请提供的另一种界面显示方法的流程示意图;
图21为本申请提供的另一种GUI示意图;
图22为本申请提供的另一种GUI示意图;
图23为本申请提供的另一种GUI示意图;
图24为本申请提供的另一种GUI示意图;
图25为本申请提供的另一种GUI示意图;
图26为本申请提供的另一种GUI示意图;
图27为本申请提供的另一种GUI示意图;
图28为本申请提供的另一种GUI示意图;
图29为本申请提供的另一种GUI示意图;
图30为本申请提供的另一种GUI示意图;
图31为本申请提供的另一种电子设备的结构示意图;
图32为本申请提供的另一种GUI示意图;
图33为本申请提供的另一种GUI示意图;
图34为本申请提供的另一种GUI示意图;
图35为本申请提供的另一种GUI示意图;
图36为本申请提供的另一种GUI示意图;
图37为本申请提供的另一种GUI示意图;
图38为本申请提供的另一种GUI示意图;
图39为本申请提供的另一种GUI示意图;
图40为本申请提供的另一种GUI示意图;
图41为本申请提供的另一种GUI示意图;
图42为本申请提供的另一种GUI示意图;
图43为本申请提供的另一种GUI示意图;
图44为本申请提供的另一种GUI示意图;
图45为本申请提供的另一种界面显示方法的流程示意图;
图46为本申请提供的另一种GUI示意图;
图47为本申请提供的一种界面显示装置的结构示意图;
图48为本申请提供的另一种界面显示装置的结构示意图;
图49为本申请提供的另一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
首先,本申请提供的方法可以应用于各种电子设备中,该电子设备具有显示屏或者与显示屏连接。
本申请中的电子设备可以包括但不限于:智能移动电话、电视、平板电脑、手环、头戴显示设备(Head Mount Display,HMD)、增强现实(augmented reality,AR)设备,混合现实(mixed reality,MR)设备、蜂窝电话(cellular phone)、智能电话(smart phone)、个人数字助理(personal digital assistant,PDA)、平板型电脑、车载终端、膝上型电脑(laptop computer)(或者称为笔记本电脑或者手提电脑等)、个人电脑(personal computer,PC)等。当然,在以下实施例中,对该电子设备的具体形式不作任何限制。
示例性地,参阅图1,下面以一个具体的结构为例,对本申请提供的电子设备的结构进行示例性说明。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M,运动传感器180N等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器, 闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。应理解,此处的USB接口130也可以替换为其他的接口,如Type-c或者Lighting等可实现充电或者数据传输的接口,此处仅仅以USB接口130为例进行示例性说明。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时, 还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),超宽带(ultra wide band,UWB),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通 信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括但不限于:第五代移动通信技术(5th-Generation,5G)系统,全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),蓝牙(bluetooth),全球导航卫星系统(the global navigation satellite system,GNSS),无线保真(wireless fidelity,WiFi),近距离无线通信(near field communication,NFC),FM(也可以称为调频广播),紫蜂协议(Zigbee),射频识别技术(radio frequency identification,RFID)和/或红外(infrared,IR)技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)等。
在一些实施方式中,电子设备100也可以包括有线通信模块(图1中未示出),或者,此处的移动通信模块150或者无线通信模块160可以替换为有线通信模块(图1中未示出),该有线通信模块可以使电子设备通过有线网络与其他设备进行通信。该有线网络可以包括但不限于以下一项或者多项:光传送网(optical transport network,OTN)、同步数字体系(synchronous digital hierarchy,SDH)、无源光网络(passive optical network,PON)、以太网(Ethernet)、或灵活以太网(flex Ethernet,FlexE)等。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为界面显示的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB摄像头,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发 光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
运动传感器180N,可以用于对摄像头拍摄的范围内的运动物体进行检测,采集运动物体的运动轮廓或者运动轨迹等。例如,该运动传感器180N可以是红外传感器、激光传感器、动态视觉传感器(dynamic vision sensor,DVS)等,该DVS具体可以包括DAVIS(Dynamic and Active-pixel Vision Sensor)、ATIS(Asynchronous Time-based Image Sensor)或者CeleX传感器等传感器。DVS借鉴了生物视觉的特性,每个像素模拟一个神经元,独立地对光照强度(以下简称“光强”)的相对变化做出响应。当光强的相对变化超过阈值时,像素会输出一个事件信号,包括像素的位置、时间戳以及光强的特征信息。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键 信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
需要说明的是,在一些实际应用场景中,电子设备可以包括比前述图1中更多或者更少的部件,具体可以根据实际应用场景调整,本申请对此不作限定。
前述对本申请提供的电子设备的硬件结构进行了示例性介绍,该电子设备可以搭载的系统可以包括
Figure PCTCN2022130491-appb-000001
鸿蒙或者其它操作系统等,本申请实施例对此不作任何限制。
以搭载
Figure PCTCN2022130491-appb-000002
操作系统的电子设备100为例,如图2所示,电子设备100从逻辑上可划分为硬件层21、操作系统261,以及应用层31。硬件层21包括应用程序处理器201、微控制器单元203、调制调解器207、Wi-Fi模块211、传感器214、定位模块150等硬件资源。应用层31包括一个或多个应用程序,比如应用程序263,应用程序263可以为社交类应用程序、电子商务类应用程序、浏览器等任意类型的应用程序,或者寻物APP,执行本申请提供的界面显示方法,用于搜寻用户遗失的设备。操作系统261作为硬件层21和应用层31之间的软件中间件,是管理和控制硬件与软件资源的计算机程序。
在一个实施例中,操作系统261包括内核23,硬件抽象层(hardware abstraction layer,HAL)25、库和运行时(libraries and runtime)27以及框架(framework)29。其中,内核23用于提供底层系统组件和服务,例如:电源管理、内存管理、线程管理、硬件驱动程序等;硬件驱动程序包括Wi-Fi驱动、传感器驱动、定位模块驱动等。硬件抽象层25是对内核驱动程序的封装,向框架29提供接口,屏蔽低层的实现细节。硬件抽象层25运行在用户空间,而内核驱动程序运行在内核空间。
库和运行时27也叫做运行时库,它为可执行程序在运行时提供所需要的库文件和执行环境。库与运行时27包括安卓运行时(Android Runtime,ART)271以及库273等。ART 271是能够把应用程序的字节码转换为机器码的虚拟机或虚拟机实例。库273是为可执行程序 在运行时提供支持的程序库,包括浏览器引擎(比如webkit)、脚本执行引擎(比如JavaScript引擎)、图形处理引擎等。
框架27用于为应用层31中的应用程序提供各种基础的公共组件和服务,比如窗口管理、位置管理等等。框架27可以包括电话管理器291,资源管理器293,位置管理器295等。
以上描述的操作系统261的各个组件的功能均可以由应用程序处理器201执行存储器205中存储的程序来实现。
所属领域的技术人员可以理解电子设备100可包括比图2所示的更少或更多的部件,图2所示的该电子设备仅包括与本申请实施例所公开的多个实现方式更加相关的部件。
其中,电子设备可以包括一个或者多个显示屏,或者与一个或者多个显示屏连接。当存在多个显示屏时,该多个显示屏可以是设置于电子设备中,也可以是与电子设备建立了通信连接,可以由电子设备来控制显示屏。下面示例性地,对该电子设备与显示屏之间的关系进行举例说明。
例如,如图3所示,该电子设备可以是笔记本电脑,该笔记本电脑设置了两个显示屏,用于进行独立显示,两个显示屏之间通常呈一定夹角,且通常这个夹角可调。这两个显示屏可以通过鼠标、触控笔或者触摸来进行输入操作,两个显示屏的输入方式可以相同也可以不相同,如第一显示屏可以通过鼠标来进行输入操作,第二显示屏可以通过触摸来进行输入操作。当然,除了设置两个显示屏,也可以设置更多的显示屏,本申请仅以设置了两个显示屏的电子设备为例进行示例性说明,以下提及的两个显示屏也可以替换为三个或者四个显示屏等,具体可以根据实际应用场景调整,本申请对此并不作限定。
当电子设备配置了两个显示屏时,这两个显示屏的设置方式可以有多种,下面示例性地,将两个显示分别称为B面(或者称为第一显示屏)和C面(或者称为第二显示屏)。例如,如图4所示,电子设备还可以配置有实体键盘,B面和C面为显示区域,实体键盘设置为与C面平行,实体键盘可以用于进行输入或者对电子设备进行控制;如图5所示,B面和C面为显示区域,C面可以分为多个部分,其中一部分可以用于显示各种窗口或者数据,另一部分可以用于显示虚拟键盘,虚拟键盘可以用于用户进行输入或者对电子设备进行控制,且通常可以缩放或者关闭;又例如,如图6所示,B面和C面为同一显示屏中的两部分显示区域,两部分都可以作为主显示屏进行显示,此时电子设备可以包括折叠屏手机或者折叠屏电脑等;还例如,如图7所示,B面和C面可以是建立了连接的两个显示屏,具体可以通过无线或者有线通信建立通信连接,如B面通常可以是单独设置的显示器,C面可以是与电子设备连接的外接触摸屏,如手机、平板等。
下面结合前述的电子设备和显示屏的不同设置方式,对本申请提供的方法的流程进行介绍。
参阅图8,本申请提供的一种界面显示方法的流程示意图。
801、获取第一显示屏中显示的第一显示数据。
其中,第一显示屏可以是电子设备具有或者连接的多个显示屏中的其中一个,可以用于显示电子设备中的数据,如应用程序的界面、文本、图像或者视频等,即第一显示数据。
需要说明的是,该第一显示屏中可以有多个显示窗口,如对多个应用程序的界面进行 显示,或者显示多帧图像,或者显示多个文件的文本等,本申请示例性地,下面以其中一个显示窗口为例进行示例性说明。
802、若检测到针对第一显示数据对应的显示窗口的操作,则根据第一显示数据确定第二显示数据。
其中,用户可以通过触摸、鼠标或者按键等方式来控制电子设备,当检测到用户针对显示窗口的操作时,即可根据该操作的类型,基于第一显示数据确定第二显示数据。
该第二显示数据可以是基于第一显示数据生成的数据,或者可以是第一显示数据的部分数据,在不同的场景中或者针对不同的操作方式得到第二显示数据的方式可能不相同。
该第二显示数据可以包括第一显示数据中被选中的控件对应的数据,且为了便于用户观看,第二显示数据少于第一显示数据。
其中,控件,或者称为部件、widget或者control,即显示窗口中的一种图形用户界面(GUI)元素,通常可以,其表示的信息或者排列方式可以由用户调整,如显示窗口中的按钮、图像或者文字等,用户可以通过点击、触摸或者其他输入方式来选择该控件,从而实现人机交互。
通常,一个显示窗口可以包括一个或者多个控件,或者整个窗口可以理解为一个较大的控件,其中包括了多个较小的控件。
本步骤中所提及的控件可以包括第一显示屏中的显示窗口中的各种控件,被选中的控件可以理解包括该显示界面中光标停留的位置对应的控件或者用户选择的控件。
因此,本申请实施方式中,可以响应于针对第一显示屏中的显示窗口的操作,基于第一显示数据确定第二显示数据,并在第二显示屏中显示第二显示数据。第二显示数据中包括了第一显示数据中被选中的控件对应的数据,少于第一显示数据,从而可以在第二显示屏中显示更简化的窗口,便于用户操作,提高用户体验。
具体地,针对第一显示屏中显示的窗口的操作具体可以包括多种。例如,该操作具体可以包括以下一项或者多项:拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作等。
该拖动操作即在选中显示窗口后拖动该显示窗口的操作。
该关闭操作即关闭第一显示屏中显示窗口的操作。
最小化操作即隐藏该第一显示屏中显示窗口的操作,如在后台运行显示窗口对应的应用程序。
控件选中操作,即选择显示窗口中的控件的操作。例如,若该显示窗口为显示聊天软件的窗口,该聊天软件的显示界面具有多种控件,如截图、抖动窗口、发送消息、或者切换字体等控件,用户可以通过鼠标或者触摸来选中控件。
文件选中,即在显示窗口中选择文件,该文件可以包括如文本、视频、图像等数据。
播放操作,即播放选中的数据的操作,如播放视频、播放语音或者播放幻灯片等。
折叠操作,即折叠第一显示屏和第二显示屏的操作,可以调整第一显示屏和第二显示屏之间的夹角。
此外,上述操作仅仅是举例说明,在实际应用场景中,针对不同应用场景或者不同设 备可能具有不同的操作方式,具体可以根据实际应用场景确定,本申请对此并不作限定。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括拖动操作,则可以将第一显示数据中的至少一种作为第一显示数据,然后根据光标释放的位置确定第二显示数据对应的显示窗口在第二显示屏中的位置。因此,本申请实施方式中,用户可以通过拖到操作即可将B面显示的窗口拖动到C面显示,操作方便,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,则可以对第一显示数据中的至少一个数据进行放大或者缩小,和/或,删除第一显示数据中的至少一种数据,得到第二显示数据。因此,本申请实施方式中,当关闭或者最小化B面中的窗口之后,可以对该窗口中的全部或者部分数据进行缩放,或者删除部分数据,从而得到更简化的窗口并在C面中显示,提高用户体验。尤其在B面不方便显示时,用户可以观看C面显示的内容,提高用户体验。
此外,前述的第一显示数据中的至少一种数据,可以是被选中的控件对应的数据。例如,若第一显示数据为用户正在使用的聊天软件的窗口,则可以从第一显示数据中选择部分数据,如当前聊天对象对应的窗口数据,或者当前光标停留的控件对应的数据等作为第二显示数据。因此本申请实施方式中,当将B面的窗口转移至C面显示时,可以对用户当前聚焦的部分进行转移,从而可以在C面中显示更简洁、更符合用户需求的界面,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的窗口的操作包括文件选中,则可以基于选择的文件来得到第二显示数据。具体选择的文件可以包括图像、文本、视频或者音频等数据。
可选地,若选择了显示窗口中显示的文本,在可以直接将选中的文本作为第二显示数据;或者,对选中的文本进行翻译,然后根据翻译结果得到第二显示数据;或者,对选中的文本进行搜索,并根据搜索结果得到第二显示数据;或者,对选中的文本进行重新排列,得到第二显示数据;或者,搜索与选中的文本对应的排列格式,得到第二显示数据;或者,若选中的文本中包括数值,则可以对该数值进行汇率换算,得到第二显示数据。
因此,本申请实施方式中,可以基于用户选中的文本进行进一步的显示、搜索、重排或者汇率换算等,从而可以对用户的选择进行及时反馈,适应各种场景,提高用户体验。
可选地,若选择了显示窗口中显示的图像,则可以直接将选中的图像作为第二显示数据;或者,可以搜索选中的图像的相关图像,基于相关图像得到第二显示数据;或者,对选中的图像进行目标检测,并将检测结果作为第二显示数据;或者,对选中的图像进行文本识别,基于识别的文本得到第二显示数据等。
因此,本申请实施方式中,可以对用户选中的图像进行进一步地显示、搜索、检测或者识别等,从而对用户选中的图像进行及时反馈,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的窗口的操作包括播放操作,则可以从第一显示数据获取与第一显示屏播放的画面相关的数据,得到第二显示数据。例如,若第一显示数据为视频数据,第一显示屏中当前正在播放其中一帧,则可以获取当前一帧的图像,并基于该图像进行进一步地显示、搜索、检测或者识别等操作。又例如,若第一 显示数据包括幻灯片,则可以获取当前播放的其中一页对应的备注,即在B面播放幻灯片时,C面可以显示与当前播放画面相关的备注,提高用户体验。
在一种可能的实施方式中,若针对第一显示数据对应的操作包括手势操作,且在检测到手势操作对应的手势为预设手势时,则可以基于第一显示数据确定第二显示数据,如将第一显示数据中的部分或者全部数据作为第二显示数据,或者,对第一显示数据中的全部或者部分数据进行进一步处理后得到第二显示数据等。
在一种可能的实施方式中,当检测到折叠操作时,且第一显示屏和第二显示屏之间的夹角在预设范围内,则将第一显示数据作为第二显示数据。可以理解为,电子设备为可以折叠的设备,当折叠电子设备时,且B面和C面之间的夹角在预设设定的范围内,则可以将B面显示的内容转移至C面进行显示,从而在改变电子设备的形态时,可以继续显示已显示的内容,提高用户体验。
803、通过第二显示屏显示第二显示数据对应的窗口。
在得到第二显示数据之后,即可在第二显示屏中显示该第二显示数据。
其中,第二显示屏中显示的窗口不重叠,从而可以更完整地第二显示数据,使用户可以基于完整的显示窗口进行交互,提高用户体验。
并且,若第二显示屏中存在多个显示窗口,在检测到针对该多个显示窗口的滑动操作之后,可以根据该滑动操作从多个显示窗口中筛选出预设数量的窗口来进行显示,该预设数量可以根据第二显示屏的显示区域的大小或者每个显示窗口来确定。如第二显示屏的显示区域越大,或者显示窗口的尺寸越小,则第二显示屏中可显示的窗口数量也就越多,反之,若第二显示屏的显示区域越小,或者显示窗口的尺寸越大,则第二显示屏中可显示的窗口数量也就越少。该滑动操作可以是用户通过鼠标进行滑动,也可以是通过触摸来滑动,具体可以根据实际应用场景来进行调整。
因此,本申请实施方式中,当存在多个显示窗口时,该多个显示窗口不堆叠,从而使用户可以查看完整的窗口。并且,用户可以通过滑动操作来查看多个窗口,从而可以使用户可以在C面更方便地进行操作,使有限的显示区域可以显示更多的窗口,提高用户体验。
可选地,第二显示屏中的显示窗口为可交互窗口,以其中一个窗口为例,为便于区分称为第一窗口,该第一窗口中显示了第三显示数据,该第三显示数据包括了应用程序的界面,响应于针对该应用程序界面的控件的点击操作,获取与点击操作点击到的控件对应的第四显示数据,并将第一窗口中显示的内容替换为该第四显示数据。如用户在C面对显示的某个应用程序进行点击时,若点击了其中一个控件,此时可以将窗口切换为该控件对应的界面,完成对用户操作的响应,使用户可以在C面更方便地进行交互操作。
可选地,第二显示屏中的预设区域可以包括显示的一个或多个预设窗口,该多个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记等常用信息中的一种或者多种。可以理解为,可以在第二显示屏中设置一个或多个常驻窗口,并保存一些如日历、天气、行程、备忘录或者笔记等常用信息,从而及时对用户进行提醒,提高用户体验。
可选地,第二显示屏中的窗口也可以通过拖动操作来调整各个窗口所在的显示区域。如若检测到针对第二显示屏中显示的第五显示数据的拖动操作,则将光标释放的位置对应 的显示区域作为第五显示区域的新的显示区域,即在该新的显示区域显示该第五显示数据。因此,用户可以拖动调整第二显示屏中各个窗口的显示位置,提高用户体验。
可选地,还可以接收其他设备发送的数据并在第二显示屏中显示。如可以获取一个或多个终端发送的信息,并通过该第二显示屏显示一个或者多个终端发送的信息。该一个或者多个终端发送的信息可以包括终端自身的界面、终端接收到的信息或者终端向电子设备发送的通知信息等,具体可以根据实际应用场景进行调整。因此,本申请实施方式中,可以在第二显示屏中显示终端发送的信息,如终端的界面、接收到的信息或者终端与电子设备的交互信息等,从而使用户可以通过电子设备即可与终端进行交互,无需打开终端,提高用户体验。
在一种可能的实施方式中,前述的一个或多个终端发送的信息可以包括与电子设备中显示的第一显示数据对应的应用程序相关的数据。如用户可以在电子设备中打开某个平台提供的网页,终端中可以安装该平台提供的应用程序,当用户在电子设备中打开该网页时,终端可以将本地运行的该应用程序中的信息发送给电子设备,并在C面中显示,以使用户可以更方便地使用电子设备,提高用户体验。在一种可能的实施方式中,第二显示屏中包括了一个或者多个不重叠排列的预设大小的窗口,或者可以称为卡片式窗口,可以在这些卡片式窗口中显示接收到的一个或者多个终端发送的信息,从而可以通过排版清晰,不重叠的卡片式窗口来显示终端发送的信息,更便于用户观察,可以提高用户体验。
在一种可能的实施方式中,当接收到多个终端发送的信息时,可以在C面的第二窗口中显示其中一个终端(为便于区分称为第一终端)发送的信息,并在第二窗口中设置切换控件,当检测到针对第二窗口的切换操作时,即可在第二窗口中显示第二终端发送的信息。因此,本申请实施方式中,可以仅在C面窗口其中一个终端发送的信息,从而避免终端消息所占的显示区域过大,可以由用户来选择显示哪个终端的信息,提高用户交互体验。
在一种可能的实施方式中,电子设备可以向服务器发送请求消息,该请求消息用于请求服务器向第三终端发送验证消息,随后第三终端在接收到验证消息之后,即可转发给电子设备,并在电子设备的C面显示该验证消息。如用户在B面通过网页打开某个平台时,需要向用户终端发送验证消息,终端接收到该平台发送的验证消息,即可将该验证消息转发给电子设备,并在C面中显示,用户无需打开终端,即可以通过C面观察到验证消息,完成平台的验证,提高用户体验。
在一种可能的实施方式中,若检测到第四终端处于熄屏状态,则通过第二显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,若第四终端发送的信息包括第一应用产生的信息,该第一应用为预设列表中包括的应用程序,则通过第二显示屏显示第四终端发送的信息;或者,若检测到第四终端处于熄屏状态,且第四终端发送的信息包括第一应用产生的信息,则通过第二显示屏显示第四终端发送的信息。
因此,本申请实施方式中,可以适应多种终端交互场景,在终端熄屏或者运行特定应用时,可以将终端中的信息发送至电子设备并在C面中显示,提高用户体验。
可选地,还可以将第二显示屏中显示的窗口切换至第一显示屏中进行显示,从而实现第一显示屏和第二显示屏之间的显示屏切换。如获取第二显示屏中显示的第二显示数据, 若检测到针对第二显示数据对应的窗口的拖动操作,则根据第六显示数据生成第七显示数据,并通过第一显示屏显示该第七显示数据。例如,用户可以向第一显示屏拖动第二显示屏中的窗口,当第二显示屏中的窗口切换至第一显示屏中进行显示时,可以对窗口的尺寸以及所包括的内容进行调整,如增加窗口的尺寸和所显示的数据量,从而使窗口与第一显示屏更适配,提高用户的观感体验。
可选地,还可以获取预设时段内第一显示屏中显示过的历史数据,并根据历史数据生成提示数据,通过第二显示屏生成提示数据,用于对历史数据中所产生的事件进行提示。如可以获取第一显示屏中显示窗口显示过的会议记录,并在第二显示屏中对会议记录进行显示,从而可以及时对用户进行提醒,提高用户体验。
可选地,第二显示屏中还可以包括键盘窗口,用于显示虚拟键盘。因此可以在第二显示屏中显示虚拟键盘,使用户可以在第二显示屏中进行输入操作,提高用户体验。
可选地,若检测到针对第二窗口的扩大窗口的操作,则可以关闭键盘窗口,或者缩小键盘窗口的大小,以使扩大后的第二窗口和其他窗口不重叠,提高用户的观感体验。
在关闭虚拟键盘之后,可以在第二显示屏中显示虚拟键盘对应的控件或者对应的小图标,当用户需要重新打开虚拟键盘时,可点击该控件或者图标,即可重新打开的虚拟键盘,使用户可以使用虚拟键盘进行输入,提高用户体验。
前述对本申请提供的方法的流程进行了介绍,为便于理解,下面结合本申请提供的GUI进行更详细的示例性介绍。
首先,本申请提供一种电子设备,所述电子设备包括第一显示屏、第二显示屏、存储器、一个或多个处理器,所述存储器中存储有应用程序的图形用户界面的代码,所述一个或多个处理器用于执行存储在所述存储器中的所述图形用户界面(GUI)的代码,以在所述第一显示屏或者第二显示屏中显示所述图形用户界面,所述图形用户界面包括:
响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,所述第一显示数据为所述第一显示屏中显示窗口中显示的数据,所述第二显示数据包括所述第一显示数据中被选中的控件对应的数据,且所述第二显示数据少于所述第一显示数据,通过所述第二显示屏显示所述第二显示数据对应的窗口。
在一种可能的实施方式中,若第二显示屏中包括多个显示窗口,响应于针对多个显示窗口的滑动操作,在第二显示屏中根据滑动操作从多个显示窗口筛选出预设数量的窗口进行显示,且多个显示窗口在第二显示屏中不重叠。
在一种可能的实施方式中,针对第一显示数据对应的显示窗口的操作包括在第一显示屏中进行的以下至少一项操作:
拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
其中,拖动操作包括选中显示窗口后移动显示窗口的操作,关闭操作为关闭显示窗口的操作,最小化操作为隐藏显示窗口的操作,控件选中为选择显示窗口中的控件的操作,文件选中为选择显示窗口中显示的文件的操作,播放操作为播放显示窗口中显示的数据的操作,手势操作为针对显示窗口进行控制的手势形成的操作,折叠操作为调整第一显示屏 和第二显示屏之间的夹角。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括拖动操作,根据第一显示数据确定第二显示数据,包括:将第一显示数据中的至少一种作为第二显示数据;通过第二显示屏显示第二显示数据对应的窗口,包括:根据光标释放的位置确定第二显示数据的显示窗口在第二显示屏中的位置。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,根据第一显示数据确定第二显示数据,包括:对第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除第一显示数据中的至少一种数据,得到第二显示数据。
若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的文本,根据第一显示数据确定第二显示数据,包括:将选中的文本作为第二显示数据;或者,对选中的文本进行翻译,基于翻译结果得到第二显示数据;或者,基于选中的文本进行搜索,基于搜索结果得到第二显示数据;或者,对选中的文本进行排列,或者获取与选中的文本对应的排列格式,得到第二显示数据;或者,若选中的文本包括数值,则对数值进行汇率换算,得到第二显示数据。
若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的图像,根据第一显示数据确定第二显示数据,包括:将选中的图像作为第二显示数据;或者,搜索与选中的图像的相关图像,基于相关图像得到第二显示数据;或者,对选中的图像进行目标检测,得到第二显示数据;或者,对选中的图像进行文本识别,基于识别的文本得到第二显示数据。
若针对第一显示数据对应的显示窗口的操作包括播放操作,根据第一显示数据确定第二显示数据,包括:从第一显示数据中获取与第一显示屏中播放的画面相关的数据,得到第二显示数据。
若针对第一显示数据对应的显示窗口的操作包括手势操作,根据第一显示数据确定第二显示数据,包括:若检测到手势操作的手势为预设手势,则将第一显示数据中的至少一种作为第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括折叠操作,且第一显示屏和第二显示屏之间的夹角在预设范围内,根据第一显示数据确定第二显示数据,包括:将第一显示数据作为第二显示数据。
在一种可能的实施方式中,通过第二显示屏显示第二显示数据对应的窗口,包括:若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过第二显示屏显示第二显示数据对应的窗口。
在一种可能的实施方式中,GUI还包括:
响应于针对所应用程序的界面中的控件的点击操作,获取与点击操作所点击的控件对应的第四显示数据,并将第一窗口对应的区域中显示的第三显示数据替换显示为第四显示数据,第一窗口为第二显示屏中显示的任意一个窗口。
在一种可能的实施方式中,第二显示屏中的预设区域包括显示的至少一个预设窗口,至少一个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记中的至少一项。
在一种可能的实施方式中,GUI还包括:若检测到针对第二显示屏中显示的第五显示数据的拖动操作,则将第二显示屏中光标释放的位置对应的区域作为第五显示数据的显示区域。
在一种可能的实施方式中,GUI还包括:响应于获取至少一个终端发送的信息,通过第二显示屏显示至少一个终端发送的信息。
在一种可能的实施方式中,至少一个终端发送的信息包括与第一显示数据对应的应用程序相关的数据。
在一种可能的实施方式中,第二显示屏中包括至少一个不重叠排列的预设大小的窗口,GUI具体包括:在至少一个不重叠排列的预设大小的窗口中显示至少一个终端发送的信息。
在一种可能的实施方式中,GUI具体包括:获取多个终端发送的信息,多个终端包括第一终端和第二终端;通过第二显示屏中的第二窗口显示第一终端发送的信息;
响应于针对第二窗口的切换操作时,在第二窗口中显示第二终端发送的信息。
在一种可能的实施方式中,获取至少一个终端发送的信息,包括:向服务器发送请求消息,以指示服务器向第三终端发送验证消息,第三终端至少一个终端中的任意一个;接收第三终端发送的信息,第三终端发送的信息中包括验证消息。
在一种可能的实施方式中,GUI包括:
若检测到第四终端处于熄屏状态,则通过第二显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,
若第四终端发送的信息包括第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第二显示屏显示第四终端发送的信息;或者,
若检测到第四终端处于熄屏状态,且第四终端发送的信息包括第一应用产生的信息,则通过第二显示屏显示第四终端发送的信息。
在一种可能的实施方式中,GUI还包括:获取第二显示屏中的第六显示数据;若检测到针对第六显示数据对应的窗口的拖动操作,则根据第六显示数据生成第七显示数据,并通过第一显示屏显示第七显示数据。
在一种可能的实施方式中,GUI还包括:获取预设时段内第一显示屏中显示的历史数据;根据历史数据生成提示数据;通过第二显示屏显示提示数据,提示数据用对历史数据中产生的事件进行提示。
在一种可能的实施方式中,第二显示屏中还包括键盘窗口,键盘窗口用于显示虚拟键盘。
在一种可能的实施方式中,响应于检测到针对第二窗口的扩大窗口的操作,第二窗口是第二显示屏中显示的任意一个窗口,关闭键盘窗口,或者,缩小键盘窗口的大小,以使第二显示屏中显示的扩大后的第二窗口和缩小后的键盘窗口不重叠。
其次,本申请还提供一种电子设备,电子设备包括第一显示屏、存储器、一个或多个处理器,存储器中存储有应用程序的图形用户界面的代码,一个或多个处理器用于执行存 储在存储器中的图形用户界面(GUI)的代码,以在第一显示屏或者第二显示屏中显示图形用户界面,其特征在于,图形用户界面包括:向服务器发送请求消息,请求消息用于请求服务器向终端发送第一信息;接收终端发送的第二信息,第二信息中包括第一信息;通过第一显示屏显示第二信息。
在一种可能的实施方式中,通过第一显示屏显示第二信息,包括:
若检测到终端处于熄屏状态,则通过第一显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,
若第二信息包括终端中的第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第一显示屏显示第二信息;或者,
若检测到终端处于熄屏状态,且第二信息包括第二应用产生的信息,则通过第一显示屏显示终端发送的信息。
下面结合具体的实施例,对本申请提供的方法的流程以及应用场景进行更详细地说明。
首先,示例性地,电子设备的结构可以如图9所示,包括B面(即第一显示屏)和C面(包括第二显示屏)。B面可以用于对用户选择打开的应用程序或者其他数据进行显示,C面可以对一些卡片式的窗口进行显示。
可选地,电子设备还可以包括键盘输入区域,该键盘输入区域可以是C面中的部分显示区域,即虚拟键盘,也可以是实体键盘。用户可以通过键盘来进行输入,如通过键盘输入文本。当C面还显示虚拟键盘时,该虚拟键盘可以进行调整或者关闭虚拟键盘,如可以调整虚拟键盘的大小、位置或者显示方式等。
C面中显示的卡片式窗口的尺寸可以动态调整,也可以是按照预先设定的尺寸进行排列。例如,如图10所示,C面中可以预先设置多种尺寸的显示窗口,或者也可以由用户来选择C面中卡片式窗口的尺寸和排版。此外,如图11所示,各个显示窗口之间的距离也可以是预先设定的距离,从而使C面种显示的窗口之间可以独立显示,且排列工整,提高用户的观感体验。
可选地,C面(即第二显示屏)中的显示窗口可以分为多种类型,如可以分为常驻窗口和动态窗口。常驻窗口即固定在C面中显示的窗口,通常在关闭应用程序时,不关闭常驻窗口。动态窗口即不固定在C面中显示的窗口,如从B面(即第一显示屏)拖动至C面的窗口,或者B面关闭后再C面显示的窗口等。下面结合不同的窗口类型对本申请提供的方法进行示例性说明。
一、常驻窗口
其中,常驻窗口可以理解为在C面中持续显示的窗口,如可以在C面中显示一些提醒信息,如日程、备忘录、天气信息、日历或者笔记等信息。通常,常驻窗口通常不会随着应用程序的关闭而关闭,可以持续在C面中显示,从而使一些用户需要及时观看的信息在C面中可以及时呈现,提高用户体验。
例如,如图12所示,可以在电子设备的设置项中增加常驻窗口的选项,用户可以在B面的显示窗口中选择常驻窗口,如图13所示,可以在C面中显示一些常用卡片,如日程、 笔记、日历、天气以及备忘录等用户需要及时查看的信息,从而使用户可以及时查看重要记录,提高用户体验。
可以理解为,本申请提供的第二显示屏中,通过卡片式排列的窗口,使用户可以在第二显示屏中的各个窗口中进行更方便更有效的交互,且排列方式可以使用户更清晰地与电子设备进行交互,可以提高用户的观感体验以及交互体验。
二、动态窗口
其中,动态窗口可以包括针对B面中显示的窗口进行操作后,通过C面来显示。
C面中动态窗口的生成方式有多种,如可以针对B面显示的数据进行操作,然后基于B面显示的数据来生成C面显示的数据,并在C面的窗口中显示。该操作具体可以包括对B面中显示窗口中的控件进行选择,如关闭控件、最小化控件、播放控件、文件图标控件或者其他预先设置的控件等,还可以包括对B面的窗口进行拖动、对电子设备进行折叠等操作。
下面示例性地,以一些场景为例,对生成动态窗口的过程进行示例性介绍。
1、拖动操作
其中,该拖动操作可以是由用户通过与B面连接的设备,如鼠标、键盘或者其他控制设备来实现,或者若B面为触摸屏,则该拖动操作可以是用户通过触摸B面来实现对B面上的窗口的拖动操作。在检测到拖动操作之后,可以直接在C面显示拖动的窗口,也可以对该窗口进行调整后进行显示。如通常C面的显示窗口尺寸小于B面的显示窗口的尺寸,可以缩小拖动的窗口,如截取该窗口中的部分内容,或者突出一些重要内容等,从而使C面显示的窗口更容易交互,提高用户体验。
示例性地,如图14所示,可以通过触摸或者输入设备将B面中显示的窗口拖动到C面中,将光标释放的位置作为该窗口在C面的显示区域。如将B面中的窗口拖动至C面中显示的窗口1和窗口2之间,调整C面中的窗口位置,可以调整拖动的窗口的大小,从而将该窗口插入窗口1和窗口2之间。若窗口3被挤出C面显示区域,则可以隐藏窗口3,当用户在C面进行滑动时,即可基于用户的滑动操作滑出窗口3。
更具体例如,如图15所示,用户可以通过鼠标光标将主屏(即B面)显示的窗口拖动至副屏(即C面),该类视窗会随着其对应应用程序的结束而关闭,或是由于用户的操作而主动关闭。拖入方式包括鼠标、手势等方式,以下流程以鼠标光标拖入为例。用户可以通过光标长按选中当前窗口,并控制鼠标的移动方向来拖动当前窗口。当检测到用户的拖拽操作时,若检测到窗口移动位置与B面下边界重合,或者,鼠标或手指触碰边界、或拖拽进入C面,则可以在C面中显示该窗口。在C面中显示该窗口时,通常C面窗口小于B面窗口,为了便于用户交互,可以对C面显示的窗口进行调整,如图15中所示出的,可以放大用户当前选中的部分内容,隐藏部分未选中的内容,从而使用户可以更方便地进行交互,提高用户体验。
以某个聊天软件为例,通常,当C面由于显示软键盘而导致视窗显示区有限,或者C面的显示区域较小,B面的窗口通常显示较大,若直接移动至C面显示则显得文字和交互 控件非常小,用手指很难点击交互,且功能对于触屏交互来说过于复杂,用户的使用体验不佳。本申请可以通过极简模式就可以解决这个问题,可以针对C面的卡片型视窗做适配,比如优化当前视窗页面的信息架构、交互控件和文本大小,交互方式等,使其更适合手指触屏交互。如图16所示,B面显示的聊天软件的窗口更全面,显示的联系人更多,当切换至C面显示时,隐藏聊天人列表和导航栏部分。用户可以更容易地看到新收到的消息,而不被其他多余信息干扰,或是由于其他交互控件而产生误触。
当用户进行拖动操作时,其流程可以如图17所示,当检测到用户拖动窗口时,判断是否应用极简模式,若否,则不改变窗口,若是,则转换为极简窗口。
其中,用户可以使用鼠标或者触摸等输入方式来拖动窗口。
判断是否应用极简模式的方式可以是判断窗口是否满足预先设定的应用条件,如窗口的大小是否大于第一预设尺寸、C面显示区域是否大于第二预设尺寸或者窗口对应的应用程序是否为预先设定的列表中等。
当满足应用条件时,如窗口过大或者C面显示窗口过小等,可以调整窗口,将窗口转换为极简窗口,如去除窗口的导航栏,近保留当前被选中的部分内容等,从而可以在C面显示更实用的内容,提高用户体验。
当不满足应用条件时,如窗口尺寸不大,或者C面显示区域足够大等,则可以无需调整窗口,在窗口中保留更多内容,提高用户体验。
因此,本申请实施方式中,可以根据窗口或者C面显示区域来确定在C面显示的窗口的尺寸,使C面显示的窗口与C面显示区域更适配,提高用户体验。
2、关闭操作或最小化操作
其中,用户可以通过多种方式实现关闭操作,如在第一显示屏中显示的任务栏中选择关闭显示窗口,或者选择显示窗口的关闭控件来实现关闭操作或者最小化操作,或者通过输入设备,如键盘或者手势操作等来实现关闭操作或者最小化操作。
此外,用户可以预先设定在进行关闭操作或最小化操作后需在C面显示的程序列表,当用户针对某个窗口进行了关闭操作或最小化操作时,若该窗口对应的程序在该列表中,则可以在C面生成对应的窗口,因此当B面中的窗口关闭或者隐藏之后,可以基于用户需求继续在C面显示,从而提高用户体验。
示例性地,如图18所示,用户可以通过输入设备,如鼠标、键盘或者触摸屏等,选择B面显示窗口上的关闭控件,从而在B面关闭该窗口。电子设备的后台可以继续运行该窗口对应的应用程序,也可以关闭该窗口对应的应用程序。在用户选择关闭该窗口后,可以在C面中显示关闭的窗口或者与该窗口相关的内容。如可以对用户选择关闭的窗口进行缩小显示,或者在C面显示与关闭的窗口相关的图标等。
示例性地,如图19所示,用户可以通过输入设备,如鼠标、键盘或者触摸屏等,选择B面显示窗口上的最小化控件,从而在B面隐藏该窗口,电子设备的后台可以继续运行该窗口对应的应用程序,并在C面显示该应用程序的小窗口。
例如,当用户启动关闭操作或者最小化操作的流程可以如图20所示。
用户可以通过鼠标或者触摸等输入方式来进行关闭操作或最小化操作。
当检测到关闭操作或最小化操作时,判断用户操作的窗口是否需要切换至C面显示,若否,则关闭窗口不显示,若是,则切换至C面显示。
其中,判断是否切换到C面显示的方式可以包括多种,如用户操作的窗口对应的程序是否在预先设定的程序列表中,该窗口大小是否超过预设大小等。
当确定用户操作的窗口无需切换至C面显示时,则可以关闭窗口,在后台运行窗口对应的程序或者关闭程序等。
当确定用户操作的窗口需切换至C面显示时,则可以将该窗口移动至C面,或者调整为极简窗口后切换至C面显示等。
3、文件选中
其中,可以在B面的窗口中显示各种文件图标,每种图标可以与电子设备中保存的文件链接,当用户选择其中一种文件时,可以从存储空间中读取该文件并进行后续操作,如显示、复制或者剪切等操作。
可选地,当选择的文件包括文本时,可以基于选中的文本来得到在C面中显示的数据。示例性地,可以直接将选中的文本作为在C面中显示的数据;或者,可以对选中的文本进行翻译,并在C面中显示翻译结果;或者,可以基于选中的文本进行搜索,并在C面显示搜索结果;或者,在确定选中的文本后,可以搜索与该文本对应的排列格式或者排版格式,并在C面中显示;或者,若选中的文本中包括数值,则可以对该数值进行计算,如汇率换算或者其他数学计算等,并在C面中显示计算结果。
可选地,当选择的文件中包括图像时,可以基于选中的图像来得到在C面中显示的数据。示例性地,可以直接在C面中显示选中的图像;或者,可以搜索选中图像的相关图像,并在C面中显示搜索得到的相关图像;或者,对选中的图像进行目标检测,并在C面中显示检测结果;或者,对选中的图像进行文本识别,并基于识别结果得到C面中的显示内容,其中,在对选中的文本进行文本识别得到文本后,可以参阅前述当选择的文件包括文本时的显示方式,此处不再赘述。
为便于理解,下面示例性地,对选中文件的情况进行举例说明。
首先,在电子设备的B面中显示的窗口可以如图21所示,其中显示了图像和多种文本。
例如,可以选中其中的数值,若该数值前携带货币符号,则可以对该数值进行汇率换算,如图22所示,然后生成卡片并在C面中显示汇率换算后的结果。如当显示窗口中显示的货币类型为用户不常用的货币类型时,可以通过按压或者滑动来选中数值,用户可以选择换算后的货币种类,从而可以将选中的数值换算为用户需求的货币种类,提高用户体验。
又例如,如图23所示,当用户选中了显示窗口中的图像之后,可以对显示的图像进行搜索,得到多帧相关图像,并在C面中显示搜索得到的多帧相关图像。如当用户选购商品时,若打开某一个商品链接,并选中其中一帧图像,则可以基于该图像进行搜索,搜索得到类似的商品图像,并在C面中展示,用户可以对C面中展示的商品进行选择,从而打开选择的商品链接,使用户可以快速找到需求的商品,提高用户体验。
还例如,如图24所示,用户可以通过B面浏览图像,当用户对其中一帧图像感兴趣时,可以通过触摸或者鼠标等输入方式选中该图像,当检测到用户选中图像的操作之后,可以对该图像进行识别,如图24中,识别出图像中包括的目标为“狗”,且具体的类型为“雪纳瑞”,则可以在C面的窗口中展示识别结果,从而实现对用户选中的图像进行快速响应,提高用户体验。
可以直接在B面的显示窗口中选择文本,也可以从选中的图像中识别得到文本。例如,如图25所示,B面中可以显示文档,用户可以通过触摸或者鼠标选中的方式来选择其中的一段文本。在检测到用户的文本选中操作之后,可以对选中的文本进行翻译,得到翻译后的文本,并在C面中显示。具体的翻译语种可以由用户选择,也可以是预先设定常用的翻译语种,当检测到用户选中了文本之后,即可进行翻译,或者在用户触发了翻译操作之后,即可对选中的文本进行翻译。
例如,可以在B面中显示文本,用户可以通过触摸或者鼠标选中的方式来选择其中的一段文本。在检测到用户的文本选中操作之后,可以对用户选中的文本进行搜索,并在C面中展示搜索结果,从而可以及时对用户选中的文本进行搜索,且不改变B面显示的内容,提高用户体验。
还例如,如图26所示,可以在B面中显示文本,用户可以通过触摸或者鼠标选中的方式来选择其中的一段文本。在检测到用户的文本选中操作之后,可以搜索与文本对应的排版格式,并在C面中展示。用户可以在C面中选择需求的排版格式,并使用用户选择的排版格式对B面中选中的文本进行排版。因此,在用户要对文本进行排版的场景中,可以快速搜索得到需求的排版格式,提高用户体验。
4、播放操作
其中,用户可以选择对电子设备中的多种数据进行播放操作,如视频、音频或者幻灯片。在播放过程中可以获取与当前播放画面相关的数据,并在C面中展示对应的窗口。如对播放的图像进行搜索,并在C面中显示搜索结果;或者在播放幻灯片时,可以在C面中显示当前播放的画面对应的批注信息。从而使用户在B面中全屏播放视频、音频或者幻灯片时,也可以通过C面获知相关信息,提高用户体验。
例如,如图27所示,当用户在播放视频时,若需要隐藏B面中的视频窗口,则可以选择在C面中播放该视频,从而使用户在观看视频时,可以在B面中展示其他窗口,提高用户体验。或者,如图28所示,当用户播放音乐时,用户可以选择最小化操作,即隐藏B面播放的音乐窗口,此时可以在C面继续播放该音乐,用户可以在C面的播放窗口中选择快进、后退或者暂停播放等操作。
又例如,如图29所示,当用户通过点击或者触摸选择播放幻灯片时,某一张幻灯片中用户添加了批注信息,而在播放幻灯片时,B面不显示批注信息,则可以在C面中显示该批注信息。因此即使在用户使用B面全屏播放幻灯片时,也可以通过C面来观察到批注信息,提高用户体验。
5、手势操作
其中,可以通过多种方式来采集用户的手势,如通过雷达、摄像头或者红外线等方式来采集用户的手势操作,在检测到用户的手势为预设手势时,可以基于B面显示的数据生成C面显示的数据,并在C面中显示该数据。
具体可以预先设置多种手势,如拖动窗口的手势、关闭窗口的手势、最小化窗口的手势、播放的手势或者文件选中手势等,从而使用户可以通过手势来进行控制,无需接触电子设备,提高用户体验。其中,生成C面的显示数据的方式可以参阅前述拖动操作、关闭操作、最小化操作、文件选中操作或者播放操作的生成方式,此处不再赘述。
例如,如图30所示,当B面中展示某一帧图像时,用户可以进行手势操作。在采集到用户的手势并进行识别之后,判断手势是否为预先设定的手势,若手势为预先设定的手势,如拖动窗口的手势,则可以响应该手势,将B面显示的数据转移至C面中显示。
因此,本申请实施方式中,用户可以通过手势操作,即可将B面显示的窗口切换至C面显示,提高用户的操控体验。
6、折叠操作
其中,本申请提供的电子设备可能具有多个显示屏,以两个显示屏为例,该两个显示屏之间可以不固定连接,因此可以对电子设备进行折叠操作。当检测到用户的折叠操作时,即可基于B面显示的数据生成C面显示的数据,或者将B面显示的数据作为C面显示的数据等。
例如,该电子设备可以是可折叠的平板,当用户需要折叠平板时,可以将两个显示屏折叠为任意角度。如图31所示,当用户折叠平板时,C面朝向用户,此时可以将C面作为主屏进行显示,此时可以将B面显示的内容切换至C面进行显示,因此即使电子设备处于不同形态,也可以及时对形态切换进行响应,使用户可以查看到主屏显示的内容,提高用户体验。
具体例如,一些常用的设备仅支持两种视窗管理模式,如键鼠视窗系统和平板视窗系统。本申请为了提高用户体验,提供了卡片视窗,随着多屏设备的形态和使用场景变化,视窗系统也应随之变化,可以通过设备里的传感器来感知设备的状态,来推断此时的使用场景,并推荐最合适的视窗系统。该传感器可以包括但不限于角度传感器、IMU传感器、磁力传感器等。
示例性地,设备的形态与B面或C面的显示方式之间的关系可以如表1所示。
Figure PCTCN2022130491-appb-000003
Figure PCTCN2022130491-appb-000004
表1
其中,当设备呈L型放置在桌面上(如笔记本打开形态),且C面有软键盘显示,可以将B面设置为键鼠视窗模式,C面设置为卡片视窗模式,即B面显示键盘,C面显示卡片窗口。但当用户将软键盘收起时,模式会判断用户希望在C面全屏使用该应用视窗,可以将C面设置为平板视窗模式。
当用户将设备呈180°展开,水平放置在桌面上,且没有显示额外软键盘时,可以理解为用户希望将其当作一个整体的平板使用,如绘画、双人游戏等使用场景。可以将B面和C面都设置为平板视窗模式。
当用户将设备呈180°展开,竖直放置在支架上,且没有显示额外软键盘时,可以理解为用户可能是要使用外接的物理键盘和鼠标作为输入,将该设备用作一个整体的显示器使用。模式便会将B面和C面都设置为键鼠视窗模式。
而当用户将设备继续翻折,将其立在桌面上呈帐篷形态,且没有显示额外软键盘时,可以理解为用户可能是要给对面的人做展示,于是将B和C面都设置为平板视窗模式。
7、终端交互
该终端可以包括手环、手机、平板或智慧大屏等终端,终端可以与电子设备建立有线或者无线连接,并通过该有线或者无线连接进行通信。
其中,电子设备可以接收终端发送的信息,可以包括终端的显示界面、终端接收到的信息或者终端向电子设备发送的通知信息等,可以在C面生成显示终端发送的信息的窗口。
如可以预先设置应用程序列表,其中包括了一种或者多种终端中安装的应用程序的信息,当终端启动该应用程序列表中的应用程序时,可以将该应用程序的相关信息发送给电子设备,从而在C面中显示接收到的信息。
具体地,与终端交互的场景可以分为多种情况,如将终端上的界面传输至电子设备,使用户可以通过电子设备对终端进行控制,或者终端向电子设备发送多种提醒消息等,下面示例性地对一些可能的场景进行举例介绍。
场景一、终端共享界面
终端可以将自身的全部或者部分显示界面的信息传输给电子设备,从而在B面或C面中实时显示终端的显示界面,从而使用户无需操作终端,即可通过B面或C面来实现对终端的控制,可以提高用户体验。
例如,如图32所示,可以将终端当前的界面传输至电子设备,并在C面中显示,用户 可以通过在C面的显示窗口中进行操作,电子设备可以将操作指令传输至终端,使终端进行相应的反馈。如图33所示,用户可以在C面中打开终端的某个聊天软件,并通过该界面进行输入并发送消息。因此,用户无需操作终端,仅需操作电子设备即可实现对终端的控制,即无需打开多个设备,可以通过电子设备实现对多个设备的操控,提高用户体验。
此外,在一些场景中,如终端熄屏时,可以将终端熄屏前运行的应用程序的界面投屏至电子设备;或者,可以预先设置应用列表,若终端熄屏前运行的应用程序为该应用列表中的应用程序,则可以将终端熄屏前运行的应用程序的界面投屏至电子设备中。
在一些场景中,可以通过预先设定的操作,将终端上运行的应用程序的界面投屏至电子设备中,如当终端和电子设备触碰时,即可将终端上运行的应用程序的界面投屏至电子设备的B面或者C面中。
场景二、终端向电子设备发送消息
终端可以向电子设备发送多种消息,如终端接收到的消息,或终端生成的提醒消息等。
例如,终端可以向电子设备发送接收到的消息,例如,当用户正在本设备的B面应用上注册一个新账号,注册要求手机验证码登录,而短信信息只能由手机收到,但却需要输入在本设备当中,或者用户可以使用电子设备的B面打开网页,在登录网站时,通常网站对应的应用服务器向用户的手机发送验证消息,以验证登录用户的身份,当终端在接收到应用服务器发送的验证消息时,即可将该验证消息发送给电子设备,电子设备可以在C面显示该验证消息,如图34所示,以使用户可以通过C面即可观察得到验证码,无需打开手机,提高用户体验。
又例如,针对终端自身产生的消息,如当用户用手机在外卖平台上点完餐后,继续使用电子设备处理工作,将手机放在一旁并未使用。此时为了避免错过外卖消息,手机可以将外卖软件产生的信息发送给电子设备,从而在电子设备的B面或者C面显示外卖进展或者宋大叔通知等,如图35所示,即可在B面后者C面中显示外卖预测送达时间,以及商家或者外卖员联系方式等。
场景三、切换终端信息
其中,电子设备可以和多个终端建立连接,当电子设备接收到多个终端发送的信息时,可以对该多个终端的信息进行折叠,用户可以手动选择切换卡片,或者当某个终端发送消息时,将卡片窗口切换为实时接收到的消息等。
示例性地,如图36所示,当电子设备和多个终端连接时,可以在卡片窗口中显示其中一个设备的一个或者多个消息,当用户需要切换查看其他终端的信息时,可以选择切换控件,从而将窗口切换为显示其他终端的信息。
具体地,在确定将电子设备与终端交互的信息显示在B面或者C面时,可以通过电子设备当前的运行状态来确定。如当电子设备处于预设状态时,即可将在C面中显示与终端交互的信息。如当电子设备当前正在全屏播放视频、使用学习软件或者设置为免打扰状态等,则当接收到终端的信息时,可以在C面显示接收到的信息。
此外,也可以由用户来选择在B面或者C面来显示接收到的信息。如用户可以预先设置某个终端的信息的展示位置。
前述对电子设备的C面显示的内容进行了介绍,此外,针对C面显示的窗口,包括前述的常驻窗口和动态窗口,可以进行调整,如可以调整窗口的大小、位置、显示方式或者调整至B面显示等。
一些场景中,若C面中显示的窗口超过可显示数量,可以在C面中显示部分窗口,隐藏部分窗口,当用户需要查看隐藏部分窗口时,可以通过滑动窗口的操作来滑动显示C面的窗口。例如,如图37所示,用户可以左右滑动以查看左右两侧隐藏的窗口,以用户向左滑动为例,左侧无隐藏窗口因此右滑无隐藏窗口显示,用户可以向左滑动,以查看左侧隐藏的窗口,当滑动出最左侧的窗口5之后,即最后一个窗口,则左滑无隐藏窗口显示,并且隐藏窗口1和窗口2,用户可以右滑继续显示窗口1和窗口2。
一些场景中,用户可以通过拖动窗口来调整窗口的位置。例如,如图38所示,用户可以调整各个窗口的位置,如可以拖动C面中的2号窗口,将光标释放的位置作为2号窗口的显示位置,调整前窗口2处于窗口1和窗口3之间,调整后窗口2处于窗口3和窗口4之间。
具体例如,如图39所示,用户可以长按卡片视窗(即窗口),然后进入视窗编辑状态,然后拖动视窗,在空隙处松开手指,即可固定视窗。
一些场景中,用户可以拖动窗口来合并窗口。例如,如图40所示,用户可以长按卡片视窗,然后进入视窗编辑状态,用户可以选中某个窗口,然后将该窗口拖动至其他窗口之上,即可合并这两个窗口。
一些场景中,用户可以通过选中窗口来调整窗口的大小。如用户可以通过双指缩放来调整或者通过选中窗口上的控件来选择调整窗口的大小。若扩大后的窗口尺寸超过C面的显示区域,且C面还显示了虚拟键盘,则可以调整虚拟键盘的大小,或者关闭虚拟键盘,从而可以扩大窗口显示区域,提高用户体验。
例如,用户还可以通过手势直接改变卡片型视窗的大小,该手势可能会结合压力信息。比如,用户可以重按某个视窗,使其在C面显示区半屏最大化。如果该设备是双屏或折叠屏,C面的一般区域是软键盘,那该视窗的大小可能还跟C面的软键盘显示面积有关。当用户将软键盘收起时,该视窗也会自适应的变大,变成C面显示区全屏显示。如图41所示,可以重按卡片视窗,然后下拉视窗收起虚拟键盘,即可将视窗撑满全屏,即在C面全屏显示视窗。
又例如,如图42所示,可以重按C面中的某个视窗,此时可以收起虚拟键盘,即可将视窗撑满全屏,即在C面全屏显示视窗。
此外,C面中的窗口也可以在B面中显示。具体地,可以通过鼠标点击或者触摸操作将C面的窗口切换至B面中。例如,如图43所示,用户可以通过在C面中显示的窗口进行三指上滑操作,将C面显示的窗口切换至B面显示。通常,C面中显示的窗口为简略窗口,对部分控件进行缩小或者删除了部分控件,当C面中的窗口切换至B面显示时,则可以对窗口进行恢复,显示包括了更多控件的窗口。
此外,还可以根据用户的一些已有操作来为用户推荐卡片视窗。如用户多次使用的某些场景下,可以根据用户的持续行为或多次操作来推荐相应功能视窗。例如,如图44所示,当用户正在B面进行视频会议,途中多次对会议内容进行截图保存。会议结束后用户就极有可能要对所保存的截图进行整理。本申请可以在用户多次截屏后,在C面先推送“已整理会议时的多张截图”的消息通知视窗。当用户会议结束后,用户就可以点击该视窗打开截图所在的文件夹。
此外,针对电子设备与终端交互的场景,若电子设备被配置了一个显示器,则可以通过该一个显示屏与终端进行交互,在显示屏中显示终端发送的信息。参阅图45,本申请提供的另一种界面显示方法的流程示意图,如下所述。
4501、向服务器发送请求消息。
其中,电子设备、服务器和终端之间互相建立连接,用户互相传输数据,电子设备可以向服务器发送请求消息,可以用于请求服务器向终端发送第一信息。
具体地,电子设备可以与服务器建立通信连接,该通信连接可以包括有线连接、无线连接或者有线连接与无线连接的组合等。服务器与终端建立连接,服务器可以向终端发送信息。
服务器可以向电子设备和终端提供相应的服务,如服务器可以由某个运营商提供,用于挺针对用户的业务,用户可以使用电子设备进行服务器提供的业务,也可以使用终端进行服务器提供的业务。通常用户可以使用终端作为用户身份认证的设备,如用户可以使用手机作为某个业务的登录凭证,当用户需要使用电子设备进行服务器提供的业务时,若需要进行身份验证,则可以请求服务器向终端发送验证消息。
4502、接收终端发送的第二信息。
服务器在向终端发送第一信息之后,终端即可向电子设备发送第二信息,该第二信息可以包括第一信息中的全部或者部分内容。
例如,若终端接收到来自服务器的验证消息,该验证消息中可以包括验证电子设备身份的验证码,终端可以向终端设备直接转发该验证消息,也可以将验证消息中携带的验证码发送给电子设备。
4503、通过第一显示屏显示第二信息。
电子设备在接收到终端发送的信息之后,即可在第一显示屏中显示该第二信息。
例如,如图46所示,可以在电子设备的B面显示屏中显示终端发送的验证消息,其中携带验证码,用户可以直接选择该消息卡片中的复制控件来复制验证码,并在需要验证的进程中输入该验证码,完成针对电子设备的身份验证。
因此,本申请实施方式中,用户无需打开终端,即可从得到终端接收到的信息,减少了用户的操作流程,提高了用户体验。
在一种可能的实施方式中,与前述具有多个显示屏类似地,当若检测到第四终端处于熄屏状态,则通过第一显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,若第二信息包括第四终端中的第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第一显示屏显示第二信息;或者,若检测到第四终端处于熄屏 状态,且第二信息包括第二应用产生的信息,则通过第一显示屏显示第二信息。
因此,本申请实施方式中,当终端熄屏时,可以将终端中的信息发送至电子设备,从而使用户无需操作终端,也可以在电子设备中观察到终端的信息或者更方便地对终端进行操控,提高了用户对各个电子设备的操控体验。
前述对本申请提供的界面显示方法以及GUI进行介绍,下面对本申请提供的界面显示装置进行介绍,该界面显示装置可以用于执行前述方法的步骤。
参阅图47,本申请提供的一种界面显示装置的结构示意图,应用于电子设备,电子设备包括第一显示屏和第二显示屏,第一显示屏和第二显示屏电连接,装置包括:
生成模块4701,用于响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,第一显示数据为第一显示屏中显示窗口中显示的数据,第二显示数据包括第一显示数据中被选中的控件对应的数据,且第二显示数据少于第一显示数据;
显示模块4702,用于通过第二显示屏显示第二显示数据对应的窗口。
在一种可能的实施方式中,显示模块4702,还用于若第二显示屏中包括多个显示窗口,响应于针对多个显示窗口的滑动操作,在第二显示屏中根据滑动操作从多个显示窗口筛选出预设数量的窗口进行显示,且多个显示窗口在第二显示屏中不重叠。
在一种可能的实施方式中,针对第一显示数据对应的显示窗口的操作包括在第一显示屏中进行的以下至少一项操作:
拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
其中,拖动操作包括选中显示窗口后移动显示窗口的操作,关闭操作为关闭显示窗口的操作,最小化操作为隐藏显示窗口的操作,控件选中为选择显示窗口中的控件的操作,文件选中为选择显示窗口中显示的文件的操作,播放操作为播放显示窗口中显示的数据的操作,手势操作为针对显示窗口进行控制的手势形成的操作,折叠操作为调整第一显示屏和第二显示屏之间的夹角。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括拖动操作,显示模块4702,还用于:将第一显示数据中的至少一种作为第二显示数据;
显示模块4702,还用于根据光标释放的位置确定第二显示数据的显示窗口在第二显示屏中的位置。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,显示模块4702,具体用于对第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除第一显示数据中的至少一种数据,得到第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的文本,显示模块4702,具体用于:将选中的文本作为第二显示数据;或者,对选中的文本进行翻译,基于翻译结果得到第二显示数据;或者,基于选中的文本进行搜索,基于搜索结果得到第二显示数据;或者,对选中的文本进行排列,或者获取与选中的文本对应的排列格式,得到第二显示数据;或者,若选中的文本包括数值,则对数值进行汇率换算,得到第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括文件选中,且选择了显示窗口中的图像,显示模块4702,具体用于:将选中的图像作为第二显示数据;或者,搜索与选中的图像的相关图像,基于相关图像得到第二显示数据;或者,对选中的图像进行目标检测,得到第二显示数据;或者,对选中的图像进行文本识别,基于识别的文本得到第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括播放操作,显示模块4702,具体用于:从第一显示数据中获取与第一显示屏中播放的画面相关的数据,得到第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括手势操作,生成模块4701,具体用于若检测到手势操作的手势为预设手势,则将第一显示数据中的至少一种作为第二显示数据。
在一种可能的实施方式中,若针对第一显示数据对应的显示窗口的操作包括折叠操作,且第一显示屏和第二显示屏之间的夹角在预设范围内,生成模块4701,具体用于:将第一显示数据作为第二显示数据。
在一种可能的实施方式中,显示模块4702,具体用于:若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过第二显示屏显示第二显示数据对应的窗口。
在一种可能的实施方式中,第二显示屏中第一窗口包括第三显示数据,第三显示数据包括应用程序的界面,显示模块4702,还用于:响应于针对所应用程序的界面中的控件的点击操作,获取与点击操作所点击的控件对应的第四显示数据,并将第一窗口对应的区域中显示的第三显示数据替换为第四显示数据,第一窗口为第二显示屏中显示的任意一个窗口。
在一种可能的实施方式中,第二显示屏中的预设区域包括显示的至少一个预设窗口,至少一个预设窗口用于显示日历、天气信息、行程记录、备忘录或者笔记中的至少一项。
在一种可能的实施方式中,显示模块4702,还用于:若检测到针对第二显示屏中显示的第五显示数据的拖动操作,则将第二显示屏中光标释放的位置对应的区域作为第五显示数据的显示区域。
在一种可能的实施方式中,显示模块4702,还用于:获取至少一个终端发送的信息,并通过第二显示屏显示至少一个终端发送的信息。
在一种可能的实施方式中,至少一个终端发送的信息包括与第一显示数据对应的应用程序相关的数据。
在一种可能的实施方式中,第二显示屏中包括至少一个不重叠排列的预设大小的窗口,显示模块4702,还用于:在至少一个不重叠排列的预设大小的窗口中显示至少一个终端发送的信息。
在一种可能的实施方式中,显示模块4702,还用于:获取多个终端发送的信息,多个终端包括第一终端和第二终端;通过第二显示屏中的第二窗口显示第一终端发送的信息;在获取到针对第二窗口的切换操作时,在第二窗口中显示第二终端发送的信息。
在一种可能的实施方式中,显示模块4702,还用于:向服务器发送请求消息,以指示服务器向第三终端发送验证消息,第三终端至少一个终端中的任意一个;接收第三终端发送的信息,第三终端发送的信息中包括验证消息。
在一种可能的实施方式中,显示模块4702,还用于:若检测到第四终端处于熄屏状态,则通过第二显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,若第四终端发送的信息包括第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第二显示屏显示第四终端发送的信息;或者,若检测到第四终端处于熄屏状态,且第四终端发送的信息包括第一应用产生的信息,则通过第二显示屏显示第四终端发送的信息。
在一种可能的实施方式中,显示模块4702,还用于:获取第二显示屏中的第六显示数据;若检测到针对第六显示数据对应的窗口的拖动操作,则根据第六显示数据生成第七显示数据,并通过第一显示屏显示第七显示数据。
在一种可能的实施方式中,显示模块4702,还用于:获取预设时段内第一显示屏中显示的历史数据;根据历史数据生成提示数据;通过第二显示屏显示提示数据,提示数据用对历史数据中产生的事件进行提示。
在一种可能的实施方式中,第二显示屏中还包括键盘窗口,键盘窗口用于显示虚拟键盘。
在一种可能的实施方式中,显示模块4702,还用于:若检测到针对第二窗口的扩大窗口的操作,第二窗口是第二显示屏中显示的任意一个窗口,则关闭键盘窗口,或者,缩小键盘窗口的大小,以使第二显示屏中显示的扩大后的第二窗口和缩小后的键盘窗口不重叠。
参阅图48,本申请提供的另一种界面显示装置的结构示意图,应用于电子设备,电子设备包括第一显示屏,包括:
收发模块4801,用于向服务器发送请求消息,请求消息用于请求服务器向终端发送第一信息;
收发模块4801,还用于接收终端发送的第二信息,第二信息中包括第一信息;
显示模块4802,用于通过第一显示屏显示第二信息。
在一种可能的实施方式中,显示模块4802,具体用于:
若检测到终端处于熄屏状态,则通过第一显示屏显示第四终端发送的信息,第四终端是至少一个终端中的任意一个;或者,
若第二信息包括终端中的第一应用产生的信息,第一应用为预设列表中包括的应用程序,则通过第一显示屏显示第二信息;或者,
若检测到终端处于熄屏状态,且第二信息包括第二应用产生的信息,则通过第一显示屏显示终端发送的信息。
请参阅图49,本申请提供的另一种界面显示装置的结构示意图,如下所述。
该界面显示装置可以包括处理器4901和存储器4902。该处理器4901和存储器4902通过线路互联。其中,存储器4902中存储有程序指令和数据。
存储器4902中存储了前述图5-图46中的步骤对应的程序指令以及数据。
处理器4901用于执行前述图5-图46中任一实施例所示的界面显示装置执行的方法步骤。
可选地,该界面显示装置还可以包括收发器4903,用于接收或者发送数据。
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有用于生成车辆行驶速度的程序,当其在计算机上行驶时,使得计算机执行如前述图5-图46所示实施例描述的方法中的步骤。
可选地,前述的图49中所示的界面显示装置为芯片。
本申请实施例提供的电子设备可以为芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使服务器内的芯片执行上述图5-图46所示实施例描述的界面显示方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
具体地,前述的处理单元或者处理器可以是中央处理器(central processing unit,CPU)、网络处理器(neural-network processing unit,NPU)、图形处理器(graphics processing unit,GPU)、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)或现场可编程逻辑门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者也可以是任何常规的处理器等。
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述图5-图46的方法的程序执行的集成电路。
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存 储器(random access memory,RAM)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
最后应说明的是:以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (26)

  1. 一种界面显示方法,其特征在于,应用于电子设备,所述电子设备包括第一显示屏和第二显示屏,所述第一显示屏和所述第二显示屏电连接,所述方法包括:
    响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,所述第一显示数据为所述第一显示屏中显示窗口中显示的数据,所述第二显示数据包括所述第一显示数据中被选中的控件对应的数据,且所述第二显示数据少于所述第一显示数据;
    通过所述第二显示屏显示所述第二显示数据对应的窗口。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述第二显示屏中包括多个显示窗口,响应于针对所述多个显示窗口的滑动操作,在所述第二显示屏中根据所述滑动操作从所述多个显示窗口筛选出预设数量的窗口进行显示,且所述多个显示窗口在所述第二显示屏中不重叠。
  3. 根据权利要求1或2所述的方法,其特征在于,
    所述针对所述第一显示数据对应的所述显示窗口的操作包括在所述第一显示屏中进行的以下至少一项操作:
    拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
    其中,所述拖动操作包括选中所述显示窗口后移动所述显示窗口的操作,所述关闭操作为关闭所述显示窗口的操作,所述最小化操作为隐藏所述显示窗口的操作,所述控件选中为选择所述显示窗口中的控件的操作,所述文件选中为选择所述显示窗口中显示的文件的操作,所述播放操作为播放所述显示窗口中显示的数据的操作,所述手势操作为针对所述显示窗口进行控制的手势形成的操作,所述折叠操作为调整所述第一显示屏和所述第二显示屏之间的夹角。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括拖动操作,所述根据所述第一显示数据确定第二显示数据,包括:
    将所述第一显示数据中的至少一种作为所述第二显示数据;
    所述通过所述第二显示屏显示所述第二显示数据对应的窗口,包括:
    根据光标释放的位置确定所述第二显示数据的显示窗口在所述第二显示屏中的位置。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括关闭操作或者最小化操作,所述根据所述第一显示数据确定第二显示数据,包括:
    对所述第一显示数据中的至少一种数据进行放大或者缩小,和/或,删除所述第一显示数据中的至少一种数据,得到所述第二显示数据。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的文本,所述根据所述第一显示数据确定第二显示数据,包括:
    将选中的文本作为所述第二显示数据;或者,
    对所述选中的文本进行翻译,基于翻译结果得到所述第二显示数据;或者,
    基于所述选中的文本进行搜索,基于搜索结果得到所述第二显示数据;或者,
    对所述选中的文本进行排列,或者获取与所述选中的文本对应的排列格式,得到所述第二显示数据;或者,
    若所述选中的文本包括数值,则对所述数值进行汇率换算,得到所述第二显示数据。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,
    若所述针对所述第一显示数据对应的显示窗口的操作包括文件选中,且选择了所述显示窗口中的图像,所述根据所述第一显示数据确定第二显示数据,包括:
    将选中的图像作为所述第二显示数据;或者,
    搜索与所述选中的图像的相关图像,基于所述相关图像得到所述第二显示数据;或者,
    对所述选中的图像进行目标检测,得到所述第二显示数据;或者,
    对所述选中的图像进行文本识别,基于识别的文本得到所述第二显示数据。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括播放操作,所述根据所述第一显示数据确定第二显示数据,包括:
    从所述第一显示数据中获取与所述第一显示屏中播放的画面相关的数据,得到所述第二显示数据。
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括手势操作,所述根据所述第一显示数据确定第二显示数据,包括:
    若检测到手势操作的手势为预设手势,则将所述第一显示数据中的至少一种作为所述第二显示数据。
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,
    若针对所述第一显示数据对应的显示窗口的操作包括折叠操作,且所述第一显示屏和所述第二显示屏之间的夹角在预设范围内,所述根据所述第一显示数据确定第二显示数据,包括:
    将所述第一显示数据作为所述第二显示数据。
  11. 根据权利要求1-10中任一项所述的方法,其特征在于,所述通过所述第二显示屏 显示所述第二显示数据对应的窗口,包括:
    若检测到正在运行的应用程序为预设列表中的应用程序,或者,若检测到处于预设模式,则通过所述第二显示屏显示所述第二显示数据对应的窗口。
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,所述方法还包括:
    获取至少一个终端发送的信息,并通过所述第二显示屏显示所述至少一个终端发送的信息。
  13. 根据权利要求12所述的方法,其特征在于,所述获取至少一个终端发送的信息,包括:
    获取多个终端发送的信息,所述多个终端包括第一终端和第二终端;
    所述通过所述第二显示屏显示所述至少一个终端发送的信息,包括:
    通过所述第二显示屏中的第二窗口显示第一终端发送的信息;
    响应于针对所述第二窗口的切换操作,在所述第二窗口中显示所述第二终端发送的信息。
  14. 根据权利要求12或13所述的方法,其特征在于,所述通过所述第二显示屏显示所述至少一个终端发送的信息,包括:
    若检测到第四终端处于熄屏状态,则通过所述第二显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
    若所述第四终端发送的信息包括第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第二显示屏显示所述第四终端发送的信息;或者,
    所述若检测到第四终端处于熄屏状态,且所述第四终端发送的信息包括所述第一应用产生的信息,则通过所述第二显示屏显示所述第四终端发送的信息。
  15. 一种界面显示方法,应用于电子设备,所述电子设备包括第一显示屏,其特征在于,包括:
    向服务器发送请求消息,所述请求消息用于请求所述服务器向终端发送第一信息;
    接收所述终端发送的第二信息,所述第二信息中包括所述第一信息;
    通过所述第一显示屏显示所述第二信息。
  16. 根据权利要求15所述的方法,其特征在于,所述通过所述第一显示屏显示所述第二信息,包括:
    若检测到所述终端处于熄屏状态,则通过所述第一显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
    若所述第二信息包括所述终端中的第一应用产生的信息,所述第一应用为预设列表中 包括的应用程序,则通过所述第一显示屏显示所述第二信息;或者,
    所述若检测到所述终端处于熄屏状态,且所述第二信息包括所述第二应用产生的信息,则通过所述第一显示屏显示所述终端发送的信息。
  17. 一种电子设备,所述电子设备包括第一显示屏、第二显示屏、存储器、一个或多个处理器,所述存储器中存储有应用程序的图形用户界面的代码,所述一个或多个处理器用于执行存储在所述存储器中的所述图形用户界面(GUI)的代码,以在所述第一显示屏或者第二显示屏中显示所述图形用户界面,其特征在于,所述图形用户界面包括:
    响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,所述第一显示数据为所述第一显示屏中显示窗口中显示的数据,所述第二显示数据包括所述第一显示数据中被选中的控件对应的数据,且所述第二显示数据少于所述第一显示数据;
    通过所述第二显示屏显示所述第二显示数据对应的窗口。
  18. 根据权利要求17所述的电子设备,其特征在于,所述图形用户界面还包括:
    若所述第二显示屏中包括多个显示窗口,响应于针对所述多个显示窗口的滑动操作,在所述第二显示屏中根据所述滑动操作从所述多个显示窗口筛选出预设数量的窗口进行显示,且所述多个显示窗口在所述第二显示屏中不重叠。
  19. 一种界面显示装置,应用于电子设备,所述电子设备包括第一显示屏和第二显示屏,所述第一显示屏和所述第二显示屏电连接,所述装置包括:
    生成模块,用于响应于针对第一显示屏中显示窗口的操作,根据第一显示数据确定第二显示数据,所述第一显示数据为所述第一显示屏中显示窗口中显示的数据,所述第二显示数据包括所述第一显示数据中被选中的控件对应的数据,且所述第二显示数据少于所述第一显示数据;
    显示模块,用于通过所述第二显示屏显示所述第二显示数据对应的窗口。
  20. 根据权利要求19所述的装置,其特征在于,
    所述显示模块,还用于若所述第二显示屏中包括多个显示窗口,响应于针对所述多个显示窗口的滑动操作,在所述第二显示屏中根据所述滑动操作从所述多个显示窗口筛选出预设数量的窗口进行显示,且所述多个显示窗口在所述第二显示屏中不重叠。
  21. 根据权利要求20所述的装置,其特征在于,所述针对所述第一显示数据对应的所述显示窗口的操作包括在所述第一显示屏中进行的以下至少一项操作:
    拖动操作、关闭操作、最小化操作、控件选中、文件选中、播放操作、手势操作或者折叠操作;
    其中,所述拖动操作包括选中所述显示窗口后移动所述显示窗口的操作,所述关闭操作为关闭所述显示窗口的操作,所述最小化操作为隐藏所述显示窗口的操作,所述控件选中为选择所述显示窗口中的控件的操作,所述文件选中为选择所述显示窗口中显示的文件的操作,所述播放操作为播放所述显示窗口中显示的数据的操作,所述手势操作为针对所述显示窗口进行控制的手势形成的操作,所述折叠操作为调整所述第一显示屏和所述第二 显示屏之间的夹角。
  22. 一种界面显示装置,应用于电子设备,所述电子设备包括第一显示屏,其特征在于,包括:
    收发模块,用于向服务器发送请求消息,所述请求消息用于请求所述服务器向终端发送第一信息;
    所述收发模块,还用于接收所述终端发送的第二信息,所述第二信息中包括所述第一信息;
    显示模块,用于通过所述第一显示屏显示所述第二信息。
  23. 根据权利要求22所述的装置,其特征在于,所述通过所述第一显示屏显示所述第二信息,包括:
    若检测到所述终端处于熄屏状态,则通过所述第一显示屏显示所述第四终端发送的信息,所述第四终端是所述至少一个终端中的任意一个;或者,
    若所述第二信息包括所述终端中的第一应用产生的信息,所述第一应用为预设列表中包括的应用程序,则通过所述第一显示屏显示所述第二信息;或者,
    所述若检测到所述终端处于熄屏状态,且所述第二信息包括所述第二应用产生的信息,则通过所述第一显示屏显示所述终端发送的信息。
  24. 一种计算机可读存储介质,包括程序,当其被处理单元所执行时,执行如权利要求1至16中任一项所述的方法。
  25. 一种计算机程序产品,包括计算机程序/指令,其特征在于,所述计算机程序/指令被处理器执行时实现如权利要求1至16中任一项所述方法的步骤。
  26. 一种芯片,其特征在于,所述芯片包括处理单元和通信接口,所述处理单元通过所述通信接口获取程序指令,程序指令被所述处理单元执行,所述处理单元用于执行如权利要求1至16中任一项所述方法的步骤。
PCT/CN2022/130491 2021-11-30 2022-11-08 一种界面显示方法以及装置 WO2023098417A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280007445.5A CN116802600A (zh) 2021-11-30 2022-11-08 一种界面显示方法以及装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111453343.XA CN116204143A (zh) 2021-11-30 2021-11-30 一种界面显示方法以及装置
CN202111453343.X 2021-11-30

Publications (1)

Publication Number Publication Date
WO2023098417A1 true WO2023098417A1 (zh) 2023-06-08

Family

ID=86511735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/130491 WO2023098417A1 (zh) 2021-11-30 2022-11-08 一种界面显示方法以及装置

Country Status (2)

Country Link
CN (2) CN116204143A (zh)
WO (1) WO2023098417A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140050909A (ko) * 2012-10-22 2014-04-30 주식회사 잉카인터넷 이동통신기기를 이용한 로그인 인증 시스템 및 방법
CN104469714A (zh) * 2014-11-28 2015-03-25 小米科技有限责任公司 短信发送方法及装置
CN108323197A (zh) * 2016-12-27 2018-07-24 华为技术有限公司 一种多屏显示的方法和设备
US20180234723A1 (en) * 2015-08-26 2018-08-16 Lg Electronics Inc. Digital device and method of processing data in said digital device
CN110045939A (zh) * 2019-04-18 2019-07-23 维沃移动通信有限公司 一种多屏控制方法及终端
CN110225040A (zh) * 2019-06-14 2019-09-10 维沃移动通信有限公司 一种信息处理方法、终端设备及服务器
CN113497835A (zh) * 2020-04-01 2021-10-12 华为技术有限公司 多屏交互方法、电子设备及计算机可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140050909A (ko) * 2012-10-22 2014-04-30 주식회사 잉카인터넷 이동통신기기를 이용한 로그인 인증 시스템 및 방법
CN104469714A (zh) * 2014-11-28 2015-03-25 小米科技有限责任公司 短信发送方法及装置
US20180234723A1 (en) * 2015-08-26 2018-08-16 Lg Electronics Inc. Digital device and method of processing data in said digital device
CN108323197A (zh) * 2016-12-27 2018-07-24 华为技术有限公司 一种多屏显示的方法和设备
CN110045939A (zh) * 2019-04-18 2019-07-23 维沃移动通信有限公司 一种多屏控制方法及终端
CN110225040A (zh) * 2019-06-14 2019-09-10 维沃移动通信有限公司 一种信息处理方法、终端设备及服务器
CN113497835A (zh) * 2020-04-01 2021-10-12 华为技术有限公司 多屏交互方法、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN116802600A (zh) 2023-09-22
CN116204143A (zh) 2023-06-02

Similar Documents

Publication Publication Date Title
WO2021013158A1 (zh) 显示方法及相关装置
WO2021129326A1 (zh) 一种屏幕显示方法及电子设备
WO2020238774A1 (zh) 一种通知消息的预览方法及电子设备
WO2021103981A1 (zh) 分屏显示的处理方法、装置及电子设备
EP4432064A2 (en) Screen capture method and related device
WO2020052529A1 (zh) 全屏显示视频中快速调出小窗口的方法、图形用户接口及终端
WO2021036571A1 (zh) 一种桌面的编辑方法及电子设备
WO2020062294A1 (zh) 系统导航栏的显示控制方法、图形用户界面及电子设备
WO2021000839A1 (zh) 一种分屏方法及电子设备
WO2021063098A1 (zh) 一种触摸屏的响应方法及电子设备
WO2021082835A1 (zh) 启动功能的方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2022068819A1 (zh) 一种界面显示方法及相关装置
WO2022017393A1 (zh) 显示交互系统、显示方法及设备
CN116069212B (zh) 一种应用卡片的快速查看方法、电子设备及存储介质
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
WO2020238759A1 (zh) 一种界面显示方法和电子设备
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2020155875A1 (zh) 电子设备的显示方法、图形用户界面及电子设备
WO2021057699A1 (zh) 具有柔性屏幕的电子设备的控制方法及电子设备
WO2023030099A1 (zh) 跨设备交互的方法、装置、投屏系统及终端
WO2022213831A1 (zh) 一种控件显示方法及相关设备
WO2022002213A1 (zh) 翻译结果显示方法、装置及电子设备
CN115016697A (zh) 投屏方法、计算机设备、可读存储介质和程序产品

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280007445.5

Country of ref document: CN

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

Ref document number: 22900222

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18710492

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE