Text display method and device and storage medium

By detecting the input operation of the user at the first terminal and sending text to the second terminal after completion, the problem of garbled text in the screen casting scene is solved, and the user experience is improved.

CN119883154APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311396260.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the screen casting scene, when the user enters content on the display device, the middle strokes and pinyin characters will be put on the screen, causing garbled text on the mobile phone to appear.

Method used

By detecting the input operation of the user at the first terminal, it is determined that the input operation is completed, and the target text is sent to the second terminal so that it can display the text.

Benefits of technology

Avoid the middle strokes and pinyin characters on the screen, prevent text garbled and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883154A_ABST
    Figure CN119883154A_ABST
Patent Text Reader

Abstract

The invention relates to a text display method and device and a storage medium, is applied to a first terminal and comprises the steps that input operation of a user on a first display interface of the first terminal is detected, and the input operation is used for inputting a target text; the first display interface is a projection interface of a second display interface of a second terminal on a screen of the first terminal; and under the condition of determining that the input operation completes the input of the target text, sending the target text to the second terminal, so that a second display interface of the second terminal displays the target text.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a text display method, device and storage medium. Background Art

[0002] In the process of cross-screen collaboration, in order to achieve a better input experience, content will be input on the mirror. For example, the mobile phone can play videos, and can also display documents, pictures, application interfaces, or web pages. Since the mobile phone display is small, when you need to show the content displayed on the mobile phone to others, you can project the content displayed on the mobile phone to the display interface of the display device (such as a TV, computer, or another mobile phone) through screen projection technology.

[0003] In the screen projection scenario, when the user wants to input content to the mobile phone, in the related technology, the input content can be displayed on the screen of the mobile phone by inputting content on the mirrored display device. However, in the screen projection scenario, when inputting content on the display device, some strokes in the middle will be displayed on the screen. Even when inputting Chinese characters in pinyin, the pinyin characters in the middle cannot be replaced, resulting in garbled text on the mobile phone. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a text display method, device and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a text display method is provided, which is applied to a first terminal and includes:

[0006] Detecting an input operation of a user on a first display interface of the first terminal, where the input operation is used to input a target text; the first display interface is a projection interface of a second display interface of a second terminal on a screen of the first terminal;

[0007] When it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text.

[0008] Optionally, the detecting an input operation of a user on a display interface of the first terminal includes:

[0009] When it is determined that the display interface of the first terminal is in an input state, an input operation of a user on the display interface of the first terminal is detected.

[0010] Optionally, determining that the display interface of the first terminal is in an input state includes:

[0011] Get input status indication parameters;

[0012] When the input state indication parameter is a specified parameter, it is determined that the display interface of the first terminal is in an input state.

[0013] Optionally, the method further comprises:

[0014] In response to receiving the input request message of the user, setting the input state indication parameter as the designated parameter.

[0015] Optionally, determining that the input operation completes the input of the target text includes the following manners:

[0016] Displaying one or more candidate texts corresponding to the input operation in the preview area of ​​the first display interface;

[0017] A target text is determined from the one or more candidate texts to determine that the input operation completes the input of the target text.

[0018] Optionally, determining the target text from the one or more candidate texts includes:

[0019] Receiving a text selection instruction triggered by the user according to the one or more displayed candidate texts;

[0020] The candidate text indicated by the text selection designation is used as the target text.

[0021] Optionally, determining the target text from the one or more candidate texts further includes:

[0022] After the preset time period is reached, if the text selection instruction is not received, a designated candidate text among the one or more candidate texts is used as the target text.

[0023] According to a second aspect of an embodiment of the present disclosure, there is provided a text display device, including:

[0024] a detection module configured to detect an input operation of a user on a first display interface of the first terminal, wherein the input operation is used to input a target text; the first display interface is a projection interface of a second display interface of a second terminal on a screen of the first terminal;

[0025] The sending module is configured to send the target text to the second terminal when it is determined that the input operation completes the input of the target text, so that the second display interface of the second terminal displays the target text.

[0026] Optionally, the detection module is configured to detect an input operation of a user on the display interface of the first terminal when it is determined that the display interface of the first terminal is in an input state.

[0027] Optionally, the detection module is configured to obtain an input state indication parameter; and when the input state indication parameter is a specified parameter, determine that the display interface of the first terminal is in an input state.

[0028] Optionally, the detection module is configured to set the input state indication parameter to the specified parameter in response to receiving an input request message from the user.

[0029] Optionally, the sending module includes:

[0030] A display submodule, configured to display one or more candidate texts corresponding to the input operation in a preview area of ​​the first display interface;

[0031] The determination submodule is configured to determine a target text from the one or more candidate texts to determine whether the input operation completes the input of the target text.

[0032] Optionally, the determination submodule is configured to receive a text selection instruction triggered by the user based on the one or more displayed candidate texts; and use the candidate text indicated by the text selection as the target text.

[0033] Optionally, the determination submodule is further configured to use a designated candidate text among the one or more candidate texts as the target text if the text selection instruction is not received after a preset time period.

[0034] According to a third aspect of an embodiment of the present disclosure, there is provided a text display device comprising: a processor;

[0035] A memory for storing processor executable instructions; wherein the processor is configured to implement the steps of the text display method provided in the first aspect of the present disclosure when executed.

[0036] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the text display method provided in the first aspect of the present disclosure are implemented.

[0037] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0038] By detecting the input operation of the user on the first display interface of the first terminal, the input operation is used to input the target text; the first display interface is the projection interface of the second display interface of the second terminal on the screen of the first terminal; when it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text. In this way, when the user's input operation is detected on the display screen of the mirror end, the input result text is sent to the first terminal, that is, the display interface of the source end, only when it is determined that the input of the target text is completed, which can avoid some intermediate strokes and pinyin characters from being displayed on the screen, and prevent garbled text from being seen on the first terminal, that is, the source end, which can improve the user experience.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] Figure 1 The present invention is a schematic diagram of a scene of device screen projection according to an exemplary embodiment.

[0042] Figure 2 The present invention is a flowchart of a text display method according to an exemplary embodiment.

[0043] Figure 3 The diagram is a schematic diagram of inputting a first terminal according to an exemplary embodiment.

[0044] Figure 4 The present invention is a schematic diagram showing a preview input of a first terminal according to an exemplary embodiment.

[0045] Figure 5 The diagram is a schematic diagram of another preview input of a first terminal according to an exemplary embodiment.

[0046] Figure 6 The figure is a flow chart of another text display method according to an exemplary embodiment.

[0047] Figure 7 The figure is a block diagram of a text display device according to an exemplary embodiment.

[0048] Figure 8 is based on Figure 7 The illustrated embodiment shows a block diagram of a sending module.

[0049] Fig. 9 The invention is a block diagram showing a device for displaying text according to an exemplary embodiment. DETAILED DESCRIPTION

[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0051] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0052] First, the application scenarios of the present disclosure are introduced. The present disclosure can be applied in the scenario of using a mirrored device for text input. Currently, in the process of interconnected cross-screen collaboration, in order to achieve a better input experience, content is input on the mirrored device. For example, a mobile phone can play videos, and can also display documents, pictures, application interfaces, or web pages. Since the display screen of a mobile phone is small, when you need to show the content displayed on the mobile phone to others, you can project the content displayed on the mobile phone to the display interface of a display device (such as a TV, computer, or another mobile phone) through screen projection technology.

[0053] In the screen projection scenario, when the user wants to input content to the mobile phone, in the relevant technology, the content can be input on the mirrored display device to generate the input content on the screen of the mobile phone. However, in the screen projection scenario, when inputting content on the display device, some strokes in the middle will be displayed on the screen. Even when inputting Chinese characters in pinyin, the pinyin characters in the middle cannot be replaced, resulting in garbled text on the mobile phone.

[0054] In order to solve the above problems, the present disclosure provides a text display method, device and storage medium, by detecting the input operation of the user on the first display interface of the first terminal, the input operation is used to input the target text; the first display interface is the projection interface of the second display interface of the second terminal on the screen of the first terminal; when it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text. In this way, when the user's input operation is detected on the display screen of the mirror end, the input result text is sent to the first terminal, that is, the display interface of the source end, only when it is determined that the input of the target text is completed, which can avoid some middle strokes and pinyin characters from being displayed on the screen, and prevent garbled text from being seen on the first terminal, that is, the source end, which can improve the user experience.

[0055] Screen projection refers to a device projecting its screen display content onto the display screen or display medium of another device. It is a typical information synchronization method between devices with screens. In the embodiment of the present application, the device that projects its screen display content can be called the screen projection source end, that is, the second terminal, and the device that receives the projection of the screen projection source end and displays the screen display content of the screen projection source end can be called the screen projection destination end, that is, the first terminal. Figure 1 As shown, the second terminal can project its screen display content onto the first terminal for display. When projecting the screen, the second terminal can compress and encode the video stream data of its screen display content and send it to the first terminal. The first terminal receives the video stream data of the second terminal, and after decoding, displays the screen display content of the second terminal on the display screen of the first terminal. For the convenience of expression, the screen display content of the second terminal displayed on the display screen of the first terminal can be referred to as the mirror image of the screen display content of the second terminal.

[0056] With the development of electronic devices, the services they can provide are becoming more and more colorful and can be used anytime and anywhere. For a better visual experience, using screen projection technology, users can use electronic devices as the screen projection source-the second terminal, and project their screen content onto the display screen or display medium of the first terminal. The electronic device can be a mobile phone, a tablet computer, etc. The devices that can be used as the first terminal include personal computers, smart TVs, projectors, etc. In some scenarios, when the user uses the screen of the first terminal to display the screen display content of the second terminal, it is necessary to input content on the screen of the first terminal to display it on the screen of the second terminal.

[0057] Figure 2 is a flowchart of a text display method according to an exemplary embodiment. Figure 2 As shown, the method is used in a first terminal and includes the following steps.

[0058] In step S11, an input operation of a user on a first display interface of the first terminal is detected. 。

[0059] The input operation is used to input a target text. The first display interface is a projection interface of the second display interface of the second terminal on the screen of the first terminal.

[0060] In some embodiments, the first terminal may detect the user's input operation on the first display interface of the first terminal when determining that its own display interface is in an input state, wherein the input operation may include handwriting input on the display interface of the first terminal or may include calling the input method of the first terminal to input letters.

[0061] Optionally, it may be first determined that the display interface of the first terminal is in an input state.

[0062] In some embodiments, Figure 3 As shown, the display interface of the first terminal may include a projection window, and the projection window can be used to project and display all or part of the second display interface of the second terminal. The second display interface may include an editing box, and correspondingly, the projection window of the first terminal also includes a projection editing box corresponding to the editing box. Moreover, when it is determined that the projection editing box is in an editing state, it can be determined that the display interface of the first terminal is in an input state.

[0063] Specifically, when the screen of the first terminal detects a user's screen click operation, the click information of the click operation can be sent to the connected second terminal through a sensor set on the screen of the first terminal. The click information may include the number of clicks and the click position within a preset time period. When the second terminal obtains the number of clicks and the click position, it can determine whether the user's click operation is an input request operation based on the number of clicks and the click position. For example, when the user double-clicks the position of the screen projection edit box, information such as "double-click" and "position of the screen projection edit box" can be sent to the second terminal. In this case, the second terminal can determine that the user's operation is an input request operation.

[0064] Then, when the second terminal determines that the user's operation is an input request operation, the second terminal can send an input request signal to the first terminal according to the input request operation, and the first terminal can set the projection editing box of the display interface to an editing state according to the input request signal. At this time, it can be determined that the display interface of the first terminal is in an input state.

[0065] In some other embodiments, the first terminal may first obtain an input state indication parameter, wherein the input state indication parameter is used to indicate whether the display interface of the first terminal is in an input state.

[0066] For example, in response to receiving an input request message from the user, the input state indication parameter may be set as the designated parameter.

[0067] Specifically, when it is determined that the first terminal has received an input request signal sent by the second terminal according to the user's input request operation, the input status indication parameter can be set to a specified parameter. For example, the input status indication parameter can be represented by "1" or "0". When the input status indication parameter is set to "1", it means that the input status indication parameter is set to the specified parameter; when the input status indication parameter is "1", it can be determined that the display interface of the first terminal is in the input state.

[0068] Optionally, after determining that the display interface of the first terminal is in an input state, an input operation of the user on the display interface of the first terminal may be detected.

[0069] In step S12, when it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text.

[0070] In this step, the first terminal can first use the input method that comes with the first terminal system, or an installed third-party input method. When it is determined that the input operation completes the input of the target text, the target text can be sent to the second terminal so that the second display interface of the second terminal displays the target text.

[0071] In some embodiments, the first terminal may first determine that the input operation completes the input of the target text.

[0072] It should be noted that the screen projection edit box of the first terminal can be an edit box of the input control of the first terminal. For example, when the edit box is a text box, the text box is specifically a text box of the text box control of the first terminal; when the edit box is a picture box, the picture box is specifically a picture box of the picture box control of the first terminal. In addition, the first terminal can input text converted from speech, text or images extracted from pictures, and text or images input through a handwriting board or stylus into the screen projection edit box.

[0073] Moreover, the target text is generated by the input method of the first terminal according to the input of the user's input operation. The input method is the input method of the first terminal, which can specifically be the input method built into the first terminal system or a third-party input method installed.

[0074] Optionally, the first terminal can first input the target text through the screen mirroring editing box in response to the user's input operation. During the process of inputting the target text, the screen mirroring editing box of the first terminal can monitor multiple candidate texts through the input method built into the system or a third-party input method installed. In the case of the user's handwritten input, the candidate texts are the characters in multiple determined processes. For example, when the user handwrites the character "权", candidate texts such as "杖" and "叔" will be recognized.

[0075] In some embodiments, when the first terminal determines multiple candidate texts according to the user's input operation, it can display one or more candidate texts corresponding to the input operation in the preview area of the first display interface; then determine the target text from the one or more candidate texts to determine that the input operation completes the input of the target text.

[0076] Optionally, the first terminal can receive the text selection instruction triggered by the user according to the displayed one or more candidate texts; then use the candidate text indicated by the text selection instruction as the target text.

[0077] Or, after a preset time period, if the first terminal does not receive the text selection instruction, use the specified candidate text among the one or more candidate texts as the target text.

[0078] In some embodiments, when the first terminal is connected to a physical keyboard, after the screen mirroring editing box enters the input state, the user can start the input method of the first terminal through the physical keyboard connected to the first terminal. It is easy to understand that when the input device is a physical keyboard, for English and Arabic numerals, the content can be directly input into the screen mirroring editing box through the physical keyboard, and in this case, no input method is required, so there is no need to start the input method.

[0079] However, for languages other than English, an entity keyboard needs to be combined with the input method of the first terminal for input. At this time, the user can activate the input method of the first terminal by operating the entity keyboard of the first terminal (for example, pressing the Ctrl key and the space bar simultaneously). The user can tap the keys of the entity keyboard to generate operation commands, and then the input method generates text content according to the user's input operation. When inputting languages other than English, the input method can also generate corresponding candidate words in the prompt box of the candidate text according to the text selection instruction triggered by the user's selection operation, and determine the target text content from the candidate text according to the corresponding operation command of the user's selection operation.

[0080] In some embodiments, as Figure 4 shown, in the case where the user uses the display screen of the first terminal for handwriting input, the input method of the first terminal can generate multiple candidate texts according to the user's input operation. In one possible implementation, multiple candidate texts and multiple recognized process texts can be synchronously displayed on the display screen of the first terminal. For example, when the user handwrites the character "权", process texts such as "一", "丨", "木", "又", etc. will be recognized. And when the user designates the target text from multiple candidate texts, the target text is sent to the display screen of the second terminal for display. That is to say, multiple candidate texts and multiple recognized process texts are not displayed on the display screen of the second terminal, only the target text is displayed. In another possible implementation, as Figure 5 shown, multiple recognized process texts are not displayed on the display screen of the first terminal, but multiple candidate texts are displayed for the user to determine the target text from the multiple candidate texts and send the target text to the display screen of the second terminal for display. Similarly, multiple candidate texts and multiple recognized process texts are not displayed on the display screen of the second terminal, only the target text is displayed.

[0081] By detecting the input operation of the user on the first display interface of the first terminal, the input operation is used to input the target text; the first display interface is the projection interface of the second display interface of the second terminal on the screen of the first terminal; in the case of determining that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text. In this way, when the input operation of the user can be detected on the display screen of the mirror end, only when it is determined that the input of the target text is completed, the input result text is sent to the first terminal, that is, the display interface of the source end, which can avoid uploading some intermediate strokes and pinyin characters, prevent the text from being garbled on the first terminal, that is, the source end, and improve the user experience.

[0082] Figure 6is a flowchart of another text display method according to an exemplary embodiment. Figure 6 As shown, the method is used in a first terminal and includes the following steps.

[0083] In step S21, an input state indication parameter is obtained.

[0084] In this step, when the screen of the first terminal detects the user's screen click operation, the click information of the click operation can be sent to the connected second terminal through the sensor set on the screen of the first terminal. The click information may include the number of clicks and the click position within a preset time period. When the second terminal obtains the number of clicks and the click position, it can determine whether the user's click operation is an input request operation based on the number of clicks and the click position. For example, when the user double-clicks the position of the projection screen edit box, information such as "double-click" and "position information of the projection screen edit box" can be sent to the second terminal. In this case, the second terminal can determine that the user's operation is an input request operation.

[0085] In step S22, in response to receiving the input request message of the user, the input state indication parameter is set as the designated parameter.

[0086] Then, when the second terminal determines that the user's operation is an input request operation, the second terminal may send an input request signal to the first terminal according to the input request operation. When it is determined that the first terminal receives the input request signal sent by the second terminal according to the user's input request operation, the input state indication parameter may be set to a specified parameter. For example, the input state indication parameter may be represented by "1" or "0". When the input state indication parameter is set to "1", it indicates that the input state indication parameter is set to the specified parameter.

[0087] In step S23, it is determined that the display interface of the first terminal is in an input state.

[0088] When the input state indication parameter is "1", it can be determined that the display interface of the first terminal is in the input state. Then the state indication parameter can be obtained.

[0089] In step S24, an input operation of the user on the display interface of the first terminal is detected.

[0090] In step S25, based on the input operation, one or more candidate texts corresponding to the input operation are displayed in the preview area of ​​the first display interface.

[0091] In step S26, a text selection instruction triggered by the user based on the displayed one or more candidate texts is received.

[0092] In step S27, the candidate text indicated by the text selection designation is used as the target text.

[0093] In step S28, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text.

[0094] By detecting the input operation of the user on the first display interface of the first terminal, the input operation is used to input the target text; the first display interface is the projection interface of the second display interface of the second terminal on the screen of the first terminal; when it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text. In this way, when the user's input operation is detected on the display screen of the mirror end, the input result text is sent to the first terminal, that is, the display interface of the source end, only when it is determined that the input of the target text is completed, which can avoid some middle strokes and pinyin characters from being displayed on the screen, and prevent garbled text from being seen on the first terminal, that is, the source end, which can improve the user experience.

[0095] Figure 7 is a block diagram of a text display device according to an exemplary embodiment. Figure 7 The device includes a detection module 701 and a sending module 702.

[0096] The detection module 701 is configured to detect an input operation of a user on a first display interface of the first terminal, where the input operation is used to input a target text; the first display interface is a projection interface of a second display interface of a second terminal on a screen of the first terminal;

[0097] The sending module 702 is configured to send the target text to the second terminal when it is determined that the input operation completes the input of the target text, so that the second display interface of the second terminal displays the target text.

[0098] Optionally, the detection module 701 is configured to detect an input operation of a user on the display interface of the first terminal when it is determined that the display interface of the first terminal is in an input state.

[0099] Optionally, the detection module 701 is configured to obtain an input state indication parameter; and when the input state indication parameter is a specified parameter, determine that the display interface of the first terminal is in an input state.

[0100] Optionally, the detection module 701 is configured to set the input state indication parameter to the specified parameter in response to receiving an input request message from the user.

[0101] Figure 8 is based on Figure 7 The block diagram of a sending module shown in the embodiment shown in FIG. Figure 8 , the sending module 702 includes:

[0102] A display submodule 7021 is configured to display one or more candidate texts corresponding to the input operation in the preview area of ​​the first display interface;

[0103] The determination submodule 7022 is configured to determine the target text from the one or more candidate texts to determine whether the input operation completes the input of the target text.

[0104] Optionally, the determination submodule 7022 is configured to receive a text selection instruction triggered by the user based on the one or more displayed candidate texts; and select the candidate text indicated by the text selection as the target text.

[0105] Optionally, the determination submodule 7022 is further configured to use a designated candidate text from the one or more candidate texts as the target text if the text selection instruction is not received after a preset time period.

[0106] The above device is used to detect the input operation of the user on the first display interface of the first terminal, and the input operation is used to input the target text; the first display interface is the projection interface of the second display interface of the second terminal on the screen of the first terminal; when it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text. In this way, when the user's input operation is detected on the display screen of the mirror end, the input result text is sent to the first terminal, that is, the display interface of the source end, only when it is determined that the input of the target text is completed, which can avoid some intermediate strokes and pinyin characters from being displayed on the screen, and prevent garbled text from being seen on the first terminal, that is, the source end, which can improve the user experience.

[0107] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0108] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the text display method provided by the present disclosure.

[0109] Fig. 91 is a block diagram of a text display device 900 according to an exemplary embodiment. For example, the device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0110] Reference Fig. 9 , the device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output interface 912 , a sensor component 914 , and a communication component 916 .

[0111] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0112] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0113] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.

[0114] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0115] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0116] The input / output interface 912 provides an interface between the processing component 902 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0117] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0118] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0119] In an exemplary embodiment, the apparatus 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.

[0120] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0122] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A text display method, characterized in that: Applied to the first terminal, comprising: Detecting an input operation of a user on a first display interface of the first terminal, where the input operation is used to input a target text; the first display interface is a projection interface of a second display interface of a second terminal on a screen of the first terminal; When it is determined that the input operation completes the input of the target text, the target text is sent to the second terminal so that the second display interface of the second terminal displays the target text.

2. The method according to claim 1, characterized in that The detecting an input operation of a user on a display interface of the first terminal includes: When it is determined that the display interface of the first terminal is in an input state, an input operation of a user on the display interface of the first terminal is detected.

3. The method according to claim 2, characterized in that The determining that the display interface of the first terminal is in an input state includes: Get input status indication parameters; When the input state indication parameter is a specified parameter, it is determined that the display interface of the first terminal is in an input state.

4. The method according to claim 3, characterized in that The method further comprises: In response to receiving the input request message of the user, setting the input state indication parameter as the designated parameter.

5. The method according to claim 1, characterized in that: Determining that the input operation completes the input of the target text includes the following methods: Displaying one or more candidate texts corresponding to the input operation in the preview area of ​​the first display interface; A target text is determined from the one or more candidate texts to determine that the input operation completes the input of the target text.

6. The method according to claim 5, characterized in that Determining the target text from the one or more candidate texts includes: Receiving a text selection instruction triggered by the user according to the one or more displayed candidate texts; The candidate text indicated by the text selection designation is used as the target text.

7. The method according to claim 6, characterized in that The step of determining the target text from the one or more candidate texts further includes: After the preset time period is reached, if the text selection instruction is not received, a designated candidate text among the one or more candidate texts is used as the target text.

8. A text display device, characterized in that: include: a detection module, configured to detect an input operation of a user on a first display interface of the first terminal, wherein the input operation is used to input a target text; The first display interface is a projection interface of the second display interface of the second terminal on the screen of the first terminal; The sending module is configured to send the target text to the second terminal when it is determined that the input operation completes the input of the target text, so that the second display interface of the second terminal displays the target text.

9. A text display device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to perform the steps of the method according to any one of claims 1-7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.