Terminal content display methods, devices, equipment and storage media

CN122569863APending Publication Date: 2026-08-14HUIZHOU GOLDMAN SACHS DAZHIXIAN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]本申请的主要目的在于提供一种终端内容显示方法、装置、设备及存储介质,旨在解决无法有效提升终端内容的显示效果的技术问题

Benefits of technology

[0046] By setting up an external display device on top of the terminal and binding the terminal and the external display device together, the terminal's display content is converted into target display content that conforms to the attributes of the external display device. The target display content is then sent to the external display device for display via near-field communication. Users can conveniently read through the external display device on top of the terminal. At the same time, the external display device can protect users' eyes from eye strain during reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122569863A_ABST
    Figure CN122569863A_ABST
Patent Text Reader

Abstract

This application discloses a terminal content display method, apparatus, device, and storage medium, relating to the field of near-field communication technology. The disclosed terminal content display method includes: when a connection is established between the terminal and an external display device, acquiring target interaction information and generating a display content control command based on the target interaction information; obtaining content to be displayed based on the display content control command and the current display content; obtaining target display content based on the content to be displayed and the display device attributes of the external display device; and sending the target display content and communication verification information to the external display device. This method, by setting an external display device above the terminal, converts the terminal's display content into target display content and sends it to the external display device for display via near-field communication when the terminal and the external display device are connected. Users can conveniently read through the external display device above the terminal, while the external display device can protect the user's eyes from eye strain during prolonged reading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of near-field communication technology, and in particular to terminal content display methods, apparatus, devices and storage media. Background Technology

[0002] In the information age, mobile devices such as smartphones and tablets have become the primary tools for people to access and consume electronic content. Especially for reading e-books, news articles, and other text materials, users are increasingly inclined to use these portable devices. However, staring at a mobile phone screen for extended periods can significantly strain the eyes, causing visual fatigue, and these problems seriously affect the user's reading experience.

[0003] While dedicated e-readers feature displays that enhance the reading experience and provide a paper-book-like feel, these devices are typically bulky, inconvenient to carry, and expensive, making them unsuitable for all consumers. Furthermore, their relatively limited functionality, confined to reading, makes them less versatile and cost-effective than smartphones.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this application is to provide a terminal content display method, apparatus, device, and storage medium, aiming to solve the technical problem of failing to effectively improve the display effect of terminal content.

[0006] To achieve the above objectives, this application proposes a terminal content display method, which is applied to a terminal and establishes a communication connection with an external display device.

[0007] Terminal content display methods include:

[0008] Acquire target interaction information and generate display content control instructions based on the target interaction information;

[0009] The content to be displayed is obtained based on the display content control instructions and the current display content;

[0010] The target display content is obtained based on the content to be displayed and the display device attributes of the external display device;

[0011] The target display content and communication verification information are sent to the external display device, so that the external display device can display the target display content after successfully verifying the communication verification information.

[0012] In one embodiment, before acquiring target interaction information and generating display content control instructions based on the target interaction information, the method further includes:

[0013] When a near-field communication signal from an external display device is detected, the instruction format in the protocol format is obtained based on a preset communication protocol, and a request connection instruction is generated according to the instruction format.

[0014] Send a connection request command to the external display device, so that the external display device generates communication verification information according to the connection request command, generates a connection permission command according to the communication verification information and the display device attributes of the external display device, and sends back the connection permission command;

[0015] The system receives a connection permission command, parses the command to obtain communication verification information, and establishes a connection with the external display device based on the communication verification information.

[0016] In one embodiment, when a near-field communication signal from an external display device is detected, an instruction format in the protocol format is obtained based on a preset communication protocol, and a connection request instruction is generated according to the instruction format, including:

[0017] When a near-field communication signal from an external display device is detected, the instruction format in the protocol format is obtained based on a preset communication protocol.

[0018] The connection request instruction format is obtained by querying the general and sub-class instructions of the preset communication protocol.

[0019] Generate a connection request instruction based on the instruction format and the connection request instruction format.

[0020] In one embodiment, when a near-field communication signal from an external display device is detected, an instruction format in the protocol format is obtained based on a preset communication protocol, including:

[0021] When a near-field communication signal from an external display device is detected, the connection general instruction and attribute general instruction are obtained by querying the general instruction of the preset communication protocol.

[0022] Querying the subclass instructions of the connection general instruction yields the request connection subclass instruction; querying the attribute general instruction yields the get screen attribute subclass instruction.

[0023] The request connection instruction is obtained based on the preset instruction format, the request connection subclass instruction, and the get screen attribute subclass instruction.

[0024] In one embodiment, acquiring target interaction information and generating display content control instructions based on the target interaction information includes:

[0025] Acquire target interaction information, which includes head movements, terminal button movements, gesture movements, and voice signals;

[0026] Match head movements, terminal button movements, gesture movements, or voice signals with the currently set action to obtain an action command. The currently set action is any one of head movements, terminal button movements, gesture movements, and voice signals.

[0027] The display content control instructions are obtained based on the action instructions.

[0028] In one embodiment, the display content control instruction is obtained based on the action instruction, including:

[0029] When the action command is a head movement and the head movement is a leftward or upward movement command, or the action command is a terminal button movement and the terminal button movement is a preset up button or previous page button, or the action command is a gesture movement and the gesture movement is an upward or leftward movement command, or the action command is a voice signal and the voice signal includes the keyword "previous page", the command to turn to the previous page will be used as the display content control command.

[0030] When the action command is a head movement and the head movement is a rightward or downward movement command, or the action command is a terminal button movement and the terminal button movement is a preset down button or previous page button, or the action command is a gesture movement and the gesture movement is a downward or rightward movement command, or the action command is a voice signal and the voice signal includes the keyword "next page", the command to turn to the next page will be used as the display content control command.

[0031] In one embodiment, obtaining the content to be displayed based on the display content control instruction and the current display content includes:

[0032] When the content display control command is to turn to the previous page, query the content of the previous page of the currently displayed content and use the content of the previous page as the content to be displayed;

[0033] When the content control command is to turn to the next page, query the content of the next page of the currently displayed content and use the content of the next page as the content to be displayed.

[0034] In one embodiment, obtaining the target display content based on the content to be displayed and the display device attributes of the external display device includes:

[0035] The screen size is obtained based on the display device attributes of the external display device;

[0036] The data format of the content to be displayed is converted according to the screen size to obtain the target display content. The data format conversion includes at least one of the following: scaling, cropping, layout, color management, and video transcoding.

[0037] Furthermore, to achieve the above objectives, this application also proposes a terminal content display device, which includes:

[0038] The instruction acquisition module is used to acquire target interaction information when the terminal establishes a connection with the external display device, and generate display content control instructions based on the target interaction information;

[0039] The content display module is used to obtain the content to be displayed based on the content display control instructions and the current display content;

[0040] The content display module is also used to obtain the target display content based on the content to be displayed and the display device attributes of the external display device;

[0041] The content display module is also used to send the target display content and communication verification information to the external display device, so that the external display device can display the target display content after successfully verifying the communication verification information.

[0042] In addition, to achieve the above objectives, this application also proposes a terminal content display device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the terminal content display method described above.

[0043] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the terminal content display method described above.

[0044] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the terminal content display method described above.

[0045] One or more technical solutions proposed in this application have at least the following technical effects:

[0046] By setting up an external display device on top of the terminal and binding the terminal and the external display device together, the terminal's display content is converted into target display content that conforms to the attributes of the external display device. The target display content is then sent to the external display device for display via near-field communication. Users can conveniently read through the external display device on top of the terminal. At the same time, the external display device can protect users' eyes from eye strain during reading. Attached Figure Description

[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0048] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1 This is a flowchart illustrating an embodiment of the terminal content display method of this application.

[0050] Figure 2 This is a schematic diagram of the judgment logic for controlling the displayed content based on the target interaction information, provided in Embodiment 1 of the terminal content display method of this application.

[0051] Figure 3 This is a schematic diagram illustrating the process of generating target display content provided in Embodiment 1 of the terminal content display method of this application;

[0052] Figure 4 This is a schematic diagram of the instruction flow for displaying content based on target interactive information instructions, provided in Embodiment 1 of the terminal content display method of this application.

[0053] Figure 5 This is a flowchart illustrating Embodiment 2 of the terminal content display method of this application;

[0054] Figure 6 This is a schematic diagram illustrating the connection process between the terminal and the external display device provided in Embodiment 2 of the terminal content display method of this application;

[0055] Figure 7 This is a schematic diagram of the module structure of the terminal content display device according to an embodiment of this application;

[0056] Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the terminal content display method in this application embodiment. Detailed Implementation

[0057] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0058] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0059] The main solution of this application embodiment is as follows: when the terminal establishes a connection with the external display device, the target interaction information is obtained, and a display content control instruction is generated according to the target interaction information; the content to be displayed is obtained according to the display content control instruction and the current display content; the target display content is obtained according to the content to be displayed and the display device attributes of the external display device; and the target display content and communication verification information are sent to the external display device.

[0060] In this embodiment, for ease of description, the following description will focus on the identification terminal content display device as the execution subject.

[0061] In the information age, mobile devices such as smartphones and tablets have become the primary tools for accessing and consuming electronic content. Especially for reading e-books, news articles, and other text materials, users are increasingly inclined to use these portable devices. However, staring at a phone screen for extended periods can significantly strain the eyes, leading to eye fatigue, dry eye syndrome, and even myopia. These problems not only affect the user's reading experience but also pose a potential threat to their health.

[0062] While existing solutions, such as dedicated e-readers, feature displays designed to be more eye-healthy, reducing blue light radiation and providing a reading experience similar to paper books, these devices are typically bulky, inconvenient to carry, and expensive, making them unsuitable for all consumers. Furthermore, their relatively limited functionality, confined to reading, makes them less versatile and cost-effective than smartphones.

[0063] This application provides a solution that, by setting an external display device above the terminal, when the terminal and the external display device are connected, converts the terminal's display content into target display content that conforms to the attributes of the external display device and sends it to the external display device for display via near-field communication. Users can conveniently read through the external display device above the terminal, while the external display device can protect the user's eyes from eye strain during reading.

[0064] As can be seen from the above embodiments, this application discloses a terminal content display method including: when the terminal establishes a connection with an external display device, acquiring target interaction information, generating display content control instructions based on the target interaction information; obtaining content to be displayed based on the display content control instructions and the current display content; obtaining target display content based on the content to be displayed and the display device attributes of the external display device; and sending the target display content and communication verification information to the external display device. This method, by setting an external display device above the terminal, converts the terminal's display content into target display content that conforms to the attributes of the external display device when the terminal and the external display device are connected, and sends it to the external display device for display via near-field communication. Users can conveniently read through the external display device above the terminal, and the external display device can protect the user's eyes from eye strain during reading.

[0065] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or terminal content display device capable of performing the above functions. The following description uses a terminal content display device as an example to illustrate this embodiment and the subsequent embodiments.

[0066] Based on this, embodiments of this application provide a terminal content display method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the terminal content display method of this application.

[0067] In this embodiment, the terminal content display method includes steps S10 to S40:

[0068] Step S10: Obtain target interaction information and generate display content control instructions based on the target interaction information.

[0069] Understandably, a terminal can refer to an electronic device that a user directly operates and interacts with, such as a smartphone, tablet, or other mobile device; an external display device can be an additional display device connected to the terminal, such as a phone case with a display function.

[0070] It should be understood that target interaction information may include head movement information, gesture movement information, key presses, and voice information; display content control instructions may include instructions to turn to the previous page and instructions to turn to the next page.

[0071] It should be noted that when the terminal establishes a connection with the external display device, the terminal and the external display device can communicate with each other.

[0072] It should be noted that the acquisition of target interactive information can be achieved by activating the terminal's image acquisition device and voice signal acquisition device when the terminal is connected to an external display device. The image acquisition device can recognize the user's head movements; the voice signal acquisition device can collect the user's voice information; the acquisition of button actions can be achieved by pre-setting a button as a button action, generating a press signal when the user presses the button, and the terminal can detect the press signal in real time, thus recognizing the button action; gesture actions can also be recognized by the image acquisition device, which identifies the user's hand and tracks the movement trajectory of the user's hand. When the movement trajectory is recognized, it can be interpreted as a gesture action. Alternatively, the movement trajectory can be recognized by the direction of pressure movement of the user's hand on the display screen.

[0073] It should be noted that the content control instructions generated based on the target interaction information can be predefined. For example, if the content control instruction corresponding to the head turning to the left is predefined as the instruction to turn to the previous page, then the corresponding content control instruction can be obtained based on the recognized target interaction information.

[0074] In one feasible implementation, step S10 may include steps A11 to A13:

[0075] Step A11: Obtain target interaction information, which includes head movements, terminal button movements, gesture movements, and voice signals.

[0076] It should be noted that head movements can include turning the head to the left, turning the head to the right, turning the head upward, and turning the head downward. The standard for rotation can be that the head rotation angle reaches a preset rotation angle; for example, the preset rotation angle could be 45°. If the image acquisition device captures a 20° upward rotation angle of the user's head, since 20° < 45°, this cannot be considered a head movement, and the user may be engaging in other head behaviors.

[0077] It should be noted that terminal button actions can include pressing the previous page button, pressing the next page button, and pressing preset function buttons; the previous page button can be the previous page button or the next page button that exists on the current terminal display interface. When the user presses this button, a press signal is generated. When the terminal detects this press signal, it can understand that a terminal button action has been generated.

[0078] Among them, the preset function button can be a button whose function is preset. For example, the volume up button is preset to turn to the previous page and the volume down button is preset to turn to the next page. When the user presses the volume up button, it is considered that there is a terminal button action.

[0079] It should be noted that gestures can include moving the hand up, down, left, and right. Gestures can be performed by the user in the air, or they can be generated by the user touching and swiping on the screen of an external display device or terminal display.

[0080] Among them, the gesture action performed in the air can be obtained by recognizing the position of the user's hand through an image detection device, obtaining the movement trajectory of the user's hand based on the position of the user's hand, and obtaining the user's gesture action based on the start and end points of the movement trajectory.

[0081] Among them, the gesture action on the display screen can be obtained by detecting the pressure position generated on the display screen, obtaining the pressure movement trajectory based on the change of pressure position, determining the start and end points of the movement trajectory based on the pressure movement trajectory, and obtaining the user's gesture action based on the start and end points.

[0082] It should be noted that voice actions can be obtained by recognizing preset keywords through the terminal's voice recognition device. The preset keywords can be "previous page" and "next page".

[0083] Step A12: Match the head movement, terminal button movement, gesture movement, or voice signal with the currently set action to obtain the action command. The currently set action is any one of the head movement, terminal button movement, gesture movement, and voice signal.

[0084] It should be understood that the current set action can be a pre-determined action used to generate control instructions for display content. The current set action can be any one of head movements, terminal button movements, gesture movements, and voice signals. The current set action can be set to one type at present and can be adjusted according to the user's habits and needs. The initial set action can be set to a button movement.

[0085] It should be noted that the action command can be a command generated based on the action when it is consistent with the currently set action type.

[0086] In practice, if the current action is a head action, the matching will fail when the terminal button action, gesture action or voice signal is detected, and no action command can be obtained; if the current action is a head action, the head action will be used as the action command when the head action is detected.

[0087] It should be noted that the logic for controlling the displayed content based on the target interaction information can be referenced. Figure 2 , Figure 2 The process first detects user actions (and target interaction information), then determines whether the user action is a pre-set action. If so, it controls the displayed content based on the detected target interaction information; otherwise, it ends and does not control the displayed content.

[0088] Step A13: Obtain the display content control instruction based on the action instruction.

[0089] It should be noted that the display content control commands obtained from the action commands can include commands to turn to the previous page and commands to turn to the next page.

[0090] Wherein, when the action instruction is a head action and the head action is a leftward instruction or an upward instruction, or the action instruction is a terminal button action and the terminal button action is a preset up-turn button or a previous page button, or the action instruction is a gesture action and the gesture action is an upward movement instruction or a leftward movement instruction, or the action instruction is a voice signal and the voice signal includes the keyword "previous page", the instruction to turn to the previous page will be used as the display content control instruction.

[0091] When the action command is a head movement and the head movement is a rightward or downward movement command, or the action command is a terminal button movement and the terminal button movement is a preset down button or previous page button, or the action command is a gesture movement and the gesture movement is a downward or rightward movement command, or the action command is a voice signal and the voice signal includes the keyword "next page", the command to turn to the next page will be used as the display content control command.

[0092] In practice, head movements are detected through facial recognition, which can be achieved using the phone's camera. Combined with a head movement recognition application programming interface (API), the system can dynamically adjust page navigation, exit actions, and other functions based on the user's movements while using the e-reader on the phone case. Specific control functions are detailed in Table 1 below.

[0093] Table 1

[0094] Turn to the previous page Turn your head to the left or up Turn to the next page Turn your head to the right or down quit Turn your head to the left or up twice Enter Turn your head twice to the right or down

[0095] The two physical buttons on the phone can be used to turn pages up and down, exit or enter the e-book. Specific control functions can be found in Table 2 below.

[0096] Table 2

[0097] Turn to the previous page Click the "Previous Page" button. Turn to the next page Press the next page button set up Press the settings button Enter Press the "Previous Page" button twice or customize. quit Press the page button twice or customize.

[0098] Gestures can be generated using the phone's camera in conjunction with a gesture recognition API; alternatively, they can be generated by detecting the movement trajectory of pressure sensors on the screen. When a user is using an e-reader with a phone case, the system can monitor the user's gestures in real time and execute corresponding functions. Specific control functions are shown in Table 3 below.

[0099] Table 3

[0100] Turn to the previous page Move your hand up or to the left Turn to the next page Move your hand down or to the right Enter Move your hand up or to the left twice, or keep your hand up or to the left still. quit Move your hand down or to the right twice, or keep your hand down or to the right still.

[0101] Voice actions can be voice-controlled, requiring the user to first say a wake word followed by a keyword. Combined with a voice recognition API, when a user is using an e-reader on their phone case, the system can execute corresponding functions based on the user's voice commands. Specific control functions can be found in Table 4 below.

[0102] Table 4

[0103] Turn to the previous page Previous Page Turn to the next page Next page Enter Enter, confirm quit Exit, Back, Return

[0104] In this embodiment, by integrating multiple user input methods such as head movements, terminal buttons, gestures, and voice signals, when the terminal is connected to an external display device, the system recognizes the user's actual operation based on the preset current setting action and converts it into specific display content control instructions, thereby achieving more intuitive and convenient content control.

[0105] The above are merely feasible implementation methods for step S10 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S10.

[0106] Step S20: Obtain the content to be displayed based on the display content control instruction and the current display content.

[0107] Understandably, the currently displayed content can be the content of the user's current page, and the content control instructions adjust the content of the next or previous page based on the currently displayed content.

[0108] It should be noted that both the currently displayed content and the content to be displayed are displayed on the terminal. The content displayed on the terminal needs to be sent to the external display device, and then the external display device displays the content accordingly.

[0109] In one feasible implementation, step S20 may include steps A21 to A22:

[0110] Step A11: When the content display control instruction is to turn to the previous page, query the previous page content of the currently displayed content and use the previous page content as the content to be displayed.

[0111] It should be noted that to query the content of the previous page of the currently displayed content, you can first check the currently displayed content and then determine the content of the previous page.

[0112] It should be noted that querying the next page may involve accessing data cached in memory, reading files from local storage, or retrieving the corresponding page from the server via a network request.

[0113] Step A12: When the content display control instruction is to turn to the next page, query the next page of the currently displayed content and use the next page of the displayed content as the content to be displayed.

[0114] Understandably, the search is performed based on the currently displayed content to obtain the next page of content; where the content to be displayed can refer to the content itself, and the format, resolution, and other attributes of the content to be displayed are attributes adapted to the terminal.

[0115] It should be emphasized that the display content control instructions can also include entry instructions and exit instructions. When the display content control instruction is an entry instruction, the entry link is queried based on the currently displayed content (the entry link can be a webpage or a selectable button, etc.). The content to be displayed can be obtained by selecting the content of the first entry link of the currently displayed content, or the target link can be located according to the user's line of sight, and the content to be displayed can be obtained according to the target link.

[0116] It should be further emphasized that when the content display control command is an exit command, the parent content of the currently displayed content is queried (for example, when the initial interface is opened, the content of the initial interface is defined as the first-level display content, and the display interface obtained by the entry link in the first-level display content can be defined as the second-level interface, and so on), and the parent content is used as the content to be displayed.

[0117] In this embodiment, the display content control command allows for quick querying of the display content requested by the user.

[0118] The above are merely feasible implementation methods for step S20 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S20.

[0119] Step S30: Obtain the target display content based on the content to be displayed and the display device attributes of the external display device.

[0120] Understandably, display device attributes can include size, resolution, and aspect ratio, among other things.

[0121] It should be understood that the content to be displayed can be obtained based on the size, resolution, and aspect ratio of the terminal, and the target display content can be the content to be displayed converted to conform to the display screen size, resolution, and aspect ratio.

[0122] In one feasible implementation, step S30 may include steps A31 to A32:

[0123] Step A31: Obtain the screen size based on the display device attributes of the external display device.

[0124] It should be understood that screen size refers to the diagonal length of the screen, usually measured in inches, which is the most common way to describe screen size.

[0125] It should be noted that the display device attributes can be obtained when the external display device is connected to the terminal, by sending its own display device attributes to the terminal.

[0126] Step A32: Convert the data format of the content to be displayed according to the screen size to obtain the target display content. The data format conversion includes at least one of scaling, cropping, layout, color management, and video transcoding.

[0127] Understandably, converting the data format of the content to be displayed according to the screen size to obtain the target display content can be done by adjusting the data format of the content to be displayed to suit the specific screen size.

[0128] Understandably, format conversion based on screen size can be used as a basis for data format conversion to ensure that the content is adapted to screens of different sizes; data format conversion can be used to modify the data structure or presentation of the content to be displayed to make it more suitable for the display attributes of external display devices.

[0129] It should be noted that scaling can adjust the size of an image or text to make it larger or smaller to adapt to different screen sizes, which may require enlarging or shrinking the content; cropping can cut off part of the content, keeping only a specific area, which can remove unnecessary parts to make the content better fit the screen size of the external display device; layout can arrange the position and layout of text and images to improve readability and aesthetics, specifically referring to optimizing color display according to the color characteristics of the display screen to enhance the visual effect; video transcoding can convert video files from one encoding format to another to adapt to different playback devices or network conditions, specifically adjusting the video's resolution, frame rate, or other attributes to better suit the display device attributes (resolution, etc.) of the external display device.

[0130] In practical implementation, the process for generating the target display content can be referenced. Figure 3 , Figure 3 The user generates a next page action command. Based on this action command and according to the phone case attributes, the terminal converts the text content of the next page into the display content of the current phone case data, and sends the display content command to the phone case. At the same time, the phone case data and communication verification information are sent to the phone case. The phone case parses the display content command and then compares it with the phone case data to see if they are consistent. If they are consistent and the display content meets the phone display size requirements, the phone case data is displayed and then feedback is sent to the phone that the display is complete.

[0131] In this embodiment, the necessary data format conversion of the content to be displayed on the terminal is performed by analyzing the attributes of the external display device, thereby generating the target display content most suitable for the external display device. This ensures that the display content of terminals of different sizes and types can be displayed through the external display device, so as to protect the user's eye health when reading.

[0132] The above are merely feasible implementation methods for step S30 provided in this embodiment. This embodiment does not specifically limit the specific implementation method of step S30.

[0133] Step S40: Send the target display content and communication verification information to the external display device so that the external display device can display the target display content after successfully verifying the communication verification information.

[0134] Understandably, communication verification information can be a security token used to verify the identities of both communicating parties. It typically contains encrypted information to ensure that only authorized devices can receive and process data. In this embodiment, the external display device verifies the terminal's identity through the communication verification information and displays the target display content sent by the terminal to the external display device.

[0135] Understandably, the communication verification information can be generated by the external display device when it receives a connection request from the terminal.

[0136] It should be noted that the target display content and communication verification information are sent together to the external display device. The external display device verifies the communication verification information. If the verification fails, the external display device will not display the target display content; if the verification succeeds, it will display the target display content.

[0137] In practical implementation, the instruction flow for displaying content based on target interactive information commands can be referenced. Figure 4 , Figure 4 When a user clicks the next page on the terminal to obtain the target interactive information, the mobile phone (in this embodiment, the terminal is described using a mobile phone as an example, and the external display device is described using the structure of a mobile phone case as an example) generates display content that conforms to the attributes of the mobile phone case (external display device) based on the user's next page instruction, sends the instruction to display the content to the mobile phone case, and carries the content of the mobile phone case and the corresponding token (communication verification information) in the instruction to display the content. The mobile phone case parses the display content and the carried information to obtain the content to be displayed. After successful display, the mobile phone case sends a feedback to the mobile phone that the display is complete.

[0138] This embodiment provides a terminal content display method. By setting an external display device on top of the terminal and binding the terminal and the external display device, the display content of the terminal is converted into target display content that conforms to the attributes of the external display device, and the target display content is sent to the external display device for display via near-field communication. Users can conveniently read through the external display device on top of the terminal. At the same time, the external display device can protect the user's eyes and avoid eye strain from prolonged reading.

[0139] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 Before step S10, the terminal content display method also includes steps S101 to S104:

[0140] Step S101: When a near-field communication signal from an external display device is detected, the instruction format in the protocol format is obtained based on a preset communication protocol, and a request connection instruction is generated according to the instruction format.

[0141] Understandably, the terminal detects the near-field communication signal of the external display device in real time. The communication signal of the external display device exists in the form of NFC. When the distance between the external display device and the terminal meets the minimum near-field communication distance, the terminal can detect the near-field communication signal of the external display device.

[0142] It should be noted that the terminal may have a function to enable the detection of external display devices. Users can enable this function to detect the near-field communication signal of the external display device in real time when they need to connect it; when the function is disabled, no detection will be performed.

[0143] It should be noted that the preset communication protocol can be a pre-defined set of communication data rules and standards for near-field communication between the terminal and the external display device. The preset communication protocol sets different instruction formats for communication data, and only instructions sent based on this communication data format can be recognized by the terminal and the external display device.

[0144] It should be emphasized that the external display device in this invention can exist in the form of a phone case. An e-ink screen is mounted on the phone case, serving as the external display device and installed on the phone. The e-ink screen communicates with the phone via NFC, and the phone's NFC powers the e-ink screen. The phone case acts as an e-book screen, and the phone serves as the hardware platform for the e-book. Through specified operations, the phone sends data via NFC, transmitting the e-book content. The microcontroller on the phone case then dynamically displays the text based on the content.

[0145] It should be noted that the mobile phone and the e-ink screen on the phone case can communicate using binary data streams, and the connection between the mobile phone and the e-ink screen can be achieved via NFC.

[0146] It should be emphasized that the protocol format can be based on the way information is represented as specified by the communication protocol, including the order, type, and length of fields; the default communication protocol format can be found in Table 5 below:

[0147] Table 5

[0148] 32bit 16bit 16bit 32bit 16bit

[0149] Among them, the instruction index can be used to uniquely identify the instruction, and is used for instruction retransmission, debugging, etc.; the general instruction category represents the major category of instructions; the sub-instruction category represents the sub-category within the general category; the data length is used to represent the length of the data; and CRC16 is used to determine the integrity of the data.

[0150] It should be noted that the connection request command format and the screen property retrieval command format can be the same as those specified by a preset communication protocol.

[0151] In practical implementation, the protocol format of the preset communication protocol can be referenced in Table 6 below:

[0152] Table 6

[0153]

[0154] Furthermore, based on Table 6 above, the format of the request connection instruction is 0x010x01, and the format of the screen attribute acquisition instruction is 0x040x01.

[0155] In one feasible implementation, step S101 may include steps A1011 to A1013:

[0156] Step A1011: When a near-field communication signal from an external display device is detected, the instruction format in the protocol format is obtained based on a preset communication protocol.

[0157] It should be noted that, as shown in Table 5, the instruction format of the preset communication protocol is instruction index + general instruction + sub-instruction + data length + data content + CRC16.

[0158] Understandably, the instruction format can be predetermined in a preset communication protocol, and only instructions generated based on this format can be recognized by the terminal and external display device.

[0159] Step A1012: Query the general and sub-class instructions of the preset communication protocol to obtain the request connection instruction format.

[0160] Understandably, the general instructions for the preset communication protocol may include connection instructions, control instructions, status instructions, and attribute instructions, among which connection instructions are 0x01 and attribute instructions are 0x04.

[0161] It should be noted that each general instruction category can have one or more sub-instructions. Sub-instructions under a connection general instruction can be further queried based on the connection general instruction. This query can include the request connection sub-instruction 0x01 and the request disconnect sub-instruction 0x02. Similarly, the get screen attributes sub-instruction can be obtained by further querying the sub-instructions of the attributes general instruction to get the get screen attributes sub-instruction 0x01.

[0162] It should be emphasized that subclass instructions are set based on the general class instructions. The subclass instructions of two different instructions can be the same, but the general class instructions are different. For example, the subclass instruction for requesting a connection is 0x010x01, and the subclass instruction for getting screen attributes can be 0x040x01. The subclass instructions of the two instructions are both 0x01, but the general class instructions are different, so the meaning of each instruction can be accurately identified.

[0163] Understandably, the request connection format includes the request connection subclass format and the request connection general class format.

[0164] Step A1013: Generate a request connection instruction based on the instruction format and the request connection instruction format.

[0165] In practice, the request connection subclass format and request connection general class format are filled into the general class instruction and subclass instruction in the instruction format "instruction index + general class instruction + subclass instruction + data length + data content + CRC16", for example: instruction index + 0x01 + 0x01 + data length + data content + CRC16, which is the request connection instruction.

[0166] In this embodiment, the specific format of the request connection instruction is determined by querying the general and sub-class instructions in the preset communication protocol. Then, a formal request connection instruction is generated according to the instruction format to ensure a secure and reliable connection with the external display device, thus guaranteeing the security and standardization of communication.

[0167] The above are merely feasible implementations of step S101 provided in this embodiment. This embodiment does not specifically limit the specific implementation of step S101.

[0168] Step S102: Send a connection request command to the external display device so that the external display device generates communication verification information according to the connection request command, generates an allow connection command according to the communication verification information and the display device attributes of the external display device, and sends the allow connection command back.

[0169] Understandably, when a terminal requests a connection, the external display device automatically generates communication verification information and records the token information and the terminal's device address.

[0170] It should be noted that when the external display device receives a connection request instruction from the terminal, it will also generate a connection permission instruction and send the external display device attributes and communication verification information to the terminal.

[0171] Step S103: Receive a connection permission instruction, parse the connection permission instruction to obtain communication verification information, and establish a connection with the external display device based on the communication verification information.

[0172] It should be noted that parsing the connection permission command can be based on a preset communication protocol to obtain the meaning of the general type command and the sub-type command, thereby determining whether the terminal can connect to an external display device.

[0173] In practical implementation, the connection process between the terminal and the external display device can be referenced. Figure 6 When the phone detects the NFC of the phone case, it sends a connection request command to the phone case. The phone case parses the received connection request command and generates a token. At the same time, it records the current device MAC data of the device that sent the connection request command and sends the connection permission command, token and phone case attributes back to the phone.

[0174] This embodiment provides a terminal content display method. By detecting the near-field communication signal of an external display device, a connection request command is automatically generated according to a preset communication protocol and sent to the external display device. The terminal receives and parses the connection permission command, extracts communication verification information, and finally establishes a secure connection with the external display device based on the token. This improves the convenience and efficiency of the user experience, while ensuring the security and standardization of communication, and guaranteeing an efficient and secure interactive experience.

[0175] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the terminal content display method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0176] This application also provides a terminal content display device, please refer to... Figure 7 The terminal content display device includes:

[0177] The instruction acquisition module 10 is used to acquire target interaction information when the terminal establishes a connection with the external display device, and generate display content control instructions based on the target interaction information;

[0178] Content display module 20 is used to obtain the content to be displayed according to the display content control command and the current display content;

[0179] The content display module 20 is also used to obtain the target display content based on the content to be displayed and the display device attributes of the external display device;

[0180] The content display module 20 is also used to send the target display content and communication verification information to the external display device, so that the external display device can display the target display content after successfully verifying the communication verification information.

[0181] The terminal content display device provided in this application, employing the terminal content display method in the above embodiments, can solve the technical problem of failing to effectively improve the display effect of terminal content. Compared with the prior art, the beneficial effects of the terminal content display device provided in this application are the same as those of the terminal content display method provided in the above embodiments, and other technical features in the terminal content display device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0182] In one embodiment, the instruction acquisition module 10 is further configured to, when a near-field communication signal of an external display device is detected, obtain the instruction format in the protocol format based on a preset communication protocol, and generate a request connection instruction according to the instruction format;

[0183] Send a connection request command to the external display device, so that the external display device generates communication verification information according to the connection request command, generates a connection permission command according to the communication verification information and the display device attributes of the external display device, and sends back the connection permission command;

[0184] The system receives a connection permission command, parses the command to obtain communication verification information, and establishes a connection with the external display device based on the communication verification information.

[0185] In one embodiment, the instruction acquisition module 10 is further configured to obtain the instruction format in the protocol format based on a preset communication protocol when a near-field communication signal of an external display device is detected;

[0186] The connection request instruction format is obtained by querying the general and sub-class instructions of the preset communication protocol.

[0187] Generate a connection request instruction based on the instruction format and the connection request instruction format.

[0188] In one embodiment, the instruction acquisition module 10 is further configured to acquire target interaction information, which includes head movements, terminal button movements, gesture movements, and voice signals.

[0189] Match head movements, terminal button movements, gesture movements, or voice signals with the currently set action to obtain an action command. The currently set action is any one of head movements, terminal button movements, gesture movements, and voice signals.

[0190] The display content control instructions are obtained based on the action instructions.

[0191] In one embodiment, the content display module 20 is further configured to use the "turn to previous page" instruction as a content display control instruction when the action instruction is a head action and the head action is a leftward instruction or an upward instruction, the action instruction is a terminal button action and the terminal button action is a preset up button or a previous page button, the action instruction is a gesture action and the gesture action is an upward movement instruction or a leftward movement instruction, or the action instruction is a voice signal and the voice signal includes any one of the keywords of the previous page.

[0192] When the action command is a head movement and the head movement is a rightward or downward movement command, the action command is a terminal button movement and the terminal button movement is a preset down button or previous page button, the action command is a gesture movement and the gesture movement is a downward movement command or a rightward movement command, or the action command is a voice signal and the voice signal includes any of the keywords for the next page, the command to turn to the next page will be used as the display content control command.

[0193] In one embodiment, the content display module 20 is further configured to query the previous page content of the currently displayed content when the content display control instruction is a page-to-previous instruction, and use the previous page content as the content to be displayed;

[0194] When the content control command is to turn to the next page, query the content of the next page of the currently displayed content and use the content of the next page as the content to be displayed.

[0195] In one embodiment, the content display module 20 is further configured to obtain the display screen size based on the display device attributes of the external display device;

[0196] The data format of the content to be displayed is converted according to the screen size to obtain the target display content. The data format conversion includes at least one of the following: scaling, cropping, layout, color management, and video transcoding.

[0197] This application provides a terminal content display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the terminal content display method in the first embodiment described above.

[0198] The following is for reference. Figure 8This document illustrates a structural schematic diagram of a terminal content display device suitable for implementing embodiments of this application. The terminal content display device in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The terminal content display device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0199] like Figure 8 As shown, the terminal content display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the terminal content display device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the terminal content display device to communicate wirelessly or wiredly with other devices to exchange data. Although the figures show terminal content display devices with various systems, it should be understood that implementing or having all of the systems shown is not required. More or fewer systems may be implemented alternatively.

[0200] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0201] The terminal content display device provided in this application, employing the terminal content display method in the above embodiments, can solve the technical problem of failing to effectively improve the display effect of terminal content. Compared with the prior art, the beneficial effects of the terminal content display device provided in this application are the same as those of the terminal content display method provided in the above embodiments, and other technical features in this terminal content display device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0202] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0203] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0204] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the terminal content display method in the above embodiments.

[0205] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0206] The aforementioned computer-readable storage medium may be included in the terminal content display device; or it may exist independently and not be assembled into the terminal content display device.

[0207] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the terminal content display device, the terminal content display device causes the following to occur: when the terminal establishes a connection with the external display device, the terminal content display device acquires target interaction information and generates display content control instructions based on the target interaction information; obtains the content to be displayed based on the display content control instructions and the current display content; obtains the target display content based on the content to be displayed and the display device attributes of the external display device; and sends the target display content and communication verification information to the external display device.

[0208] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0209] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0210] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0211] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described terminal content display method, thereby solving the technical problem of failing to effectively improve the display effect of terminal content. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the terminal content display method provided in the above embodiments, and will not be repeated here.

[0212] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the terminal content display method described above.

[0213] The computer program product provided in this application can solve the technical problem of failing to effectively improve the display effect of terminal content. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the terminal content display method provided in the above embodiments, and will not be repeated here.

[0214] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for displaying terminal content, characterized in that, The terminal content display method is applied to a terminal, wherein the terminal establishes a communication connection with an external display device, and the terminal content display method includes: Acquire target interaction information, and generate display content control instructions based on the target interaction information; The content to be displayed is obtained based on the display content control instruction and the current display content; The target display content is obtained based on the content to be displayed and the display device attributes of the external display device; The target display content and communication verification information are sent to the external display device, so that the external display device can display the target display content after successfully verifying the communication verification information.

2. The terminal content display method as described in claim 1, characterized in that, Before acquiring the target interaction information and generating display content control instructions based on the target interaction information, the method further includes: When the near-field communication signal of the external display device is detected, the instruction format in the protocol format is obtained based on the preset communication protocol, and a request connection instruction is generated according to the instruction format. The request connection command is sent to the external display device, so that the external display device generates communication verification information according to the request connection command, generates an allow connection command according to the communication verification information and the display device attributes of the external display device, and feeds back the allow connection command; The system receives the connection permission instruction, parses the connection permission instruction to obtain communication verification information, and establishes a connection with the external display device based on the communication verification information.

3. The terminal content display method as described in claim 2, characterized in that, When the near-field communication signal of the external display device is detected, the instruction format in the protocol format is obtained based on a preset communication protocol, and a request connection instruction is generated according to the instruction format, including: When the near-field communication signal of the external display device is detected, the instruction format in the protocol format is obtained based on the preset communication protocol. The connection request instruction format is obtained by querying the general and sub-class instructions of the preset communication protocol. Generate a request connection instruction based on the instruction format and the request connection instruction format.

4. The terminal content display method as described in claim 1, characterized in that, The step of acquiring target interaction information and generating display content control instructions based on the target interaction information includes: Acquire target interaction information, which includes head movements, terminal button movements, gesture movements, and voice signals; The head movement, the terminal button movement, the gesture movement, or the voice signal are matched with the currently set action to obtain an action command. The currently set action is any one of the head movement, the terminal button movement, the gesture movement, and the voice signal. The display content control command is obtained based on the action command.

5. The terminal content display method as described in claim 4, characterized in that, The step of obtaining the display content control instruction based on the action instruction includes: When the action command is a head movement and the head movement is a leftward or upward movement command, or the action command is a terminal button movement and the terminal button movement is a preset up button or previous page button, or the action command is a gesture movement and the gesture movement is an upward or leftward movement command, or the action command is a voice signal and the voice signal includes the keyword "previous page", the command to turn to the previous page will be used as the display content control command. When the action command is a head movement and the head movement is a rightward or downward movement command, or the action command is a terminal button movement and the terminal button movement is a preset down button or previous page button, or the action command is a gesture movement and the gesture movement is a downward or rightward movement command, or the action command is a voice signal and the voice signal includes the keyword "next page", the command to turn to the next page will be used as the display content control command.

6. The terminal content display method as described in claim 1, characterized in that, The step of obtaining the content to be displayed based on the display content control instruction and the current display content includes: When the content display control instruction is to turn to the previous page, query the content of the previous page of the currently displayed content and use the content of the previous page as the content to be displayed; When the content display control instruction is to turn to the next page, the content of the next page of the currently displayed content is queried, and the content of the next page is used as the content to be displayed.

7. The terminal content display method as described in claim 1, characterized in that, The step of obtaining the target display content based on the content to be displayed and the display device attributes of the external display device includes: The screen size is obtained based on the display device attributes of the external display device; The data format of the content to be displayed is converted according to the screen size to obtain the target display content. The data format conversion includes at least one of scaling, cropping, layout, color management, and video transcoding.

8. A terminal content display device, characterized in that, The terminal content display device includes: The instruction acquisition module is used to acquire target interaction information when the terminal establishes a connection with the external display device, and generate display content control instructions based on the target interaction information; The content display module is used to obtain the content to be displayed according to the display content control instruction and the current display content; The content display module is further configured to obtain the target display content based on the content to be displayed and the display device attributes of the external display device; The content display module is further configured to send the target display content and communication verification information to the external display device, so that the external display device can display the target display content after successfully verifying the communication verification information.

9. A terminal content display device, characterized in that, The device includes: a memory, a processor, and a terminal content display program stored in the memory and executable on the processor, the terminal content display program being configured to implement the terminal content display method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores a terminal content display program, which, when executed by a processor, implements the terminal content display method as described in any one of claims 1 to 7.