Screen projection method and device, electronic equipment, storage medium and product

CN123011165APending Publication Date: 2026-10-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510559825.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

在投屏的过程中,直接将当前设备显示的内容投射至其他设备存在局限性

Benefits of technology

[0082]应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011165A_ABST
    Figure CN123011165A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a screen projection method and device, electronic equipment, storage medium and product. The method comprises displaying first display content; the language of the first display content is a first language; in response to a first screen projection operation, projecting second display content; the second display content is content corresponding to the first display content generated based on a second language, and the first language and the second language are different. The present disclosure can display the first display content and project the second display content in the second language, thereby providing display content in different languages, meeting the language needs of users, facilitating users with different language needs to understand and read the display content, avoiding communication barriers caused by display content in a single language, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of screen projection technology, and in particular to a screen projection method, device, electronic device, storage medium and product. Background Technology

[0002] Screen mirroring refers to projecting the content displayed on your current device onto another device. For example, projecting content from your phone onto a TV or computer. However, directly projecting the content displayed on your current device to another device during screen mirroring has limitations. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a screen projection method, device, electronic device, storage medium, and product.

[0004] According to a first aspect of the present disclosure, a screen mirroring method is provided, comprising:

[0005] The first display content is displayed; the language of the first display content is a first language;

[0006] In response to the first screen mirroring operation, the second display content is mirrored; the second display content is content generated based on a second language that corresponds to the first display content, and the first language and the second language are different.

[0007] In this embodiment of the disclosure, a first display content can be displayed, and a second display content in a second language can be projected onto the screen, thereby providing display content in different languages ​​to meet the user's language needs, making it easier for users with different language needs to understand and read the display content, avoiding communication barriers caused by display content in a single language, and improving the user experience.

[0008] In some embodiments, the method further includes:

[0009] Based on the first displayed content, the second displayed content is determined.

[0010] In this embodiment of the disclosure, determining the second display content based on the first display content can determine the consistency (semantic consistency) between the first display content and the second display content, accurately conveying the intent and information of the first display content, thereby enabling users to obtain and understand information more quickly and improving the user experience.

[0011] In some embodiments, determining the second display content based on the first display content includes:

[0012] In response to a translation operation triggered by a translation control, a second display content is determined based on the first display content, wherein the translation control is used to translate the display content in the first language into display content in another language.

[0013] In this embodiment, the translation operation triggered by the translation control allows for very intuitive language switching. Furthermore, the translation control can quickly generate a second display content, effectively reducing information transmission barriers caused by language differences, enabling users to obtain and understand information more quickly, thereby improving communication efficiency.

[0014] In some embodiments, the display interface includes a first area and a second area; displaying the first display content includes:

[0015] Display the first display content in the first area;

[0016] The method further includes:

[0017] The second area displays functional controls; the functional controls include at least the translation control.

[0018] In this embodiment, the main content can be displayed in the first area, allowing the user to focus on viewing the information. Functional controls are displayed in the second area, separating functional operations from the displayed content. This avoids interface clutter and congestion, resulting in a simpler layout and improved ease of operation and usability. Furthermore, placing functional controls (such as translation controls) in the second area allows users to quickly access the corresponding functions, reducing operational complexity and time costs.

[0019] In some embodiments, the method further includes:

[0020] In response to a trigger operation on the translation control, multiple languages ​​are displayed;

[0021] In response to the selection operation of any one of the multiple languages, the selected language is determined as the second language, and the translation operation is triggered.

[0022] In this embodiment, triggering the translation control displays multiple language options, from which a second language can be selected. This intuitive operation aligns with user intuition, reduces the learning curve, and allows users to quickly get started and switch languages. After selecting a language, the device can trigger a translation operation to translate the displayed content, thereby making the operation more efficient and improving the overall interactive experience.

[0023] In some embodiments, determining the second display content based on the first display content includes:

[0024] Based on the first display content, a third display content is determined; the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0025] The third display content in the first language is translated to obtain the second display content.

[0026] In this embodiment of the disclosure, all or part of the content in the first displayed content can be translated selectively. That is, the content to be translated can be determined according to actual needs, thereby improving translation flexibility, reducing unnecessary translation operations, improving translation efficiency, and reducing resource consumption.

[0027] In some embodiments, determining the third display content based on the first display content includes:

[0028] The content selected by the selection box in the first display content is determined as the third display content.

[0029] In this embodiment, by selecting the content within the first display content using a selection box and processing the selected content as the third display content, the content to be translated can be precisely specified, avoiding unnecessary translation operations. Furthermore, the range of content to be translated can be selected according to needs, improving the user experience.

[0030] In some embodiments, the method further includes:

[0031] In response to a drag operation on the border of the selection box, the size of the selection box is adjusted.

[0032] In this embodiment of the disclosure, the size of the selection box can be adjusted more precisely by dragging, thereby selecting the content to be translated more accurately and ensuring the accuracy and relevance of the translation.

[0033] In some embodiments, translating the third display content in the first language to obtain the second display content includes:

[0034] The third display content in the first language is translated to obtain the third display content in the second language;

[0035] Based on the third display content in the first language, the format of the third display content in the second language is adjusted to obtain the second display content, so that the position of the first element in the second display content corresponds to the position of the second element in the third display content. The first element is any element in the second display content, and the second element is the element translated from the first element.

[0036] In this embodiment, the format of the translated content is adjusted so that the position of the translated elements in the second displayed content matches the position of the elements in the original text. This format alignment ensures that users can quickly find the corresponding original text elements when viewing the translated content, improving the readability and consistency of the displayed content before and after translation. Simultaneously, it avoids confusion or misunderstanding caused by format differences, providing users with a more coherent and consistent visual experience.

[0037] In some embodiments, the method further includes:

[0038] Based on the first displayed content, a fourth displayed content is determined; the language of the fourth displayed content is a third language, and the first language and the third language are the same or different;

[0039] In response to the second screen projection operation, the fourth display content is projected, and the device used to display the projected fourth display content is different from the device used to display the projected second display content.

[0040] In this embodiment of the disclosure, it is possible to project display content in different languages ​​onto different devices, thereby meeting the diverse language needs in a multilingual environment.

[0041] In some embodiments, the method further includes:

[0042] Displays the device identifier for each of the multiple devices;

[0043] In response to the selection operation of any one of a plurality of device identifiers, the device corresponding to the selected device identifier is determined as the device for displaying the projection content, wherein the display content includes the second display content or the fourth display content.

[0044] In this embodiment of the disclosure, by displaying device identifiers for multiple devices, devices can be intuitively identified and selected for screen projection, improving the convenience and feasibility of the operation.

[0045] In some embodiments, the method further includes:

[0046] Preview the display effect of the second content after screen mirroring.

[0047] In this embodiment of the disclosure, previewing the display effect before the actual screen projection allows for advance confirmation of whether the content meets expectations, thereby avoiding embarrassment or misunderstanding caused by content format, layout, or display issues, and improving the user experience.

[0048] According to a second aspect of the present disclosure, a screen mirroring method is provided, comprising:

[0049] The second display content is content generated based on a second language that corresponds to the first display content. The language of the first display content is the first language, and the first language and the second language are different.

[0050] In this embodiment of the disclosure, a second display content can be displayed to meet the user's language needs, facilitate the user's understanding and reading of the display content, avoid communication barriers caused by single-language display content, and improve the user experience.

[0051] In some embodiments, the second display content is display content determined in response to a translation operation, the translation operation being triggered based on a translation control, the translation control being used to translate the display content in the first language into display content in other languages.

[0052] In this embodiment, the translation operation triggered by the translation control allows for very intuitive language switching. Furthermore, the translation control can quickly generate a second display content, effectively reducing information transmission barriers caused by language differences, enabling users to obtain and understand information more quickly, thereby improving communication efficiency.

[0053] In some embodiments, the second display content is the display content obtained by translating the third display content in the first language, wherein the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0054] In this embodiment of the disclosure, all or part of the content in the first displayed content can be translated selectively. That is, the content to be translated can be determined according to actual needs, thereby improving translation flexibility, reducing unnecessary translation operations, improving translation efficiency, and reducing resource consumption.

[0055] In some embodiments, the position of the first element in the second display content corresponds to the position of the second element in the third display content, wherein the first element is any element in the second display content, and the second element is the element translated from the first element.

[0056] In this embodiment of the disclosure, the position of the first element in the second display content corresponds to the position of the second element in the third display content, thereby improving the readability and consistency of the display content before and after translation, and providing users with a more coherent and consistent visual experience.

[0057] According to a third aspect of the present disclosure, a screen projection device is provided, comprising:

[0058] The first display module is configured to display first display content; the language of the first display content is a first language.

[0059] The screen mirroring module is configured to mirror a second display content in response to a first screen mirroring operation; the second display content is content generated based on a second language that corresponds to the first display content, and the first language and the second language are different.

[0060] In this embodiment of the disclosure, a first display content can be displayed, and a second display content in a second language can be projected onto the screen, thereby providing display content in different languages ​​to meet the user's language needs, making it easier for users with different language needs to understand and read the display content, avoiding communication barriers caused by display content in a single language, and improving the user experience.

[0061] In some embodiments, the apparatus further includes a processing module configured to:

[0062] Based on the first displayed content, the second displayed content is determined.

[0063] In this embodiment of the disclosure, determining the second display content based on the first display content can determine the consistency (semantic consistency) between the first display content and the second display content, accurately conveying the intent and information of the first display content, thereby enabling users to obtain and understand information more quickly and improving the user experience.

[0064] In some embodiments, the processing module is configured to:

[0065] In response to a translation operation triggered by a translation control, a second display content is determined based on the first display content, wherein the translation control is used to translate the display content in the first language into display content in another language.

[0066] In this embodiment, the translation operation triggered by the translation control allows for very intuitive language switching. Furthermore, the translation control can quickly generate a second display content, effectively reducing information transmission barriers caused by language differences, enabling users to obtain and understand information more quickly, thereby improving communication efficiency.

[0067] In some embodiments, the processing module is configured to:

[0068] Based on the first display content, a third display content is determined; the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0069] The third display content in the first language is translated to obtain the second display content.

[0070] In this embodiment of the disclosure, all or part of the content in the first displayed content can be translated selectively. That is, the content to be translated can be determined according to actual needs, thereby improving translation flexibility, reducing unnecessary translation operations, improving translation efficiency, and reducing resource consumption.

[0071] According to a fourth aspect of the present disclosure, a screen projection device is provided, comprising:

[0072] The second display module is configured to display second display content; the second display content is content generated based on a second language that corresponds to the first display content, the language of the first display content is a first language, and the first language and the second language are different.

[0073] In this embodiment of the disclosure, a second display content can be displayed to meet the user's language needs, facilitate the user's understanding and reading of the display content, avoid communication barriers caused by single-language display content, and improve the user experience.

[0074] In some embodiments, the second display content is display content determined in response to a translation operation, the translation operation being triggered based on a translation control, the translation control being used to translate the display content in the first language into display content in other languages.

[0075] In this embodiment, the translation operation triggered by the translation control allows for very intuitive language switching. Furthermore, the translation control can quickly generate a second display content, effectively reducing information transmission barriers caused by language differences, enabling users to obtain and understand information more quickly, thereby improving communication efficiency.

[0076] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising:

[0077] processor;

[0078] Memory used to store processor-executable instructions;

[0079] The processor is configured to perform either the screen mirroring method described in the first aspect of this disclosure or the screen mirroring method described in the second aspect of this disclosure.

[0080] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a screen projection method as described in the first aspect of the present disclosure or a screen projection method as described in the second aspect of the present disclosure.

[0081] According to a seventh aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the screen projection method as described in the first aspect of the present disclosure or performs the screen projection method as described in the second aspect of the present disclosure.

[0082] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0084] Figure 1 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0085] Figure 2 This is a schematic diagram illustrating a display interface according to an exemplary embodiment.

[0086] Figure 3 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0087] Figure 4 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0088] Figure 5 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0089] Figure 6 This is a schematic diagram illustrating a display interface according to an exemplary embodiment.

[0090] Figure 7 This is a schematic diagram illustrating a preview display effect according to an exemplary embodiment.

[0091] Figure 8 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0092] Figure 9 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment.

[0093] Figure 10 This is a block diagram illustrating a screen projection device according to an exemplary embodiment.

[0094] Figure 11 This is a block diagram illustrating a screen projection device according to an exemplary embodiment.

[0095] Figure 12This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0096] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0097] The screen projection method provided in this embodiment is executed by a first device, which can be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device. For example, the first device can be a foldable mobile phone.

[0098] Figure 1 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a first device. See [link to flowchart]. Figure 1 The method includes the following steps:

[0099] Step S101: Display the first display content; the language of the first display content is the first language.

[0100] The first display content refers to the content displayed on the display interface of the first device, and the first display content can be any content, such as text content, image content, or a combination of text content and image content.

[0101] In some embodiments, the first language is used to represent the language corresponding to the displayed content on the current display interface of the first device. It should be noted that the first language can be any language. Optionally, the first language can be the default system language of the first device; for example, when the first device is a Chinese version device, the first language can be Chinese by default. Optionally, the first language can be the language used by the user of the first device based on their own language needs; for example, if the first device is a Chinese version device, but user A's native language is English, then user A can set the first language to English based on their own language needs.

[0102] Step S102: In response to the first screen projection operation, the second display content is projected; the second display content is content generated based on the second language that corresponds to the first display content, and the first language and the second language are different.

[0103] The first screen mirroring operation can be wireless screen mirroring or wired screen mirroring, and the screen mirroring of the second display content can include mirroring the second display content to a second device, where the second device refers to a device that has established a screen mirroring connection with the first device.

[0104] The second language can be any language. Optionally, the second language can be the default system language of the second device. For example, if the system language of the second device is German, then the second language can be German. Alternatively, the second language can be a language selected based on actual needs. For example, if the user of the second device is fluent in English, then the second language can be English. In other words, through a screen mirroring connection between the first and second devices, in response to the first screen mirroring operation, the second display content can be projected onto the display interface of the second device. Thus, the user of the second device can view the second display content in a second language, thereby facilitating the user's understanding of the first display content and providing a better viewing experience.

[0105] In one example, for large multinational conferences, seating for different countries is typically fixed. Accordingly, to facilitate the use of secondary devices by participants from various countries, the default system language of the secondary devices in the corresponding areas can be set to the official language of the respective country. Thus, during screen sharing, the primary display content can be converted to the secondary display content corresponding to the default system language of each device, and this secondary display content can then be displayed on the secondary device.

[0106] In some embodiments, the screen mirroring connection between the first device and the second device can be wired or wireless. For example, the first device and the second device can be connected via a Universal Serial Bus (USB); or, for example, the first device and the second device can be connected via Bluetooth or any wireless communication module.

[0107] It should be noted that the first language and the second language are different languages. Therefore, in the process of determining the second display content based on the first display content, language translation is required. In some embodiments, the first display content can be translated into the second display content based on the first display content, the first language, and the second language.

[0108] Different users have different language needs, but current technologies only project the content from the current display screen to other display screens, failing to meet users' language requirements. For example, when giving a multinational presentation, if the user on device 1 speaks Chinese and the user on device 2 speaks English, displaying the same language content on both devices would cause inconvenience for users with different language needs, thus reducing their user experience.

[0109] The method provided in this embodiment can display first display content and project second display content in a second language, thereby providing display content in different languages ​​to meet the user's language needs, making it easier for users with different language needs to understand and read the display content, avoiding communication barriers caused by single-language display content, and improving the user experience.

[0110] In some embodiments, the language of the first displayed content is a first language, and the second displayed content is content generated based on the second language that corresponds to the first displayed content. Therefore, the second displayed content can be determined based on the first displayed content. The process of determining the second displayed content based on the first displayed content is described below.

[0111] In some embodiments, in response to a translation operation triggered by a translation control, a second display content can be determined based on the first display content. The translation control is used to translate the display content in the first language into display content in another language, where "other language" refers to a language other than the first language. That is, in response to a trigger operation on the translation control, a corresponding translation operation is triggered to translate the first display content and obtain the second display content. The translation includes the conversion between the content in the first language and the content in the second language.

[0112] In some embodiments, the display interface of the first device includes a first area and a second area. The distribution of the first area and the second area can be set and selected based on the actual situation. The first area displays first display content, while the second area displays functional controls, including at least a translation control.

[0113] In some embodiments, the first device may also display the first area and the second area separately on one interface, for example, displaying the first area on one interface and the second area on another interface. Furthermore, the two interfaces can be switched between each other.

[0114] In one example, such as Figure 2 The schematic diagram shown illustrates that the first and second regions can be characterized as being distributed vertically. In one example, such as... Figure 3 The diagram shows that the first and second areas can be represented as being distributed left and right. For example, when the first device is a large-screen device such as a foldable phone, tablet, or laptop, representing the first and second areas as being distributed left and right makes it easier for users to view the displayed content.

[0115] In some embodiments, the following is by Figure 4 The illustrated embodiment describes the process of determining a second display content based on a first display content in response to a translation operation triggered by a translation control.

[0116] Figure 4 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a first device. See [link to flowchart]. Figure 4 The method includes the following steps:

[0117] In step S401, in response to the triggering operation of the translation control, multiple languages ​​are displayed.

[0118] In some embodiments, the triggering operation for the translation control can be a user-manual triggering operation, such as when the user clicks the translation control, thus triggering the translation control. Alternatively, the triggering operation for the translation control can be an automatic triggering operation performed by the first device, such as when the first device automatically obtains the second language corresponding to the second device in response to the screen mirroring connection between the first device and the second device, and when it is determined that the first language and the second language are different, the first device automatically performs the triggering operation for the translation control.

[0119] In response to a triggering operation on the translation control, multiple languages ​​can be displayed in the second area. This disclosure does not limit the display method of multiple languages. In some embodiments, multiple languages ​​can be displayed in a preset order, which can be set based on actual needs. For example, when the first language is Chinese, the preset order can be the alphabetical order of the multiple languages.

[0120] In step S402, in response to the selection operation of any one of the multiple languages, the selected language is determined as the second language, and a translation operation is triggered.

[0121] In some embodiments, the selection operation can be a selection operation performed manually by the user. For example, the user can select Korean from multiple languages ​​(English, Japanese, Korean, Thai), in which case the second language is Korean. Alternatively, it can be a selection operation performed automatically by the first device. For example, the first device can automatically select the second language from multiple languages.

[0122] Step S403: In response to the translation operation triggered by the translation control, determine the second display content based on the first display content.

[0123] In some embodiments, a third display content in a first language can be determined based on the first display content; the third display content in the first language is then translated to obtain a second display content. The third display content is the actual content to be projected onto the second device.

[0124] In some embodiments, during screen mirroring, based on actual mirroring needs, a portion of the first display content can be selected for mirroring. For example, if the first display content includes the privacy information of the user using the first device, to ensure the privacy and security of the user, the user can select display content other than the privacy information in the first display content as the third display content. That is, the third display content includes a portion of the first display content.

[0125] Additionally, during screen mirroring, all content displayed in the first display can be designated as the third display. That is, the third display includes all content displayed in the first display. This allows for selective translation of all or part of the content in the first display. In other words, the content to be translated can be determined based on actual needs, thereby increasing translation flexibility, reducing unnecessary translation operations, improving translation efficiency, and reducing resource consumption.

[0126] It should be noted that the user can set and select whether to display part or all of the content in the first display as the third display content based on their actual needs.

[0127] In some embodiments, the functional controls for the second area also include a partitioned display control (such as...). Figure 6 (As shown in the diagram), the partitioned display control is used to select content to be projected from the first display content. Correspondingly, in response to a trigger operation on the partitioned display control, a selection box is displayed, which is used to select a third display content from the first display content. The selection box can be moved, and the display content selected by the selection box in the first display content is designated as the third display content.

[0128] Additionally, the size of the selection box may not meet the user's screen mirroring needs. For example, if the selection box is too small, some content to be mirrored may not be selected; conversely, if the selection box is too large, some private content may be selected. Therefore, the size of the selection box can be adjusted to precisely meet the user's screen mirroring requirements.

[0129] In some embodiments, the size of the selection box can be adjusted in response to dragging the border of the selection box. For example, when the lower right corner of the selection box's border is dragged to the lower right, the size of the selection box will increase accordingly; conversely, when the lower right corner of the selection box's border is dragged to the upper left, the size of the selection box will decrease accordingly.

[0130] In some embodiments, in response to no triggering operation on the translation control, the first display content is projected onto the second device. That is, when no triggering operation is performed on the translation control, language conversion can be assumed not to be required, and the first display content can be directly projected onto the second device.

[0131] The method provided by the embodiments of the present disclosure may, after a translation operation is triggered, use a selection box to select third display content to be screen-cast, and translate and convert the third display content in a first language into second display content in a second language. Selecting the third display content using the selection box can ensure user information security, and translating the third display content in the first language to obtain the second display content can meet the language requirement of the user using the second device, thereby improving user experience.

[0132] In some embodiments, in the following, through Figure 5 the illustrated embodiment, the process of translating the third display content in the first language to obtain the second display content will be described.

[0133] Figure 5 is a flowchart illustrating a screen casting method according to an exemplary embodiment, which is executed by a first device, with reference to Figure 5 , the method includes the following steps:

[0134] Step S501: translate the third display content in the first language to obtain third display content in a second language.

[0135] In some embodiments, the translation function or translation software in the first device may be used to translate the third display content in the first language to obtain the third display content in the second language. For example, when the first language is Chinese, the second language is English, and the first display content is "你好", the first device may translate "你好" to obtain "Hello".

[0136] Step S502: adjust the format of the third display content in the second language based on the third display content in the first language, to obtain the second display content, so that the position of a first element in the second display content corresponds to the position of a second element in the third display content, wherein the first element is any element in the second display content, and the second element is the translated element of the first element.

[0137] It should be noted that due to different languages, the positions of elements in the third display content in different languages relative to the third display content are different. For example, Chinese idioms are relatively concise, but when the idiom is translated into another language, more words in the second language are needed to interpret the idiom. Therefore, the position of the second element in the third display content in the first language does not correspond to the position of the third element in the third display content in the second language. In this case, when users using different devices view the screen-cast content, there will be a problem that the positions of the displayed content are different. For example, a certain segment of displayed content on the first device is located on the second page, while the displayed content corresponding to the certain segment of displayed content on the second device is located on the third page, which increases the communication difficulty for both parties.

[0138] In some embodiments, the format of the third display content in the second language can be adjusted, for example, by adjusting the font format or font size of the third display content in the second language, and using the adjusted third display content in the second language as the second display content. It should be noted that the correspondence between the position of the first element in the second display content and the position of the second element in the third display content can include a correspondence between the third area where the first element is located in the second display content relative to the second display content and a fourth area where the second element is located in the third display content relative to the third display content. That is, the relative position of the first element and the second display content is basically consistent with the relative position of the second element and the third display content. For example, if the second element is located in the upper half of the third display content, then the first element is also located in the upper half of the second display content. Thus, the relative position of the display content will not deviate significantly before and after the translation of the third display content, thereby facilitating users of the first device and users of the second device to view the third display content and the second display content respectively.

[0139] The method provided in this disclosure adjusts the format of a third display content in a second language based on a third display content in a first language to obtain a second display content, so that the position of the first element in the second display content corresponds to the position of the second element in the third display content. Thus, by adjusting the format of the translated content, the position of the translated element in the second display content is consistent with the position of the element in the original text. This format alignment ensures that users can quickly find the corresponding original text elements when viewing the translated content, improving the readability and consistency of the displayed content before and after translation. Simultaneously, it avoids confusion or misunderstanding caused by format differences, providing users with a more coherent and consistent visual experience.

[0140] In some embodiments, the first device can establish screen mirroring connections with multiple devices, thus enabling it to perform screen mirroring operations on multiple devices. In one example, the first device can determine the display content corresponding to each of the multiple devices and mirror the display content corresponding to each device to the corresponding device. For instance, the second display content can be mirrored to the second device, and the fourth display content can be mirrored to the third device. The second device is any one of the multiple devices currently mirrored by the first device, and the third device is any one of the multiple devices that is different from the second device.

[0141] Taking the fourth display content as an example, the following explains the screen projection process for the fourth display content.

[0142] In some embodiments, a fourth display content can be determined based on the first display content, and the fourth display content can be projected in response to a second projection operation. The language of the fourth display content is a third language, and the first language and the third language may be the same or different. The device used to display the projected fourth display content is different from the device used to display the projected second display content. In some embodiments, the device used to display the projected fourth display content can be a third device, and the device used to display the projected second display content can be a second device.

[0143] In some embodiments, the second screen mirroring operation and the first screen mirroring operation may be the same or different. Optionally, when the first screen mirroring operation and the second screen mirroring operation are the same, the first device may simultaneously mirror the second display content and the fourth display content; alternatively, when the first screen mirroring operation and the second screen mirroring operation are different, the first device may mirror the second display content and the fourth display content in a sequential order.

[0144] In some embodiments, a fifth display content may be determined based on the first display content, and a fourth display content may be determined based on the fifth display content. The fifth display content may include all of the display content of the first display content, or it may include a portion of the display content of the first display content.

[0145] It should be noted that the process of determining the fifth display content based on the first display content, and then determining the fourth display content based on the fifth display content, can refer to the process shown in the above embodiment of determining the third display content based on the first display content, and then determining the second display content based on the third display content. The specific details will not be repeated here.

[0146] In some embodiments, casting the fourth display content can be done with reference to casting the second display content in the above embodiments, and will not be repeated here.

[0147] In some embodiments, the second and fourth display contents can be different or the same. In one example, when the second and third languages ​​are different, the second and fourth display contents are different. In another example, when the third display content corresponding to the second display content is different from the fifth display content corresponding to the fourth display content, the second and fourth display contents are different. For example, the third display content may include all the display content of the first display content, and the fifth display content may include a portion of the display content of the first display content; or, the third display content may include a portion of the display content of the first display content, while the fifth display content may include all the display content of the first display content. In this way, the content to be projected can be determined specifically and projected onto the screen.

[0148] In some embodiments, a device identifier corresponding to each of the plurality of devices may be displayed; in response to a selection operation of any device identifier among the plurality of device identifiers, the device corresponding to the selected device identifier is determined as the device for displaying the projection content, the display content including a second display content or a fourth display content.

[0149] In one example, the device identifier for each device could be displayed in the second area to distinguish different devices. For example... Figure 6 The diagram illustrates a device interface where a first device can display device identifiers (identifier 1, identifier 2) for each of multiple devices in a second area. In response to a selection operation of any device identifier, the device corresponding to the selected identifier is designated as the device for displaying the projected content, such as a second device or a fourth device. The displayed content corresponds to the device used to display the projected content; when the displayed content is the second display content, the device is the second device; when the displayed content is the fourth display content, the device is the fourth device.

[0150] In this embodiment, the specific type of device identifier is not limited. For example, the device identifier can be a device code or a device identification code.

[0151] In some embodiments, the selection operation can be a selection operation performed manually by the user or a selection operation performed automatically by the first device. Additionally, in response to a selection operation on any of a plurality of device identifiers, the device corresponding to the selected device identifier can be determined as the device for displaying the content to be projected, and the content to be projected can be projected onto that device.

[0152] In some embodiments, the partition display control and the translation control can be displayed simultaneously in the second area, allowing for synchronous triggering of both. For example, selecting a specific identifier can trigger both the translation control and the partition display control for the device corresponding to that identifier.

[0153] It should be noted that the embodiments of this disclosure do not limit the execution order of the triggering operation of the partition display control, the triggering operation of the translation control, and the selection operation of the device identifier. If the triggering operation of the partition display control or the triggering operation of the translation control is executed before the device identifier is selected, it can be determined that the triggering operation of the partition display control or the triggering operation of the translation control is an operation for all devices. If the triggering operation of the partition display control or the triggering operation of the translation control is executed after the device identifier is selected, it can be determined that the triggering operation of the partition display control or the triggering operation of the translation control is an operation for the device corresponding to the selected identifier.

[0154] The method provided in this embodiment can add a device identifier in the second area, thereby allowing the device identifier to be selected and targeted processing of the device corresponding to different device identifiers to be performed.

[0155] In some embodiments, before screen mirroring, the display effect of the second display content after mirroring can be previewed. For example, the display effect of the second display content on the second device can be previewed to determine whether the second display content is translated correctly or whether there are format errors before mirroring, thereby reducing user misunderstandings caused by inaccurate translation or format errors. This disclosure does not limit the display method of the previewed display effect. In some embodiments, in response to a trigger operation on a device identifier, the display effect of the second display content after mirroring is previewed in a preset area. The trigger operation may include double-clicking, long-pressing, etc., and the preset area may be a second area, or it may be a newly added pop-up area. Figure 7 The diagram shown illustrates a preview display effect. In response to a double-click operation on marker 2, a pop-up window can be displayed. Figure 7 The pop-up window displays a preview of the second content's appearance after screen mirroring, using a dashed outline.

[0156] In some embodiments, when the display effect meets preset conditions, the second display content can be projected, for example, to a second device; conversely, when the display effect does not meet the preset conditions, the second display content or the first display content can be edited to make the display effect meet the preset conditions. The preset conditions can be set and selected based on actual needs; for example, preset conditions may include that the second display content is translated completely correctly, that the second display content has no formatting errors, and that the font size and style of the second display content are easy to read.

[0157] The method provided in this embodiment allows for previewing the display effect of the second display content after projection before projection, thereby determining whether there are any problems with the display effect before projection and promptly editing the second display content or the first display content, thus enabling faster and more accurate projection of the second display content.

[0158] Figure 8 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a first device. See [link to flowchart]. Figure 8 The method includes the following steps:

[0159] Step S801: Display the first display content in the first area.

[0160] Step S802: Display function controls in the second area; the function controls include at least a translation control.

[0161] In step S803, in response to the trigger operation of the translation control, multiple languages ​​are displayed.

[0162] In step S804, in response to the selection operation of any one of the multiple languages, the selected language is determined as the second language, and a translation operation is triggered.

[0163] Step S805: In response to the translation operation triggered by the translation control, determine the third display content in the first language based on the first display content.

[0164] Step S806: Translate the third display content in the first language to obtain the second display content, and project the second display content onto the second device.

[0165] The screen projection method provided in this embodiment is executed by a second device, which may be a mobile phone, tablet computer, laptop, smart robot, smart wearable device, or other smart device.

[0166] Figure 9 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a second device. See [link to flowchart]. Figure 9 The method includes the following steps:

[0167] Step S901: Display the second display content; the second display content is content generated based on the second language that corresponds to the first display content, the language of the first display content is the first language, and the first language and the second language are different.

[0168] In some embodiments, the second display content is display content determined in response to a translation operation triggered by a translation control used to translate the display content in the first language into display content in other languages.

[0169] In some embodiments, the second display content is the display content obtained by translating the third display content in the first language. The third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0170] In some embodiments, the position of the first element in the second display content corresponds to the position of the second element in the third display content, the first element is any element in the second display content, and the second element is the element translated from the first element.

[0171] The specific details of the above embodiments will not be repeated here.

[0172] The method provided in this disclosure can display second display content, thereby meeting the user's language needs, facilitating the user's understanding and reading of the displayed content, avoiding communication barriers caused by single-language display content, and improving the user experience.

[0173] Figure 10 This is a block diagram illustrating a screen projection device according to an exemplary embodiment, configured in a first device. See also... Figure 10 The device includes:

[0174] The first display module 1001 is configured to display first display content; the language of the first display content is a first language.

[0175] The screen projection module 1002 is configured to project a second display content in response to a first screen projection operation; the second display content is content generated based on a second language that corresponds to the first display content, and the first language and the second language are different.

[0176] In some embodiments, the projection device further includes a processing module, which is configured to:

[0177] Based on the first displayed content, determine the second displayed content.

[0178] In some embodiments, the processing module is configured to:

[0179] In response to a translation operation triggered by a translation control, a second display content is determined based on the first display content. The translation control is used to translate the display content in the first language into the display content in another language.

[0180] In some embodiments, the display interface includes a first area and a second area;

[0181] The first display module 1001 is configured as follows:

[0182] Display the first content in the first area;

[0183] The first display module 1001 is also configured as follows:

[0184] The second area displays the functional controls; the functional controls include at least the translation control.

[0185] In some embodiments, the processing module is configured to:

[0186] In response to a trigger action on the translation control, multiple languages ​​are displayed;

[0187] In response to the selection operation of any one of multiple languages, the selected language is identified as the second language, and a translation operation is triggered.

[0188] In some embodiments, the processing module is configured to:

[0189] Based on the first display content, a third display content is determined; the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0190] The third display content in the first language is translated to obtain the second display content.

[0191] In some embodiments, the processing module is configured to:

[0192] The content selected by the checkbox in the first display content will be designated as the third display content.

[0193] In some embodiments, the processing module is further configured to:

[0194] Resize the selection box in response to dragging its border.

[0195] In some embodiments, the processing module is configured to:

[0196] The third display content in the first language is translated to obtain the third display content in the second language;

[0197] Based on the third display content in the first language, the format of the third display content in the second language is adjusted to obtain the second display content, so that the position of the first element in the second display content corresponds to the position of the second element in the third display content. The first element is any element in the second display content, and the second element is the element translated from the first element.

[0198] In some embodiments, the processing module is further configured to:

[0199] Based on the first display content, the fourth display content is determined; the language of the fourth display content is a third language, and the first language and the third language are the same or different;

[0200] In response to the second screen mirroring operation, a fourth display content is mirrored. The device used to display the fourth display content is different from the device used to display the second display content.

[0201] In some embodiments, the projection device includes a determining module, which is configured to:

[0202] Displays the device identifier for each of the multiple devices;

[0203] In response to the selection operation of any one of multiple device identifiers, the device corresponding to the selected device identifier is determined as the device for displaying the projection content, which includes a second display content or a fourth display content.

[0204] In some embodiments, the processing module is further configured to:

[0205] Preview the display effect of the second content after screen mirroring.

[0206] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0207] Figure 11 This is a block diagram illustrating a screen projection device according to an exemplary embodiment, configured on a second device. See also... Figure 11 The device includes:

[0208] The second display module 1101 is configured to display second display content; the second display content is content generated based on a second language that corresponds to the first display content, the language of the first display content is the first language, and the first language and the second language are different.

[0209] In some embodiments, the second display content is display content determined in response to a translation operation triggered by a translation control used to translate the display content in the first language into display content in other languages.

[0210] In some embodiments, the second display content is the display content obtained by translating the third display content in the first language. The third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content.

[0211] In some embodiments, the position of the first element in the second display content corresponds to the position of the second element in the third display content, the first element is any element in the second display content, and the second element is the element translated from the first element.

[0212] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0213] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the screen projection method in the above embodiments.

[0214] Figure 12 This is a block diagram of an electronic device 1200 according to an exemplary embodiment.

[0215] Reference Figure 12The electronic device 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power supply component 1206, a multimedia component 1208, an audio component 1210, an input / output (I / O) interface 1212, a sensor component 1214, and a communication component 1216.

[0216] Processing component 1202 typically controls the overall operation of electronic device 1200, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1202 may include one or more modules to facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.

[0217] Memory 1204 is configured to store various types of data to support the operation of electronic device 1200. Examples of such data include instructions for any application or method operating on electronic device 1200, contact data, phonebook data, messages, pictures, videos, etc. Memory 1204 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 storage, flash memory, magnetic disk, or optical disk.

[0218] Power supply component 1206 provides power to various components of electronic device 1200. Power supply component 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1200.

[0219] Multimedia component 1208 includes a screen that provides an output interface between the electronic device 1200 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1208 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0220] Audio component 1210 is configured to output and / or input audio signals. For example, audio component 1210 includes a microphone (MIC) configured to receive external audio signals when electronic device 1200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1204 or transmitted via communication component 1216. In some embodiments, audio component 1210 also includes a speaker for outputting audio signals.

[0221] I / O interface 1212 provides an interface between processing component 1202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0222] Sensor assembly 1214 includes one or more sensors for providing state assessments of various aspects of electronic device 1200. For example, sensor assembly 1214 may detect the on / off state of electronic device 1200, the relative positioning of components such as the display and keypad of electronic device 1200, changes in position of electronic device 1200 or a component of electronic device 1200, the presence or absence of user contact with electronic device 1200, the orientation or acceleration / deceleration of electronic device 1200, and temperature changes of electronic device 1200. Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1214 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0223] Communication component 1216 is configured to facilitate wired or wireless communication between electronic device 1200 and other devices. Electronic device 1200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0224] In an exemplary embodiment, the electronic device 1200 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 methods described above.

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

[0226] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the screen projection method provided in exemplary embodiments of this disclosure.

[0227] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the screen projection method described in the above embodiments.

[0228] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0229] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A screen projection method, characterized in that, include: Display the first content; The language of the first displayed content is the first language; In response to the first screen mirroring operation, the second display content is mirrored. The second displayed content is content generated based on a second language that corresponds to the first displayed content, and the first language and the second language are different.

2. The screen projection method according to claim 1, characterized in that, The method further includes: Based on the first displayed content, the second displayed content is determined.

3. The screen projection method according to claim 2, characterized in that, Determining the second display content based on the first display content includes: In response to a translation operation triggered by a translation control, a second display content is determined based on the first display content, wherein the translation control is used to translate the display content in the first language into display content in another language.

4. The screen projection method according to claim 3, characterized in that, The display interface includes a first area and a second area; The display of the first display content includes: Display the first display content in the first area; The method further includes: The second area displays functional controls; the functional controls include at least the translation control.

5. The screen projection method according to claim 3, characterized in that, The method further includes: In response to a trigger operation on the translation control, multiple languages ​​are displayed; In response to the selection operation of any one of the multiple languages, the selected language is determined as the second language, and the translation operation is triggered.

6. The screen projection method according to claim 2, characterized in that, Determining the second display content based on the first display content includes: Based on the first display content, a third display content is determined; the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content. The third display content in the first language is translated to obtain the second display content.

7. The screen projection method according to claim 6, characterized in that, The step of determining the third display content based on the first display content includes: The content selected by the selection box in the first display content is determined as the third display content.

8. The screen projection method according to claim 7, characterized in that, The method further includes: In response to a drag operation on the border of the selection box, the size of the selection box is adjusted.

9. The screen projection method according to claim 6, characterized in that, The translation of the third display content in the first language to obtain the second display content includes: The third display content in the first language is translated to obtain the third display content in the second language; Based on the third display content in the first language, the format of the third display content in the second language is adjusted to obtain the second display content, so that the position of the first element in the second display content corresponds to the position of the second element in the third display content. The first element is any element in the second display content, and the second element is the element translated from the first element.

10. The screen projection method according to claim 1, characterized in that, The method further includes: Based on the first displayed content, a fourth displayed content is determined; the language of the fourth displayed content is a third language, and the first language and the third language are the same or different; In response to the second screen projection operation, the fourth display content is projected, and the device used to display the projected fourth display content is different from the device used to display the projected second display content.

11. The screen projection method according to claim 10, characterized in that, The method further includes: Displays the device identifier for each of the multiple devices; In response to the selection operation of any one of a plurality of device identifiers, the device corresponding to the selected device identifier is determined as the device for displaying the projection content, wherein the display content includes the second display content or the fourth display content.

12. The screen projection method according to claim 1, characterized in that, The method further includes: Preview the display effect of the second content after screen mirroring.

13. A screen projection method, characterized in that, include: Display the second set of content; The second display content is content generated based on the second language that corresponds to the first display content. The language of the first display content is the first language, and the first language and the second language are different.

14. The screen projection method according to claim 13, characterized in that, The second display content is the display content determined in response to the translation operation, which is triggered by a translation control used to translate the display content in the first language into the display content in other languages.

15. The screen projection method according to claim 13, characterized in that, The second display content is the display content obtained by translating the third display content in the first language. The third display content includes all the display content in the first display content, or the third display content includes part of the display content in the first display content.

16. The screen projection method according to claim 15, characterized in that, The position of the first element in the second display content corresponds to the position of the second element in the third display content. The first element is any element in the second display content, and the second element is the element translated from the first element.

17. A screen projection device, characterized in that, include: The first display module is configured to display the first display content; The language of the first displayed content is the first language; The screen mirroring module is configured to mirror a second display content in response to a first screen mirroring operation; the second display content is content generated based on a second language that corresponds to the first display content, and the first language and the second language are different.

18. The projection device according to claim 17, characterized in that, The device further includes a processing module, which is configured to: Based on the first displayed content, the second displayed content is determined.

19. The projection device according to claim 18, characterized in that, The processing module is configured as follows: In response to a translation operation triggered by a translation control, a second display content is determined based on the first display content, wherein the translation control is used to translate the display content in the first language into display content in another language.

20. The projection device according to claim 18, characterized in that, The processing module is configured as follows: Based on the first display content, a third display content is determined; the third display content includes all the display content in the first display content, or the third display content includes a portion of the display content in the first display content. The third display content in the first language is translated to obtain the second display content.

21. A screen projection device, characterized in that, include: The second display module is configured to display second display content; The second display content is content generated based on the second language that corresponds to the first display content. The language of the first display content is the first language, and the first language and the second language are different.

22. The projection device according to claim 21, characterized in that, The second display content is the display content determined in response to the translation operation, which is triggered by a translation control used to translate the display content in the first language into the display content in other languages.

23. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the screen projection method as described in any one of claims 1-12 or the screen projection method as described in any one of claims 13-16.

24. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the screen projection method as described in any one of claims 1-12 or as described in any one of claims 13-16.

25. A computer program product, characterized in that, It includes a computer program, which, when executed by a processor, implements the screen projection method as described in any one of claims 1-12 or performs the screen projection method as described in any one of claims 13-16.