Content display method and device
By acquiring and using folding angles on electronic devices to adjust the content display method, the problem of single electronic document format and cumbersome operation is solved, and diversified electronic document display and simplified operation processes are realized.
Patent Information
- Application Number
- CN202211043160.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-08-29
AI Technical Summary
In the prior art, when obtaining electronic documents through electronic devices, the form is single and the operation is cumbersome, and the diverse needs of users cannot be met.
By obtaining the folding angle between the first screen and the second screen of the electronic device, receiving user input, obtaining content, and displaying content on the page according to the folding angle, different content display methods corresponding to different folding angles are realized.
It realizes the diversified form of electronic documents, without secondary processing, simple operation, and better meets user needs.
Smart Images

Figure CN115361459B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a content display method and device. Background Art
[0002] With the popularity of electronic devices such as mobile phones, the types and functions of mobile phone applications are becoming more and more abundant, and people are becoming more and more dependent on mobile phones. For example, in daily life, paper documents often need to be converted into electronic documents. Specifically, the paper document is first photographed with a mobile phone, and then the user selects the photographed paper document from the album through a third-party application to generate an electronic document.
[0003] To generate an electronic document in this way, you need to first take a photo of the paper document and then select the image of the paper document from the photo album to generate the electronic document. All electronic documents converted from paper documents are in a unified format and have a single layout. In this way, the electronic document obtained by the electronic device is in a single format. When the layout of the electronic document needs to be adjusted, the electronic document needs to be processed again, which is cumbersome and cannot meet the needs of users well. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a content display method and device, which can solve the problem that the current electronic documents obtained through electronic devices are single in form and complicated in operation.
[0005] In a first aspect, an embodiment of the present application provides a content display method, which is applied to an electronic device, wherein the electronic device includes a first screen and a second screen, and the method includes: obtaining a first folding angle between the first screen and the second screen; receiving a first input; in response to the first input, obtaining a first content; displaying the first content on a first page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display methods of the first page, and the first page is displayed on the first screen and / or the second screen.
[0006] In a second aspect, an embodiment of the present application provides a content display device, comprising: an acquisition module for acquiring a first folding angle between a first screen and a second screen; a receiving module for receiving a first input; the acquisition module is also used to acquire a first content in response to the first input; and a display module is used to display the first content on a first page according to the first folding angle, wherein different folding angles between the first screen and the second screen correspond to different content display methods of the first page, and the first page is displayed on the first screen and / or the second screen.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0010] The content display method provided in the embodiment of the present application is applied to an electronic device, and the electronic device includes a first screen and a second screen. By obtaining a first folding angle between the first screen and the second screen; receiving a first input; obtaining a first content in response to the first input; displaying the first content on a first page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the first page, and the first page is displayed on the first screen and / or the second screen. The first content can be displayed in different content display modes according to the different folding angles between the two screens of the electronic device, and the layout is diverse. In this way, the electronic document obtained is in various forms, and there is no need to perform secondary processing on the electronic document. The operation is simple and can better meet the needs of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A flow chart showing a content display method provided by an embodiment of the present application;
[0012] Figure 2-Figure 7 Figures showing various display pages of the content display method provided in the embodiments of the present application;
[0013] Figure 8 A schematic diagram showing the structure of a content display device provided in an embodiment of the present application is shown;
[0014] Fig. 9 A schematic diagram showing the structure of an electronic device provided in an embodiment of the present application is shown;
[0015] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0017] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0018] The embodiment of the present application provides a content display method. The content display method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0019] Figure 1 The flowchart of the first content display method provided by the embodiment of the present application is shown. The method can be executed by an electronic device, such as a terminal device. That is, the above-mentioned content display method can be executed by hardware or software installed in the terminal device. The electronic device can be a folding screen device, such as a folding mobile phone, which includes a first screen and a second screen, such as Figure 1 As shown, the method comprises the following steps:
[0020] Step S101: obtaining a first folding angle between a first screen and a second screen.
[0021] Specifically, the first screen and the second screen of the electronic device can move relative to each other through the rotation axis, and the first folding angle is the angle between the first screen and the second screen about the rotation axis, which can change with the relative rotation of the first screen and the second screen. When the electronic device is fully unfolded, the first folding angle between the first screen and the second screen is 180 degrees, and the first screen and the second screen are combined into a complete large screen. The first folding angle between the first screen and the second screen can be obtained by an angle sensor.
[0022] Step S103: receiving a first input.
[0023] Specifically, the first input may be clicking on a camera or a third-party application to enable a document scanning function in the camera or the third-party application and turn on the camera of the electronic device.
[0024] Step S105: In response to the first input, obtain the first content.
[0025] Specifically, the first content is a scanned document obtained after scanning the document to be scanned. When the user has a document scanning requirement, the user uses an electronic device to scan the document to be scanned to obtain the first content. When scanning the document to be scanned, the document scanning function in the camera or the third-party application can be enabled by clicking on the camera or the third-party application, and the camera of the electronic device can be turned on to scan the document to be scanned to obtain the first content.
[0026] Step S107: displaying the first content on the first page according to the first folding angle.
[0027] Among them, different folding angles between the first screen and the second screen correspond to different content display methods of the first page, and the first page is displayed on the first screen and / or the second screen. Among them, when the electronic device is in a fully unfolded state, the first screen and the second screen can be used as a complete screen to display the first page, and when the electronic device is in a folded state, the first page can be displayed on the first screen or the second screen.
[0028] Specifically, different content display methods may be displaying document content in different display areas, and displaying the content in a layout of the first content on the second page at different folding angles. For example, different content display methods of the layout may be different display areas, different display positions, and different outlines of the display area for displaying the first content (such as square, circle, polygon, etc.).
[0029] Among them, the first page can be a content display area, and the content of the scanned document can be clearly seen on the first page. The first content is displayed on the first page in a content display method corresponding to the first folding angle, wherein the content display method of the first page can be a display area of the first content displayed in the first page, and the display area is proportional to the folding angle between the first screen and the second screen. The display area is proportional to the importance of the content of the document to be displayed. That is to say, the larger the folding angle between the first screen and the second screen, the larger the display area of the first content in the first page, and the smaller the folding angle between the first screen and the second screen, the smaller the display area of the first content in the first page. The importance of the first content is determined by the size of the display area in the first page. The larger the display area, the more important the first content, and the smaller the display area, the less important the first content. For example, Figure 2As shown, when the electronic device is in a fully unfolded state, the first folding angle is 180 degrees, and the first content is displayed in full screen on the first page 201. It is worth noting that on the display screen of the electronic device, in addition to displaying the first page, various camera controls can also be displayed, such as a shooting control 202, an album control 203, and a refresh control 204.
[0030] Furthermore, displaying the first content on the first page according to the first folding angle can be performed by determining the first content display mode corresponding to the first folding angle according to the correspondence between the preset folding angle and the content display mode in the first page, and displaying the first content on the first page according to the first content display mode.
[0031] Specifically, the correspondence between the folding angle between the first screen and the second screen of the electronic device and the content display mode of displaying the first content in the first page can be pre-configured, which can be the relationship between the folding angle and the display area of the first content displayed in the first page. For example, when the electronic device is in a fully unfolded state, the folding angle is 180 degrees, and the display area of the first content displayed on the first page is the largest, such as the vertical 1 / 2 layout of the first page and the standard page margins of 2.54 cm and 3.18 cm are reserved for the top, bottom, left and right of the page, respectively. When the folding angle is 45 degrees, the display area of the first content displayed on the first page can be 1 / 8 of the maximum display area. Among them, before the user scans, the folding angle of the electronic device can be dynamically adjusted according to the importance of the document currently scanned. As the folding angle of the electronic device changes, the content display mode of the document to be scanned in the first page will also change accordingly, until the first folding angle is finally determined, and then the user clicks the camera or a third-party application to scan the document to be scanned to obtain the first content, and the first content is displayed on the first page according to the first content display mode corresponding to the first folding angle. In this way, different folding angles can present different content display modes of the document on the first page, and the user can intuitively understand the importance of the first content, which improves the user experience.
[0032] Furthermore, the first content can also be displayed on the second page according to the first folding angle, and different folding angles between the first screen and the second screen correspond to different content display modes of the second page. The second page is used to display the layout of the first content in the electronic document that needs to be generated in the end, and the second page is displayed on the first screen and / or the second screen; when the first content is displayed in the first page, the second page is displayed; the content display mode of the second page includes at least one of the following: the display position in the second page; the display area in the second page; the outline of the display area for displaying the first content in the second page; the content display mode of the first page includes: the display area of the first content in the first page, the display area is proportional to the folding angle between the first screen and the second screen, and the display area is proportional to the importance level of the content to be displayed.
[0033] The second page can lay out the scanned first content in the electronic document that needs to be generated in the end, such as the position and display area of the first content in the electronic document that needs to be generated in the end, and the outline of the display area on the second page for displaying the first content. The outline of the display area can be in a circular, square, trapezoidal or other shapes. The second page can be a preview image. Multiple first contents obtained by multiple scans can be laid out in the second page. The layout of each first content in the electronic document that needs to be generated in the end (such as the position, the size of the display area, etc.) can be seen through the second page. For example, Figure 3 As shown, after the first content is scanned, a second page 301 pops up at the bottom of the electronic device screen. The second page 301 can be suspended at any position on the screen, such as the lower right. The preview image shows the position and size of the first content scanned by the electronic device when it is fully unfolded in the final electronic document to be generated. The user can preview the generation effect of the first content in real time through the second page. In this way, different folding angles can present different content display modes of the first content on the second page, and the user can intuitively understand the effect of the final generated electronic document, which improves the layout richness of the final generated electronic document, and is diverse in form, which can better meet the needs of users.
[0034] Before the user scans, the folding angle of the electronic device can be dynamically adjusted according to the importance of the document currently being scanned. As the folding angle of the electronic device changes, the content display method of the document to be scanned on the second page will also change accordingly, until the first folding angle is finally determined. The user then clicks the camera or a third-party application to scan the document to be scanned to obtain the first content, and displays the first content on the second page according to the content display method corresponding to the first folding angle.
[0035] Through the technical solution disclosed in the embodiment of the present application, by obtaining a first folding angle between the first screen and the second screen; receiving a first input; obtaining a first content in response to the first input; displaying the first content on a first page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the first page, and the first page is displayed on the first screen and / or the second screen, and the first content can be displayed in different content display modes according to the different folding angles between the two screens of the electronic device, with diverse layouts. In this way, the electronic documents obtained are in various forms, and there is no need to perform secondary processing on the electronic documents. The operation is simple and can well meet the needs of users.
[0036] In a possible implementation, after displaying the first document on the first page according to the first folding angle, the method further includes: obtaining a second folding angle between the first screen and the second screen again, obtaining third content, and displaying the third content on the first page according to the second folding angle.
[0037] Specifically, based on the completion of the last scan, the user can continue to scan the next part of the document content to be scanned, and can also determine the importance of the document currently to be scanned by obtaining the folding angle between the first screen and the second screen of the electronic device. Among them, the second folding angle and the first folding angle can be the same or different, and the third content can be another part of the document content different from the first content. The specific implementation method of displaying the third content on the first page according to the second folding angle is the same or type as the specific implementation method of displaying the first content on the first page according to the first folding angle, and they can refer to each other, and the embodiments of the present application will not be repeated here.
[0038] In a possible implementation manner, after displaying the third content on the first page according to the second folding angle, the method further includes:
[0039] The third content is displayed on the second page according to the second folding angle, and different folding angles between the first screen and the second screen correspond to different content display modes of the second page.
[0040] Specifically, the second page can lay out the scanned third content in the final electronic document to be generated, such as the position of the third content in the final electronic document, the display area, and the outline of the display area for displaying the first content. In the preview image, the layout of the third content can be arranged after the first content that was laid out last time, and the layout of the first content and the third content can be displayed simultaneously in the preview image. For example, Figure 4As shown, after the first content is scanned, a second page pops up at the bottom of the electronic device screen. The second page can be displayed in a floating position on the screen, such as the lower right. The preview image shows the position and size of the first content and the third content scanned by the electronic device when fully expanded in the final electronic document to be generated. The user can preview the generation effect of the first content and the third content in the final electronic document in real time through the second page. Among them, the first content is displayed in the first area 401 of the second page, and the third content is displayed in the second area 402 of the second page.
[0041] In a possible implementation, after displaying the first content on the second page according to the first folding angle, the method further includes: receiving a second input on the first content; and adjusting a content display mode of the first content on the second page in response to the second input.
[0042] Specifically, the second input may be a click, drag, zoom, long press, etc. In the second page, the user can see the electronic document of the first content that is finally generated. In the second page, the user can manually drag the content area of the document in the second page to adjust the position of the first content in the second page, and / or the user can manually zoom the content area of the document in the second page to adjust the display area of the first content in the second page. The layout of the first content in the finally generated electronic document is the content display mode of the first content after adjustment in the second page. For example, Figure 5 and Figure 6 As shown, the user long presses the display area where the first content is located on the second page to make the display area where the first content is located in a movable state, and then the user drags the display area where the first content is located to Figure 6 Thus, the layout of the first content in the electronic document can be further adjusted on the second page, further improving the richness of the layout of the generated electronic document, with various forms, which can better meet the needs of users.
[0043] In a possible implementation, after displaying the first content on the second page according to the first folding angle, the method further includes: receiving a third input to a target control in the second page; and generating an electronic document corresponding to the second page in response to the third input, the electronic document including the first content.
[0044] Specifically, after the user has finished scanning the document to be scanned or has finished adjusting the display mode of the contents of each document on the second page, two controls will be displayed, such as Figure 7As shown, one of the controls is a "generate control" and the other is a "continue control"; the "generate control" means completing the document scan and generating an electronic document (such as PDF format), and the "continue control" means returning from the current second page to the document scan page to continue document scanning. Among them, the third input can be a click, a long press, etc., and the "generate control" can be used as a target control. After the user clicks the "generate control", the document scan is completed and an electronic document in PDF format is generated and saved locally in the user.
[0045] It should be noted that the content display method provided in the embodiment of the present application can be executed by a content display device or a control module in the content display device for executing the content display method. In the embodiment of the present application, the content display device provided in the embodiment of the present application is described by taking the content display method executed by the content display device as an example.
[0046] Figure 8 A structural schematic diagram of a content display device provided in an embodiment of the present application is shown, and the device 800 includes: an acquisition module 801, used to acquire a first folding angle between a first screen and a second screen; a receiving module 802, used to receive a first input, and the acquisition module 801 is further used to acquire a first content in response to the first input; a display module 803, used to display the first content on a first page according to the first folding angle, wherein different folding angles between the first screen and the second screen correspond to different content display modes of the first page, and the first page is displayed on the first screen and / or the second screen.
[0047] Through the technical solution disclosed in the embodiment of the present application, the first content can be displayed in different content display modes according to the different folding angles between the two screens of the electronic device, and the layout is diverse. In this way, the electronic documents obtained are in various forms, and there is no need to perform secondary processing on the electronic documents. The operation is simple and can well meet the needs of users.
[0048] In a possible implementation, the display module 803 is further used to determine a first content display mode corresponding to the first folding angle according to a correspondence between a preset folding angle and a content display mode in the first page; and display the first content on the first page according to the first content display mode.
[0049] In a possible implementation, the display module 803 is further used to display the first content on a second page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the second page, the second page is used to display the layout of the first content in the electronic document that needs to be generated in the end, and the second page is displayed on the first screen and / or the second screen; when the first content is displayed in the first page, the second page is displayed; the content display mode of the second page includes at least one of the following: the display position in the second page; the display area in the second page; the outline of the display area in the second page for displaying the first content; the content display mode of the first page includes: the display area of the first content in the first page, the display area is proportional to the folding angle between the first screen and the second screen, and the display area is proportional to the importance level of the content to be displayed.
[0050] In a possible implementation, the receiving module 802 is further configured to receive a second input on the first content; and the adjusting module is configured to adjust the content display mode of the first content on the second page in response to the second input.
[0051] In a possible implementation, the receiving module 802 is further configured to receive a third input to a target control in the second page; and further includes: a generating module configured to generate an electronic document corresponding to the second page in response to the third input, wherein the electronic document includes the first content.
[0052] The content display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0053] The content display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0054] The content display device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0055] Alternatively, if Fig. 9 As shown, the embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901, and the program or instruction is executed by the processor 901 to implement the above Figure 1 The various processes of the content display method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0056] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0057] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0058] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0059] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0060] The processor 1010 is used to obtain a first folding angle between the first screen and the second screen.
[0061] The user input unit 1007 is used to receive a first input.
[0062] The processor 1010 is further configured to obtain first content in response to the first input.
[0063] The display unit 1006 is used to display the first content on the first page according to the first folding angle, and different folding angles between the first screen and the second screen correspond to different content display modes of the first page. The first page is displayed on the first screen and / or the second screen.
[0064] The display unit 1006 is further used to determine a first content display mode corresponding to the first folding angle according to a correspondence between a preset folding angle and a content display mode in the first page; and display the first content in the first page according to the first content display mode.
[0065] The display unit 1006 is also used to display the first content on a second page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the second page, the second page is used to display the layout of the first content in the electronic document that needs to be generated in the end, and the second page is displayed on the first screen and / or the second screen; when the first content is displayed in the first page, the second page is displayed; the content display mode of the second page includes at least one of the following: the display position in the second page; the display area in the second page; the outline of the display area in the second page for displaying the first content; the content display mode of the first page includes: the display area of the first content in the first page, the display area is proportional to the folding angle between the first screen and the second screen, and the display area is proportional to the importance level of the content to be displayed.
[0066] The user input unit 1007 is used to receive a second input on the first content. The processor 1010 is further used to adjust the content display mode of the first content on the second page in response to the second input.
[0067] The user input unit 1007 is further configured to receive a third input to a target control in the second page, and the processor 1010 is further configured to generate an electronic document corresponding to the second page in response to the third input, wherein the electronic document includes the first content.
[0068] The RF unit 1001 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 1010 for processing; in addition, uplink data is sent to the base station. Generally, the RF unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the RF unit 1001 can also communicate with the network and other devices through a wireless communication system.
[0069] The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0070] The audio output unit 1003 can convert the audio data received by the RF unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output it as sound. The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
[0071] It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processor (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
[0072] The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not repeated here. The memory 1009 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user pages, applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.
[0073] The electronic device 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 10061 and / or the backlight when the electronic device 1000 is moved to the ear.
[0074] The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0075] The user input unit 1007 may be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also known as a touch screen, may collect user touch operations on or near it (e.g., operations performed by a user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 10071).
[0076] The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1010, receives the command sent by the processor 1010 and executes it. In addition, the touch panel 10071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0077] Furthermore, the touch panel 10071 may be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of touch event. Then, the processor 1010 provides corresponding visual output on the display panel 10061 according to the type of touch event. Fig.10 In the figure, the touch panel 10071 and the display panel 10061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0078] The interface unit 1008 is an interface for connecting an external device to the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and an external device.
[0079] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0080] The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1009 and calling data stored in the memory 1009, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.
[0081] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned content display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0082] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0083] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned content display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0084] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0085] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0087] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A content display method, characterized in that: Applied to an electronic device, the electronic device includes a first screen and a second screen, and the method includes: Acquire a first folding angle between the first screen and the second screen; receiving a first input; In response to the first input, obtaining first content; Displaying the first content on the first page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the first page, and the first page is displayed on the first screen and / or the second screen; Displaying the first content on a second page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the second page, the second page is used to display the layout of the first content in the electronic document that needs to be generated finally, and the second page is displayed on the first screen and / or the second screen; When the first content is displayed on the first page, the second page is displayed; The content display mode of the second page includes at least one of the following: The display position in the second page; a display area in the second page; an outline of a display area for displaying the first content in the second page; The content display method of the first page includes: a display area of the first content is displayed in the first page, the display area is proportional to the folding angle between the first screen and the second screen, and the display area is proportional to the importance level of the content to be displayed.
2. The content display method according to claim 1, characterized in that: The displaying the first content on the first page according to the first folding angle includes: Determining a first content display mode corresponding to the first folding angle according to a correspondence between a preset folding angle and a content display mode in the first page; The first content is displayed on the first page in the first content display manner.
3. The content display method according to claim 1, characterized in that: After displaying the first content on the second page according to the first folding angle, the method further includes: receiving a second input of the first content; In response to the second input, a content display mode of the first content on the second page is adjusted.
4. The content display method according to claim 1, characterized in that: After displaying the first content on the second page according to the first folding angle, the method further includes: receiving a third input to a target control in the second page; In response to the third input, an electronic document corresponding to the second page is generated, wherein the electronic document includes the first content.
5. A content display device, characterized in that: include: An acquisition module, used to acquire a first folding angle between the first screen and the second screen; A receiving module, configured to receive a first input; The acquisition module is further configured to acquire first content in response to the first input; A display module, configured to display the first content on a first page according to the first folding angle, wherein different folding angles between the first screen and the second screen correspond to different content display modes of the first page, and the first page is displayed on the first screen and / or the second screen; The display module is further used to display the first content on a second page according to the first folding angle, different folding angles between the first screen and the second screen correspond to different content display modes of the second page, the second page is used to display the layout of the first content in the electronic document that needs to be generated finally, and the second page is displayed on the first screen and / or the second screen; When the first content is displayed on the first page, the second page is displayed; The content display mode of the second page includes at least one of the following: The display position in the second page; a display area in the second page; an outline of a display area for displaying the first content in the second page; The content display method of the first page includes: a display area of the first content is displayed in the first page, the display area is proportional to the folding angle between the first screen and the second screen, and the display area is proportional to the importance level of the content to be displayed.
6. The content display device according to claim 5, characterized in that: The display module is further used to determine a first content display mode corresponding to the first folding angle according to a correspondence between a preset folding angle and a content display mode in the first page; and display the first content on the first page according to the first content display mode.
7. The content display device according to claim 5, characterized in that: The receiving module is further configured to receive a second input of the first content; In response to the second input, a content display mode of the first content on the second page is adjusted.
8. The content display device according to claim 5, characterized in that: The receiving module is further used to receive a third input to the target control in the second page; In response to the third input, an electronic document corresponding to the second page is generated, wherein the electronic document includes the first content.
Citation Information
Patent Citations
Document content display method and device
CN112685126A