WO2023030276A1 - 一种显示方法、装置、设备及存储介质 - Google Patents
一种显示方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2023030276A1 WO2023030276A1 PCT/CN2022/115633 CN2022115633W WO2023030276A1 WO 2023030276 A1 WO2023030276 A1 WO 2023030276A1 CN 2022115633 W CN2022115633 W CN 2022115633W WO 2023030276 A1 WO2023030276 A1 WO 2023030276A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- link
- application
- interface
- terminal device
- access page
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to a display method, device, device, and storage medium.
- Applications with social attributes can provide users with the function of sharing links.
- the terminal device may receive a link shared by other users.
- the link can be displayed in the interface of the chat application as part of the chat content, and the user can click the link to trigger the terminal device to display the access page of the link (or called the window corresponding to the link).
- the accessed page of the link may be a page in another application, and the other application may be referred to as the application corresponding to the link, and the page may include text, picture, audio, video, web page and other types of data.
- the terminal device may, in response to the user's operation of clicking the link, jump to an access page where the application corresponding to the link displays the link. If there is no application corresponding to the link installed on the terminal device, the terminal device may jump to a default application (such as a browser) to display the linked access page in response to the operation of clicking the link by the user.
- a default application such as a browser
- the terminal device jumps to the application corresponding to the link or the default application to display the linked access page
- the linked access page is usually displayed in full screen or in the form of a floating window, which will block the interface of the original chat application.
- the embodiments of the present application provide a display method, device, device, and storage medium, so that when a terminal device opens a linked access page, the accessed page will not block the application interface where the original link is located.
- the embodiment of the present application provides a display method, the method includes: the terminal device displays the interface of the first application, the interface of the first application includes the first link; the terminal device receives the first operation, the first operation is to open The operation of the first link: in response to the first operation, the terminal device obtains the access page of the first link through the second application, and displays the access page of the first link in the interface of the first application.
- the terminal device can obtain the access page of the first link through the second application, And displaying the access page of the first link in the interface of the first application can prevent the access page of the first link from blocking the interface of the first application when displayed.
- the first application may be a chat application
- the first link may be a sharing link received by the user during chatting
- the second application may be an application corresponding to the sharing link.
- the access page of the sharing link can be displayed in the interface of the chat application, and the access page of the sharing link will not block the interface of the chat application when displayed. User experience can be better.
- the terminal device displays the access page of the first link in the interface of the first application, including: the terminal device replaces the screen where the first link is located in the interface of the first application with the access page of the first link page.
- the terminal device replaces the screen at the location of the first link in the interface of the first application with the access page of the first link, including: the terminal device replaces the view control at the location of the first link in the interface of the first application Replace with the first interface view control; the terminal device assigns the first interface of the first interface view control to the second interface created by the second application to obtain the access page of the first link.
- the terminal device can acquire the access page of the first link, and display the access page of the first link in the interface of the first application.
- the terminal device displaying the first linked access page in the first application interface includes: the terminal device adding the first linked access page in the first application interface.
- adding the access page of the first link in the interface of the first application by the terminal device includes: adding a first interface view control in the interface of the first application by the terminal device; The first interface is assigned to the second interface created by the second application to obtain the access page of the first link.
- the terminal device may add a first interface view control in a blank area of the interface of the first application. After adding the first interface view control, the terminal device assigns the first interface of the first interface view control to the second interface created by the second application to obtain the access page of the first link, which can also be realized in the interface of the first application. The visited page of the first link is displayed.
- the method further includes: the terminal device receives a second operation, and the second operation is an operation of switching the access page of the first link to a full-screen display; Visit the page.
- the terminal device displaying the access page of the first link in full screen includes: creating a full-screen interface on the terminal device, and assigning the full-screen interface to the second interface created by the second application to obtain the access page of the first link.
- Providing the user with a way to switch the access page of the first link to a full-screen display can better meet the actual browsing needs of the user and improve user experience.
- the method further includes: the terminal device receives a third operation, the third operation is an operation of canceling the full-screen display of the access page of the first link; the terminal device responds to the third operation, and displays in the interface of the first application The visited page of the first link.
- the user may also perform a third operation to trigger the terminal device to switch the access page of the first link from full-screen display to embedded display.
- the method further includes: when the access page of the first link is displayed in the interface of the first application, if the interface of the first application slides up or down, causing the access page of the first link to move to the interface of the screen , the terminal device floats to display the access page of the first link.
- the terminal device floating and displaying the access page of the first link includes: creating a floating interface on the terminal device, and assigning the floating interface to the second interface created by the second application to obtain the access page of the first link.
- the method further includes: when the access page of the first link is suspended and displayed, if the interface of the first application slides up or down, causing the access page of the first link to be far away from the screen junction, The access page of the first link is displayed in the interface.
- the method further includes: when the access page of the first link is floating, the terminal device dynamically adjusts the first element according to the positional relationship between the first element in the interface of the first application and the access page of the first link.
- the size of the visited page of the link; the size of the visited page of the first link is related to the size of the first element.
- the first application may be a chat application
- the first element may be a chat box.
- the terminal device dynamically adjusts the size of the first linked page according to the positional relationship between the chat box and the first linked page, so that the first linked page will not affect the chat box.
- the method further includes: the terminal device receives a fourth operation, and the fourth operation is an operation of closing the access page of the first link; in response to the fourth operation, the terminal device closes the access page of the first link, and no longer The access page of the first link is displayed in the interface of the first application.
- the terminal device realizes displaying the access page of the first link in the interface of the first application by replacing the screen where the first link is located in the interface of the first application with the access page of the first link; the terminal After the device closes the access page of the first link, the method further includes: the terminal device re-displays the first link in the interface of the first application.
- the interface of the first application includes the first link means that the interface of the first application includes a thumbnail corresponding to the first link, and/or an open button of the first link.
- the thumbnail corresponding to the first link includes: a thumbnail of the second application or a default thumbnail.
- the second application includes an application corresponding to the first link, or a default application on the terminal device.
- the area occupied by the access page of the first link in the interface of the first application is larger than that occupied by the first link in the interface of the first application. occupied area.
- the embodiment of the present application provides a display apparatus, and the apparatus may be applied to a terminal device.
- the device includes: a display module, configured to display the interface of the first application, and the interface of the first application includes a first link; a receiving module, configured to receive a first operation, where the first operation is an operation of opening the first link; a processing module In response to the first operation, the access page of the first link is acquired through the second application, and the access page of the first link is displayed in the interface of the first application through the display module.
- the processing module is specifically configured to replace the screen where the first link is located in the interface of the first application with the access page of the first link, so as to display the access page of the first link in the interface of the first application page.
- the processing module is specifically configured to replace the view control at the location of the first link in the interface of the first application with the first interface view control; assign the first interface of the first interface view control to the second application to obtain the second A second interface created by a linked access page, so as to replace the screen where the first link is located in the interface of the first application with the first linked access page.
- the processing module is specifically configured to add an access page of the first link in the interface of the first application, so as to display the access page of the first link in the interface of the first application.
- the processing module is specifically configured to add a first interface view control to the interface of the first application; assign the first interface of the first interface view control to the first interface created by the second application to obtain the access page of the first link
- the second interface is to add the first linked access page in the interface of the first application.
- the receiving module is further configured to receive a second operation, and the second operation is an operation of switching the access page of the first link to a full-screen display; the processing module is also configured to respond to the second operation by displaying the full-screen The visited page of the first link is displayed.
- the processing module is specifically configured to create a full-screen interface, and assign the full-screen interface to the second interface created by the second application to obtain the access page of the first link, so as to display the access page of the first link in full screen.
- the receiving module is further configured to receive a third operation, and the third operation is an operation of canceling the full-screen display of the access page of the first link;
- the access page of the first link is displayed in the interface of the application.
- the processing module when the access page of the first link is displayed in the interface of the first application, if the interface of the first application slides up or down and the access page of the first link moves to the screen junction, the processing module further It is used for hovering and displaying the access page of the first link through the display module.
- the processing module is specifically configured to create a floating interface, and assign the floating interface to the second interface created by the second application to obtain the access page of the first link, so as to realize the floating display of the access page of the first link.
- the processing module is further configured to display the first link on the first link through the display module.
- the access page of the first link is displayed in the interface of the application.
- the processing module is further configured to dynamically adjust the location of the first link according to the positional relationship between the first element in the interface of the first application and the access page of the first link.
- the size of the visited page; the size of the visited page of the first link is related to the size of the first element.
- the receiving module is further configured to receive a fourth operation, where the fourth operation is an operation of closing the access page of the first link; the processing module is further configured to close the access page of the first link in response to the fourth operation, The access page of the first link is no longer displayed in the interface of the first application through the display module.
- the processing module realizes displaying the access page of the first link in the interface of the first application by replacing the screen where the first link is located in the interface of the first application with the access page of the first link; the processing module, It is also used for redisplaying the first link in the interface of the first application through the display module after closing the access page of the first link.
- the interface of the first application includes the first link means that the interface of the first application includes a thumbnail corresponding to the first link, and/or an open button of the first link.
- the thumbnail corresponding to the first link includes: a thumbnail of the second application or a default thumbnail.
- the second application includes an application corresponding to the first link, or a default application on the device.
- the area occupied by the access page of the first link in the interface of the first application is larger than that occupied by the first link in the interface of the first application. occupied area.
- an embodiment of the present application provides an electronic device, and the electronic device may be the terminal device described in the first aspect.
- the electronic device includes: a processor, a memory for storing processor-executable instructions; when the processor is configured to execute the instructions, the electronic device implements the first aspect and any possible implementation manner of the first aspect. described method.
- an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored; when the computer program instructions are executed by an electronic device, the electronic device realizes the first aspect and the first aspect.
- the embodiment of the present application provides a computer program product, including computer readable code, or a non-volatile computer readable storage medium bearing computer readable code, when the computer readable code is stored in an electronic device During operation, the processor in the electronic device implements the method described in the first aspect and any possible implementation manner of the first aspect.
- FIG. 1 is a schematic diagram of an interface of a chat application
- FIG. 2 is another schematic diagram of an interface of a chat application
- FIG. 3 is a schematic diagram of a full-screen display of the access page of link 2 by the terminal device
- FIG. 4 is a schematic diagram of the terminal device displaying the access page of link 2 in the form of a floating window
- FIG. 5 is another schematic diagram of the terminal device displaying the access page of link 2 in the form of a floating window
- FIG. 6 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of the system architecture of the Android system provided by the embodiment of the present application.
- FIG. 8 is a schematic diagram of the relationship between the imageview control and Surface_A provided by the embodiment of the present application.
- FIG. 10 is a schematic diagram showing the content in Surface_B displayed on the surface of the surfaceview control in Surface_A provided by the embodiment of the present application;
- FIG. 11 is a schematic diagram of the relationship between the imageview control, the surfaceview control, and Surface_A provided by the embodiment of the present application;
- FIG. 12 is a schematic diagram of an interface of a chat application provided by an embodiment of the present application.
- Figure 13 is a schematic diagram of the effect of displaying the short video P embedded in the interface of the chat application provided by the embodiment of the present application;
- FIG. 14 is a schematic diagram of the effect of full-screen display of the short video P provided by the embodiment of the present application.
- 15 is a schematic diagram of the interface of the chat application sliding upward when the short video P provided by the embodiment of the present application is embedded in the interface of the chat application for display;
- FIG. 16 is a schematic diagram of the interface of the chat application sliding down when the short video P provided by the embodiment of the present application is embedded in the interface of the chat application for display;
- FIG. 17 is a schematic diagram of a short video P floating on the interface of the chat application for display when the interface of the chat application provided by the embodiment of the present application slides upward;
- FIG. 18 is a schematic diagram of a short video P floating on the interface of the chat application for display when the interface of the chat application provided by the embodiment of the present application slides down;
- FIG. 19 is another schematic diagram of the interface of the chat application provided by the embodiment of the present application.
- FIG. 20 is another schematic diagram of the interface of the chat application provided by the embodiment of the present application.
- FIG. 21 is another schematic diagram of the interface of the chat application provided by the embodiment of the present application.
- Fig. 22 is a schematic diagram of the interface of the mailbox provided by the embodiment of the present application.
- Fig. 23 is a schematic diagram showing the effect of displaying the short video P embedded in the mailbox interface provided by the embodiment of the present application.
- FIG. 24 is a schematic diagram of the interface of the status bar of the mobile phone provided by the embodiment of the present application.
- Fig. 25 is a schematic diagram showing the specific content of "notification B" embedded in the interface of the status bar provided by the embodiment of the present application;
- FIG. 26 is a schematic structural diagram of a display device provided by an embodiment of the present application.
- references to "one embodiment” or “some embodiments” or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
- appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
- the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
- the term “connected” includes both direct and indirect connections, unless otherwise stated.
- first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
- Applications with social attributes such as chat applications and mailboxes can provide users with the function of sharing links.
- the terminal device may receive a link shared by other users.
- the link can be displayed in the interface of the chat application as part of the chat content, and the user can click the link to trigger the terminal device to display the access page of the link (or called the window corresponding to the link, or the preview window, or the display window ).
- the accessed page of the link may be a page in another application, and the page may include text, picture, audio, video, web page and other types of data.
- terminal device 1 For example, in a possible implementation scenario, user 1 holds terminal device 1, user 2 holds terminal device 2, and both terminal device 1 and terminal device 2 are installed with a chat application and a short video application.
- the user 2 views a certain short video P in the short video application on the terminal device 2, the user 2 can send the link of the short video P to the terminal device 1 through the chat application.
- the link of the short video P can be displayed in the interface of the chat application as part of the chat content, and the user 1 can click the link of the short video P in the interface of the chat application to trigger the terminal device 1 to display the access page of the link of the short video P,
- the access page includes a short video P, and user 1 can view the short video P on the access page.
- FIG. 1 is a schematic diagram of an interface of a chat application.
- the link shared by user 2 to user 1 may be a URI in text form: "http://j.map.xxxxxxxxxxxx%A6&E5% 9Cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx#". It can be understood that the URI shown in FIG. 1 is only an example.
- FIG. 2 is another schematic diagram of an interface of a chat application.
- the link shared by user 2 to user 1 may include link 1 and link 2, and link 1 and link 2 may be static cards.
- the card corresponding to Link 1 may include identifiers such as "App A”, “Video 1", etc., and the identifiers such as "App A”, “Video 1” may be used to indicate that Link 1 is a link to Video 1 in App A.
- the card corresponding to link 2 may include signs such as "Application B” and ""Recipe of Braised Pork”", and signs such as “Application B” and “"Recipe of Braised Pork”” can be used to indicate that link 2 is in application B, Link to the article titled “Recipe for Braised Pork in Red Sauce”.
- the static card shown in Figure 2 as a link can display more detailed information related to the link.
- the terminal device may jump to an access page where the application corresponding to the link displays the link in response to the operation of clicking the link by the user. If there is no application corresponding to the link installed on the terminal device, the terminal device may jump to a default application (such as a browser) to display the linked access page in response to the operation of clicking the link by the user.
- a default application such as a browser
- the terminal device jumps to the application corresponding to the link or the default application to display the linked access page
- the linked access page is usually displayed in full screen or in the form of a floating window, which will block the interface of the original chat application.
- FIG. 3 is a schematic diagram of an access page where the terminal device displays the link 2 in full screen.
- the terminal device can respond to the operation of the user clicking on the link 2, and jump to the application corresponding to the link 2 or the default application to display the access page of the link 2 in full screen.
- the access page of the link 2 may include the title "Recipe of Braised Pork in Braised Pork" 301 , a picture 302 , a text 303 and the like of the article corresponding to the link 2 . Since the access page of link 2 is displayed in full screen, the interface of the original chat application shown in Figure 2 above is completely blocked, and the user cannot perform other operations on the interface of the original chat application while browsing the access page of link 2, such as Enter text into the chat box.
- FIG. 4 is a schematic diagram of a terminal device displaying an access page of the link 2 in the form of a floating window.
- the terminal device may also jump to the application corresponding to link 2 or the default application and display the access page 402 of link 2 in the form of a floating window in response to the operation of the user clicking on link 2. . That is, the access page 402 of link 2 is displayed above the interface 401 of the original chat application in the form of a floating window.
- FIG. 5 is another schematic diagram of the terminal device displaying the access page of link 2 in the form of a floating window. As shown in FIG. 5 , when the user opens the input keyboard 404 to input text into the chat box 403 , the access page 402 of link 2 may block the chat box 403 or even the input keyboard 404 .
- an embodiment of the present application provides a display method, which can be applied to a terminal device, and the first application is installed in the terminal device.
- the terminal device can obtain the access page of the link through the second application, and display the link on the interface of the first application.
- the access page of the first link is displayed inside, so that the access page of the link will not block the interface of the first application when displayed.
- the terminal device may embed the linked access page in the interface of the first application for display, so that the access page of the first link is displayed in the interface of the first application.
- the first application is different from the second application
- the second application may be an application corresponding to the link, or a default application (such as a browser) on the terminal device.
- the fact that the second application is the application corresponding to the link means that the accessed page of the link is a page in the second application.
- the application corresponding to the link may be an application on the terminal device where the first application is located, or may also be an application on another terminal device.
- the terminal device where the first application is located is the first terminal
- the application corresponding to the link may be an application on the first terminal or an application on the second terminal, and the first terminal and the second terminal are different.
- the application does not limit the positional relationship of the application corresponding to the link relative to the first application.
- the first application may be a chatting application (such as a Link application), or a mailbox (or called an email), or an application with social attributes or a function of sending and receiving information, such as a text message.
- the application corresponding to the link may be an application capable of providing users with multimedia resources such as text, pictures, audio, video, and web pages.
- the application corresponding to the link may be a short video application, a live broadcast application, a browser, a music application, etc., which is not limited here.
- the terminal device may be a mobile phone, or a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a notebook computer , ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), etc.
- the embodiment of the present application does not limit the specific type of terminal equipment.
- FIG. 6 shows a schematic structural diagram of the terminal device provided by the embodiment of the present application.
- the mobile phone can include a processor 610, an external memory interface 620, an internal memory 621, a universal serial bus (universal serial bus, USB) interface 630, a charging management module 640, a power management module 641, a battery 642, and an antenna 1.
- a processor 610 an external memory interface 620
- an internal memory 621 a universal serial bus (universal serial bus, USB) interface 630
- a charging management module 640 a power management module 641, a battery 642, and an antenna 1.
- USB universal serial bus
- Antenna 2 mobile communication module 650, wireless communication module 660, audio module 670, speaker 670A, receiver 670B, microphone 670C, earphone jack 670D, sensor module 680, button 690, motor 691, indicator 692, camera 693, display screen 694, and a subscriber identification module (subscriber identification module, SIM) card interface 695, etc.
- SIM subscriber identification module
- the processor 610 may include one or more processing units, for example: the processor 610 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, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. 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
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit, NPU
- the controller can be the nerve center and command center of the mobile phone.
- 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 610 for storing instructions and data.
- the memory in processor 610 is a cache memory.
- the memory may hold instructions or data that the processor 610 has just used or recycled. If the processor 610 needs to use the instruction or data again, it can be directly recalled from the memory. Repeated access is avoided, and the waiting time of the processor 610 is reduced, thereby improving the efficiency of the system.
- processor 610 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/output (general-purpose input/output, GPIO) interface, SIM interface, and/or 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/output
- the external memory interface 620 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
- the external memory card communicates with the processor 610 through the external memory interface 620 to implement a data storage function. Such as saving music, video and other files in the external memory card.
- the internal memory 621 may be used to store computer-executable program code, which includes instructions.
- the processor 610 executes various functional applications and data processing of the mobile phone by executing instructions stored in the internal memory 621 .
- an instruction corresponding to the display method described in the embodiment of the present application may be stored in the internal memory 621, and the processor 610 may execute the instruction to implement the display method.
- the access page of the first link may be obtained through the second application, and the access page of the first link may be embedded in the interface of the first application for display.
- the internal memory 621 may also include an area for storing programs and an area for storing data.
- the program storage area can store an operating system, at least one application program required by a function (such as the first application, the second application, etc. described in the embodiment of the present application) and the like.
- the storage data area can store data created during the use of the mobile phone (such as chat information, first link, thumbnail, etc.) and the like.
- the internal memory 521 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 charging management module 640 is configured to receive charging input from the charger. While the charging management module 640 is charging the battery 642 , it can also provide power for the mobile phone through the power management module 641 .
- the power management module 641 is used for connecting the battery 642 , the charging management module 640 , and the processor 610 .
- the power management module 641 can also receive the input of the battery 642 to provide power for the mobile phone.
- the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in a mobile phone can be used to cover single or multiple communication 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 phone may receive links sent by other devices (such as a second terminal, a server, etc.) through a wireless communication function.
- the mobile phone can realize the audio function through the audio module 670, the speaker 670A, the receiver 670B, the microphone 670C, the earphone interface 670D, and the application processor. Such as music playback, recording, etc.
- the sensor module 680 may include a pressure sensor 680A, a gyro sensor 680B, an air pressure sensor 680C, a magnetic sensor 680D, an acceleration sensor 680E, a distance sensor 680F, a proximity light sensor 680G, a fingerprint sensor 680H, a temperature sensor 680J, a touch sensor 680K, an ambient light sensor 680L, bone conduction sensor 680M, etc.
- the display screen 694 is used to display images, videos and the like.
- Display 694 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 mobile phone may include 1 or N display screens 694, where N is a positive integer greater than 1.
- display screen 694 may be used to display application program interfaces.
- the mobile phone can display the interface of the first application through the display screen 694 or display the access page of the first link in full screen.
- the interface of the first application may include the first link, or an access page of the first link embedded in the interface of the first application, or an access page of the first link suspended on the interface of the first application.
- the mobile phone realizes the display function through the GPU, the display screen 694, and the application processor.
- the GPU is a microprocessor for image processing, connected to the display screen 694 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 610 may include one or more GPUs that execute program instructions to generate or alter display information.
- the structure shown in FIG. 6 does not constitute a specific limitation on the mobile phone.
- the mobile phone may also include more or fewer components than those shown in FIG. 6 , or combine certain components, or separate certain components, or arrange different components.
- some components shown in FIG. 6 may be implemented in hardware, software, or a combination of software and hardware.
- terminal devices are other mobile terminals such as tablet computers, wearable devices, vehicle-mounted devices, AR/VR devices, notebook computers, UMPCs, netbooks, and PDAs
- the specific structures of these other terminal devices can also refer to FIG. 6 .
- other terminal devices may have components added or reduced on the basis of the structure shown in FIG. 6 , which will not be repeated here.
- the operating system of the terminal device can be HongmengTM (harmony) system, AndroidTM (android) system, iosTM system, windowsTM system, macTM system, linuxTM system, etc., more specifically, it can also be HuaweiTM system or EMUITM system, Android WearTM system, Lite OSTM system, TizenTM system, watch osTM system, etc.
- the operating system of the terminal device is also not limited here.
- FIG. 7 is a schematic diagram of the architecture of the Android system provided by the embodiment of the present application.
- the android system generally includes: an application layer (applications), an application framework layer (application framework), a system runtime layer (libraries), and a kernel layer.
- the first application and the second application described in the embodiment of this application can be deployed in the application program layer, and the application program layer can also include other system applications such as calendar, map, browser and contact management, and developers use the Java language to design and third-party applications written.
- the application framework layer may include a package manager service (PMS).
- PMS can be responsible for scanning the specified directory in the operating system to find out the files ending with apk inside, and by analyzing these files, get all the information of the application program and complete the installation process of the application program.
- the apk information parsed from the package management service can be used by other services.
- the operating system of the terminal device is the android system
- the interface of the first application includes the first link as an example.
- the terminal device when the terminal device detects the operation of opening the first link, the terminal device passes The specific principle of the second application acquiring the access page of the first link and embedding the access page of the first link in the interface of the first application for display is introduced.
- the terminal device detecting the operation of opening the first link may refer to: the terminal device detecting the user's operation of clicking the first link on the interface of the first application, or the operation of clicking the start button of the first link.
- the terminal device may display an interface of a first application, and the interface of the first application includes a first link; the terminal device may receive a first operation, where the first operation is an operation of opening the first link.
- the terminal device may start the second application (the application corresponding to the first link or the default application) by using a method of starting an activity component (startactivity).
- startactivity a method of starting an activity component
- the startactivity method may be: startActivity(Intent intent).
- the startActivity (Intent intent) includes a start (intent) parameter
- the intent parameter may include information about the second application to be started, such as: URI, package name (such as the package name of the second application), and the like.
- a package manager service (package manager service, PMS) in the operating system of the terminal device may call the second application corresponding to the URI included in the intent parameter, and pass the URI included in the intent parameter to the second application.
- the second application can access the URI and display specific content corresponding to the first link, such as a short video.
- the second application accesses the specific content corresponding to the first link displayed by the above URI, that is, the accessed page of the first link.
- the terminal device may obtain the first linked access page through the second application, and display the first linked access page in the interface of the first application.
- the terminal device displays the access page of the first link in the interface of the first application, including: the terminal device replaces the screen where the first link is located in the interface of the first application with the access page of the first link page.
- the terminal device replaces the screen at the location of the first link in the interface of the first application with the access page of the first link, including: the terminal device replaces the view control at the location of the first link in the interface of the first application Replace with the first interface view control; the terminal device assigns the first interface of the first interface view control to the second interface created by the second application to obtain the access page of the first link.
- the terminal device can replace the view control at the location of the first link in the interface of the first application with an interface/canvas view (surfaceview) control , and assign the surface of the surfaceview control to the surface of the second application displaying the specific content corresponding to the first link.
- the surfaceview control is the above-mentioned first interface view control
- the surface of the surfaceview control is the above-mentioned first interface
- the surface of the second application displaying the specific content corresponding to the first link is the second interface created by the second application to obtain the access page of the first link .
- the terminal device can acquire the access page of the first link, and embed the access page of the first link in the interface of the first application for display.
- surface is used for the management interface.
- the surfaces are independent of each other, and finally synthesized by the surface deliverer (surfaceflinger) and rendered to the screen.
- the surface created later is generally located on the upper layer of the surface created first.
- the default display mode of the surface is full-screen display, but the area occupied by the surface in the interface can also be adjusted by changing the display size of the surface. For example, surface1 is created first, and then surface2 is created. When surfaceflinger composites and renders surface1 and surface2 to the screen, surface2 is in the upper layer of surface1. If the size of surface2 is not adjusted, surface2 will be displayed in full screen by default, which will block surface1.
- the size of surface2 is adjusted, for example, the layout size of surface2 is reduced, then surface2 can be displayed in a floating state above surface1, that is, surface2 can exist in the form of a floating window.
- the size of the surface is related to the layout size of the view control, such as can be the same.
- the first link is displayed on the interface of the first application based on a certain view control
- the view control used to display the first link in the interface of the first application is related to the presentation form of the first link.
- the view control used to display the first link in the interface of the first application may be a text view (textview) control.
- the view controls for displaying the first link in the interface of the first application may include a textview control, an image view (image view) control, and the like.
- the terminal device replacing the view control at the location of the first link in the interface of the first application with a surfaceview control may refer to: terminal equipment Replace that imageview control with a surfaceview control.
- FIG. 8 shows the imageview control provided by the embodiment of the present application Schematic diagram of the relationship with Surface_A.
- Surface_A 801 may include an imageview control 802, and the imageview control 802 is used to display the first link.
- FIG. 9 is a schematic diagram of the relationship between the surfaceview control, Surface_A, and Surface_B provided by the embodiment of the present application.
- the terminal device can replace the imageview control 802 in Surface_A 801 (that is, the view control where the first link is located) with a surfaceview control 803.
- the surfaceview control 803 comes with a layer of surface.
- the terminal device creates Surface_B 804 it can assign the surface of the surfaceview control 803 in Surface_A 801 to Surface_B 804. Then, the content in Surface_B 804 will be drawn to the surface of the surfaceview control 803 in Surface_A 801 for display.
- FIG. 10 is a schematic diagram of the effect of displaying the content in Surface_B on the surface of the surfaceview control in Surface_A provided by the embodiment of the present application.
- the content in Surface_B 804 is drawn to the surface of the surfaceview control 803 in Surface_A 801 for display, that is, the Surface_B 804 is embedded in Surface_A 801 for display.
- the size of the surface may be the same as the layout size of the view controls. Therefore, after Surface_B 804 is assigned the surface of the surfaceview control 803 in Surface_A 801, when the content in Surface_B 804 is drawn to the surface of the surfaceview control 803 in Surface_A 801 for display, the content in Surface_B 804 occupies the proportion of Surface_A The area is the area occupied by the surface of the surfaceview control 803 . For example, when the content in Surface_B 804 is displayed on the surface of the surfaceview control 803, it will be adaptively adjusted to the layout size of the surface of the surfaceview control 803.
- the terminal device replaces the view control at the location of the first link in the interface of the first application with a surfaceview control so as to embed the access page of the first link in the first application displayed in the interface.
- the terminal device may also add a surfaceview control to the interface of the first application, and assign the surface of the surfaceview control to the second application.
- the application displays the surface of the specific content corresponding to the first link.
- the specific content corresponding to the first link displayed by the access URI of the second application can also be displayed in the surfaceview control, so as to implement displaying the access page of the first link embedded in the interface of the first application.
- the terminal device displaying the first linked access page in the first application interface includes: the terminal device adding the first linked access page in the first application interface.
- Adding the access page of the first link in the interface of the first application by the terminal device includes: adding a first interface view control in the interface of the first application by the terminal device; assigning a value to the first interface of the first interface view control by the terminal device The second interface created by the access page of the first link is obtained for the second application.
- the surfaceview control added by the terminal device in the interface of the first application may be below the view control where the first link is located.
- FIG. 11 is a schematic diagram of the relationship between the imageview control, surfaceview control, and Surface_A provided by the embodiment of the present application.
- the terminal device can also add a surfaceview control 803 in Surface_A 801, and the surfaceview control 803 can be under the imageview control 802, such as: it can be in the blank area below the imageview control 802.
- the surfaceview control added by the terminal device in the interface of the first application may also be in other blank areas in the interface of the first application, and the position of the surfaceview control is not limited here.
- the position of the surface view control may be related to the position of the first link in the interface of the first application.
- the processing logic of the key (key) event may include: when the key event is generated, all return (back) events in the key event are sent by Surface_A Processing; other key events in the key event except the back event are dispatched by the window management service of the operating system, and are dispatched to the topmost focused window first; the topmost focused window can be Surface_A or Surface_B.
- the logic of Surface_A processing the back event in the key event can be as follows:
- the key event may be that the user clicks a certain button on the interface, or performs operations such as sliding or long pressing on the interface, or the user clicks the system return button, etc.
- the back event in the key event may refer to the user clicking the system return button.
- the terminal device obtains the access page of the first link through the second application, and embeds the access page of the first link in the first application
- the specific principle of displaying in the interface will be introduced, but it should be understood that when the operating system of the terminal device is other than the android system, the terminal device obtains the access page of the first link through the second application, and uses the first link
- the specific principle of displaying the access page embedded in the interface of the first application is similar to the above introduction. The only difference is that, in other operating systems, the method used by the terminal device to start the second application, the view control used to display the specific content in the interface, etc. may be different, and will not be described in detail here.
- the first application is a chat application
- the second application is a short video application: application A is an example, and the user receives a link of a short video P in application A while chatting with the chat application, and clicks on the link Link to view the scene of the short video P, and illustrate the display method provided by the embodiment of the present application with an example.
- the link of the short video P is the above-mentioned first link.
- FIG. 12 is a schematic interface diagram of a chat application provided by an embodiment of the present application.
- the way the terminal device displays the link of the short video P in the interface of the chat application may include: the terminal device displays the thumbnail corresponding to the link of the short video P in the interface of the chat application 1201, and the open button 1202 of the link of the short video P.
- the open button 1202 may also be called a start button, a play button, a browse button, etc., which is not limited here.
- the thumbnail 1201 corresponding to the link of the short video P may be the thumbnail of the application A that can open the link of the short video P, or the default thumbnail, or the thumbnail of the default browser (in FIG. 12 is Take the thumbnail 1201 corresponding to the link of short video P as the thumbnail of application A as an example).
- the terminal device can display a thumbnail of application A in the interface of the chat application; thumbnail or the thumbnail of the default browser.
- a thumbnail file can be stored in the terminal device, and the thumbnail file can include one or more applications
- the terminal device needs to display the thumbnail corresponding to a certain link, it can search for the thumbnail of the application that can click the link in the thumbnail file and display it.
- the following description will be made by taking the application A installed on the terminal device as an example.
- the thumbnail 1201 corresponding to the link of the short video P may also be replaced with the cover of the short video P, the first frame of the short video P, or one of the frames, etc., which is not limited in this application.
- the terminal device can analyze the scheme field, host field, etc. of the URI according to the URI included in the link of the short video P, and configure the file according to the application package information of the installed application , to find the application matching the scheme field, host field and other fields parsed from the URI.
- the application that matches the scheme field, host field and other fields parsed from the URI is the application that can open the link of the short video P, such as application A.
- the terminal device may display a thumbnail of the application A and an open button 1202 of the link of the short video P.
- the application package information configuration file is also called an application manifest (manifest) configuration file, and the configuration file includes the information of the application installation package.
- the application package information configuration file may be an AndroidManifest configuration file.
- the terminal device can display the thumbnail 1201 corresponding to the link of the short video P in the interface of the chat application through the imageview control.
- the operation of the user clicking the open button 1202 shown in FIG. 12 is the operation of opening the first link.
- the terminal device may replace the imageview control in the interface of the chat application with a surfaceview control in response to detecting that the user clicks the open button 1202, or, in the chat application Add a surfaceview control to the interface.
- the imageview control in the interface of the chat application is replaced with the surfaceview control as an example.
- the surfaceview control comes with a layer of surface.
- the terminal device may respond to the user's click on the open button 1202 to start the application A through the startactivity method, and the application A may access the URI included in the link of the short video P and display the short video P.
- the specific principles are as described in the foregoing embodiments, and will not be repeated here.
- the terminal device When the terminal device creates a surface for application A to display the short video P, it can assign the surface of the surfaceview control in the interface of the chat application to the surface for application A to display the short video P. Then, the short video P will be drawn on the surface of the surfaceview control in the interface of the chat application for display. That is, the short video P can be embedded in the interface of the chat application for display.
- FIG. 13 is a schematic diagram of the effect of displaying the short video P embedded in the interface of the chat application provided by the embodiment of the present application.
- the short video P when the short video P is drawn on the surface of the surfaceview control in the interface of the chat application for display, the short video P can be embedded in the interface of the chat application.
- the user can continue chatting on the interface of the chat application while browsing the short video P, and the short video P will not block the interface of the chat application when displayed.
- the interface of the first application may further include a close button and a full screen button.
- the close button may also be called a stop button
- the full-screen button may also be called a maximize button, a zoom-in button, and the like.
- the terminal device may close the access page of the first link and redisplay the first link in response to the user's operation of clicking the close button.
- the terminal device may replace the surfaceview control with the view control where the original first link is located in response to the user's operation of clicking the close button, and redisplay the first link based on the view control.
- the terminal device can also close the second application. That is, when the user clicks the close button, the terminal device may close the embedded display effect of the visited page of the first link, and re-display the first link.
- the terminal device can display the access page of the first link in full screen in response to the operation of the user clicking the full screen button.
- the terminal device can create a full screen surface (ie, a full screen interface ), and assign the full-screen surface to the surface of the visited page where the first link is displayed by the second application.
- the access page of the first link will cover the interface of the first application to realize full-screen display.
- the interface of the chat application may also include a close button 1301 and a full screen button 1302.
- the terminal device can respond to the user's operation of clicking the close button 1301, replace the surfaceview control in the interface of the chat application with the imageview control that originally displayed the link of the short video P, and redisplay the short video based on the imageview control.
- the link of the video P for example: display the thumbnail 1201 corresponding to the link of the short video P, and the open button 1202 of the link of the short video P. It can be understood that when the terminal device re-displays the link of the short video P based on the imageview control, the interface of the chat application will restore to the interface shown in FIG. 12 above.
- FIG. 14 is a schematic diagram of the full-screen display effect of the short video P provided by the embodiment of the present application. As shown in FIG. 14 , when the short video P is displayed in full screen, the display interface of the short video P will cover the interface of the chat application.
- the display interface of the short video P may include a minimize button (not shown in the figure), and when the user clicks the minimize button, the terminal device may respond to the user clicking the minimize button.
- the operation of the button reassigns the surface of the surfaceview control in the interface of the chat application to the surface of the application A displaying the short video P, so that the display effect of the short video is switched from full-screen display to the above-mentioned interface embedded in the chat application for display.
- the display interface of the short video P can also include a close button (not shown in the figure, which can be the same as the close button 1301 in the interface of the above-mentioned chat application), when the user clicks the close button , the terminal device can close the full-screen surface in response to the user's operation of clicking the close button, replace the surfaceview control in the interface of the chat application with the imageview control that originally displayed the link of the short video P, and redisplay the content of the short video P based on the imageview control Links, for example: display the thumbnail 1201 corresponding to the link of the short video P, and the open button 1202 of the link of the short video P.
- a close button not shown in the figure, which can be the same as the close button 1301 in the interface of the above-mentioned chat application
- the terminal device can close the full-screen surface in response to the user's operation of clicking the close button, replace the surfaceview control in the interface of the chat application with the imageview control that originally displayed the link of the short video P, and
- the above-mentioned operation of the user clicking the close button in the interface of the first application and the operation of the user clicking the close button in the full-screen display interface of the short video P (the full-screen display interface of the access page of the first link) can be called An operation for closing the visited page of the first link.
- the aforementioned operation of closing the access page of the first link may also be referred to as the fourth operation.
- the terminal device may respond to the fourth operation by closing the access page of the first link, and no longer The access page of the first link is displayed in the interface of the first application.
- the operation of the user clicking the full-screen button in the interface of the first application may be referred to as an operation of switching the access page of the first link from embedded display to full-screen display, or as switching the access page of the first link to full-screen display. operate.
- the aforementioned operation of switching the access page of the first link to full-screen display can also be referred to as the second operation.
- the terminal device After receiving the second operation, the terminal device can display the access page of the first link in full screen in response to the second operation. page.
- the operation of the user clicking the minimize button in the full-screen display interface of the short video P (the full-screen display interface of the access page of the first link) can be called the operation of switching the access page of the first link from full-screen display to embedded display, Or it is called the operation of canceling the full-screen display of the access page of the first link.
- the aforementioned operation of canceling the full-screen display of the access page of the first link may also be referred to as the third operation.
- the terminal device may respond to the second operation and display The visited page of the first link. That is, the access page of the first link can be switched from full-screen display to embedded display.
- functions such as closing the access page of the first link, switching the access page of the first link from embedded display to full-screen display, and switching the access page of the first link from full-screen display to embedded display can also be used.
- other operation methods such as: the user can click, double-click, or long-press a certain area on the screen, or touch other function buttons, or perform certain sliding operations on the screen, etc., to trigger the terminal device to realize the aforementioned Function.
- the above-mentioned embodiments are only illustrative descriptions, and the present application does not limit the specific operation manner in which the user triggers the terminal device to realize the aforementioned functions.
- the terminal device when the terminal device obtains the access page of the first link through the second application, and embeds the access page of the first link in the interface of the first application for display, the terminal device can zoom in with animation The visited page of the first link. For example, taking the scene of the above-mentioned short video P as an example, when the terminal device detects that the user clicks the open button 1202 and replaces the imageview control in the interface of the chat application with the surfaceview control, the layout size of the surfaceview control can be adjusted to be larger than that of the imageview The layout size of the control.
- the terminal device assigns the surface of the surfaceview control to the surface of the application A to display the short video P
- the short video P will be enlarged and displayed in the chat application relative to the thumbnail 1201 corresponding to the link of the short video P in the interface.
- the enlargement mentioned here means that the area occupied by the short video P in the interface of the chat application is larger than the area occupied by the thumbnail 1201 corresponding to the link of the short video P in the interface of the chat application.
- the terminal device replaces the view control at the location of the first link in the interface of the first application with a surfaceview control, or, after adding the surfaceview control in the interface of the first application, assigns the surface of the surfaceview control to the second
- the terminal device may also adaptively adjust the layout size of the surfaceview control according to the access page of the first link.
- the terminal device when the terminal device assigns the surface of the surfaceview control to the surface of the application A to display the short video P, if the short video P is a horizontal screen, the terminal device can display the short video P according to the horizontal direction of the short video P And the size ratio of the vertical direction, adjust the size ratio of the horizontal direction and the vertical direction of the surfaceview control, so that the size of the horizontal direction of the surfaceview control is larger than the size of the vertical direction. If the short video P is a vertical screen, the terminal device can adjust the horizontal and vertical size ratio of the surfaceview control according to the horizontal and vertical size ratio of the short video P, so that the vertical size of the surfaceview control larger than the horizontal dimension.
- the terminal device when the terminal device embeds the access page of the first link in the interface of the first application for display, the terminal device may respond to the user's upward or downward sliding operation to control the interface of the first application to move up or down. Swipe down, or, the terminal device may automatically slide the interface of the first application according to the addition of other content in the interface of the first application.
- the access page of the first link embedded in the interface of the first application may move out of the screen of the terminal device as the interface of the first application slides.
- the terminal device when the terminal device embeds the short video P in the interface of the chat application for display, the user may swipe up or down the interface of the chat application to view more chat information.
- the interface of the chat application will slide down as chat information increases.
- the short video P embedded in the interface of the chat application for display may move out of the screen of the terminal device as the interface of the chat application slides.
- FIG. 15 is a schematic diagram of the interface of the chat application sliding up when the short video P provided by the embodiment of the present application is embedded in the interface of the chat application for display.
- FIG. 15 when the interface of the chat application is slid upwards, the short video P will move out of the screen of the terminal device from above (top) the interface of the chat application.
- FIG. 16 is a schematic diagram of the interface of the chat application sliding down when the short video P provided by the embodiment of the present application is embedded in the interface of the chat application for display. As shown in FIG. 16 , when the interface of the chat application slides down, the short video P will move out of the screen of the terminal device from the bottom (bottom) of the interface of the chat application.
- the terminal device may monitor the position (or offset value) of the surfaceview control in the interface of the first application.
- the terminal device can detect whether the upper edge of the surfaceview control is offset to the screen junction (that is, the edge of the screen).
- the terminal device can detect whether the bottom edge of the surfaceview control is shifted (that is, moved) to the interface of the screen.
- the terminal device can obtain the position and size of the surfaceview control relative to the screen, and increase it at the system layer according to the position and size of the surfaceview control relative to the screen.
- a surface with exactly the same position and size as the surfaceview control relative to the screen (for convenience of description, it can be called a floating surface, that is, a floating interface). Then, the terminal device may assign the suspended surface to the surface of the visited page where the second application displays the first link.
- the access page of the first link will be drawn on the floating surface for display, that is, the access page of the first link can be switched from displaying in the interface embedded in the first application to floating in the interface of the first application displayed on the Since the access page of the first link is suspended on the interface of the first application for display, the access page of the first link will not move out of the screen of the terminal device as the interface of the first application slides up or down.
- the method for the terminal device to obtain the position and size of the surfaceview control relative to the screen may include: the terminal device obtains the position of the surfaceview control relative to the screen through the View. Method (or function) to get the size of the surfaceview control.
- the terminal device may obtain the position and size of the surfaceview control relative to the screen in a similar manner.
- the terminal device when the terminal device embeds the short video P in the interface of the chat application for display, the terminal device can monitor the position (or offset value) of the surfaceview control in the interface of the chat application.
- the terminal device When the interface of the chat application is slid upwards, the terminal device can detect whether the upper edge of the surfaceview control is offset to the screen junction.
- the terminal device When the interface of the chat application slides down, the terminal device can detect whether the bottom edge of the surfaceview control is offset to the screen junction. If the terminal device detects that the upper or lower edge of the surfaceview control is shifted to the screen junction, the terminal device can obtain the position and size of the surfaceview control relative to the screen, and increase it at the system layer according to the position and size of the surfaceview control relative to the screen.
- the terminal device can assign the suspended surface to the surface for application A to display the short video P.
- the short video P will be drawn on the floating surface for display, that is, the short video P can be switched from being displayed in the interface embedded in the chat application to being displayed floating on the interface of the chat application.
- FIG. 17 is a schematic diagram of a short video P floating on the interface of the chat application for display when the interface of the chat application provided by the embodiment of the present application is slid upwards.
- the short video P can be displayed and switched from the interface embedded in the chat application to Displayed by hovering over the interface of the chat application. At this time, the short video P will not move out of the screen of the terminal device as the interface of the chat application continues to slide upwards.
- FIG. 18 is a schematic diagram of a short video P floating on the interface of the chat application for display when the interface of the chat application provided by the embodiment of the present application slides down.
- the short video P can also be displayed in the interface embedded in the chat application Switch to display on the interface suspended in the chat application. At this time, the short video P will not move out of the screen of the terminal device as the interface of the chat application continues to slide down.
- the terminal device can continue to monitor the SurfaceView control on the interface of the first application position in .
- the terminal device can monitor whether the upper edge of the surfaceview control is far away from the screen junction (top of the screen) .
- the terminal device can monitor whether the lower edge of the surfaceview control is far away from the screen junction (bottom of the screen) ).
- the terminal device can reassign the surface of the surfaceview control to the surface of the page visited by the second application to display the first link, so that the surface of the first link
- the access page is switched from being displayed while floating on the interface of the first application to being displayed embedded in the interface of the first application.
- the short video P can be suspended in the chat
- the display on the interface of the application is switched to the interface embedded in the chat application for display.
- the short video P can also be suspended on the chat application switch to display on the interface embedded in the chat application.
- the access page of the first link or the interface of the first application may also include the full screen button, minimum button, close button, etc., no more details.
- the access page of the first link when the access page of the first link is suspended on the interface of the first application for display, the access page of the first link will block a part of the interface of the first application, and the user expects to go to the interface of the first application. Some other elements used or browsed may be blocked, and the user will be affected to some extent when performing other operations on the interface of the first application. For example, when the short video P is suspended on the interface of the chat application for display, if the user opens the input keyboard to enter text into the chat box, the short video P may block the chat box, or even block the input keyboard (chat box, input keyboard, etc.) other elements).
- the terminal device when the access page of the first link is suspended on the interface of the first application for display, the terminal device can use other elements (such as the first element) in the interface of the first application to display the floating page.
- the positional relationship between the access pages of the first link (which may be called floating windows), dynamically adjust the size of the access page of the first link being displayed in suspension, so as to avoid other elements in the interface of the first application being blocked , so that the user can perform some other operations on the interface of the first application while browsing the visited page of the first link being displayed in suspension.
- the size of the visited page of the first link may be related to the first element.
- the short video P is suspended on the interface of the chat application for display, and when the user opens the input keyboard to enter text into the chat box, the terminal device can The positional relationship between the floating windows of the short video P, dynamically adjust the size of the floating windows of the short video P, so as to avoid the chat box being blocked by the floating windows of the short video P.
- the chat box can be the above-mentioned first element, and the size of the floating window of the short video P is related to the chat box.
- FIG. 19 to FIG. 21 are three schematic diagrams of the interface of the chat application provided by the embodiment of the present application.
- the following describes the process and specific principle of dynamically adjusting the size of the floating window of the short video P by the terminal device according to the positional relationship between the chat box and the floating window of the short video P with reference to FIG. 19 to FIG. 21 .
- the chat box 1902 when the user opens the input keyboard 1903 to input text into the chat box 1902, the chat box 1902 will gradually increase in size as the input text increases. When the chat box 1902 is gradually enlarged, the upper edge of the chat box 1902 will gradually approach the floating window 1901 of the short video P.
- the chat box 1902 when the chat box 1902 gradually increases with the increase of input text, when the upper edge of the chat box 1902 is close to touching the floating window 1901 of the short video P, or, when the floating window of the short video P When the distance between the lower edges of the window 1901 is less than a certain threshold (such as 1 millimeter (mm), 2mm, or 1 pixel, etc.), if the chat box 1902 continues to increase, the terminal device can follow the increase of the chat box 1902. Enlarge and squeeze (or reduce) the size of the floating window 1901 of the short video P. For example, every time the chat box 1902 is increased by 1 mm upward, the terminal device may adjust the lower edge of the floating window 1901 of the short video P to shrink upward by 1 mm.
- a certain threshold such as 1 millimeter (mm), 2mm, or 1 pixel, etc.
- FIG. 21 The effect of dynamically adjusting the size of the floating window 1901 of the short video P can be referred to in FIG. 21 .
- the terminal device during the process of the chat box 1902 gradually increasing with the increase of input text, the terminal device, according to the positional relationship between the chat box 1902 and the floating window 1901 of the short video P, Dynamically adjust the size of the floating window 1901 of the short video P so that the floating window 1901 of the short video P does not block the chat box 1902.
- the floating display of the access page of the first link is implemented in the interface of the first application through the floating surface.
- the terminal device may adjust the size of the visited page of the first link being displayed in the floating state by adjusting the size of the floating surface.
- the embodiment of this application provides The display method is illustrated as an example. However, it should be understood that although the above description is based on the terminal device displaying the thumbnail corresponding to the link of the short video P in the interface of the chat application and the opening button of the link of the short video P as an example, the present application does not display the thumbnail corresponding to the link of the short video P
- the way of linking the short video P is not limited.
- the terminal device may display the link of the short video P by displaying a URI in the form of text or a card and an open button of the link of the short video P.
- the terminal device may only display the thumbnail corresponding to the link of the short video P, or the URI in the form of text or card, and does not display the open button of the link of the short video P, but the short video
- the thumbnail corresponding to the link of P, or the URI itself in the form of text or card can be used as the open button.
- the terminal device may be triggered to detect that the user opens the link of the short video P.
- the first application is taken as an example of a chat application for illustration.
- the first application is a mailbox (or called an email), or a text message and other functions that have the function of sending and receiving information
- the various implementation manners mentioned in the foregoing embodiments are also applicable.
- FIG. 22 is a schematic interface diagram of a mailbox provided in the embodiment of the present application.
- the way in which the terminal device displays the link of the short video P in the interface of the mailbox can be the same as the way in which the link of the short video P is displayed in the interface of the above-mentioned chat application, and the terminal device can display the link of the short video P in the interface of the mailbox
- the thumbnail 2201 corresponding to the link of the short video P and the open button 2202 of the link of the short video P are displayed on the interface.
- the terminal device may respond to detecting the user's operation of clicking the open button 2202, and access the short video P included in the link through the application A.
- URI and the short video P is embedded in the interface of the mailbox for display (the specific principle is the same as the previous embodiment).
- FIG. 23 is a schematic diagram of the effect of displaying the short video P embedded in the mailbox interface provided by the embodiment of the present application. As shown in Figure 23, when the short video P is embedded in the interface of the mailbox and displayed, the short video P will not block the interface of the mailbox.
- the first application described in the embodiments of the present application may also refer to the notification bar (the notification bar may also be called the status bar) of the terminal device (such as a mobile phone or a computer), and the notification bar may include a portable There are notifications such as URI information, software update reminders, and push messages. These notifications may also be called links, and the second application may be an application that can open the notification in the notification bar. For example, assuming that notification B is included in the notification bar, and notification B is a push message pushed by application B, the second application may be application B or a default browser.
- FIG. 24 is a schematic diagram of an interface of the status bar of the mobile phone provided by the embodiment of the present application.
- the mobile phone can display a status bar 2402 in a pull-down interface 2401 .
- the drop-down interface refers to the display interface that appears after sliding down the top of the main interface (or called the desktop) of the mobile phone, and the buttons of the functions commonly used by the user can be displayed in the drop-down interface, such as: WLAN, Bluetooth, etc., for the convenience of the user Quick access to relevant functions.
- the user can perform a downward sliding operation on the top of the mobile phone screen to trigger the mobile phone to switch the display interface from the desktop to the drop-down interface (or overlay and display the drop-down interface on the desktop).
- the interface of the status bar 2402 may include notifications such as "Notification A”, “Notification B”, and “Notification C”.
- “notification B” is a push message pushed by application B, and application B is installed on the mobile phone
- the mobile phone can respond to the user clicking "notification B” in the status bar 2402. B" operation, replace the view control used to display "notification B” in the interface of the status bar 2402 with a surfaceview control, or add a surfaceview control in the interface of the status bar 2402, here the interface of the status bar 2402
- the view control used to display "notification B” is replaced by the surfaceview control as an example.
- the surfaceview control comes with a layer of surface.
- the mobile phone can respond to the user's operation of clicking "Notification B" in the status bar 2402, and start the application B through the startactivity method, and the application B can access the URI included in the "Notification B” and display the specific content of the "Notification B".
- the mobile phone When the mobile phone creates a surface for application B to display the specific content of "notification B", it can assign the surface of the surfaceview control in the interface of the status bar 2402 to the surface for application B to display the specific content of "notification B". Then, the specific content of "notification B” will be drawn on the surface of the surfaceview control in the interface of the status bar 2402 for display. That is, the specific content of "notification B” can be embedded in the interface of the status bar 2402 for display.
- FIG. 25 is a schematic diagram showing the effect of displaying the specific content of "notification B” embedded in the interface of the status bar provided by the embodiment of the present application.
- the "window of application B” includes the specific content of "notification B”, and when the specific content of "notification B” is drawn on the surface of the surfaceview control in the interface of the status bar 2402 for display, The “window of application B” may be embedded in the interface of the status bar 2402 .
- the user can browse the specific content of "Notification B” in the interface of status bar 2402, and the specific content of "Notification B” will not block the interface of status bar 2402 when displayed.
- notification B is the first link above, and the user's operation of clicking "notification B" in the status bar 2402 is the operation of opening the first link.
- the first application described in the embodiments of the present application may also refer to a negative screen of a terminal device (such as a mobile phone), and the negative screen may also include recommendations such as information carrying URIs and push messages.
- Information, or service information such as health services, financial services, and shopping services.
- the recommendation information, service information, etc. included in the negative screen may also be referred to as links
- the first link may be one of the links
- the second application may be an application capable of opening the link in the negative screen.
- the negative screen refers to the display interface that appears after sliding the main interface (or desktop) of the mobile phone to the right.
- the negative screen can display the user's frequently used applications, functions, subscribed services and information, etc., which is convenient for users to quickly Browse and use. For example, when the current display interface of the mobile phone is the desktop, the user can perform a rightward sliding operation on the screen of the mobile phone to trigger the mobile phone to switch the display interface from the desktop to a negative screen.
- one negative screen is just a word used in the embodiment of the present application, and its meaning has been recorded in the embodiment of the present application, but its name does not constitute any limitation to the embodiment of the present application; in addition, in some other embodiments, “one negative screen” may also be called other names such as “desktop assistant”, “shortcut menu”, “Widget collection interface”, etc., which is not limited here.
- the scenarios where the first application is a chat application, email, notification bar, negative screen, etc. are only some scenarios that can be realized in the embodiments of the present application, and the present application does not limit the specific type of the first application here.
- first link is a short video P or "notification B"
- first link being other Scenarios for linking data such as text, pictures, audio, video, and web pages. That is to say, the technical solution described in the embodiment of the present application can be applied to scenarios where the first link is a link of different types of data such as text, picture, audio, short video or video, web page, etc.
- the specific data corresponding to the first link The type is also not limited.
- an embodiment of the present application provides a display device, which can be applied to the above-mentioned terminal device, to implement the display method described in the foregoing embodiments.
- the functions of the device can be realized by hardware, and can also be realized by executing corresponding software by hardware.
- the hardware or software includes one or more modules or units corresponding to the steps in the above display method.
- FIG. 26 is a schematic structural diagram of a display device provided by an embodiment of the present application.
- the device may include: a display module 2601 , a receiving module 2602 , and a processing module 2603 .
- the display module 2601 , the receiving module 2602 , and the processing module 2603 may be used to cooperate to implement the display methods described in the foregoing embodiments.
- the display module 2601 is used to display the interface of the first application, the interface of the first application includes the first link;
- the receiving module 2602 is used to receive the first operation, the first operation is the operation of opening the first link;
- the processing module 2603 configured to, in response to the first operation, acquire the access page of the first link through the second application, and display the access page of the first link in the interface of the first application through the display module 2601 .
- the processing module 2603 is specifically configured to replace the screen where the first link is located in the interface of the first application with the access page of the first link, so as to realize the display of the first link in the interface of the first application. Visit the page.
- the processing module 2603 is specifically configured to replace the view control at the location of the first link in the interface of the first application with the first interface view control; assign the first interface of the first interface view control to the second application to obtain The second interface created by the access page of the first link is used to replace the screen where the first link is located in the interface of the first application with the access page of the first link.
- the processing module 2603 is specifically configured to add an access page of the first link in the interface of the first application, so as to display the access page of the first link in the interface of the first application.
- the processing module 2603 is specifically configured to add a first interface view control to the interface of the first application; assign the first interface of the first interface view control to the access page created by the second application to obtain the first link
- the second interface is to add the first linked access page in the interface of the first application.
- the receiving module 2602 is further configured to receive a second operation, the second operation is an operation of switching the access page of the first link to a full-screen display; the processing module 2603 is further configured to respond to the second operation by displaying Module 2601 displays the accessed page of the first link in full screen.
- the processing module 2603 is specifically configured to create a full-screen interface, and assign the full-screen interface to the second interface created by the second application to obtain the access page of the first link, so as to display the access page of the first link in full screen.
- the receiving module 2602 is further configured to receive a third operation, the third operation is an operation of canceling the full-screen display of the access page of the first link; the processing module 2603 is further configured to respond to the third operation, through the display module 2601 The access page of the first link is displayed in the interface of the first application.
- the processing module 2603 when the access page of the first link is displayed in the interface of the first application, if the interface of the first application slides up or down and the access page of the first link moves to the screen junction, the processing module 2603, It is also used for hovering and displaying the access page of the first link through the display module 2601 .
- the processing module 2603 is specifically configured to create a floating interface, and assign the floating interface to the second interface created by the second application to obtain the access page of the first link, so as to realize the floating display of the access page of the first link.
- the processing module 2603 is further configured to use the display module 2601 to display The access page of the first link is displayed in the interface of the first application.
- the processing module 2603 is further configured to dynamically adjust the first link according to the positional relationship between the first element in the interface of the first application and the access page of the first link
- the size of the visited page of the first link; the size of the visited page of the first link is related to the size of the first element.
- the receiving module 2602 is further configured to receive a fourth operation, the fourth operation is an operation of closing the access page of the first link; the processing module 2603 is further configured to close the access page of the first link in response to the fourth operation page, the access page of the first link is no longer displayed in the interface of the first application through the display module 2601.
- the processing module 2603 realizes displaying the access page of the first link in the interface of the first application by replacing the screen where the first link is located in the interface of the first application with the access page of the first link; the processing module Step 2603 is further configured to redisplay the first link in the interface of the first application through the display module 2601 after closing the access page of the first link.
- the interface of the first application includes the first link means that the interface of the first application includes a thumbnail corresponding to the first link, and/or an open button of the first link.
- the thumbnail corresponding to the first link includes: a thumbnail of the second application or a default thumbnail.
- the second application includes an application corresponding to the first link, or a default application on the device.
- the area occupied by the access page of the first link in the interface of the first application is larger than that occupied by the first link in the interface of the first application. occupied area.
- the division of modules (or called units) in the above device is only a division of logical functions, and may be fully or partially integrated into a physical entity or physically separated during actual implementation.
- the units in the device can all be implemented in the form of software called by the processing element; they can also be implemented in the form of hardware; some units can also be implemented in the form of software called by the processing element, and some units can be implemented in the form of hardware.
- each unit can be a separate processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function. In addition, all or part of these units can be integrated together, or implemented independently.
- the processing element described here may also be referred to as a processor, and may be an integrated circuit with a signal processing capability. In the process of implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software called by the processing element.
- the units in the above device may be one or more integrated circuits configured to implement the above method, for example: one or more application specific integrated circuits (ASIC), or, one or more A digital signal processor (DSP), or, one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms.
- ASIC application specific integrated circuits
- DSP digital signal processor
- FPGA field programmable gate arrays
- the processing element can be a general-purpose processor, such as a central processing unit (central processing unit, CPU) or other processors that can call programs.
- CPU central processing unit
- these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
- the units of the above apparatus for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler.
- the apparatus may include a processing element and a storage element, and the processing element invokes a program stored in the storage element to execute the methods described in the above method embodiments.
- the storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.
- the program for executing the above method may be stored in a storage element on a different chip from the processing element, that is, an off-chip storage element.
- the processing element invokes or loads a program from the off-chip storage element to the on-chip storage element, so as to invoke and execute the methods described in the above method embodiments.
- the embodiment of the present application also provides an electronic device.
- the electronic device may be the terminal device described in the first aspect above.
- the electronic device includes: a processor, and a memory for storing processor-executable instructions; when the processor is configured to execute the instructions, the electronic device implements the methods described in the foregoing embodiments.
- the memory can be located inside the electronic device or outside the electronic device.
- the processor includes one or more.
- the electronic device may be a mobile phone, or a tablet computer, a wearable device, a vehicle-mounted device, an AR/VR device, a notebook computer, a UMPC, a netbook, a PDA, and the like.
- the unit of the electronic device that implements each step in the above method may be configured as one or more processing elements, where the processing elements may be integrated circuits, for example: one or more ASICs, or one Or multiple DSPs, or, one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form a chip.
- an embodiment of the present application further provides a chip, and the chip can be applied to the above-mentioned electronic device.
- the chip includes one or more interface circuits and one or more processors; the interface circuits and processors are interconnected through lines; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuits, so as to realize the method.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, such as a program.
- the software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all of the methods described in various embodiments of the present application. or partial steps.
- the aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
- an embodiment of the present application further provides a computer-readable storage medium on which computer program instructions are stored; when the computer program instructions are executed by an electronic device, the electronic device implements the method described in the embodiment.
- an embodiment of the present application further provides a computer program product, including: computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in the electronic device
- the processor in the electronic device implements the method described in the foregoing embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (21)
- 一种显示方法,其特征在于,所述方法包括:终端设备显示第一应用的界面,所述第一应用的界面包括第一链接;所述终端设备接收第一操作,所述第一操作为打开所述第一链接的操作;所述终端设备响应于所述第一操作,通过第二应用获取所述第一链接的访问页面,并在所述第一应用的界面内显示所述第一链接的访问页面。
- 根据权利要求1所述的方法,其特征在于,所述终端设备在所述第一应用的界面内显示所述第一链接的访问页面,包括:所述终端设备将所述第一应用的界面内所述第一链接所在位置的画面替换为所述第一链接的访问页面,或者,所述终端设备在所述第一应用的界面内增加所述第一链接的访问页面。
- 根据权利要求2所述的方法,其特征在于,所述终端设备将所述第一应用的界面内所述第一链接所在位置的画面替换为所述第一链接的访问页面,包括:所述终端设备将所述第一应用的界面中所述第一链接所在位置的视图控件替换为第一界面视图控件;所述终端设备将所述第一界面视图控件的第一界面赋值给所述第二应用获取所述第一链接的访问页面所创建的第二界面。
- 根据权利要求2所述的方法,其特征在于,所述终端设备在所述第一应用的界面内增加所述第一链接的访问页面,包括:所述终端设备在所述第一应用的界面中增加第一界面视图控件;所述终端设备将所述第一界面视图控件的第一界面赋值给所述第二应用获取所述第一链接的访问页面所创建的第二界面。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:所述终端设备接收第二操作,所述第二操作为将所述第一链接的访问页面切换为全屏显示的操作;所述终端设备响应于所述第二操作,全屏显示所述第一链接的访问页面。
- 根据权利要求5所述的方法,其特征在于,所述终端设备全屏显示所述第一链接的访问页面,包括:所述终端设备创建全屏界面,并将所述全屏界面赋值给所述第二应用获取所述第一链接的访问页面所创建的第二界面。
- 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:所述终端设备接收第三操作,所述第三操作为将所述第一链接的访问页面取消全屏显示的操作;所述终端设备响应于所述第三操作,在所述第一应用的界面内显示所述第一链接的访问页面。
- 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:所述第一链接的访问页面在所述第一应用的界面内显示时,如果所述第一应用的界面向上滑动或向下滑动导致所述第一链接的访问页面移动到屏幕交界处,所述终端设备悬浮显示所述第一链接的访问页面。
- 根据权利要求8所述的方法,其特征在于,所述终端设备悬浮显示所述第一链接的访问页面,包括:所述终端设备创建悬浮界面,并将所述悬浮界面赋值给所述第二应用获取所述第一链接的访问页面所创建的第二界面。
- 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:所述第一链接的访问页面悬浮显示时,如果所述第一应用的界面向上滑动或向下滑动导致所述第一链接的访问页面远离屏幕交界处,所述终端设备在所述第一应用的界面内显示所述第一链接的访问页面。
- 根据权利要求8-10任一项所述的方法,其特征在于,所述方法还包括:所述第一链接的访问页面悬浮显示时,所述终端设备根据所述第一应用的界面中的第一元素与所述第一链接的访问页面之间的位置关系,动态调整所述第一链接的访问页面的大小;所述第一链接的访问页面的大小与所述第一元素的大小相关。
- 根据权利要求1-11任一项所述的方法,其特征在于,所述方法还包括:所述终端设备接收第四操作,所述第四操作为关闭所述第一链接的访问页面的操作;所述终端设备响应于所述第四操作,关闭所述第一链接的访问页面,不再在所述第一应用的界面内显示所述第一链接的访问页面。
- 根据权利要求12所述的方法,其特征在于,所述终端设备是通过将所述第一应用的界面内所述第一链接所在位置的画面替换为所述第一链接的访问页面,实现在所述第一应用的界面内显示所述第一链接的访问页面;所述终端设备关闭所述第一链接的访问页面后,所述方法还包括:所述终端设备在所述第一应用的界面内重新显示所述第一链接。
- 根据权利要求1-13任一项所述的方法,其特征在于,所述第一应用的界面包括第一链接,是指:所述第一应用的界面包括所述第一链接对应的缩略图,和/或,所述第一链接的打开按钮。
- 根据权利要求14所述的方法,其特征在于,所述第一链接对应的缩略图包括:所述第二应用的缩略图或者默认的缩略图。
- 根据权利要求1-15任一项所述的方法,其特征在于,所述第二应用包括所述第一链接对应的应用,或者,所述终端设备上的默认应用。
- 根据权利要求1-16任一项所述的方法,其特征在于,所述第一链接的访问页面在所述第一应用的界面内显示时,所述第一链接的访问页面在所述第一应用的界面中所占的区域大于所述第一链接在所述第一应用的界面中所占的区域。
- 一种显示装置,其特征在于,所述装置包括:显示模块,用于显示第一应用的界面,所述第一应用的界面包括第一链接;接收模块,用于接收第一操作,所述第一操作为打开所述第一链接的操作;处理模块,用于响应于所述第一操作,通过第二应用获取所述第一链接的访问页面,并在所述第一应用的界面内显示所述第一链接的访问页面。
- 一种电子设备,其特征在于,包括:处理器,用于存储所述处理器可执行指 令的存储器;所述处理器被配置为执行所述指令时,使得所述电子设备实现如权利要求1-17任一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序指令;其特征在于,当所述计算机程序指令被电子设备执行时,使得电子设备实现如权利要求1-17任一项所述的方法。
- 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,其特征在于,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器实现如权利要求1-17任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/687,515 US20240354128A1 (en) | 2021-08-30 | 2022-08-29 | Display method and apparatus, device, and storage medium |
| EP22863411.9A EP4369176A4 (en) | 2021-08-30 | 2022-08-29 | Display method, apparatus, device, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111005587.1 | 2021-08-30 | ||
| CN202111005587.1A CN115729495B (zh) | 2021-08-30 | 2021-08-30 | 一种显示方法、装置、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023030276A1 true WO2023030276A1 (zh) | 2023-03-09 |
Family
ID=85290859
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/115633 Ceased WO2023030276A1 (zh) | 2021-08-30 | 2022-08-29 | 一种显示方法、装置、设备及存储介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20240354128A1 (zh) |
| EP (1) | EP4369176A4 (zh) |
| CN (1) | CN115729495B (zh) |
| WO (1) | WO2023030276A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025064531A1 (en) * | 2023-09-19 | 2025-03-27 | Snap Inc. | Implementing user interfaces of other applications |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117850632A (zh) * | 2022-09-30 | 2024-04-09 | 腾讯科技(深圳)有限公司 | 一种页面处理方法、装置、设备、存储介质及产品 |
| CN118796317A (zh) * | 2023-04-13 | 2024-10-18 | 北京字跳网络技术有限公司 | 信息交互方法、装置、电子设备及存储介质 |
| CN120295698A (zh) * | 2024-01-10 | 2025-07-11 | 华为技术有限公司 | 一种内容显示方法和电子设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080235594A1 (en) * | 2005-12-23 | 2008-09-25 | Soujanya Bhumkar | Methods and systems for enhancing internet experiences |
| CN102929486A (zh) * | 2012-10-31 | 2013-02-13 | 东莞宇龙通信科技有限公司 | 终端和链接处理方法 |
| CN104331224A (zh) * | 2013-07-22 | 2015-02-04 | 腾讯科技(深圳)有限公司 | 一种网页内容浏览方法及装置、终端设备 |
| CN108038150A (zh) * | 2017-11-30 | 2018-05-15 | 广州市动景计算机科技有限公司 | 网页打开方法、装置及终端设备 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2337497C2 (ru) * | 2004-03-10 | 2008-10-27 | Квэлкомм Инкорпорейтед | Устройство и способ для реализации интерфейса с высокой скоростью передачи данных |
| US20120084644A1 (en) * | 2010-09-30 | 2012-04-05 | Julien Robert | Content preview |
| US20120144289A1 (en) * | 2010-12-03 | 2012-06-07 | James Morley-Smith | Displaying a Portion of a First Application Over a Second Application |
| CN104243273A (zh) * | 2013-06-09 | 2014-12-24 | 阿里巴巴集团控股有限公司 | 即时通讯客户端显示信息的方法及设备和信息显示系统 |
| CN108664303B (zh) * | 2018-04-28 | 2023-06-30 | 北京小米移动软件有限公司 | 网页内容的显示方法及装置 |
| CN112751744B (zh) * | 2019-10-31 | 2022-06-21 | 腾讯科技(深圳)有限公司 | 一种控制视频播放的方法、装置、计算设备及存储介质 |
-
2021
- 2021-08-30 CN CN202111005587.1A patent/CN115729495B/zh active Active
-
2022
- 2022-08-29 EP EP22863411.9A patent/EP4369176A4/en active Pending
- 2022-08-29 US US18/687,515 patent/US20240354128A1/en active Pending
- 2022-08-29 WO PCT/CN2022/115633 patent/WO2023030276A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080235594A1 (en) * | 2005-12-23 | 2008-09-25 | Soujanya Bhumkar | Methods and systems for enhancing internet experiences |
| CN102929486A (zh) * | 2012-10-31 | 2013-02-13 | 东莞宇龙通信科技有限公司 | 终端和链接处理方法 |
| CN104331224A (zh) * | 2013-07-22 | 2015-02-04 | 腾讯科技(深圳)有限公司 | 一种网页内容浏览方法及装置、终端设备 |
| CN108038150A (zh) * | 2017-11-30 | 2018-05-15 | 广州市动景计算机科技有限公司 | 网页打开方法、装置及终端设备 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4369176A4 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025064531A1 (en) * | 2023-09-19 | 2025-03-27 | Snap Inc. | Implementing user interfaces of other applications |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115729495A (zh) | 2023-03-03 |
| US20240354128A1 (en) | 2024-10-24 |
| EP4369176A1 (en) | 2024-05-15 |
| EP4369176A4 (en) | 2024-11-13 |
| CN115729495B (zh) | 2026-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023030276A1 (zh) | 一种显示方法、装置、设备及存储介质 | |
| WO2021057830A1 (zh) | 一种信息处理方法及电子设备 | |
| US20170235435A1 (en) | Electronic device and method of application data display therefor | |
| CN114237778B (zh) | 界面显示方法及电子设备 | |
| WO2023029993A1 (zh) | 一种搜索方法和电子设备 | |
| WO2023226455A1 (zh) | 应用图标的显示方法、电子设备及可读存储介质 | |
| WO2022242503A1 (zh) | 投屏方法及相关装置 | |
| CN108230014A (zh) | 电子装置及使用电子装置显示网页的方法 | |
| WO2023284625A1 (zh) | 应用的跨平台显示方法、可读介质和电子设备 | |
| WO2024169305A1 (zh) | 应用管理的方法和电子设备 | |
| CN116033062B (zh) | 应用程序的界面显示方法、电子设备及可读存储介质 | |
| WO2024001770A1 (zh) | 一种广告归因的系统、方法以及装置 | |
| WO2026056659A1 (zh) | 数据传输的方法、系统和电子设备 | |
| CN116700554A (zh) | 信息的显示方法、电子设备及可读存储介质 | |
| WO2025107801A1 (zh) | 发送信息的方法和电子设备 | |
| WO2024104094A1 (zh) | 截图分享方法及电子设备 | |
| CN119248135B (zh) | 窗口的显示方法、电子设备和计算机可读存储介质 | |
| WO2024109220A1 (zh) | 显示卡片的方法、电子设备及可读存储介质 | |
| WO2023131312A1 (zh) | 窗口交互方法和电子设备 | |
| CN118394242B (zh) | 一种悬浮窗的管理方法及相关装置 | |
| CN115408708A (zh) | 图形界面显示方法、电子设备、介质以及程序产品 | |
| US20250264976A1 (en) | Display method, display apparatus, and electronic device | |
| EP4647917A1 (en) | Animation effect display method and electronic device | |
| WO2025016282A1 (zh) | 显示方法和电子设备 | |
| WO2025107914A1 (zh) | 一种显示方法及电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22863411 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022863411 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022863411 Country of ref document: EP Effective date: 20240208 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18687515 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |