Output control method and electronic device
By monitoring the trigger state of the target component and controlling the second device to switch to a different image output state, the problem of disconnection required in the prior art is solved, and fast and flexible image output control is achieved.
Patent Information
- Application Number
- CN202111659782.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2041-12-30
AI Technical Summary
In some cases, when a user needs to pause the screen output of the current device, it is usually necessary to disconnect the devices, and there is a lack of effective image output control method.
By monitoring the trigger state of the target component, the second device is controlled to switch from the first output state to the second output state in the trigger state, and the connection between the devices is maintained. The image output by the second device is different from that of the first device, including a black screen or a specific image.
It enables fast switching of image output without interrupting device connection, reduces user operation complexity and improves the flexibility of output control.
Smart Images

Figure CN114327342B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image output technology, and in particular to an output control method and electronic equipment. Background Art
[0002] With the development of society and the advancement of technology, users have more and more demands for image output. For example, users need to output the image of a certain device to other devices.
[0003] However, in some special cases, it is necessary to pause the current screen output. In such cases, the user usually disconnects the devices. Summary of the Invention
[0004] In view of this, the present application provides an output control method and an electronic device as follows:
[0005] An output control method, comprising:
[0006] During the process of transmitting the image data from the first device to the second device, monitoring whether the target component is in a first trigger state;
[0007] When the target component is in the first trigger state, controlling the second device to enter the second output state from the first output state;
[0008] Wherein, in both the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit the image data;
[0009] Furthermore, in the first output state, the second device outputs an image in the first content, and in the second output state, the second device outputs a second content, and the image in the second content is not included in the first content.
[0010] In the above method, preferably, the first device has a first output component for outputting an image;
[0011] The second device has a second output component for outputting images in the first content in the first output state and outputting images in the second content in the second output state;
[0012] Wherein, in the first output state, the image in the first content and the image output by the first output component satisfy an association relationship;
[0013] In the second output state, the image in the second content and the image output by the first output component do not satisfy the association relationship.
[0014] The above method is preferably characterized in that: the image in the second content is unrelated to the image in the first content;
[0015] Alternatively, the image in the second content corresponds to the image in the first content in terms of image content;
[0016] Alternatively, the image in the first content has a first amount of information, and the image in the second content has a second amount of information, and the first amount of information is greater than the second amount of information.
[0017] In the above method, preferably, the target component is a sensor on a transmission device, the transmission device is connected to the first device via a first interface, and the transmission device is connected to the second device via a second interface, so as to establish a first connection between the first device and the second device;
[0018] Wherein, monitoring whether the target component is in the first trigger state includes:
[0019] Monitor whether the state parameter corresponding to the sensor meets the first control condition.
[0020] Preferably, the method of controlling the second device to enter the second output state from the first output state includes:
[0021] Sending a control instruction to the second device, wherein the control instruction is used to instruct the second device to output the stored second content;
[0022] or,
[0023] Generate a control instruction; and in response to the control instruction, send the stored second content to the second device, so that the second device outputs the received second content.
[0024] Preferably, the method of controlling the second device to enter the second output state from the first output state includes:
[0025] The image in the first content is adjusted according to the stored second content, so that after the first content is transmitted to the second device, the second device outputs the second content.
[0026] An electronic device, comprising:
[0027] target component;
[0028] The controller is configured to monitor whether the target component is in a first trigger state during the process of transmitting image data from the first device to the second device; and control the second device to enter a second output state from a first output state when the target component is in the first trigger state;
[0029] In the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit the image data; and in the first output state, the second device outputs the image in the first content, and in the second output state, the second device outputs the second content, and the image in the second content is not included in the first content.
[0030] In the above electronic device, preferably, the target component is a sensor on the electronic device, and the electronic device further comprises: a first interface and a second interface;
[0031] The first interface is connected to the first device, and the second interface is connected to the second device, and the first interface and the second interface are used to establish the first connection between the first device and the second device;
[0032] Wherein, monitoring whether the target component is in the first trigger state includes:
[0033] Monitor whether the state parameter corresponding to the sensor meets the first control condition.
[0034] The above electronic device preferably further includes:
[0035] a memory, configured to store second content;
[0036] When the controller controls the second device to enter the second output state from the first output state, it is specifically used to generate a control instruction; in response to the control instruction, the second content stored in the memory is sent to the second device, so that the second device outputs the received second content.
[0037] The above electronic device preferably further includes:
[0038] a memory, configured to store second content;
[0039] When the controller controls the second device to enter the second output state from the first output state, it is specifically configured to:
[0040] The image in the first content is adjusted according to the second content in the memory, so that after the first content is transmitted to the second device, the second device outputs the second content. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0042] Figure 1 A flowchart of an output control method provided in Example 1 of the present application;
[0043] Figure 2 This is an example diagram of a scenario in which the present application is applicable to a first device transmitting image data to a second device via a transmission device;
[0044] Figure 3 This is an example diagram of an embodiment of the present application where a laptop is connected to a large screen via a screen projector;
[0045] Figure 4-Figure 8 They are respectively example diagrams of black screen control applicable to the process of projecting the screen from a laptop to a large screen according to the embodiments of the present application;
[0046] Figures 9-12 They are respectively example diagrams of input operations on target components in the embodiments of the present application;
[0047] Figure 13-16 They are respectively example diagrams of black screen control and recovery control applicable to the embodiment of the present application during the process of projecting the screen from a laptop to a large screen;
[0048] Figures 17-20 They are respectively example diagrams of black screen control for a large screen in embodiments of the present application;
[0049] Figure 21 A schematic structural diagram of an output control device provided in Example 2 of the present application;
[0050] Figure 22 A schematic diagram of the structure of an electronic device provided in Example 3 of the present application;
[0051] Figure 23-24 They are respectively another structural schematic diagram of an electronic device provided in the third embodiment of the present application;
[0052] Figure 25 and Figure 26 They are two implementation flow charts of output control between a notebook and a large screen applicable to the embodiments of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0054] refer to Figure 1 As shown in FIG, it is a flow chart of an output control method provided in the first embodiment of the present application, which can be applied to electronic devices that can at least transmit image data. Figure 2 As shown in , in a scenario where a first device transmits image data to a second device via a transmission device, the output control method in this embodiment can be applied to the first device, and can also be applied to the transmission device between the first device and the second device. Taking the screen projection scenario as an example, the method in this embodiment can be applied to a notebook that needs to output video data through a smart large screen, and can also be applied to a screen projector that transmits the notebook's video data to a large screen. The technical solution in this embodiment is mainly used to achieve rapid switching of image output while avoiding disconnection of the image data transmission connection between the first device and the second device.
[0055] Specifically, the output control method in this embodiment may include the following steps:
[0056] Step 101: A first device transmits image data to a second device.
[0057] The image data may be a single-frame image, multiple-frame images, or video data composed of multiple-frame images. The first device may be a device that needs to output image data through the second device, such as a laptop or mobile phone. The second device may be a device that can output images to the first device, such as a large-screen display, television, or projector. The transmission device between the first and second devices may be a device that implements image data transmission, such as a screen projector.
[0058] Step 102 : During the process of transmitting image data from the first device to the second device, monitor whether the target component is in the first trigger state. If the target component is in the first trigger state, execute step 103 .
[0059] Specifically, the target component may be a sensor provided on the first device or a sensor provided on the transmission device. In this embodiment, monitoring whether the target component is in the first trigger state may specifically include monitoring whether a state parameter corresponding to the sensor satisfies a first control condition, where the first control condition is a condition requiring the second device to rapidly switch output images. Based on this, if the state parameter corresponding to the sensor satisfies the first control condition, step 103 is executed.
[0060] Step 103: Control the second device to enter the second output state from the first output state.
[0061] Among them, in the first output state and the second output state, there is a first connection for transmitting image data between the second device and the first device, that is, the first connection between the second device and the first device will not be disconnected; and in the first output state, the second device outputs the image in the first content, such as the slide image in PPT; in the second output state, the second device outputs the second content, and the image in the second content is not included in the first content, such as a black screen image or a specific image, that is, when the target component is in the first trigger state, the first connection for transmitting image data is still maintained between the second device and the first device, but the second device no longer outputs the image in the first content output before, but outputs the image in the second content.
[0062] It should be noted that the first connection is a connection established between the first device and the second device through the transmission device. The transmission device is connected to the first device through the first interface and connected to the second device through the second interface to establish a first connection between the first device and the second device. The first connection is used to transmit the image data of the first device to the second device. The first interface can be a wired connection interface, such as a USB interface, and the second interface can be a wireless connection interface, such as a communication interface corresponding to a WiFi module or a Bluetooth module. For example, Figure 3 As shown in the figure, the screen projector is connected to the notebook through the USB interface and connected to the large screen through the corresponding interface of the WiFi module, thereby establishing a wireless connection between the notebook and the large screen, and then transmitting the image data on the notebook to the large screen.
[0063] As can be seen from the above scheme, in an output control method provided in the first embodiment of the present application, during the process of transmitting image data from a first device to a second device, by monitoring whether the target component is in the first trigger state, the second device is controlled to enter the second output state from the first output state when the target component is in the first trigger state, and in the second output state, the first connection for transmitting image data is still maintained between the second device and the first device, but the image in the second content output by the second device in the second output state is not included in the first content output by the second device in the first output state. It can be seen that in this embodiment, there is no need to disconnect the connection between the first device and the second device, and the target component can be triggered to make the second device pause outputting the image in the first content and output the image in the second content that is not included in the first content, thereby achieving rapid switching of image output.
[0064] In a specific implementation, in this embodiment, controlling the second device to enter the second output state from the first output state can be implemented in any of the following ways:
[0065] In a first implementation, the first device has a first output component, which is used to output the image that the first device needs to output; and the second device has a second output component, which is used to output the image in the first content in a first output state and output the image in the second content in a second output state.
[0066] Based on this, in the first output state, the image in the first content and the image output by the first output component satisfy an association relationship;
[0067] In the second output state, the image in the second content does not satisfy the association relationship with the image output by the first output component.
[0068] The association relationship here may be: the images are consistent or the images correspond to the same object.
[0069] In an optional embodiment, in a scenario where the first device and the second device are in a mirror output mode with synchronous output, in a first output state, the image of the first content output by the second output component is consistent with the image output by the first output component, while in a second output state, the image of the first content output by the second output component has no direct relationship with the image output by the first output component. For example, Figure 4 As shown in the figure, the large screen and the notebook are in a mirror output mode, and the image output by the large screen is consistent with the image output by the notebook, both of which are image a. When the target component on the notebook or the projector is operated in the first trigger state, the image x output by the large screen is inconsistent with the image a output by the notebook.
[0070] In another optional embodiment, in a scenario of an extended output mode with asynchronous output between the first device and the second device, in the first output state, the image in the first content output by the second output component and the image output by the first output component both correspond to the same system desktop, and / or, the image in the first content output by the second output component and the image output by the first output component are derived from the same file path in the first device, etc.; while in the second output state, the image in the first content output by the second output component has no direct relationship with the image output by the first output component. For example, Figure 5 As shown in , the large screen and the notebook are in extended output mode. The image x1 output by the large screen is inconsistent with the image a output by the notebook, but both correspond to the system desktop image s of the notebook. When the target component on the notebook or the projector is operated in the first trigger state, the image x2 output by the large screen has no direct relationship with the image a output by the notebook.
[0071] In a second implementation, in the second output state, the image in the second content output by the second device is not related to the image in the first content output by the second device in the first output state. That is, when the target component is operated in the first trigger state, the second device switches to an output state in which the second content is not related to the image in the first content output previously. For example, Figure 6 As shown in the figure, taking the mirror output mode between the large screen and the notebook as an example, in the first output state, the large screen outputs the current image a according to the screen output by the notebook. When the target component on the notebook or the projector is operated in the first trigger state, the large screen is switched to the output state of outputting image b, and image b is unrelated to image a.
[0072] In a third implementation, in the second output state, the image in the second content output by the second device corresponds to the image in the first content output by the second device in terms of image content, but even if the image content corresponds, the image in the second content is not included in the first content. That is, when the target component is operated in the first trigger state, the second device switches to an output state in which the second content is output that is not in the first content output previously but is related to the image in the first content output previously in terms of image content. It should be noted that at this time, the second content can be pre-set based on the image information of the image in the first content or downloaded from the network in real time. For example, Figure 7 As shown in the figure, taking the mirror output mode between the large screen and the notebook as an example, in the first output state, the large screen outputs the current image a according to the screen output by the notebook. When the target component on the notebook or the projector is operated in the first trigger state, the large screen is switched to the output state of outputting image c. Image c corresponds to image a in terms of the subject text contained therein. Image c can be searched and downloaded from the Internet according to the subject text of image a to be output on the large screen.
[0073] In a fourth implementation, in the second output state, the image in the second content output by the second device is different from the image in the first content output by the second device in terms of the amount of image information. For example, the image in the first content has a first amount of information, and the image in the second content has a second amount of information, and the first amount of information is greater than the second amount of information. That is, when the target component is operated in the first trigger state, the second device switches to an output state in which an image with a smaller amount of information is output. It should be noted that, at this time, the second content can be pre-set or downloaded from the network in real time. For example, Figure 8As shown in the figure, taking the mirror output mode between the large screen and the notebook as an example, in the first output state, the large screen outputs the current image a according to the screen output by the notebook. When the target component on the notebook or the projector is operated in the first trigger state, the large screen is switched to the output state of outputting image d, and the amount of information of image d is less than that of image a. Specifically, image d can be searched and downloaded from the Internet for a small-resolution image, such as a black screen image or a specific small image, to be output on the large screen.
[0074] Specifically, the target component may be a sensor provided on the first device or a sensor provided on the transmission device. In this embodiment, monitoring whether the target component is in the first trigger state may specifically include monitoring whether a state parameter corresponding to the sensor satisfies the first control condition.
[0075] Taking the sensor as a specific physical key or a specific touch key as an example, in this embodiment, whether the state parameters of the specific physical key or specific touch key being pressed and / or released meet the first control condition can be monitored to monitor whether the target component is in the first trigger state; wherein the specific physical key or specific touch key here can be a single key or a combination of multiple keys;
[0076] Taking the sensor as a light sensor as an example, in this embodiment, it is possible to monitor whether the light brightness parameter collected by the light sensor meets the first control condition to monitor whether the target component is in the first trigger state;
[0077] Taking the sensor as a distance sensor as an example, in this embodiment, whether the distance value collected by the distance sensor satisfies the first control condition can be monitored to monitor whether the target component is in the first trigger state.
[0078] In a specific implementation, the first control condition can be implemented in various ways based on different target components:
[0079] Taking the target component as a specific physical button or a specific touch button set on the first device or the transmission device as an example, the first control condition may be: the specific physical button or the specific touch button is pressed once and then released within a first time period. Based on this, in this embodiment, whether the state parameter corresponding to the monitoring sensor satisfies the first control condition, that is, whether the monitoring target component is in the first trigger state, may be specifically:
[0080] The state parameter corresponding to the specific physical key or specific touch key is monitored to determine whether it indicates an operation of being pressed once and then released within a first duration. If the state parameter corresponding to the specific physical key or specific touch key indicates an operation of being pressed once and then released within the first duration, step 103 is executed. The first duration can be set according to the required sensitivity, such as 0.5 seconds or 2 seconds.
[0081] For example, Figure 9 As shown in the figure, the user presses a specific physical button on the notebook or projector and then quickly lifts it up. At this time, the notebook or projector detects that the specific physical button is pressed and then released immediately, that is, it determines that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but to output a black screen image or a specific image different from the image output by the notebook, thereby realizing the output control of the large screen and being able to maintain the output of the black screen or the specific image after the user's operation, thereby reducing the complexity of the user's operation.
[0082] Taking the target component as a specific physical button or a specific touch button set on the first device or the transmission device as an example, the first control condition may be: the specific physical button or the specific touch button is pressed once and maintained. Based on this, in this embodiment, whether the state parameter corresponding to the monitoring sensor satisfies the first control condition, that is, whether the monitoring target component is in the first trigger state, may be specifically:
[0083] Monitor whether the state parameter corresponding to the specific physical key or the specific touch key represents an operation of being pressed once and kept pressed. If the state parameter corresponding to the specific physical key or the specific touch key represents an operation of being pressed once and kept pressed, then execute step 103.
[0084] For example, Figure 10 As shown in the figure, the user presses and holds a specific physical button on the notebook or projector. At this time, the notebook or projector detects that the specific physical button is pressed and held, which determines that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but output a black screen image or a specific image different from the image output by the notebook, thereby realizing output control of the large screen.
[0085] Taking the target component as a light sensor provided on the first device or the transmission device as an example, the first control condition may be: after the light sensor enters the blocked state, it returns to the unblocked state within a first time period. Based on this, in this embodiment, whether the state parameter corresponding to the monitoring sensor satisfies the first control condition, that is, whether the monitoring target component is in the first trigger state, may be specifically:
[0086] Monitor whether the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold, and recovers to greater than the first brightness threshold within a first time period. If the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold, and recovers to greater than the first brightness threshold within the first time period, then execute step 103.
[0087] For example, Figure 11As shown in the figure, the user covers the through hole where the light sensor is located on the notebook or projector with his hand or a shielding plate and then quickly leaves. At this time, the notebook or projector monitors that the brightness parameter collected by the light sensor drops from greater than the first brightness threshold to less than the first brightness threshold, and immediately recovers to greater than the first brightness threshold, that is, it is determined that the first control condition is met. At this time, the control screen no longer outputs the PPT on the notebook but outputs a black screen image or a specific image different from the notebook output image, thereby realizing the output control of the large screen and being able to maintain the output of the black screen or the specific image after the user's operation, thereby reducing the complexity of the user's operation.
[0088] Taking the target component as a light sensor provided on the first device or the transmission device as an example, the first control condition may be: the light sensor enters the blocked state and remains blocked. Based on this, in this embodiment, whether the state parameter corresponding to the monitoring sensor satisfies the first control condition, that is, whether the monitoring target component is in the first trigger state, may be specifically:
[0089] Monitor whether the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold and remains below the first brightness threshold. If the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold and remains below the first brightness threshold, then execute step 103.
[0090] For example, Figure 12 As shown in the figure, the user covers the through hole where the light sensor is located on the notebook or projector with his hand or a shielding plate and holds it. At this time, the notebook or projector monitors that the brightness parameter collected by the light sensor drops from greater than the first brightness threshold to less than the first brightness threshold and continues to remain below the first brightness threshold, that is, it is determined that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but to output a black screen image or a specific image different from the image output by the notebook, thereby realizing output control of the large screen and being able to realize temporary output control while reducing the complexity of user operations for realizing temporary output control.
[0091] Based on the above implementation, after controlling the second device to enter the second output state from the first output state, this embodiment continuously monitors whether the target component is in the second trigger state corresponding to the first trigger state, that is, monitors whether the state parameter corresponding to the sensor satisfies the second control condition corresponding to the first control condition. If the target component is in the second trigger state, that is, if the state parameter corresponding to the sensor satisfies the second control condition, the second device is controlled to return from the second output state to the first output state.
[0092] In specific implementations, the second control condition can be implemented in various ways based on the first control condition:
[0093] Taking the target component as a specific physical button or a specific touch button set on the first device or the transmission device as an example, the first control condition may be: the specific physical button or the specific touch button is pressed once and then released within the first time period, and the second control condition may be: the specific physical button or the specific touch button is pressed once and then released within the first time period. Based on this, in this embodiment, after controlling the second device to enter the second output state, the state parameters corresponding to the specific physical button or the specific touch button are continuously monitored to see whether the operation of being pressed once again and then released within the first time period is represented. If the state parameters corresponding to the specific physical button or the specific touch button represent the operation of being pressed once and then released within the first time period, then the second device is controlled to return to the first output state.
[0094] For example, combined with Figure 9 ,like Figure 13 As shown in , the user presses a specific physical button on the notebook or projector and then quickly lifts it up. At this time, the notebook or projector detects that the specific physical button is pressed and then released immediately, that is, it determines that the first control condition is met. At this time, the control large screen no longer outputs the PPT on the notebook but outputs a black screen image or a specific image different from the image output by the notebook. Afterwards, it continuously monitors whether the specific physical button is pressed again and then released immediately. If the specific physical button is pressed again and then released immediately, the control large screen is restored to the state of continuing to output the PPT output by the notebook, thereby realizing the output control of the large screen and being able to maintain the output of the black screen or the specific image after the user's operation, and can quickly recover after the user operates again, thereby reducing the complexity of the user's operation.
[0095] Taking the target component as a specific physical button or a specific touch button set on the first device or the transmission device as an example, the first control condition may be: the specific physical button or the specific touch button is pressed once and kept pressed, and the second control condition may be: the specific physical button or the specific touch button is released. Based on this, in this embodiment, after controlling the second device to enter the second output state, the state parameters corresponding to the specific physical button or the specific touch button are continuously monitored to see whether the specific physical button or the specific touch button is released. If the state parameters corresponding to the specific physical button or the specific touch button indicate that the specific physical button or the specific touch button is released, then the second device is controlled to return to the first output state.
[0096] For example, combined with Figure 10 ,like Figure 14As shown in the figure, the user presses and holds a specific physical button on the notebook or projector. At this time, the notebook or projector detects that the specific physical button is pressed and held, that is, it determines that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but output a black screen image or an image different from the image output by the notebook. Afterwards, it is continuously monitored whether the specific physical button is released. If the specific physical button is released, the large screen is controlled to resume the state of continuing to output the PPT output by the notebook, thereby realizing the output control of the large screen and being able to realize temporary output control while reducing the complexity of user operations for realizing temporary output control.
[0097] Taking the target component as a light sensor set on the first device or the transmission device as an example, the first control condition can be: the light sensor returns to an unobstructed state within a first time period after entering the blocked state, and the second control condition can be: the light sensor returns to an unobstructed state within a first time period after entering the blocked state. Based on this, in this embodiment, after controlling the second device to enter the second output state, it continuously monitors whether the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold, and recovers to greater than the first brightness threshold within the first time period. If the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold, and recovers to greater than the first brightness threshold within the first time period, then the second device is controlled to return to the first output state.
[0098] For example, combined with Figure 11 ,like Figure 15 As shown in , the user covers the through hole where the light sensor is located on the notebook or projector with his hand or a shielding plate and quickly leaves. At this time, the notebook or projector monitors that the brightness parameter collected by the light sensor drops from greater than the first brightness threshold to less than the first brightness threshold, and immediately recovers to greater than the first brightness threshold, that is, it is determined that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but to output a black screen image or an image different from the image output by the notebook. Afterwards, it is continuously monitored whether the brightness parameter collected by the light sensor drops from greater than the first brightness threshold to less than the first brightness threshold, and immediately recovers to greater than the first brightness threshold. If the brightness parameter collected by the light sensor drops from greater than the first brightness threshold to less than the first brightness threshold, and immediately recovers to greater than the first brightness threshold, then the large screen is controlled to resume outputting the PPT output by the notebook, thereby realizing output control of the large screen and being able to maintain the output of the black screen or a specific image after the user's operation, and can quickly recover after the user operates again, thereby reducing the complexity of the user's operation.
[0099] Taking the target component as a light sensor set on the first device or the transmission device as an example, the first control condition can be: the light sensor enters the blocked state and remains in the blocked state, and the second control condition can be: the light sensor enters the unblocked state from the blocked state. Based on this, in this embodiment, after controlling the second device to enter the second output state, it continuously monitors whether the brightness parameter collected by the light sensor rises from below the first brightness threshold to above the first brightness threshold and remains above the first brightness threshold. If the brightness parameter collected by the light sensor rises from below the first brightness threshold to above the first brightness threshold and remains above the first brightness threshold, then the second device is controlled to return to the first output state.
[0100] For example, combined with Figure 12 ,like Figure 16 As shown in , the user covers the through hole where the light sensor is located on the notebook or projector with his hand or a shielding plate and holds it. At this time, the notebook or projector monitors that the brightness parameter collected by the light sensor decreases from greater than the first brightness threshold to less than the first brightness threshold and continues to remain below the first brightness threshold, that is, it is determined that the first control condition is met. At this time, the large screen is controlled to no longer output the PPT on the notebook but to output a black screen image or an image different from the image output by the notebook. Afterwards, it is continuously monitored whether the brightness parameter collected by the light sensor increases from less than the first brightness threshold to more than the first brightness threshold and remains above the first brightness threshold. If the brightness parameter collected by the light sensor increases from less than the first brightness threshold to more than the first brightness threshold and remains above the first brightness threshold, then the large screen is controlled to resume outputting the PPT output by the notebook, thereby realizing output control of the large screen, and can realize temporary output control, while reducing the complexity of user operations for realizing temporary output control.
[0101] It should be noted that the implementation solution based on the distance sensor is similar to the implementation solution based on the light sensor and will not be described in detail here.
[0102] In a specific implementation, when controlling the second device from the first output state to the second output state in step 103, there are several specific implementation methods:
[0103] In one implementation, a control instruction can be sent to the second device, thereby instructing the second device to output the stored second content through the control instruction. That is, when the target component is operated in the first trigger state, the first device or the transmission device implementing this embodiment generates and sends a control instruction to the second device. The control instruction includes at least instruction information, and the instruction information is used to instruct the second device to output the second content stored therein corresponding to the control instruction. As a result, the image of the second content is output on the second device. In this case, the second content is stored on the second device.
[0104] For example, Figure 17 As shown in the figure, after the projector connected to the laptop detects the operation of pressing and releasing a physical button, it generates and sends a control instruction to the large screen connected to the projector. The large screen reads the corresponding black screen image or specific image from its pre-stored images and outputs the image.
[0105] In another implementation, a control instruction may be generated, and in response to the control instruction, the stored second content may be sent to the second device, thereby causing the second device to output the received second content. In other words, when the target component is operated in the first trigger state, the first device or the transmission device implementing this embodiment generates a control instruction, and in response to the control instruction, sends the stored second content to the second device, thereby causing the second device to output the image in the second content. In this case, the second content is stored on the first device or the transmission device implementing this embodiment.
[0106] For example, Figure 18 As shown in , after the screen projector connected to the notebook detects the operation of pressing and releasing a physical button, it generates a control instruction and reads the corresponding black screen image or specific image from the stored image, and then sends the black screen image or specific image to the large screen connected to the screen projector, which then outputs the black screen image or specific image. Figure 19 As shown in , after the laptop detects the operation of pressing and releasing a physical button, it generates a control instruction and reads the corresponding black screen image or specific image from the image stored in it, and then sends the black screen image or specific image to the large screen connected to the projector through the projector, and the large screen outputs the black screen image or specific image.
[0107] In another implementation, the image in the first content can be adjusted based on the stored second content, so that after the first content is transmitted to the second device, the second device outputs the second content. That is, when the target component of the first device or the transmitting device implementing this embodiment is operated in the first trigger state, the image in the first content to be transmitted to the second device is adjusted based on its locally stored second content, such as replacing the image in the first content or inserting it into the first content. Then, after the first content is transmitted to the second device, the second content is output on the second device. In this case, the second content is stored on the first device or the transmitting device implementing this embodiment.
[0108] For example, Figure 20 As shown in the figure, after the screen projector connected to the notebook detects the operation of a physical button being pressed and released, it reads the corresponding black screen image or specific image from the locally stored image, and then adjusts the PPT to be sent to the large screen according to the black screen image or the specific image, for example, inserting the black screen image or the specific image into the PPT. Thus, after the PPT is sent to the large screen connected to the screen projector, the large screen outputs the black screen image or the specific image.
[0109] refer to Figure 21 , is a structural diagram of an output control device provided in the second embodiment of the present application, which can be configured in an electronic device that can at least transmit image data, such as Figure 2 The technical solution in this embodiment is mainly used to achieve fast switching of image output without disconnecting the transmission connection of image data between the first device and the second device.
[0110] Specifically, the output control device in this embodiment may include the following units:
[0111] The monitoring unit 2101 is configured to monitor whether the target component is in a first trigger state during the process of transmitting image data from the first device to the second device;
[0112] A control unit 2102 is configured to control the second device to enter a second output state from a first output state when the target component is in a first trigger state;
[0113] Wherein, in both the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit the image data;
[0114] Furthermore, in the first output state, the second device outputs an image in the first content, and in the second output state, the second device outputs a second content, and the image in the second content is not included in the first content.
[0115] As can be seen from the above scheme, in an output control device provided in the second embodiment of the present application, during the process of transmitting image data from the first device to the second device, by monitoring whether the target component is in the first trigger state, the second device is controlled to enter the second output state from the first output state when the target component is in the first trigger state, and in the second output state, the first connection for transmitting image data is still maintained between the second device and the first device, but the image in the second content output by the second device in the second output state is not included in the first content output by the second device in the first output state. It can be seen that in this embodiment, there is no need to disconnect the connection between the first device and the second device, and the target component can be triggered to make the second device pause outputting the image in the first content and output the image in the second content that is not included in the first content, thereby achieving rapid switching of image output.
[0116] In one implementation, the first device has a first output component for outputting images; the second device has a second output component for outputting images in the first content in the first output state, and outputting images in the second content in the second output state; wherein, in the first output state, the images in the first content and the images output by the first output component satisfy an association relationship; in the second output state, the images in the second content and the images output by the first output component do not satisfy the association relationship.
[0117] In one implementation, the images in the second content are unrelated to the images in the first content.
[0118] In one implementation, the image in the second content corresponds to the image in the first content in terms of image content.
[0119] In one implementation, the image in the first content has a first amount of information, and the image in the second content has a second amount of information, and the first amount of information is greater than the second amount of information.
[0120] In one implementation, the target component is a sensor on a transmission device, the transmission device is connected to the first device via a first interface, and the transmission device is connected to the second device via a second interface, so as to establish a first connection between the first device and the second device;
[0121] The monitoring unit 2101 is specifically configured to monitor whether the state parameter corresponding to the sensor satisfies a first control condition.
[0122] In one implementation, the control unit 2102 is specifically used to: send a control instruction to the second device, wherein the control instruction is used to instruct the second device to output the stored second content; or, generate a control instruction; and in response to the control instruction, send the stored second content to the second device, so that the second device outputs the received second content.
[0123] In one implementation, the control unit 2102 is specifically configured to adjust the image in the first content according to the stored second content, so that after the first content is transmitted to the second device, the second device outputs the second content.
[0124] Furthermore, after controlling the second device to enter the second output state from the first output state, the control unit 2102 is also used to: monitor whether the target component is in the second trigger state, and control the second device to return to the first output state when the target device is in the second trigger state.
[0125] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0126] refer to Figure 22 , is a structural diagram of an electronic device provided in the third embodiment of the present application, and the electronic device may be a device that can at least transmit images. For example, the electronic device may be Figure 2 The technical solution in this embodiment is mainly used to achieve fast switching of image output without disconnecting the transmission connection of image data between the first device and the second device.
[0127] Specifically, the electronic device in this embodiment may include the following structure:
[0128] Target component 2201;
[0129] The controller 2202 is configured to monitor whether the target component 2201 is in a first trigger state during the process of transmitting image data from the first device to the second device; and control the second device to enter a second output state from a first output state when the target component 2201 is in the first trigger state.
[0130] In the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit image data; and in the first output state, the second device outputs the image in the first content, and in the second output state, the second device outputs the second content, and the image in the second content is not included in the first content.
[0131] As can be seen from the above scheme, in an electronic device provided in Example 3 of the present application, during the process of transmitting image data from a first device to a second device, by monitoring whether the target component is in the first trigger state, the second device is controlled to enter the second output state from the first output state when the target component is in the first trigger state, and in the second output state, the first connection for transmitting image data is still maintained between the second device and the first device, but the image in the second content output by the second device in the second output state is not included in the first content output by the second device in the first output state. It can be seen that in this embodiment, there is no need to disconnect the connection between the first device and the second device, and the target component can be triggered to make the second device pause outputting the image in the first content and output the image in the second content that is not included in the first content, thereby achieving rapid switching of image output.
[0132] In one implementation, an electronic device is used as Figure 2 Taking the transmission device shown in as an example, the target component 2201 is a sensor on the electronic device, and the electronic device may further include: a first interface 2203 and a second interface 2204, such as Figure 23 As shown in;
[0133] The first interface 2203 is connected to the first device, and the second interface 2204 is connected to the second device. The first interface 2203 and the second interface 2204 are used to establish a first connection between the first device and the second device;
[0134] Among them, when monitoring whether the target component is in the first trigger state, the controller 2202 is specifically used to: monitor whether the state parameters corresponding to the sensor meet the first control condition, such as monitoring whether the state parameters of a specific physical button or a specific touch button being pressed and / or released meet the first control condition, such as monitoring whether the light brightness parameters collected by the light sensor meet the first control condition, such as monitoring whether the distance value collected by the distance sensor meets the first control condition, and so on.
[0135] Based on the above implementation, the electronic device in this embodiment may further include the following structures, such as Figure 24 As shown in:
[0136] The memory 2205 is used to store the second content. Of course, the memory 2205 also stores other content;
[0137] Based on this, in one implementation, when the controller 2202 controls the second device to enter the second output state from the first output state, it is specifically used to: generate a control instruction; in response to the control instruction, send the second content stored in the memory to the second device, so that the second device outputs the received second content.
[0138] Alternatively, in another implementation, when the controller 2202 controls the second device to enter the second output state from the first output state, it is specifically used to: adjust the image in the first content according to the second content in the memory, so that after the first content is transmitted to the second device, the second device outputs the second content.
[0139] like Figure 18 As shown in , the screen projector connected to the notebook is provided with a memory, in which at least a black screen image or other specific image is stored. After the screen projector detects the operation of pressing and releasing a physical key, it generates a control instruction, reads the corresponding black screen image or specific image from the image stored in its memory, and then sends the black screen image or specific image to the large screen connected to the screen projector, which outputs the black screen image or specific image; or, as Figure 20 As shown in , after the screen projector detects the operation of a physical button being pressed and released, it reads the corresponding black screen image or specific image from the image stored in the local memory, and then adjusts the PPT to be sent to the large screen according to the black screen image or the specific image, for example, inserting the black screen image or the specific image into the PPT. Thus, after the PPT is sent to the large screen connected to the screen projector, the large screen outputs the black screen image or the specific image.
[0140] Taking the scenario where a laptop outputs PPT to a large screen through a screen projector as an example, the following is an example to illustrate the technical solution of this application:
[0141] In one possible implementation, Figure 25 As shown in the flowchart in , in this application, the large screen is triggered by the screen projector, and the large screen directly replaces the current display content with a black screen or a set fixed content. There are two specific implementation methods:
[0142] a. Set a physical button on the projector to trigger a control command, which is transmitted wirelessly to the large screen (or TV, projector, etc.). After receiving the control command, the large screen overwrites the current display with a specific fixed screen (or image). If you need to return to PPT output, you can trigger the physical button again.
[0143] b. The projector is equipped with a light sensor and a cover (the aforementioned shield). When the cover is opened, the projector projects the laptop's PPT presentation onto the large screen for output. To quickly black out the screen or display a fixed image, the user simply covers the light sensor with their hand or the cover. This sends control commands to the large screen, which then executes the control commands. To display the fixed image for a long time, simply cover the light sensor with the cover. To resume PPT output, simply remove the cover.
[0144] In another possible implementation, Figure 26 As shown in the flowchart in , this application stores a fixed image or a black screen image in the projector. There are two specific implementation methods:
[0145] a. Set a physical button on the projector. Use this button to trigger a control command. The projector will output a fixed image or a black screen (that is, replace the content currently displayed on the laptop) to the large screen according to the control command. The projector remains in the projection state, while the large screen outputs a fixed image or a black screen. If you need to return to PPT output, you can trigger the physical button again.
[0146] b. The projector is equipped with a light sensor and a cover. When the cover is opened, the projector projects the laptop's PPT screen onto the large screen for output. To quickly black out the screen or display a fixed image, simply cover the light sensor with your hand or the cover to send control commands to the large screen, which then executes the control commands. If the fixed image needs to be displayed for a long time, simply cover the light sensor with the cover. To restore PPT output, simply remove the cover.
[0147] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.
[0148] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0149] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0150] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An output control method, comprising: During the process of transmitting the image data from the first device to the second device, monitoring whether the target component is in a first trigger state; The target component is arranged on the first device, or on a transmission device between the first device and the second device; the target component is a sensor, and the sensor is a light sensor or a distance sensor; When the target component is in the first trigger state, controlling the second device to enter the second output state from the first output state; Wherein, in both the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit the image data; Moreover, in the first output state, the second device outputs the image in the first content, and in the second output state, the second device outputs the second content, the image in the second content is not included in the first content, the second content is sent to the second device by the first device or the transmission device, and the image in the second content is a black screen image or a specific image.
2. The method according to claim 1, wherein the first device has a first output component for outputting an image; The second device has a second output component for outputting images in the first content in the first output state and outputting images in the second content in the second output state; in, In the first output state, the image in the first content and the image output by the first output component satisfy an association relationship; In the second output state, the image in the second content and the image output by the first output component do not satisfy the association relationship.
3. The method according to claim 1, wherein: The images in the second content are unrelated to the images in the first content; Alternatively, the image in the second content corresponds to the image in the first content in terms of image content; Alternatively, the image in the first content has a first amount of information, and the image in the second content has a second amount of information, and the first amount of information is greater than the second amount of information.
4. The method according to claim 1, 2 or 3, wherein the target component is a sensor on a transmission device, the transmission device is connected to the first device via a first interface, and the transmission device is connected to the second device via a second interface to establish a first connection between the first device and the second device; in, Monitoring whether the target component is in a first trigger state includes: Monitor whether the state parameter corresponding to the sensor meets the first control condition.
5. The method according to claim 1, 2 or 3, controlling the second device to enter the second output state from the first output state comprises: Sending a control instruction to the second device, wherein the control instruction is used to instruct the second device to output the stored second content; or, Generate control instructions; In response to the control instruction, the stored second content is sent to the second device, so that the second device outputs the received second content.
6. The method according to claim 1, 2 or 3, wherein controlling the second device to enter the second output state from the first output state comprises: The image in the first content is adjusted according to the stored second content, so that after the first content is transmitted to the second device, the second device outputs the second content.
7. An electronic device, wherein the electronic device is a first device or a transmission device between a first device and a second device, comprising: target component; The target component is a sensor, and the sensor is a light sensor or a distance sensor; A controller, configured to monitor whether the target component is in a first trigger state during the process of transmitting image data from the first device to the second device; When the target component is in the first trigger state, controlling the second device to enter the second output state from the first output state; In which, in the first output state and the second output state, there is a first connection between the second device and the first device, and the first connection is used to transmit the image data; and, in the first output state, the second device outputs the image in the first content, and in the second output state, the second device outputs the second content, the image in the second content is not included in the first content, the second content is sent from the first device or the transmission device to the second device, and the image in the second content is a black screen image or a specific image.
8. The electronic device according to claim 7, wherein the target component is a sensor on the electronic device, and the electronic device further comprises: a first interface and a second interface; The first interface is connected to the first device, and the second interface is connected to the second device, and the first interface and the second interface are used to establish the first connection between the first device and the second device; Wherein, monitoring whether the target component is in the first trigger state includes: Monitor whether the state parameter corresponding to the sensor meets the first control condition.
9. The electronic device according to claim 7 or 8, further comprising: a memory, configured to store second content; When the controller controls the second device to enter the second output state from the first output state, it is specifically used to generate a control instruction; in response to the control instruction, the second content stored in the memory is sent to the second device, so that the second device outputs the received second content.
10. The electronic device according to claim 7 or 8, further comprising: a memory, configured to store second content; When the controller controls the second device to enter the second output state from the first output state, it is specifically configured to: The image in the first content is adjusted according to the second content in the memory, so that after the first content is transmitted to the second device, the second device outputs the second content.
Citation Information
Patent Citations
Projection apparatus
CN207283721U