CN115344223A - Processing method and electronic equipment - Google Patents

Processing method and electronic equipment Download PDF

Info

Publication number
CN115344223A
CN115344223A CN202210916739.1A CN202210916739A CN115344223A CN 115344223 A CN115344223 A CN 115344223A CN 202210916739 A CN202210916739 A CN 202210916739A CN 115344223 A CN115344223 A CN 115344223A
Authority
CN
China
Prior art keywords
data
electronic device
electronic equipment
displayed
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210916739.1A
Other languages
Chinese (zh)
Inventor
吴磊
虞周君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210916739.1A priority Critical patent/CN115344223A/en
Publication of CN115344223A publication Critical patent/CN115344223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Abstract

The embodiment of the application provides a processing method and electronic equipment, wherein the method comprises the following steps: detecting whether a first condition is met; and if the first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.

Description

Processing method and electronic equipment
Technical Field
The application relates to a processing method and an electronic device.
Background
Some electronic devices currently support multiple different operation modes, and multiple peripheral devices may also be connected to implement different operation modes. However, the flexibility of data processing between devices is not good, for example, if the master device and the slave device are fixed identities, the master device can only output data and display the data by the slave device, but the slave device cannot reversely transmit the data and display the data by the master device, and the multi-device management effect is poor.
Disclosure of Invention
The application provides a processing method and electronic equipment which can at least receive peripheral equipment data for display and can output the data to the peripheral equipment for display.
In order to solve the foregoing technical problem, an embodiment of the present application provides a processing method, including:
detecting whether a first condition is met;
and if the first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.
As an alternative embodiment, said meeting the first condition comprises selecting at least one of the following groups:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic device is connected with a second electronic device, wherein the trigger signal is used for indicating the switching state of the first electronic device; and
and obtaining the running state of a target application program running on the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
As an optional embodiment, the first electronic device further comprises a third state, and the method further comprises:
and if a second condition is met, controlling the first electronic equipment to switch to a third state, wherein in the third state, the first electronic equipment displays the first data to be displayed, and the first electronic equipment can obtain and process data transmitted from the second electronic equipment, and the data is different from the second data to be displayed.
As an alternative embodiment, the second condition comprises selecting at least one of the following groups:
establishing a communication connection between the first electronic equipment and the second electronic equipment;
obtaining an instruction for instructing the first data to be displayed by the first electronic device; and
the matching degree of the display parameters of the first electronic equipment and the display parameters required by the first data to be displayed is higher than the matching degree of the display parameters of the second electronic equipment and the display parameters required by the first data to be displayed.
As an alternative embodiment, if the first electronic device establishes a communication connection with the second electronic device, the first electronic device establishes a communication connection with a third electronic device, and the third electronic device has a third display screen, the method further comprises selecting at least one of the following groups:
if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment, so that the third display screen displays the third data to be displayed.
As an optional embodiment, the method further comprises:
if the first electronic equipment is in the second state, detecting whether a third condition is met;
in response to the third condition being met, the first electronic device transmits the second data to be displayed to the third electronic device, so that the third display screen displays the second data to be displayed, and the first display screen displays the first data to be displayed;
detecting whether a fourth condition is met;
and controlling the third screen and the first display screen to display the second data to be displayed in response to the fourth condition being met.
As an alternative embodiment, the second state further includes:
controlling a first display screen of the first electronic equipment to display the second data to be displayed in a full screen mode; or
And controlling a part of screens of a first display screen of the first electronic equipment to display the second data to be displayed.
Another embodiment of the present application simultaneously provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes:
a first display screen;
the first interface is used for connecting second electronic equipment;
the processor is used for detecting whether a first condition is met, and if the first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to the second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.
As an alternative embodiment, said meeting the first condition comprises selecting at least one of the following groups:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic device is connected with a second electronic device, wherein the trigger signal is used for indicating the switching state of the first electronic device; and
and obtaining the running state of a target application program running on the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
As an alternative embodiment, the method further comprises the following steps: the second interface is used for connecting third electronic equipment;
if the first electronic device establishes a communication connection with the second electronic device, the first electronic device establishes a communication connection with the third electronic device, and the third electronic device has a display screen, the processor is further configured to:
if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment, so that the display screen displays the third data to be displayed.
According to the scheme, the first electronic device has different running states, in the first state, the first electronic device can output data to the second electronic device, the second electronic device displays the data, in the second state, the first electronic device can obtain and display the data transmitted by the second electronic device, device multi-functionalization in a multi-device state is achieved, the processing method and the electronic device are flexible and convenient to use, and flexible use of multiple devices by a user is facilitated.
Drawings
Fig. 1 is a flowchart of a processing method in the embodiment of the present application.
Fig. 2 is a flowchart of a processing method in another embodiment of the present application.
Fig. 3 is a flowchart of an actual application of the processing method in the embodiment of the present application.
Fig. 4 is a block diagram of an electronic device in the embodiment of the present application.
Detailed Description
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings, but the present application is not limited thereto.
It will be understood that various modifications may be made to the embodiments disclosed herein. The following description is, therefore, not to be taken in a limiting sense, but is made merely as an exemplification of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the disclosure in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a processing method, including:
s100, detecting whether a first condition is met;
s200, if a first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to the second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.
For example, whether a first condition is met is detected, and the specific setting of the first condition is not only a condition reflecting the actual need of the current data display, but also a condition customized by a user. The first condition is equivalent to a trigger condition, and when the first condition is met, the system at least controls the first electronic device to be switched from the first state to the second state, or from the second state to the first state, and the like. In the first state, the first electronic device can transmit the first data to be displayed to the second electronic device, and the second electronic device displays the first data to be displayed. That is, the first electronic device may output the first data to be displayed to the second electronic device. In the second state, the first electronic device can receive and obtain the second data to be displayed sent by the second electronic device, and display the second data to be displayed, that is, the first electronic device can not only output the data to be displayed to the second electronic device, but also receive and display the data to be displayed input by the second electronic device.
Based on the disclosure of the above embodiment, it can be known that the beneficial effects that this embodiment has include that first electronic equipment can be connected with a second electronic equipment at least, and first electronic equipment has different running states, in the first state, first electronic equipment can output data to second electronic equipment, by its display data, and in the second state, first electronic equipment can receive the data that second electronic equipment transmitted, and show, realize the equipment multi-functionalization under the multi-device state, it is more convenient to use in a flexible way, more do benefit to the nimble use of user to multi-device.
Further, satisfying the first condition includes selecting at least one of the following:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic device is connected with the second electronic device, wherein the trigger signal is used for indicating the switching state of the first electronic device; and
and obtaining the running state of a target application program running in the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
For example, if a data instruction for switching the operating state of the first electronic device is obtained, the representation meets a first condition;
2. after the second electronic device is successfully connected to the first electronic device, that is, after the second electronic device is successfully connected to the first electronic device, a trigger signal is generated in the first electronic device, based on the trigger signal, the first electronic device changes the operating state, that is, a trigger condition for triggering the first electronic device to switch the state is formed when the second electronic device is successfully connected to the first electronic device, and the generation of the trigger condition is that the first condition is satisfied.
3. For example, when a target application program is started and run in the first electronic device, that is, when the target application program is determined to be in an enabled state, it is characterized that the first electronic device needs to perform mode switching; or
When the target application program is started in the first electronic equipment, the target application program has a plurality of different running states, and when the target running state is enabled, the first electronic equipment is characterized to need to be subjected to mode conversion.
For example, the target application is conference software, and when the conference software is started to run, or runs the extension mode or the sharing mode, or closes the extension mode or the sharing mode and returns to the normal mode, the conference software can be regarded as enabling the target running state, and at this time, the system can determine that the first condition is met, and control the first electronic device to perform state switching.
4. The display parameters or supported display modes of the first electronic device and the second electronic device are different, when the second electronic device has second data to be displayed and needs to be displayed, which needs to be displayed by the first electronic device, the system can determine that the first condition is met, and control the first electronic device to switch the states, so that the first electronic device can better, such as more clearly and more smoothly display the second data to be displayed.
On the contrary, if the second electronic device is required to display, or the first to-be-displayed data more suitable for being displayed by the second electronic device needs to be displayed, the system may also determine that the first condition is satisfied, and further control the first electronic device to switch the second state to the first state, and further control the second electronic device to display the first to-be-displayed data by the first electronic device.
The above conditions are reversed, and if an instruction indicating that the first electronic device is switched from the second state to the first state is received, or the first electronic device is disconnected from the second electronic device, or the target application program is closed, or the target running state of the target nutrition program is stopped, the system can automatically control the first electronic device to be switched from the second state to the first state.
Further, the first electronic device in this embodiment further includes a third state;
the method further comprises the following steps:
and S300, if the second condition is met, controlling the first electronic equipment to be switched to a third state, wherein the first display screen displays the first data to be displayed and the first electronic equipment can obtain and process the data transmitted from the second electronic equipment, and the data is different from the second data to be displayed.
For example, the system has a determination mechanism for determining whether the second condition is satisfied, and based on the determination mechanism, the first electronic device may be controlled to switch to the third state when the second condition is satisfied, in this embodiment, the third state includes that the first display screen displays the first data to be displayed, and data transmitted by the second electronic device, which is different from the second data to be displayed, can be obtained at the first electronic device, for example, the second data to be displayed may be multimedia data such as video data, or may also be document data, and the transmitted data may be data such as a program installation package, system parameter configuration, or the like, or may also be display data, but whether the display data is displayed is not controlled by the second electronic device, which is controlled by the first electronic device itself. That is, in the third state, the first electronic device and the second electronic device do not have a master-slave relationship, both devices are independently controlled, and only normal data transmission can be performed between each other, and the first electronic device can receive any data transmitted by the second electronic device, but how to process the data is controlled by the first electronic device and not controlled by the second electronic device. Vice versa, in this third state, the second electronic device may also receive any data transmitted by the first electronic device, but how to process this data is controlled by the second electronic device and not by the first electronic device.
Further, the second condition includes selecting at least one of the following:
establishing communication connection between first electronic equipment and second electronic equipment;
obtaining an instruction for indicating that first data to be displayed is displayed by first electronic equipment;
the matching degree of the display parameters of the first electronic equipment and the display parameters required by the first data to be displayed is higher than the matching degree of the display parameters of the second electronic equipment and the display parameters required by the first data to be displayed.
Specifically, a communication connection is established between the first electronic device and the second electronic device, where the communication connection may be wired or wireless, such as a bluetooth connection, and if the communication connection is established, the second condition is satisfied.
2. The method includes the steps that an instruction input by a user and used for indicating that first to-be-displayed data are displayed by first electronic equipment is obtained, or the instruction can be used for obtaining an instruction used for displaying second to-be-displayed data by second electronic equipment, when the instruction is used for displaying the second to-be-displayed data by the second electronic equipment, the second electronic equipment is switched to a third state, the second to-be-displayed data are displayed by the second electronic equipment, namely the first electronic equipment and the second electronic equipment are the same, and functions which can be implemented by the first electronic equipment can be repeatedly engraved to the second electronic equipment, namely the second electronic equipment can also be implemented.
3. The display parameters of the first electronic device are different from the display parameters of the second electronic device, such as different resolutions, or the configuration parameters of the electronic devices are different, such as whether to display separately or integrally, the core number of the processor, and the processing efficiency/capability. When the display parameter required by the first data to be displayed is higher, if the matching degree with the parameter configuration of the first electronic equipment is higher, the system determines that the second condition is met, and controls the first electronic equipment to display the first data to be displayed. Vice versa, for example, for the second electronic device, if the matching degree of the display parameter required by the second data to be displayed and the parameter configuration of the second electronic device is higher, it can also be considered to be in accordance with the second condition, and at this time, the system can control the second electronic device to display the second data to be displayed.
Optionally, if the first electronic device establishes a communication connection with the second electronic device, and at the same time, the first electronic device also establishes a communication connection with a third electronic device, and the third electronic device has a display screen, the method further includes:
s400, if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment so that the third data to be displayed can be displayed on the display screen.
For example, the first electronic device establishes a communication connection with the second electronic device and the third electronic device at the same time, and the communication connection may be a wired connection or a wireless connection. The third electronic device may be a device such as a notebook computer, or may be only a display having a display screen. When the first electronic device processes the first state, the first electronic device may select to transmit the third data to be displayed to the third electronic device, and the third data to be displayed is displayed on the display screen of the third electronic device. The third data to be displayed may be a part or all of the first data to be displayed, or may be data completely different from the first data to be displayed.
Of course, in the application, in the first state, the first electronic device may also perform the determination according to the actual situation, and then select the second electronic device and the third electronic device to determine who finally displays the third data to be displayed. For example, when the second electronic device is currently controlled by the first electronic device to display the first data to be displayed, the subsequent data may be part of the first data to be displayed, or other data may be controlled to be displayed by the third electronic device. Or the third data to be displayed is more suitable for being displayed by the third electronic device, such as configuration parameters, high matching degree of display parameters, and the like. Or the first electronic device operates a conference mode, the second electronic device is used for displaying the first data to be displayed for the user in the first conference room, and when the user in the second conference room participates in the conference, the first electronic device can control the third electronic device to display the data for the user in the second conference room, wherein the data can be the first data to be displayed, can also be part of the first data to be displayed, and can also be other conference data to be displayed. That is, the first electronic device may select the data display side including the first data to be displayed according to the actual usage and the actual environment requirement.
Optionally, as shown in fig. 2, in combination with the above embodiment, in this embodiment, the method further includes:
s401, if the first electronic equipment is in the second state, whether a third condition is met is detected;
s402, in response to the third condition being met, the first electronic equipment transmits the second data to be displayed to the third electronic equipment, so that the third electronic equipment displays the second data to be displayed, and the first electronic equipment displays the first data to be displayed;
s403, detecting whether a fourth condition is met;
and S404, in response to the fourth condition being met, controlling the third electronic equipment and the first electronic equipment to display the second data to be displayed.
Specifically, when the first electronic device is in the second state, the system may further detect whether a third condition is satisfied, where the third condition may include, but is not limited to, one or more of the following components, for example, when a display parameter required by the second data to be displayed is more matched with a configuration parameter of the third electronic device, the type of the second data to be displayed is a data type that the third electronic device supports displaying, the type of the second data to be displayed can only be output by a port where the first electronic device is connected to the third electronic device, that is, the type of the second data to be displayed is matched with a data type that the port supports transmission, or the current use, environment, and location of the third electronic device indicate that the third electronic device can only display the second data to be displayed, for example, the third electronic device is expropriated by a second conference room, and the second data to be displayed is content that the second conference room needs to display, then the third electronic device can only be used to display the second data to be displayed. And if the third condition is determined to be met through judgment, the first electronic equipment is controlled to transmit the second data to be displayed to the third electronic equipment, so that the third electronic equipment displays the second data to be displayed, and the first electronic equipment displays the first data to be displayed.
If the first condition is judged not to be met, the system judges whether a fourth condition is met, the fourth condition may include but is not limited to one or more of the following components, for example, an instruction that the second data to be displayed needs to be displayed in multiple screens is obtained, an instruction that the first electronic device and the third electronic device need to simultaneously display the second data to be displayed, which is input by a user, is obtained, the second electronic device runs conference software, and the first electronic device and the third electronic device are controlled to display the second data to be displayed according to the distribution of actual conference requirements based on the conference software. And if the judgment result shows that the fourth condition is met, the system controls the third electronic equipment and the first electronic equipment to display the second data to be displayed simultaneously.
In addition, in practical application, the number of the second electronic devices and the third electronic devices connected to the first electronic device is not unique, and even more devices can be connected, specifically, but the control display mode is the same.
Optionally, in each of the foregoing embodiments, the second state may further include:
s201, controlling a display screen of the first electronic equipment to display second data to be displayed in a full screen mode; or
And controlling a part of screens of a display screen of the first electronic equipment to display the second data to be displayed.
That is, in the second state, the system may control the display screen of the first electronic device to display the second data to be displayed in full screen according to the actual requirement, the actual environment, and the like, or may control a part of the display screen of the first electronic device to display the second data to be displayed. For example, the first electronic device may notify a part of the screen to display the second data to be displayed when the first electronic device currently operates in the split screen mode, or the first electronic device may currently operate in the extended screen mode, in which a window is separated from the device to display the extended data, and then the window may display the second data to be displayed, and the first electronic device may display other data outside the window.
Specifically, IN practical applications, the first electronic device may be provided with a plurality of different ports, such as a DP IN port, an HDMI port, a USB port, a type c port, and the like, as shown IN fig. 3, and the specific types and the number of the ports are not fixed. With continued reference to fig. 3, it is assumed that the first electronic device can implement two different system input modes, i.e., a DP signal source input of CSI2 and a TypeC signal source input of CSI 3. Meanwhile, the system also has two output modes, namely local panel output management of the DSI0 and an open DP interface of the DSI1 (the DP interface may be a DP or an HDMI, and the DP interface is used for example in this embodiment). The four paths of input and output data streams can be converted into YUV data formats in advance and directly put into a display cache (display cache), and can be selectively opened to conference software and other display terminals which can automatically determine how to distribute the data.
Further, continuing with fig. 3, for example, two different electronic devices are connected to a first electronic device, in one mode: the equipment connected with the DSI0 port is used as a main screen of conference software, and the equipment connected with the DSI1 port is used as an expansion screen of the conference software. By using the data receiving port CSI2/CSI3 as a port for receiving an external shared video data stream (video ingest), the first electronic device can flexibly determine whether the received data is shared in the network or projected on the expansion screen of the DSI1, and the received data is displayed on the main screen. This mode may be used for conference room use.
In another mode: the device connected to the DSI0 port may be used as an extended screen of an external PC (typeC or DP), and the device connected to the DSI1 port may be used as a third screen of the external PC, for example, the second electronic device (external PC) is connected to the third electronic device (third screen) through the first electronic device, and the second electronic device may use control to make both the first electronic device and the third electronic device belong to the second electronic device management, that is, control both the first electronic device and the third electronic device to perform data display.
The mode can be used for personal meeting equipment with dual modes, the DSI0 is normally used as a meeting UI (user interface), and when no meeting task exists, an idle screen is contributed to external equipment such as a notebook computer and the like to be used as an extended display. Meanwhile, a DSI1 port is used for accessing another idle display, so that the notebook can manage two expansion screens at the same time. When a conference calls in, the conference software can switch back the equipment connected with the DSI0 port to display the conference UI of the conference software.
Further, since the first electronic device, the second electronic device, and the like in the above embodiments support two or more operation modes/operation states, such as being used as an expansion screen, being used as a management device, and the like. Based on different user demands, especially when using each equipment of wired connection, need the manual plug equipment of user, it is comparatively inconvenient. Therefore, in this embodiment, a physical switch key may be arranged on the first electronic device and the second electronic device to switch different signal sources, for example, to switch between a DP signal source and an HDMI signal source, so as to establish communication connection with different devices. For example, the switch of the DP/Type-C signal source can be realized by double-clicking a switch key. Or a configuration interface is set while the physical key is set, that is, the physical key is a key for calling out the configuration interface, and based on the configuration interface, a user can randomly switch and select the signal source. Or, the configuration interface may be called up by setting only a special input mode, such as gesture input, mouse sliding preset patterns, voice commands, etc., without setting physical keys, so as to be selected by the user.
Specifically, the configuration interface not only allows a user to select which signal source to switch to, but also allows the user to set a default mode in a customized manner, for example, the fixed signal source is only DP or type C, and the like, that is, the control device always switches to the DP or type C signal source in a priority manner, and does not need to ask the user or require the user to select configuration each time. In addition, the user can also disable the mode switching function, that is, the signal source cannot be switched after the function is enabled. In addition, on the configuration interface, a user can also control whether the data required to be displayed by the equipment is converted into language, converted into format, converted into background, delayed display and the like, the operation is flexible, and different display requirements of the user can be met. If the corresponding use environments are different, taking a conference as an example, if the participants are americans, if the data to be displayed is in chinese, the data needs to be matched and converted into english for display, and the like. Or controlling the background, screen brightness, etc. of the data display according to the actual ambient brightness.
As shown in fig. 4, another embodiment of the present application also provides an electronic device, where the electronic device is the first electronic device described in the foregoing embodiment, and the first electronic device includes:
the first interface is used for connecting second electronic equipment;
the processor is used for detecting whether a first condition is met, and controlling the first electronic equipment to be switched from a first state to a second state if the first condition is met, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the electronic equipment.
As an optional embodiment, the first electronic device further comprises: the second interface is used for connecting third electronic equipment;
if the first electronic device establishes a communication connection with the second electronic device, the first electronic device establishes a communication connection with a third electronic device, and the third electronic device has a display screen, the processor is further configured to:
if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment, so that the display screen displays the third data to be displayed.
As an alternative embodiment, said meeting the first condition comprises selecting at least one of the following groups:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic device is connected with a second electronic device, wherein the trigger signal is used for indicating the switching state of the first electronic device; and
and obtaining the running state of a target application program running on the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
As an optional embodiment, the electronic device further comprises a third state, and the method further comprises:
and if a second condition is met, controlling the first electronic equipment to be switched to a third state, wherein in the third state, the first display screen displays the first data to be displayed, and the first electronic equipment can obtain and process data transmitted by the second electronic equipment, wherein the data is different from the second data to be displayed.
As an alternative embodiment, the second condition comprises selecting at least one of the following groups:
establishing a communication connection between the first electronic device and the second electronic device;
obtaining an instruction for instructing the first data to be displayed by the first electronic device;
the matching degree of the display parameters of the first electronic device and the display parameters required by the first data to be displayed is higher than the matching degree of the display parameters of the second electronic device and the display parameters required by the first data to be displayed.
As an alternative embodiment, the controller is further configured to:
if the first electronic equipment is in the second state, detecting whether a third condition is met;
in response to the third condition being met, the first electronic device transmitting the second data to be displayed to the third electronic device, such that the third display screen displays the second data to be displayed, the first display screen displaying the first data to be displayed;
detecting whether a fourth condition is met;
and controlling the third screen and the first display screen to display the second data to be displayed in response to the fourth condition being met.
As an optional embodiment, the second state further comprises:
controlling a first display screen of the first electronic equipment to display the second data to be displayed in a full screen mode; or
And controlling a part of screens of a first display screen of the first electronic equipment to display the second data to be displayed.
Another embodiment of the present application further provides an electronic device, including:
one or more processors;
a memory configured to store one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the above-described methods.
An embodiment of the present application also provides a storage medium on which a computer program is stored, which when executed by a processor implements the method as described above. It should be understood that each solution in this embodiment has a corresponding technical effect in the foregoing method embodiments, and details are not described here.
Embodiments of the present application also provide a computer program product tangibly stored on a computer-readable medium and comprising computer-executable instructions that, when executed, cause at least one processor to perform a method such as the embodiments described above.
It should be understood that each scheme in this embodiment has a corresponding technical effect in the foregoing method embodiment, and details are not described here.
It should be noted that the computer storage media of the present application can be computer readable signal media or computer readable storage media or any combination of the two. The computer readable medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory medium (RAM), a read-only memory medium (ROM), an erasable programmable read-only memory medium (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, antenna, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
It should be understood that although the present application has been described in terms of various embodiments, not every embodiment may include only a single embodiment, and such description is for clarity purposes only, and it will be appreciated by those skilled in the art that the description as a whole may be combined as appropriate to form other embodiments as will be apparent to those skilled in the art.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. A method of processing, comprising:
detecting whether a first condition is met;
and if the first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.
2. The method of claim 1, the satisfying a first condition comprising selecting at least one of:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic device is connected with a second electronic device, wherein the trigger signal is used for indicating the switching state of the first electronic device; and
and obtaining the running state of a target application program running on the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
3. The method of claim 1, the first electronic device further comprising a third state, the method further comprising:
and if a second condition is met, controlling the first electronic equipment to switch to a third state, wherein in the third state, the first electronic equipment displays the first data to be displayed, and the first electronic equipment can obtain and process data transmitted from the second electronic equipment, and the data is different from the second data to be displayed.
4. The method of claim 3, the second condition comprising selecting at least one of the following groups:
establishing a communication connection between the first electronic device and the second electronic device;
obtaining an instruction for instructing the first data to be displayed by the first electronic device; and
the matching degree of the display parameters of the first electronic device and the display parameters required by the first data to be displayed is higher than the matching degree of the display parameters of the second electronic device and the display parameters required by the first data to be displayed.
5. The method of claim 1, if the first electronic device establishes a communication connection with the second electronic device, the first electronic device establishes a communication connection with a third electronic device, and the third electronic device has a display screen, the method further comprising:
if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment, so that the display screen displays the third data to be displayed.
6. The method of claim 5, further comprising:
if the first electronic equipment is in the second state, detecting whether a third condition is met;
in response to the third condition being met, the first electronic device transmits the second data to be displayed to the third electronic device, so that the third electronic device displays the second data to be displayed, and the first electronic device displays the first data to be displayed;
detecting whether a fourth condition is met;
and in response to the fourth condition being met, controlling the third electronic device and the first electronic device to display the second data to be displayed.
7. The method of claim 1, the second state further comprising:
controlling a display screen of the first electronic equipment to display the second data to be displayed in a full screen mode; or
And controlling a part of screens of a display screen of the first electronic equipment to display the second data to be displayed.
8. An electronic device, which is a first electronic device, comprising:
the first interface is used for connecting second electronic equipment;
the processor is used for detecting whether a first condition is met, and if the first condition is met, controlling the first electronic equipment to be switched from a first state to a second state, wherein in the first state, the first electronic equipment is used for transmitting first data to be displayed to the second electronic equipment so as to display the first data to be displayed through the second electronic equipment, and in the second state, the first electronic equipment obtains second data to be displayed from the second electronic equipment and displays the second data to be displayed through the first electronic equipment.
9. The electronic device of claim 8, the satisfaction of a first condition comprising selecting at least one of the following groups:
obtaining an input instruction for switching the state of the first electronic equipment;
acquiring a trigger signal generated after the first electronic equipment is connected with second electronic equipment, wherein the trigger signal is used for indicating the switching state of the first electronic equipment; and
and obtaining the running state of a target application program running on the first electronic equipment, wherein the running state of the target application program is used for indicating the running switching state of the first electronic equipment.
10. The electronic device of claim 8, further comprising: the second interface is used for connecting third electronic equipment;
if the first electronic device establishes a communication connection with the second electronic device, the first electronic device establishes a communication connection with the third electronic device, and the third electronic device has a display screen, the processor is further configured to:
if the first electronic equipment is in the first state, the first electronic equipment transmits third data to be displayed to the third electronic equipment, so that the display screen displays the third data to be displayed.
CN202210916739.1A 2022-08-01 2022-08-01 Processing method and electronic equipment Pending CN115344223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210916739.1A CN115344223A (en) 2022-08-01 2022-08-01 Processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210916739.1A CN115344223A (en) 2022-08-01 2022-08-01 Processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN115344223A true CN115344223A (en) 2022-11-15

Family

ID=83950020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210916739.1A Pending CN115344223A (en) 2022-08-01 2022-08-01 Processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115344223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251404A (en) * 2023-11-17 2023-12-19 北京小米移动软件有限公司 Control method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251404A (en) * 2023-11-17 2023-12-19 北京小米移动软件有限公司 Control method and device, electronic equipment and storage medium
CN117251404B (en) * 2023-11-17 2024-01-30 北京小米移动软件有限公司 Control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8538324B2 (en) Mobile phone dock for TV
US8368737B2 (en) Smart remote control devices for controlling video call devices
US11243737B2 (en) Method and system for remote collaboration
US20120046074A1 (en) System containing a mobile communication device and associated docking station
US20110066971A1 (en) Method and apparatus for providing application interface portions on peripheral computing devices
JP2023529868A (en) SHARING METHODS, DEVICES AND ELECTRONICS
US10296284B2 (en) Audio processing device and audio processing method
KR20030011685A (en) User interface including portable display for use with multiple electronic devices
US20220239718A1 (en) Communication Protocol Switching Method, Apparatus, and System
CN103744729B (en) The computer system of system capable of switching operation
CN109362121B (en) Sharing method and device of wireless local area network, storage medium and terminal
KR102043641B1 (en) Operating Method For Nearby Function and Electronic Device supporting the same
WO2014003377A1 (en) Multimedia device and remote control device for synchronizing screen, and method for same
EP2918080A1 (en) Method and system for sharing an output device between multimedia devices to transmit and receive data
CN115344223A (en) Processing method and electronic equipment
CN116635825A (en) Display control method, display system, electronic device, and readable storage medium
KR102115076B1 (en) Data manipulation control method and system and user terminal
US8533500B2 (en) Providing power to a communication device via a device switch
WO2018186698A2 (en) Method, system, and non-transitory computer-readable recording medium for providing multi-point communication service
KR101708441B1 (en) The Multi-Connecting Display Device
US20080270512A1 (en) Virtual network projection system supporting multiple projection sources and method thereof
CN113923722B (en) Data transmission method, device and storage medium
KR102463351B1 (en) Display device and operating method thereof
CN114025227A (en) Electronic equipment and control method
CN112104649A (en) Multimedia interaction method and device, electronic equipment, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination