Processing method and electronic device
By automatically obtaining the connection method between devices and determining the transmission method in the multi-device collaboration scenario, the problem of manual settings for the connection between devices in the prior art is solved, and the connection efficiency and user experience are improved.
Patent Information
- Application Number
- CN202111040573.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-06
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2041-09-06
AI Technical Summary
In the prior art, the connection selection between devices in the multi-device collaborative scenario requires the user to manually set it, which is inefficient and affects the user experience.
A processing method is provided, by obtaining at least a first connection method of the first device and the second device, and determining the transmission method of the third device and the second device according to the connection method, including a method of realizing data transmission through the first device and a method of not realizing data transmission through the first device.
It realizes automation of connections between devices, improves the efficiency of connections between devices, and improves the user experience.
Smart Images

Figure CN113806264B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a processing method and electronic equipment. Background Art
[0002] In the prior art, in a scenario where multiple devices collaborate, the connection selection between devices usually requires manual settings by the user, which is inefficient and affects the user experience. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a processing method and an electronic device.
[0004] A first aspect of the present application provides a processing method, the processing method comprising: obtaining at least a first connection mode between a first device and a second device;
[0005] determining a transmission mode of a third device and a second device at least according to the first connection mode;
[0006] Among them, the transmission mode includes at least a first transmission mode and a second transmission mode, the first transmission mode is a mode in which the third device and the second device realize data transmission through the first device, and the second transmission mode is a mode in which the third device and the second device realize data transmission without passing through the first device.
[0007] In some modified implementations of the first aspect of the present application, the first connection mode includes a first mode and a second mode, and a transmission parameter of the first mode is superior to a transmission parameter of the second mode;
[0008] Determining the transmission mode of the third device and the second device at least according to the first connection mode includes:
[0009] If it is determined that the first connection mode is the first mode, determining that the transmission mode of the third device and the second device is the first transmission mode;
[0010] If it is determined that the first connection mode is the second mode, then it is determined that the transmission mode between the third device and the second device is the second transmission mode.
[0011] In some modified implementations of the first aspect of the present application, determining the transmission mode of the third device and the second device further includes:
[0012] A mode determination signal is sent to the third device, wherein the mode determination signal enables the third device to implement data transmission according to the determined transmission mode.
[0013] In some modified implementations of the first aspect of the present application, obtaining at least a first connection mode between the first device and the second device includes: obtaining at least the first connection mode between the first device and the second device, and a second connection mode between the first device and the third device;
[0014] Determining the transmission mode of the third device and the second device at least according to the first connection mode includes: determining the transmission mode of the third device and the second device at least according to the first connection mode and the second connection mode.
[0015] In some modified implementations of the first aspect of the present application, the first connection mode includes a first mode and a second mode, and a transmission parameter of the first mode is superior to a transmission parameter of the second mode;
[0016] The second connection mode includes a third mode and a fourth mode, and a transmission parameter of the third mode is superior to a transmission parameter of the fourth mode;
[0017] Determining the transmission mode of the third device and the second device at least according to the first connection mode and the second connection mode includes:
[0018] If it is determined that the first connection mode is the first mode and the second connection mode is the third mode, then determining that the transmission mode of the third device and the second device is the first transmission mode;
[0019] If it is determined that the first connection mode is the first mode and the second connection mode is the fourth mode, then determining that the transmission mode between the third device and the second device is the second transmission mode;
[0020] If it is determined that the first connection mode is the second mode and the second connection mode is the third mode, then determining that the transmission mode between the third device and the second device is the second transmission mode;
[0021] If it is determined that the first connection mode is the second mode and the second connection mode is the fourth mode, then it is determined that the transmission mode of the third device and the second device is the second transmission mode.
[0022] In some modified implementations of the first aspect of the present application, the first device is a device that can obtain and output output data from the second device; and the third device is a device that can generate and send input data to the second device.
[0023] A second aspect of the present application provides an electronic device, the electronic device comprising: a first connecting device and a second connecting device, each used to connect to different other devices;
[0024] a processing component, configured to obtain at least a first connection mode between a first device and a second device, and determine a transmission mode between a third device and the second device at least according to the first connection mode;
[0025] Among them, the transmission mode includes at least a first transmission mode and a second transmission mode, the first transmission mode is a mode in which the third device and the second device realize data transmission through the first device, and the second transmission mode is a mode in which the third device and the second device realize data transmission without passing through the first device.
[0026] In some modified implementations of the second aspect of the present application, the electronic device is the first device, the first connecting device is used to connect to the second device, and the second connecting device is used to connect to the third device.
[0027] In some modified implementations of the second aspect of the present application, the first connection device includes: a first connection component and a second connection component, the first connection mode includes a first mode of connecting the second device through the first connection component and a second mode of connecting the second device through the second connection component, and the transmission parameters of the first mode are better than the transmission parameters of the second mode; the processing component is used to obtain at least the first connection mode of the first device and the second device, and determine, at least based on the first connection mode, one of the transmission modes of the third device and the second device that is better than the other transmission modes; or,
[0028] The first connection device comprises: a first connection component and a second connection component, the first connection mode comprises a first mode connected through the first connection component and a second mode connected through the second connection component, and a transmission parameter of the first mode is superior to a transmission parameter of the second mode;
[0029] The second connection device includes: a third connection component and a fourth connection component, the second connection mode includes a third mode connected through the third connection component and a fourth mode connected through the fourth connection component, and a transmission parameter of the third mode is superior to a transmission parameter of the fourth mode;
[0030] The processing component is used to obtain at least a first connection mode between the first device and the second device, and a second connection mode between the first device and the third device, and determine a transmission mode between the third device and the second device based on at least the first connection mode and the second connection mode.
[0031] In some modified implementations of the second aspect of the present application, the electronic device further includes:
[0032] A first body having an output device capable of outputting output data of the second device;
[0033] A second body, rotatably connected to the first body;
[0034] Wherein, the third connecting component is arranged at an end of the second body away from the first body;
[0035] The third device can be used to generate input data for the second device. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0037] Figure 1 A schematic diagram of a process flow of a processing method provided in an embodiment of the present application is schematically shown;
[0038] Figure 2 Another schematic diagram of the process of the processing method provided in the embodiment of the present application is schematically shown;
[0039] Figure 3 A schematic diagram of a transmission mode of the first device, the second device and the third device in the processing method provided in an embodiment of the present application is schematically shown;
[0040] Figure 4 A schematic diagram schematically shows another transmission method of the first device, the second device and the third device in the processing method provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram schematically shows a structure of an electronic device in a usage state provided by an embodiment of the present application;
[0042] Figure 6 A schematic diagram schematically shows another use state of the electronic device provided by an embodiment of the present application;
[0043] Figure 7 A schematic diagram schematically shows another use state of the electronic device provided by an embodiment of the present application;
[0044] Figure 8 A schematic diagram of a connection structure between a first device and a third device of an electronic device provided in an embodiment of the present application is schematically shown;
[0045] Description of Figure Numbers:
[0046] The first device 1 , the first body 11 , the groove 121 , the second body 12 , the second device 2 , the third device 3 , the protrusion 31 , and the magnetic strip 32 . DETAILED DESCRIPTION
[0047] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0048] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0049] Embodiment 1
[0050] Reference Figure 1 -Attached Figure 4 , Embodiment 1 of the present application proposes a processing method, the processing method comprising:
[0051] Step 1: obtaining at least a first connection mode between the first device 1 and the second device 2;
[0052] Specifically, the above-mentioned process of acquiring the first connection mode can be a process of acquiring when the device is turned on, and / or a process of acquiring in real time during the operation of the device; by acquiring the first connection mode of the first device 1 and the second device 2 when the device is turned on, the transmission mode of the third device 3 and the second device 2 can be determined at the time of startup, and by acquiring the first connection mode of the first device 1 and the second device 2 in real time during the operation of the device, when the first connection mode changes, the transmission mode of the third device 3 and the second device 2 can be switched in time to ensure the stability and reliability of the data transmission process.
[0053] Step 2: Determine the transmission mode of the third device 3 and the second device 2 at least based on the first connection mode; wherein the transmission mode includes at least a first transmission mode and a second transmission mode, the first transmission mode is a mode in which the third device 3 and the second device 2 realize data transmission through the first device 1, and the second transmission mode is a mode in which the third device 3 and the second device 2 realize data transmission without passing through the first device 1.
[0054] Specifically, in step 2, the transmission mode of the third device 3 and the second device 2 is determined at least according to the first connection mode, specifically, whether the third device 3 and the second device 2 need to transmit data through the first device 1. The determination according to the first connection mode can be to determine the better transmission mode between the third device 3 and the second device 2 through the first connection mode. The better mode here can include at least one of the advantages of high transmission speed, wide bandwidth, low latency, low packet loss rate and high QoS (Quality of Service), but is not limited to this. The first transmission mode can refer to the attached Figure 3 For the second transmission method, please refer to the attached Figure 4 ,The solid lines connecting the devices represent the data transmission relationship between the ,devices.
[0055] According to the above, an embodiment of the present application proposes a processing method, which can provide a basis for the transmission mode between the third device 3 and the second device 2 by acquiring at least the first connection mode of the first device 1 and the second device 2 in real time when the device is turned on and / or during the operation of the device. The processing component can automatically determine the transmission mode between the third device 3 and the second device 2 according to the first connection mode, that is, it can determine whether the third device 3 and the second device 2 use the first transmission mode to realize data transmission through the first device 1, or use the second transmission mode that does not realize data transmission through the first device 1. The user does not need to manually set and switch, which can improve the efficiency of the connection between devices and the user's experience.
[0056] Specifically, the first device 1, the second device 2 and the third device 3 interact with each other through connection and data transmission. The types and interaction modes of the three devices are not limited to one, and specifically can be the following three configuration modes:
[0057] The first configuration mode may be: the first device 1 is an output device that can obtain and output output data from the second device 2 through the first connection mode, and the third device 3 may be an input device that can generate and send input data to the second device 2 through a certain transmission mode. For example, the second device 2 may be a mobile phone, a tablet computer, a laptop computer or a desktop computer. Figure 6, the first device 1 can be an external display that interacts with the second device 2, and can output display data from the second device 2 to achieve extended screen, dual-screen or multi-screen display, and provide an expansion of the display function for the second device 2. The third device 3 can be a keyboard or a touchpad, or a combination of a keyboard and a touchpad, or a combination of a keyboard and a pointing stick, etc., and can generate and send input data to the second device 2; the above application scenarios are the most common and most frequently used usage scenarios, and the automatic selection or switching of the transmission mode between the third device 3 and the second device 2 can be realized in this scenario, which can meet the usage needs of most users. Based on this, the function of generating input data by the second device 2 and the data transmission between the second device 2 and the third device can also be used to realize the control of the third device by the second device 2, which can improve the convenience of user operation;
[0058] Or, the second configuration mode may be: opposite to the first configuration mode, the first device 1 may be an input device capable of generating and sending input data to the second device 2 through the first connection mode, and the third device 3 may be a device capable of obtaining and outputting output data from the second device 2 through a determined transmission mode, which can also meet the use requirements of most users;
[0059] Or, a third configuration mode may be: both the first device 1 and the third device 3 may be output devices capable of obtaining and outputting output data from the second device 2, and the types of output data obtained and outputted by the first device 1 and the third device 3 may be the same, for example: both the first device 1 and the third device 3 may be external displays interacting with the second device 2, capable of outputting display data outputted by the second device 2; the types of output data obtained and outputted by the first device 1 and the third device 3 may be different, for example: the first device 1 and the third device 3 may be a display and a speaker respectively, but not limited thereto, and more abundant usage scenarios may be provided for users to meet customers with different usage requirements;
[0060] Alternatively, a fourth configuration method may be: both the first device 1 and the third device 3 may be input devices that can generate and send input data to the second device 2, and the types of input data generated and sent by the first device 1 and the third device 3 may be the same, for example: the first device 1 and the third device 3 may both be keyboards, or both may be cameras, etc., or the types of input data generated and sent by the first device 1 and the third device 3 may be different, for example: the first device 1 and the third device 3 may be configured as any two of a keyboard, a mouse, a camera, and a microphone, but not limited thereto, which can provide users with richer usage scenarios to meet the needs of users with different usage needs.
[0061] The above four configuration methods all set the first device 1, the second device 2 and the third device 3 as the interaction field, and the first device 1 and the third device 3 interact with the second device 2 to realize the functional expansion of the second device 2, but are not limited to this. The first device 1 and the third device 3 can also be other types of devices, for example: the first device 1 and the third device 3 can be a combination of any one of an interaction device and a storage device (such as a mobile hard disk, etc.), a processing device (such as an external graphics card, sound card, etc.) or a power supply device (such as a power bank, etc.) that provides functional expansion for the second device 2; or, it may not be limited to the interaction field, the first device 1 and the third device 3 can also provide functional expansion for the second device 2. The combination of any two of these combined storage devices, processing devices or power supply devices can realize the automatic selection or switching of the transmission mode of the third device 3 and the second device 2 while satisfying the user's requirements for device functional expansion, thereby improving transmission efficiency and user convenience.
[0062] Further, the execution subject of the processing method provided in this embodiment may be the first device 1, which obtains at least the first connection mode between the first device 1 and the second device 2 through the first device 1, and determines the transmission mode between the third device 3 and the second device 2. Based on this, the transmission mode between the third device 3 and the second device 2 in step 2 may be determined by sending a mode determination signal to the third device 3 through the first device 1. The mode determination signal enables the third device 3 to perform data transmission with the second device 2 in the determined transmission mode, that is, the third device 3 can determine whether to perform data transmission with the third device 3 in the first transmission mode or in the second transmission mode according to the mode determination signal, so as to realize automatic determination or switching of the transmission mode.
[0063] Alternatively, the execution subject of the processing method provided in this embodiment may also be the third device 3, and the third device 3 may obtain at least the first connection mode between the first device 1 and the second device 2 by connecting with the first device 1 and acquiring a preset signal, thereby determining or switching the transmission mode between the third device 3 and the second device 2;
[0064] Alternatively, the execution subject of the processing method provided in this embodiment may be the second device 2, and the second device 2 can obtain at least the first connection mode between the second device 1 and the first device 1 by connecting with the first device 1, so as to determine or switch the transmission mode between the third device 3 and the second device 2;
[0065] Alternatively, the execution subject of the processing method provided in this embodiment may be other devices except the first device 1, the second device 2 and the third device 3. As a processing device for executing the processing method, the processing device is connected to at least two devices among the first device 1, the second device 2 and the third device 3. For example, by connecting to the first device 1, at least the first connection mode of the first device 1 and the second device 2 can be obtained, and by connecting to the third device 3, the transmission mode of the third device 3 and the second device 2 can be determined or switched based on the first connection mode;
[0066] Specifically, the acquisition of the first connection mode and the acquisition of the signal can be achieved through a wired connection or wireless communication between devices, and can be acquired when the device is turned on and / or in real time during the operation of the device.
[0067] Furthermore, in order to determine the transmission mode of the third device 3 and the second device 2, the following processing strategies may be adopted:
[0068] The first processing strategy may be: determining the transmission mode of the third device 3 and the second device 2 according to the first connection mode. The first connection mode between the first device 1 and the second device 2 may include two types, namely: the first mode and the second mode, and the transmission parameters of the first mode are better than the transmission parameters of the second mode, and the transmission parameters here may refer to: transmission speed parameters, transmission bandwidth parameters, transmission delay parameters and / or transmission quality parameters, etc., and the better ones include: at least one of the advantages of high transmission speed, wide bandwidth, low delay, low packet loss rate and high QoS (Quality of Service);
[0069] The processing rules of the first processing strategy may be: if it is determined that the first connection mode between the first device 1 and the second device 2 is the first mode, then the transmission mode of the third device 3 and the second device 2 is determined to be the first transmission mode, that is, the mode in which the third device 3 and the second device 2 realize data transmission through the first device 1 is determined, which can improve the data transmission effect between the third device 3 and the second device 2; or, if it is determined that the first connection mode between the first device 1 and the second device 2 is the second mode, that is, it is not the better first mode, then the transmission mode of the third device 3 and the second device 2 is determined to be the second transmission mode, that is, the data transmission between the third device 3 and the second device 2 is not realized through the first device 1, so that better data transmission effect can be obtained without affecting the data transmission between the first device 1 and the second device 2; specifically, the above-mentioned first mode may be a wired connection mode through a data cable, a connector, etc., and the second mode may be a wireless connection mode such as wireless fidelity and Bluetooth, but is not limited to this.
[0070] The second processing strategy may be: determining the transmission mode of the third device 3 and the second device 2 based on the first transmission mode of the first device 1 and the second device 2, and the second transmission mode of the first device 1 and the third device 3. The obtaining of at least the first connection mode of the first device 1 and the second device 2 in the above step 1 may specifically include step 1.1: obtaining at least the first connection mode of the first device 1 and the second device 2, and the second connection mode of the first device 1 and the third device 3, wherein the obtaining of the first connection mode and the second connection mode includes a process of obtaining when the device is turned on, and / or a process of obtaining in real time during the operation of the device; based on this, the determining of the transmission mode of the third device 3 and the second device 2 by at least the first connection mode in the above step 2 specifically includes step 2.1: determining the transmission mode of the third device 3 and the second device 2 based on at least the first connection mode and the second connection mode. The first connection mode between the first device 1 and the second device 2 may include two types, namely: the first mode and the second mode, and the transmission parameters of the first mode are better than the transmission parameters of the second mode; the connection mode between the first device 1 and the third device 3 may be two types, namely: the third mode and the fourth mode, and the transmission parameters of the third mode are better than the transmission parameters of the fourth mode. The transmission parameters here may refer to: transmission speed parameters, transmission bandwidth parameters, transmission delay parameters and / or transmission quality parameters, etc., which are better than at least one of the advantages including: high transmission speed, wide bandwidth, low delay, low packet loss rate and high QoS (Quality of Service); specifically, the above-mentioned first mode may be a wired connection mode through a data cable, a connector, etc., the second mode may be a wireless connection mode such as wireless fidelity, Bluetooth, etc., the third mode may be a wired connection mode through a data cable, a connector, etc., and the fourth mode may be a wireless connection mode such as Bluetooth, but is not limited to this.
[0071] The second processing strategy may have multiple processing rules. Under the second control strategy, any of the following processing rules may be used to determine the transmission mode between the third device 3 and the second device 2:
[0072] The first processing rule may be: as long as the first connection mode and the second connection mode are not both selected as connection modes with better transmission parameters, the third device 3 and the second device 2 are determined to adopt the second transmission mode, that is, data transmission is not achieved through the first device 1. Specifically, if it is determined that the first connection mode of the first device 1 and the second device 2 is the first mode, and the second connection mode of the first device 1 and the third device 3 is the third mode, that is, it is determined that the first connection mode and the second connection mode are both selected connection modes with better transmission parameters, then the transmission mode of the third device 3 and the second device 2 is determined to be the first transmission mode to obtain a better transmission effect; if it is determined that the first connection mode of the first device 1 and the second device 2 is the first mode, and the second connection mode of the first device 1 and the second device 2 is the fourth mode, or, if it is determined that the first connection mode of the first device 1 and the second device 2 is the second mode, and the second connection mode of the first device 1 and the third device 3 is the third mode, or, it is determined that the first connection mode of the first device 1 and the second device 2 is the second mode, and the second connection mode of the first device 1 and the third device 3 is the fourth mode, that is, it is determined that at least one of the first connection mode and the second connection mode is not selected as a connection mode with better transmission parameters, then the transmission mode of the third device 3 and the second device 2 is determined to be the second transmission mode, that is, data transmission between the third device 3 and the second device 2 is directly realized without going through the first device 1, which can improve the output transmission effect between the third device 3 and the second device 2, and does not affect the data transmission effect between the first device 1 and the second device 2.
[0073] The second processing rule may be: as long as the first connection mode between the first device 1 and the second device 2 selects a connection mode with better transmission parameters, it is determined that the third device 3 and the second device 2 realize data transmission through the first transmission mode, that is, through the first device 1. Specifically: if it is determined that the first connection mode between the first device 1 and the second device 2 is the first mode, that is, the connection mode with better transmission parameters, no matter the second connection mode between the first device 1 and the third device 3 is the third mode or the fourth mode, the transmission mode of the third device 3 and the second device 2 is determined to be the first transmission mode, that is, data transmission is realized through the first device 1, so that the data transmission between the third device 3 and the second device 2 can be transmitted through a path with better transmission parameters to ensure the data transmission effect; if it is determined that the connection mode between the first device 1 and the second device 2 is the second mode, no matter the second transmission mode between the first device 1 and the third device 3 is the third mode or the fourth mode, the transmission mode of the third device 3 and the second device 2 is determined to be the second transmission mode, that is, data transmission is not realized through the first device 1. Since the connection mode between the first device 1 and the second device 2 is not the connection mode with the best transmission parameters, realizing data transmission between the second device 22 and the second device 2 through the first device 1 will increase the transmission burden of the path, and at the same time affect the data transmission effect between the first device 1 and the second device 2, and between the third device 3 and the second device 2.
[0074] The third processing rule may be: as long as the second connection mode between the first device 1 and the third device 3 is a connection mode with better transmission parameters, it is determined that the third device 3 and the second device 2 realize data transmission through the first transmission mode, that is, through the first device 1. If the second connection mode is determined to be the third mode, then no matter whether the first connection mode is the first mode or the second mode, the transmission mode between the third device 3 and the second device 2 is determined to be the first transmission mode, so that the data transmission between the third device 3 and the second device 2 can be realized by using the transmission path with better transmission parameters between the first device 1 and the third device 3, and the data transmission effect can be optimized; if the second connection mode between the first device 1 and the third device 3 is determined to be the fourth mode, then no matter whether the first connection mode between the first device 1 and the second device 2 is the first mode or the second mode, the transmission mode between the third device 3 and the second device 2 is determined to be the second transmission mode. Since the second connection mode does not adopt the connection mode with the best transmission parameters, it is determined that the data transmission between the third device 3 and the second device 2 is not realized through the first device 1, and the data transmission can be realized directly through the third device 3 and the second device 2 to achieve a better data transmission effect.
[0075] Further, when the second processing strategy is adopted, and the execution subject of the processing method provided in this embodiment is the first device 1, at least the first connection mode between the first device 1 and the second device 2, and the second connection mode between the first device 1 and the third device 3 can be obtained through the first device 1, and the transmission mode between the third device 3 and the second device 2 can be determined, and a mode determination signal can be sent to the third device 3 so that the third device 3 performs data transmission with the second device 2 in the determined transmission mode according to the mode determination signal, that is, the third device 3 can determine whether to perform data transmission with the third device 3 in the first transmission mode or in the second transmission mode according to the mode determination signal, so as to realize automatic determination or switching of the transmission mode;
[0076] Or, when the second processing strategy is adopted, and the execution subject of the processing method provided in this embodiment is the third device 3, the third device 3 can at least obtain the second connection mode between it and the first device 1, and can at least obtain the first connection mode between the first device 1 and the second device 2 by obtaining a preset signal from the first device, so as to determine or switch the transmission mode between the third device 3 and the second device 2;
[0077] Or, when the second processing strategy is adopted, and the execution subject of the processing method provided in this embodiment is the second device 2, the second device 2 can obtain at least the first connection mode between the second device 2 and the first device 1 by connecting with the first device 1, and can obtain the second connection mode between the first device 1 and the third device 3 by obtaining a preset signal from the first device 1, so as to determine or switch the transmission mode between the third device 3 and the second device 2;
[0078] Or, when the second processing strategy is adopted, and the execution subject of the processing method provided in this embodiment is other devices, as a processing device for executing the processing method, the processing device is connected to at least two devices among the first device 1, the second device 2 and the third device 3, for example: it can be connected to the first device 1 to achieve at least obtaining the first connection mode of the first device 1 and the second device 2, and it can be connected to the third device 3 to obtain at least the second connection mode of the first device 1 and the third device 3, and it can determine or switch the transmission mode of the third device 3 and the second device 2 based on the first connection mode;
[0079] Specifically, the above-mentioned acquisition of the first connection mode or the second connection mode, and the acquisition of the signal, can be achieved through a wired connection or wireless communication between devices, and can be acquired when the device is turned on, and / or in real time during the operation of the device.
[0080] Embodiment 2
[0081] Reference Figure 5 -Attached Figure 8, Embodiment 2 of the present application proposes an electronic device, which applies the above-mentioned processing method, and the electronic device includes: a first connecting device, a second connecting device and a processing component, the first connecting device and the second connecting device are respectively used to connect two other devices different from the electronic device, and the processing component applies the above-mentioned processing method to obtain at least the first connection mode of the first device 1 and the second device 2 in real time when the device is turned on and during operation, and determine the connection mode of the third device 3 and the second device 2 together with the first connection mode; the above-mentioned transmission mode includes at least two types, namely: a first transmission mode and a second transmission mode, wherein the first transmission mode is a mode in which the third device 3 and the second device 2 realize data transmission through the first device 1, and the second transmission mode is a mode in which the third device 3 and the second device 2 realize data transmission without passing through the first device 1.
[0082] Specifically, the electronic device provided in this embodiment may be a first device 1, the first connection device may be used to connect to the second device 2, the second connection device is used to connect to the third device 3, the first device 1 is used as the execution subject of the above-mentioned processing method, and includes a processing component. When the first processing strategy of the above-mentioned processing method is applied, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, or, when the second processing strategy of the above-mentioned processing method is applied, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, and the second connection mode of the first device 1 and the third device 3, and according to the first connection mode or the first connection mode and the second connection mode, a mode determination signal can be sent to the third device 3, so that the third device 3 can realize data transmission with the second device 2 in a determined transmission mode according to the mode determination signal;
[0083] Alternatively, the electronic device provided in this embodiment may also be a third device 3, the first connection device may be used to connect the first device 1, the second connection device may be used to connect the second device 2, the second device 2 is used as the execution subject of the above-mentioned processing method, and includes a processing component. When the first processing strategy of the above-mentioned processing method is applied, the processing component can obtain at least the first connection mode of the first device 1 and the second device 2 by obtaining a preset signal from the first device 1, or, when the second processing strategy of the above-mentioned processing method is applied, the processing component can obtain at least the second connection mode of the first device 1 and the third device 3, and can obtain at least the first connection mode of the first device 1 and the second device 2 by obtaining a preset signal from the first device 1, so that the transmission mode of the third device and the second device can be determined according to the first connection mode or the first connection mode and the second connection mode;
[0084] Alternatively, the electronic device provided in this embodiment may also be a second device 2, the first connection device and the second connection device are used to connect the first device 1 and the third device 3 respectively, and the second device 2 is used as the execution subject of the processing method, which includes a processing component. When the first processing strategy of the above processing method is applied, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, or, when the second processing strategy of the above processing method is applied, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, and can obtain the second connection mode of the first device 1 and the third device 3 from the first device 1 by obtaining a preset signal from the first device 1, so that the transmission mode of the third device and the second device can be determined according to the first connection mode or the first connection mode and the second connection mode;
[0085] Alternatively, the electronic device provided in this embodiment may also be other devices in addition to the first device 1, the second device 2 and the third device 3. The first connecting device and the second connecting device are used to connect any two of the first device 1, the second device 2 and the third device 3. Taking the first connecting device and the second connecting device as an example, which are respectively used to connect the first device 1 and the third device 3, when the first processing strategy of the above-mentioned processing method is applied, by connecting with the first device, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, or, when the second processing strategy of the above-mentioned processing method is applied, the processing component can at least obtain the first connection mode of the first device 1 and the second device 2, and by connecting with the third device 3, the processing component can also at least obtain the second connection mode of the first device 1 and the third device 3, so that the transmission mode of the third device and the second device can be determined according to the first connection mode or the first connection mode and the second connection mode.
[0086] Further, the following description takes the electronic device as the first device 1 as an example. In a specific implementation, the above-mentioned first connection device may include: a first connection component and a second connection component, both used to connect the second device 2, the way of connecting the second device 2 through the first connection component is the first way, the way of connecting the second device 2 through the second connection component is the second way, the first connection mode includes the first mode and the second mode, and the transmission parameters of the first mode are better than the transmission mode of the second mode; the above-mentioned second connection device may include: a third connection component and a fourth connection component, both used to connect the third device 3, the way of connecting the third device 3 through the third connection component is the third mode, the way of connecting the third device 3 through the fourth connection component is the fourth mode, the second connection mode includes the third mode and the fourth mode, and the transmission parameters of the third mode are better than the transmission parameters of the fourth mode; the above-mentioned transmission parameters may refer to: transmission speed parameters, transmission bandwidth parameters, transmission delay parameters and / or transmission quality parameters, etc., which are better than at least one of the advantages including: high transmission speed, wide bandwidth, low delay, low packet loss rate and high QoS (Quality of Service).
[0087] Furthermore, in a specific implementation, the processing component of the first device 1 can determine the transmission mode of the third device 3 and the second device 2 only through the first connection mode between the first device 1 and the second device 2; or, the processing component can also determine the transmission mode of the third device 3 and the second device 2 through the first connection mode between the first device 1 and the second device 2, and the second connection mode between the first device 1 and the third device 3, specifically: the processor is used to obtain at least the first connection mode of the first device 1 and the second device 2, and the second connection mode of the first device 1 and the third device 3 in real time when the device is turned on and / or during operation, and determine the transmission mode of the third device 3 and the second device 2 based on at least the first connection mode and the second connection mode.
[0088] For further information, see Attachment Figure 5 -Attached Figure 8In a specific implementation, the structure of the first device 1 also includes: a first body 11 and a second body 12, wherein the first body 11 has an output device capable of outputting output data from the second device 2, and the second body 12 is rotatably connected to the first body 11. By rotatably connecting the second body 12 to the first body 11, the first body 11 and the second body 12 can have at least two states and can switch between the two states, one of which is that the second body 12 is located on the same side of the output device, and the other is that the second body 12 is located on the opposite side of the output device; specifically, the above-mentioned first connecting component can be arranged on the side of the first body 11 or the side of the second body 12, the second connecting component can be arranged inside the first body 11, the third connecting component can be arranged at the end of the second body 12 away from the first body 11, and the fourth connecting component can be arranged inside the second body 12. The second connecting component and the fourth connecting component can be the same component, or can also be different components.
[0089] Specifically, the following is a description of the first device 1, the second device 2, and the third device 3 being applied to the interactive field, and the first device 1 being an output device, the third device 3 being an input device, and further, the first device 1 being a display device, the first body 11 being a display, the second body 12 being a base, the third device 3 being a combination of a keyboard and a touchpad (hereinafter referred to as a keyboard), and the second device 2 being any one of a mobile phone, a tablet computer, or a laptop computer. Figure 5 -Attached Figure 8 The display and the base can be connected by a hinge assembly, which can achieve 360-degree rotation. When the base is rotated to the side away from the display surface of the display, it can be used to support the display (refer to the attached Figure 5 ), which can improve the comfort of users viewing the display, and when the base is rotated to be on the same side as the display surface of the display, a third device 3, i.e. a keyboard, can be connected for use. The size of the base and the keyboard combined is the same as the size of the display, which can form an appearance similar to that of the basic computer (see attached Figure 6 ), after rotating the monitor so that it is folded in contact with the base and keyboard (refer to the attached Figure 7 ), which can protect the display and improve the portability of the device; the base and the third device 3 are detachably connected, and the base and the keyboard can be connected by wire when the two are installed. Specifically, the connection can be achieved by using a pogo pin connector, which is convenient for users to use and can improve the appearance of the combined device; the specific connection structure of the base and the third device 3 can be referred to in the attached Figure 8Specifically, a plurality of grooves 121 may be provided on the side of the base, a plurality of protrusions 31 corresponding to and adapted to the plurality of grooves 121 may be provided on the corresponding side of the keyboard, and magnetic strips 32 corresponding in position and mutually attracted to each other may be provided between the plurality of grooves 121 and between the plurality of protrusions 31, so that the base is connected to the third device 3 by the engagement of the protrusions 31 with the grooves 121 and the magnetic attraction between the magnetic strips 32. Of course, the connection between the first device and the third device 3 is not limited to the above-mentioned structure and the above-mentioned setting method, and connection methods such as elastic hooks may also be adopted, which are not described one by one here. After the base is connected to the third device 3, the user may conveniently input characters or commands by operating the keyboard, and may control the second device 2, thereby improving the user experience.
[0090] Specifically, the first method mentioned above can be a wired connection method using a data cable connection, the second method can be a wireless connection method, and specifically a 2.4 / 5G dual-band module can be configured in the device, which can support Miracast (screen mirroring), Airplay (air playback), DLNA (Digital Living Network Alliance) protocol, and the third connection method can be a connection method using a pogo pin connector (refer to the attached Figure 8 ) to achieve data transmission and power transmission, the fourth connection method can be a wireless connection method using Bluetooth connection.
[0091] Furthermore, in a specific implementation, the first device 1 also includes a battery assembly, which is arranged in the first device 1 and can at least power the first device 1, and the first device 1 also includes an interface for connecting a power source; the third device 3 may also include a battery assembly, which is used to power the third device 3 body; the processing component of the first device 1 is also used to control the charging strategy of the first device 1 according to the device connected to the first device 1, for example: when the power supply or device connected to the first device 1 can meet the power supply requirement of the first device 1, and the second connection device connecting the first device 1 and the third device 3 can be used to transmit power, the first body 11 of the first device 1, the battery assembly and the third device 3 are all powered by the power supply or device connected to the first device 1; when the power supply or device connected to the first device 1 can meet the power supply requirement of the first device 1, and the second connection device connecting the first device 1 and the third device 3 cannot transmit power. When transmitting power, the first body 11 and the battery assembly of the first device 1 are powered by the power supply or device connected to the first device 1, and the third device 3 is powered by its own battery assembly; when the power supply or device connected to the first device 1 cannot meet the power supply requirement of the first device 1, and the second connecting device connecting the first device 1 and the third device 3 can be used to transmit power, the first body 11 of the first device 1 and the third device 3 are powered by the power supply or device connected to the first device 1, and the battery assembly of the first device 1 is not charged; when the power supply or device connected to the first device 1 cannot meet the power supply requirement of the first device 1, and the second connecting device connecting the first device 1 and the third device 3 cannot transmit power, the first body 11 of the first device 1 is powered by the power supply or device connected to the first device 1, the battery assembly of the first device 1 is not charged, and the third device 3 is powered by its own battery assembly.
[0092] It should be noted that in the description of this specification, the terms "upper", "lower", etc. indicate the orientation or position relationship based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application; the terms "connect", "install", "fixed", etc. should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0093] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0094] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A processing method comprising: At least obtain a first connection mode between the first device and the second device; Determine, at least based on the first connection mode, one of the transmission modes of the third device and the second device that is superior to the other transmission modes; Among them, the transmission mode includes at least a first transmission mode and a second transmission mode, the first transmission mode is a mode in which the third device and the second device realize data transmission through the first device, and the second transmission mode is a mode in which the third device and the second device realize data transmission without passing through the first device.
2. The processing method according to claim 1, wherein: Determining the transmission mode of the third device and the second device at least according to the first connection mode includes: If it is determined that the first connection mode is the first mode, determining that the transmission mode of the third device and the second device is the first transmission mode; If it is determined that the first connection mode is the second mode, determining that the transmission mode of the third device and the second device is the second transmission mode; The first connection mode includes the first mode and the second mode, and transmission parameters of the first mode are superior to transmission parameters of the second mode.
3. The processing method according to claim 1, wherein: Determining the transmission mode of the third device and the second device also includes: A mode determination signal is sent to the third device, wherein the mode determination signal enables the third device to implement data transmission according to the determined transmission mode.
4. The processing method according to claim 1, wherein: Obtaining at least a first connection mode between the first device and the second device includes: obtaining at least the first connection mode between the first device and the second device, and a second connection mode between the first device and the third device; Determining the transmission mode of the third device and the second device at least according to the first connection mode includes: determining the transmission mode of the third device and the second device at least according to the first connection mode and the second connection mode.
5. The processing method according to claim 4, wherein: Determining the transmission mode of the third device and the second device at least according to the first connection mode and the second connection mode includes: If it is determined that the first connection mode is the first mode and the second connection mode is the third mode, determining that the transmission mode of the third device and the second device is the first transmission mode; If it is determined that the first connection mode is the first mode and the second connection mode is the fourth mode, then determining that the transmission mode between the third device and the second device is the second transmission mode; If it is determined that the first connection mode is the second mode and the second connection mode is the third mode, determining that the transmission mode of the third device and the second device is the second transmission mode; If it is determined that the first connection mode is the second mode and the second connection mode is the fourth mode, then determining that the transmission mode of the third device and the second device is the second transmission mode; The first connection mode includes the first mode and the second mode, and the transmission parameters of the first mode are superior to the transmission parameters of the second mode; The second connection mode includes the third mode and the fourth mode, and transmission parameters of the third mode are superior to transmission parameters of the fourth mode.
6. The processing method according to claim 1, wherein: The first device is a device capable of obtaining and outputting output data from the second device; and the third device is a device capable of generating and sending input data to the second device.
7. An electronic device comprising: The first connecting device and the second connecting device are respectively used to connect to different other devices; a processing component, configured to obtain at least a first connection mode between the first device and the second device, and determine, at least based on the first connection mode, one of the transmission modes of the third device and the second device that is superior to the other transmission modes; Among them, the transmission mode includes at least a first transmission mode and a second transmission mode, the first transmission mode is a mode in which the third device and the second device realize data transmission through the first device, and the second transmission mode is a mode in which the third device and the second device realize data transmission without passing through the first device.
8. The electronic device according to claim 7, wherein: The electronic device is the first device, the first connecting device is used to connect with the second device, and the second connecting device is used to connect with the third device.
9. The electronic device according to claim 7, wherein: The first connection device includes: a first connection component and a second connection component, the first connection mode includes a first mode of connecting the second device through the first connection component and a second mode of connecting the second device through the second connection component, and a transmission parameter of the first mode is superior to a transmission parameter of the second mode; The processing component is used to obtain at least a first connection mode between the first device and the second device, and determine, at least based on the first connection mode, one of the transmission modes of the third device and the second device that is superior to the other transmission modes; or, The first connection device comprises: a first connection component and a second connection component, the first connection mode comprises a first mode connected through the first connection component and a second mode connected through the second connection component, and a transmission parameter of the first mode is superior to a transmission parameter of the second mode; The second connection device includes: a third connection component and a fourth connection component, the second connection mode includes a third mode connected through the third connection component and a fourth mode connected through the fourth connection component, and a transmission parameter of the third mode is superior to a transmission parameter of the fourth mode; The processing component is used to obtain at least a first connection mode between the first device and the second device, and a second connection mode between the first device and the third device, and determine a transmission mode between the third device and the second device based on at least the first connection mode and the second connection mode.
10. The electronic device according to claim 9, wherein: The electronic device further comprises: A first body having an output device capable of outputting output data from the second device; A second body, rotatably connected to the first body; Wherein, the third connecting component is arranged at an end of the second body away from the first body; The third device can be used to generate input data for the second device.
Citation Information
Patent Citations
Method and apparatus for controlling speaker of electronic device
WO2017166684A1