Data processing method and apparatus, and electronic device

By setting the display window to partially overlap with the display interface of the electronic device, the problem of the electronic device being unable to display its own information in a timely manner when used as an extended screen is solved, thus achieving eye-catching data reminders and timely processing.

CN122633286APending Publication Date: 2026-08-25LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210858608.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2026-08-25

AI Technical Summary

Technical Problem

When electronic devices are used as extended screens for external devices, they cannot display the information they receive in a timely manner, causing users to be unable to process the received information promptly.

Method used

By setting a display window on the display interface of the first electronic device to display data from the second electronic device, and switching the display state under certain conditions, the display window partially overlaps with the display interface, and the display window displays data from the first electronic device to form a conspicuous obstruction reminder.

Benefits of technology

This allows for timely reminders to users to process secondary data without affecting the display of the primary data, thus improving the timeliness of information processing and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122633286A_ABST
    Figure CN122633286A_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing method, device and electronic equipment, the method comprises: the first electronic equipment has a first display interface in a first state, and is used for displaying first data from a second electronic equipment; in the case that a first condition is detected, the first electronic equipment is switched from the first state to a second state, in the second state, a second display interface and a display window are provided, the second display interface can display the first data, the display window is used for displaying second data from the first electronic equipment, and the display window at least partially overlaps with the second display interface. The data processing method of the present disclosure can display the second data from the first electronic equipment in time when the first electronic equipment displays the first data of the second electronic equipment, so as to avoid missing information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computers, and more particularly to a data processing method, apparatus, and electronic device. Background Technology

[0002] The screen of an electronic device can serve as an extension screen for other external electronic devices, displaying images from those devices. However, when an electronic device is used as an extension, it may fail to promptly display information received by the device itself, preventing users from processing the information in a timely manner. Summary of the Invention

[0003] This disclosure provides a data processing method, apparatus, and electronic device to at least solve the above-mentioned technical problems existing in the prior art.

[0004] According to a first aspect of this disclosure, a data processing method is provided, comprising:

[0005] The first electronic device is in a first state and has a first display interface for displaying first data from the second electronic device;

[0006] When the first condition is detected, the first electronic device switches from the first state to the second state. In the second state, it has a second display interface and a display window. The second display interface is capable of displaying the first data, and the display window is used to display the second data from the first electronic device. The display window and the second display interface at least partially overlap.

[0007] In one embodiment, the first display interface displays the second operating system interface of the second electronic device, the second display interface being the same as the first display interface, and the second data displayed in the display window is data generated based on the operation of the first operating system of the first electronic device.

[0008] In one possible implementation, in the first state, the first electronic device has the display window, the display window and the first display interface have an overlapping area, and the overlapping area displays the first data displayed on the first display surface;

[0009] When the first electronic device switches from the first state to the second state, the overlapping area switches from displaying the first data to displaying the second data.

[0010] In one possible implementation, displaying the first data from the second electronic device includes:

[0011] The format of the first data from the second electronic device is converted into a first format, wherein the first data in the first format meets the requirement of transmitting data through the first data channel of the first electronic device;

[0012] The first data, converted to the first format, is transmitted through the first data channel to the first storage area in the first electronic device corresponding to the first display interface.

[0013] The first data in the first storage area is displayed on the first display interface.

[0014] In one possible implementation, displaying the first data includes:

[0015] In the display cache of the first electronic device, a second storage area corresponding to the display window and a first storage area corresponding to the first display interface are set.

[0016] When the first electronic device is in the first state, the area where the second storage area overlaps with the first storage area is used to cache the first data;

[0017] When the first electronic device is in the second state, the second storage area caches the second data.

[0018] In one possible implementation, the method further includes:

[0019] When the second condition is detected, the first electronic device switches from the second state to the third state. In the third state, it has a third display interface for displaying the second data. The display area of ​​the third display interface is larger than the display area of ​​the display window.

[0020] If the third condition is met, the first electronic device switches from the third state to the first state.

[0021] In one possible implementation, the method further includes:

[0022] Obtain the second data;

[0023] The content to be displayed is determined based on the second data; and

[0024] Based on the content to be displayed, the parameters of the display window are adjusted, and the parameters of the display window include at least one of the shape, position and size of the display window.

[0025] In one possible implementation, the method further includes: when a fourth condition is detected, the first electronic device switches from the second state to the fourth state, in which the second display interface displays the first data and the display window is not displayed.

[0026] According to a second aspect of this disclosure, a data processing apparatus is provided, the apparatus comprising:

[0027] The display module is used to display first data from the second electronic device on the first display interface when the first electronic device is in the first state.

[0028] The switching module detects that a first condition is met and switches the first electronic device from the first state to a second state. In the second state, the device has a second display interface and a display window, wherein the display window at least partially overlaps with the second display interface.

[0029] In the second state, the display module is further configured to: display the first data on the second display interface, and display the second data from the first electronic device in the display window.

[0030] According to a third aspect of this disclosure, an electronic device is provided, the electronic device being a first electronic device, the electronic device comprising:

[0031] At least one processor; and

[0032] A memory communicatively connected to the at least one processor; wherein,

[0033] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods described in this disclosure.

[0034] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the methods described in this disclosure.

[0035] In the data processing method disclosed herein, a first electronic device is in a first state, having a first display interface for displaying first data from a second electronic device; at this time, the first electronic device acts as an extended screen for the second electronic device, displaying the first data from the second electronic device. Upon detecting that a first condition is met, the first electronic device switches from the first state to a second state. In the second state, it has a second display interface and a display window. The second display interface can display the first data, and the display window is used to display second data from the first electronic device. The display window and the second display interface at least partially overlap. The second data from the first electronic device can be displayed in the display window, and the overlapping area between the display window displaying the second data and the second display interface obscures the display of the first data, making the reminder more prominent and less likely to be overlooked.

[0036] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0037] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which:

[0038] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0039] Figure 1 A schematic diagram illustrating the implementation flow of the data processing method according to an embodiment of this disclosure is shown;

[0040] Figure 2 A schematic diagram of the screen of a first electronic device in a first state, to which the data processing method of this embodiment is applied, is shown. Figure 1 ;

[0041] Figure 3 A schematic diagram of the screen of the first electronic device in a second state, to which the data processing method of this embodiment is applied, is shown. Figure 1 ;

[0042] Figure 4 A schematic diagram of the screen of a first electronic device in a first state, to which the data processing method of this embodiment is applied, is shown. Figure 2 ;

[0043] Figure 5 A schematic diagram of the screen of the first electronic device in a second state, to which the data processing method of this embodiment is applied, is shown. Figure 2 ;

[0044] Figure 6 A schematic diagram of the screen of the first electronic device in a second state, to which the data processing method of this embodiment is applied, is shown. Figure 3 ;

[0045] Figure 7 A schematic diagram of the screen of the first electronic device in a second state, to which the data processing method of this embodiment is applied, is shown. Figure 4 ;

[0046] Figure 8 A schematic diagram of the composition structure of the data processing apparatus according to an embodiment of the present disclosure is shown;

[0047] Figure 9 A schematic diagram of the composition structure of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0048] To make the objectives, features, and advantages of this disclosure more apparent and understandable, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0049] See Figure 1 This disclosure provides a data processing method, which includes: a first electronic device in a first state having a first display interface 1 for displaying first data from a second electronic device; and, when a first condition is detected, the first electronic device switches from the first state to a second state, in which it has a second display interface 2 and a display window 3, the second display interface 2 being able to display the first data, and the display window 3 being used to display the second data from the first electronic device, the display window 3 at least partially overlapping the second display interface 2.

[0050] In the data processing method disclosed herein, a first electronic device is in a first state, having a first display interface 1 for displaying first data from a second electronic device; at this time, the first electronic device acts as an extended screen for the second electronic device, displaying the first data from the second electronic device. Upon detecting that a first condition is met, the first electronic device switches from the first state to a second state. In the second state, it has a second display interface 2 and a display window 3. The second display interface 2 can display the first data, and the display window 3 is used to display the second data from the first electronic device. The display window 3 and the second display interface 2 at least partially overlap. The second data from the first electronic device can be displayed in the display window 3. The overlapping area between the display window 3 displaying the second data and the second display interface 2 obscures the display of the first data, making the reminder more prominent and less likely to be overlooked.

[0051] In this embodiment of the disclosure, the first display interface 1 and the second display interface 2 can be the entire display area of ​​the screen of the first electronic device, for example, see [link to relevant documentation]. Figure 2 and Figure 3 At this time, the area corresponding to display window 3 is completely located within the first display interface 1 or the second display interface 2. The first display interface 1 and the second display interface 2 may also occupy only a portion of the display area of ​​the first electronic device. See, for example... Figure 4 and Figure 5 At this time, the display window 3 is partially located within the area corresponding to the second display interface 2, and the two partially overlap. Of course, when the first display interface 1 and the second display interface 2 only occupy part of the display area of ​​the first electronic device, the display window 3 can also be entirely located within the area corresponding to the second display interface 2.

[0052] In this embodiment, the first electronic device may be, for example, an Android system electronic device. Android system electronic devices generally have a large screen, which, as an extended screen, can provide a better display effect for the first data from the second electronic device. The second electronic device may be, for example, a Windows system electronic device. Of course, the systems of the first and second electronic devices in this embodiment are not limited to these. For example, the second electronic device may also be a mobile phone, tablet computer, or other Android system electronic device with a smaller screen, or an electronic device with any other operating system.

[0053] In one embodiment, the first display interface 1 displays the second operating system interface of the second electronic device, the second display interface 2 is the same as the first display interface 1, and the second data displayed in the display window 3 is data generated based on the operation of the first operating system of the first electronic device. In this embodiment, the first electronic device displays the first data from the second electronic device, which may be synchronously displayed on the screen interface of the second electronic device, or the first electronic device may display other data provided by the second electronic device that is different from the data displayed on the screen of the second electronic device. The second electronic device is a second operating system, and the first electronic device is a first operating system. As mentioned above, the first operating system and the second operating system can be the same or different. For example, the first operating system is the Android operating system, and the second operating system is the Windows operating system.

[0054] In this embodiment, the second data displayed in display window 3 originates from the first electronic device, specifically data generated by the operation of the first operating system of the first electronic device. In the exemplary embodiment, the second data can be data generated by the operation of the first operating system, or data generated by an application running under the first operating system. For example, the second data can be meeting invitation information received by the first electronic device from a meeting application. The first electronic device displays the meeting invitation information in display window 3, see [link to documentation]. Figure 3 and Figure 5 Since display window 3 at least partially overlaps with the second display interface 2, display window 3 obscures at least part of the display of the first data, making the reminder more eye-catching and enabling the user to notice the information in a timely manner and take appropriate action, such as accepting the meeting invitation and joining the corresponding meeting. When the first electronic device displays the first data from the second electronic device, the first operating system of the first electronic device runs in the background. In this embodiment of the disclosure, the second data is displayed through display window 3 to enable timely display of the second data from the first electronic device.

[0055] In this embodiment of the disclosure, in the first state, the screen of the first electronic device may not have a display window 3, and the screen of the first electronic device serves entirely as an extended screen for the second electronic device. In another example, in the first state, the screen of the first electronic device may also have a display window 3.

[0056] In one possible implementation, see Figure 2 and Figure 4 In the diagram, window 3 is indicated by a dashed line; in the first state, window 3 is invisible. In the first state, the first electronic device has window 3, which overlaps with the first display interface 1. The overlapping area displays the first data shown on the first display interface. (See also...) Figure 3 and Figure 5 When the first electronic device switches from a first state to a second state, the overlapping area switches from displaying the first data to displaying the second data. In the first state, the electronic device also has a display window 3. When switching to the second state, the second data can be displayed in the display window 3 promptly and smoothly. This avoids screen flickering caused by generating a new display window 3 to display the second data when switching to the second state. In this embodiment, the display window 3 can be set as a transparent window, or in the first state, the display window 3 can be located at the bottom layer of the first display interface 1 to avoid the display window 3 affecting the display of the first data. Alternatively, the display window 3 can be partially transparent, and the area where the display window 3 overlaps with the first display window 3 can also be set as transparent, which will not affect the display of the first data in the first state.

[0057] In this embodiment of the present disclosure, in the first state, the overlapping area of ​​the display window 3 and the first display interface 1 displays the first data, which does not affect the display of the first data. In the second state, the display window 3 displays the second data, and the overlapping area switches from displaying the first data to displaying the second data. This allows the second data to be displayed in a timely manner, and at least partially obscures the display of the first data, providing a prominent prompt so that the user can make a timely response, such as replying, accepting, or rejecting.

[0058] In one embodiment, displaying first data from a second electronic device includes: converting the format of the first data from the second electronic device into a first format, wherein the data in the first format meets the requirements for transmitting data through a first data channel of the first electronic device; transmitting the first data converted to the first format through the first data channel to a first storage area in the first electronic device corresponding to the first display interface 1; and displaying the first data in the first storage area on the first display interface 1. In this embodiment, the first data from the second electronic device can be transmitted to the first electronic device via wired or wireless means. After receiving the first data, the first electronic device converts the format of the first data into the first format, so that the first data meets the requirements for transmitting data through the first data channel of the first electronic device. This allows data to be transmitted using the existing data channel of the first electronic device without the need to create a new data channel, and the hardware of the first electronic device does not need to be changed, making the method of this embodiment more widely applicable. In an exemplary embodiment, the format of the first data can be converted into a video stream format. After the first data is converted into video stream data, it can be transmitted through the camera data stream channel of the first electronic device. The first data converted to the first format is transmitted through the first data channel to the first storage area in the first electronic device corresponding to the first display interface 1. In an exemplary embodiment, the first data is transmitted to the display cache of the first electronic device, and the display cache has a first storage area corresponding to the first display interface 1. The data in the display cache will be displayed in the corresponding area of ​​the screen of the first electronic device. For example, the first storage area may correspond to the entire screen of the first electronic device, and the first data will be displayed in full screen on the first electronic device. After the first data is converted into video data, it can be transmitted to the first storage area through CSI (camera interface) and displayed on the first display interface 1 through DSI (display interface), realizing the action of recording and playing at the same time. This realizes the function of extending the second electronic device, copying the desktop screen of the second electronic device, and playing it on the screen of the first electronic device, enabling the screen of the first electronic device to be used as a second display for the second electronic device.

[0059] In this embodiment of the disclosure, the second display interface 2 may be the same as or different from the first display interface 1. In an exemplary embodiment, the second display interface 2 is the same as the first display interface 1, and continues the display of the first data on the first display interface 1 in the first state. For example, it can be understood that the second display interface 2 is formed after the first display interface 1 displaying the first data is partially obscured by the second data display window 3.

[0060] In one possible implementation, displaying first data includes: setting a second storage area corresponding to display window 3 and a first storage area corresponding to first display interface 1 in the display cache of the first electronic device, wherein the second storage area and the first storage area at least partially overlap. Data in the second storage area is displayed in display window 3, and data in the first storage area is displayed in first display interface 1. In a first state, the first electronic device caches the first data in the area where the second storage area overlaps with the first storage area; in a second state, the second storage area caches second data. In the first state, there is no second data input, and the first data is cached in the area where the second storage area overlaps with the first storage area, allowing the first data to be displayed completely on the first display interface 1. In the second state, there is second data input, and the second data is cached in the second storage area, while the second data is displayed in the corresponding display window 3. Since the first data in the second storage area overlapping with the first storage area in the first state is replaced by the second data in the second state, the display window 3 displaying the second data on the screen of the first electronic device partially obscures the first display interface 1. In this embodiment of the disclosure, a second storage area can be set as a reserved area for second data. The second storage area prioritizes storing the second data. When there is no second data, the first data can occupy the second storage area. This does not affect the display of the first data in the first state, and the second data can be displayed smoothly and promptly in the second state. This avoids a short-term black screen or screen flicker caused by switching from displaying the first data to displaying the second data in the display window 3, thereby improving the user experience.

[0061] In the second state, the display of the first data can be referenced in the above embodiment. When the second display interface 2 is the same as the first display interface 1, the second display interface 2 continues to display the first data as the first display interface 1. This can also be understood as distinguishing the display area of ​​the first data in different states; in the first state, it is called the first display interface 1, and in the second state, it is called the second display interface 2.

[0062] In this embodiment of the disclosure, detecting that the first condition is met can be achieved by detecting the input of second data. Based on the detection of the second data input, the first electronic device switches from the first state to the second state. For example, upon detecting the second data input, the device switches to the second state to display the second data in a timely manner and avoid delays. Alternatively, other conditions can be added to the detection of the second data input, such as the application information corresponding to the second data meeting certain requirements or the application corresponding to the second data being on a message notification whitelist. Specifically, the requirement that the application information corresponding to the second data meets certain requirements can include information sent by a specific object or information of an audio / video category.

[0063] In one embodiment, the data processing method of this disclosure further includes: when a second condition is detected, the first electronic device switches from a second state to a third state. In the third state, it has a third display interface for displaying second data, and the display area of ​​the third display interface is larger than the display area of ​​the display window 3. When the third condition is detected, the first electronic device switches from the third state to a first state. When the second condition is met, the first electronic device displays the second data using the third display interface, and the display area of ​​the third display interface is larger than the display area of ​​the display window 3. For example, the third display interface occupies the entire screen of the first electronic device, and the first electronic device displays the second data in full screen. Detecting that the second condition is met may include detecting an operation responding to the second data. For example, if the time for the display window 3 to display the second data reaches a first threshold, it can be considered that the user has accepted the display of the second data, thereby switching the display of the second data from the display window 3 to the third display interface. Alternatively, detecting that the second condition is met may include detecting an operation by which the user accepts the information displayed by the second data, detecting a user's zoom-in operation on the second data, etc. When a condition is met, the electronic device switches from the third state back to the first state. For example, if the third condition is met, the device detects that the second data display has ended, or detects a rejection operation for the second data, or detects a manual end operation for the second data, or detects that there is no operation on the second data within a set time, then it is considered that the display of the second data is not important to the user, or it is assumed by default that the user refuses to continue displaying the second data.

[0064] In one embodiment, the data processing method of this disclosure further includes: obtaining second data; determining content to be displayed based on the second data; and adjusting parameters of the display window 3 according to the content to be displayed, wherein the parameters of the display window 3 include at least one of the shape, position, and size of the display window 3. In this embodiment, the content to be displayed can be determined based on the second data. For example, the content to be displayed may be a chat interface of an instant messaging application, or a meeting invitation message from a conferencing application. Adjusting the parameters of the display window 3 according to the content to be displayed allows the display window 3 to automatically adapt to different content. For example, displaying second data for different applications can correspond to display windows 3 of different sizes, as well as different shapes and positions.

[0065] In this embodiment of the disclosure, the parameters of the display window 3 can also be adjusted based on the response window parameter adjustment operation. For example, see... Figure 6 and Figure 7 , Figure 6 This is a schematic diagram of the screen of the first electronic device before window 3 moves. Figure 6 In the center, the hand icon represents a touch operation, and the arrow represents the movement trajectory. Figure 7 This is a schematic diagram of the screen of the first electronic device after the display window 3 has been moved. Based on the operation of adjusting the position of the display window 3, the display window 3 will be adjusted to the corresponding position. The above operation can be, for example, dragging the display window 3, clicking the display window 3 through an input device or by directly touching the screen, and moving it to the target position, and the display window 3 will move accordingly.

[0066] In one embodiment, the data processing method of this disclosure further includes: when a fourth condition is detected, the first electronic device switches from a second state to a fourth state, in which the second display interface displays the first data and the display window is not displayed. In the fourth state, the display window 3 not being displayed may include the display area where the display window 3 is located being used to display the content of the second display interface 2, instead of displaying the second data from the first electronic device. The display window 3 may switch from displaying the second data to displaying the first data. Meeting the fourth condition may include the duration for which the display window 3 displays the second data reaching a set threshold, or responding to a user's operation to close the display of the second data. By displaying the content of the second display interface 2 in the display area where the display window 3 is located, the complete display of the first data can be automatically restored. In this embodiment, the device can switch from the second state to the first state.

[0067] See Figure 8This disclosure provides a data processing apparatus, comprising a display module and a switching module. The display module is configured to display first data from a second electronic device on a first display interface 1 when a first electronic device is in a first state; when a first condition is detected, the switching module is configured to switch the first electronic device from the first state to a second state, wherein the second state has a second display interface 2 and a display window 3, the display window 3 at least partially overlapping the second display interface 2; in the second state, the display module is further configured to display the first data on the second display interface 2 and display the second data from the first electronic device in the display window 3.

[0068] In the data processing apparatus of this disclosure, a first electronic device is in a first state, and a display module displays first data from a second electronic device on a first display interface 1. At this time, the first electronic device acts as an extended screen for the second electronic device, displaying the first data from the second electronic device. Upon detecting that a first condition is met, a switching module switches the first electronic device from the first state to a second state. In the second state, it has a second display interface 2 and a display window 3. The display module displays the first data on the second display interface 2 and displays the second data from the first electronic device on the display window 3. The display window 3 at least partially overlaps with the second display interface 2. The second data from the first electronic device can be displayed on the display window 3. The overlapping area between the display window 3 displaying the second data and the second display interface 2 obscures the display of the first data, making the reminder more prominent and less likely to be overlooked.

[0069] In one embodiment, the first display interface 1 displays the second operating system interface of the second electronic device, the second display interface 2 is the same as the first display interface 1, and the second data displayed in the display window 3 is the data generated based on the operation of the first operating system of the first electronic device.

[0070] In one embodiment, the display module is configured to: in a first state, the first electronic device has a display window 3, the display window 3 and the first display interface 1 have an overlapping area, and the overlapping area displays the first data displayed on the first display surface. When the first electronic device switches from the first state to a second state, the overlapping area switches from displaying the first data to displaying the second data.

[0071] In one embodiment, the display module displays first data from the second electronic device by: converting the format of the first data from the second electronic device into a first format, wherein the data in the first format meets the requirements for transmitting data through the first data channel of the first electronic device; transmitting the first data converted to the first format through the first data channel to a first storage area in the first electronic device corresponding to the first display interface 1; and displaying the first data in the first storage area on the first display interface 1.

[0072] In one embodiment, the display module displays first data, including: setting a second storage area corresponding to the display window 3 and a first storage area corresponding to the first display interface 1 in the display cache of the first electronic device, wherein the second storage area and the first storage area at least partially overlap.

[0073] In one embodiment, the switching module of the data processing device of this disclosure is further configured to: when a second condition is detected, switch the first electronic device from a second state to a third state, in the third state having a third display interface, the third display interface being used to display second data, the display area of ​​the third display interface being larger than the display area of ​​the display window 3; and when a third condition is detected, switch the first electronic device from the third state to the first state.

[0074] In one embodiment, the data processing apparatus of this disclosure further includes: an acquisition module for acquiring second data; a determination module for determining content to be displayed based on the second data; and an adjustment module for adjusting parameters of the display window 3 based on the content to be displayed, wherein the parameters of the display window 3 include at least one of the shape, position, and size of the display window 3.

[0075] In one embodiment, the data processing apparatus of this disclosure further includes: when a fourth condition is met, the display module is used to display the display content of the second display interface 2 in the display area where the display window 3 is located.

[0076] The data processing apparatus of this disclosure can implement the methods of the above embodiments. The description of the data processing apparatus embodiments is similar to the description of the foregoing method embodiments and has similar beneficial effects, so it will not be repeated. For technical details not disclosed in the description of the data processing apparatus embodiments of this disclosure, please refer to the description of the foregoing method embodiments of this disclosure for understanding. To save space, it will not be repeated here.

[0077] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.

[0078] Figure 9 A schematic block diagram of an example electronic device 900 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0079] like Figure 9 As shown, device 900 includes a computing unit 901, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 902 or a computer program loaded from storage unit 908 into random access memory (RAM) 903. RAM 903 may also store various programs and data required for the operation of device 900. The computing unit 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904.

[0080] Multiple components in device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of monitors, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0081] The computing unit 901 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 901 performs the various methods and processes described above, such as data processing methods. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform data processing methods by any other suitable means (e.g., by means of firmware).

[0082] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0084] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0085] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0086] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0087] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0088] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0089] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.

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

Claims

1. A data processing method, comprising: The first electronic device is in a first state and has a first display interface for displaying first data from the second electronic device; When the first condition is detected, the first electronic device switches from the first state to the second state. In the second state, it has a second display interface and a display window. The second display interface is capable of displaying the first data, and the display window is used to display the second data from the first electronic device. The display window and the second display interface at least partially overlap.

2. The method according to claim 1, wherein, The first display interface displays the second operating system interface of the second electronic device. The second display interface is the same as the first display interface. The second data displayed in the display window is data generated based on the operation of the first operating system of the first electronic device.

3. The method according to claim 1, wherein, In the first state, the first electronic device has the display window, the display window has an overlapping area with the first display interface, and the overlapping area displays the first data displayed on the first display surface; When the first electronic device switches from the first state to the second state, the overlapping area switches from displaying the first data to displaying the second data.

4. The method according to claim 1, wherein, The first data displayed from the second electronic device includes: The format of the first data from the second electronic device is converted into a first format, wherein the first data in the first format meets the requirement of transmitting data through the first data channel of the first electronic device; The first data, converted to the first format, is transmitted through the first data channel to the first storage area in the first electronic device corresponding to the first display interface. The first data in the first storage area is displayed on the first display interface.

5. The method according to claim 1, wherein, Displaying the first data includes: In the display cache of the first electronic device, a second storage area corresponding to the display window and a first storage area corresponding to the first display interface are set. When the first electronic device is in the first state, the area where the second storage area overlaps with the first storage area is used to cache the first data; When the first electronic device is in the second state, the second storage area is used to cache the second data.

6. The method according to claim 1, further comprising: When the second condition is detected, the first electronic device switches from the second state to the third state. In the third state, it has a third display interface for displaying the second data. The display area of ​​the third display interface is larger than the display area of ​​the display window. If the third condition is met, the first electronic device switches from the third state to the first state.

7. The method according to claim 1, further comprising: Obtain the second data; The content to be displayed is determined based on the second data; as well as Based on the content to be displayed, the parameters of the display window are adjusted, and the parameters of the display window include at least one of the shape, position and size of the display window.

8. The method according to claim 1 or 6, wherein, The method further includes: when a fourth condition is detected, the first electronic device switches from the second state to the fourth state, in which the second display interface displays the first data and the display window is not displayed.

9. A data processing apparatus, the apparatus comprising: The display module is used to display first data from the second electronic device on the first display interface when the first electronic device is in the first state. The switching module detects that a first condition is met and switches the first electronic device from the first state to a second state. In the second state, the device has a second display interface and a display window, wherein the display window at least partially overlaps with the second display interface. In the second state, the display module is further configured to: display the first data on the second display interface, and display the second data from the first electronic device in the display window.

10. An electronic device, wherein the electronic device is a first electronic device, the electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the data processing method according to any one of claims 1-8.