CN117675994A - Device connection method and electronic device - Google Patents

Device connection method and electronic device Download PDF

Info

Publication number
CN117675994A
CN117675994A CN202311624070.XA CN202311624070A CN117675994A CN 117675994 A CN117675994 A CN 117675994A CN 202311624070 A CN202311624070 A CN 202311624070A CN 117675994 A CN117675994 A CN 117675994A
Authority
CN
China
Prior art keywords
input
interface
electronic device
identifier
application
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
CN202311624070.XA
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311624070.XA priority Critical patent/CN117675994A/en
Publication of CN117675994A publication Critical patent/CN117675994A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a device connection method and electronic equipment, and belongs to the technical field of communication. The method is performed by a first electronic device, the method comprising: receiving a first input while the first interface is displayed; displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface; receiving a second input; in response to the second input, a first target device of the at least one second electronic device is connected.

Description

Device connection method and electronic device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a device connection method and electronic equipment.
Background
Currently, with the great popularity of electronic devices, the electronic devices are not limited to mobile phones, computers, and the like, and in daily life, users can use more various electronic devices such as headphones, sports watches, and the like. In general, in order to improve the use efficiency of devices, a user may use a plurality of devices at the same time, and the plurality of devices may be connected through bluetooth, so that the user may control one device to control the plurality of devices.
In daily use, if a user wants to connect one device with another device, the user needs to open a setting page in the device, find related connection options in the setting page, click on the connectable device option after entering the corresponding page, and complete the connection of the devices. When the user needs to switch the connection equipment, the user needs to exit the page of the current operation, repeatedly open the setting page, and perform the subsequent operation steps, thus the operation is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a device connection method which can solve the problem of complicated operation steps of connecting devices.
In a first aspect, an embodiment of the present application provides a device connection method, performed by a first electronic device, including: receiving a first input while the first interface is displayed; displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface; receiving a second input; in response to the second input, a first target device of the at least one second electronic device is connected.
In a second aspect, embodiments of the present application provide a first electronic device, including: the first receiving module is used for receiving a first input under the condition that a first interface is displayed; a first display module for displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface; a second receiving module for receiving a second input; and a first linking module for connecting a first target device of the at least one second electronic device in response to the second input.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, in the process of using the electronic device, if a user wants to connect with the external device, performing first input based on a first interface currently displayed on a screen, responding to the first input, determining a device type having an association relationship with display content of the first interface according to display content of the first interface, and identifying at least one connectable second electronic device belonging to the device type, thereby displaying a first identifier for indicating the at least one second electronic device; the user may then make a second input to trigger a shortcut connection to a first target device of the at least one second electronic device based on the displayed first identification. Therefore, in the embodiment of the application, after the user performs simple operation, the identifier corresponding to the connectable other electronic devices suitable for the current scene can be displayed, so that the user can quickly connect the other electronic devices without returning to the desktop interface for a series of operations, and then manually selecting to connect the external devices, thereby simplifying the operation steps of the user.
Drawings
FIG. 1 is a flow chart of a device connection method of an embodiment of the present application;
FIG. 2 is one of the display schematic diagrams of the first electronic device according to the embodiment of the application;
FIG. 3 is a second schematic display diagram of the first electronic device according to the embodiment of the present application;
FIG. 4 is a third schematic display diagram of the first electronic device according to the embodiment of the present application;
FIG. 5 is a fourth schematic display diagram of the first electronic device according to the embodiment of the present application;
FIG. 6 is a fifth schematic display diagram of a first electronic device according to an embodiment of the present application;
FIG. 7 is a sixth schematic display diagram of the first electronic device according to the embodiment of the present application;
FIG. 8 is a seventh schematic display diagram of the first electronic device according to the embodiment of the present application;
FIG. 9 is a schematic illustration of a display of a first electronic device according to an embodiment of the present application;
FIG. 10 is a ninth schematic display diagram of a first electronic device according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a display of a first electronic device according to an embodiment of the present application;
FIG. 12 is an eleventh view of a display schematic of a first electronic device according to an embodiment of the present application;
FIG. 13 is a diagram showing a first electronic device according to an embodiment of the present application;
FIG. 14 is a block diagram of a first electronic device of an embodiment of the present application;
Fig. 15 is one of the hardware configuration diagrams of the electronic device according to the embodiment of the present application;
fig. 16 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions of embodiments of the present application will be clearly described below with reference to the accompanying drawings of embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application are within the scope of the protection of the present application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
The device connection method provided by the embodiment of the application is described in detail below through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a device connection method according to one embodiment of the present application is shown, in which the method is performed by a first electronic device, the method includes:
step 110: in the case of displaying the first interface, a first input is received.
In some embodiments of the present application, the first input is used to trigger to acquire display content of the first interface, so as to display the first identifier according to the display content of the first interface. The first input may be a first operation. Illustratively, the first input includes, but is not limited to: the user inputs the control on the screen, the touch control on the screen area, or the voice command input by the user, or the specific gesture input by the user, or other feasibility inputs through a touch control device such as a finger or a stylus, and the embodiment of the invention is not limited. The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
For example, the first input may be: when the screen displays an interface of a certain music player, the user wants to connect to the bluetooth headset at this point in time to desire to play music through the bluetooth headset, at which time the user presses the screen with three fingers simultaneously to slide left or presses the screen with three fingers to slide right.
In some embodiments, the first interface is an interface of an application program, and the display content is an application interface of the application program; in some embodiments, the first interface is a desktop interface, and the display content is an icon of an application program.
Step 120: in response to the first input, a first identification is displayed.
The first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface.
In this step, the device type of the second electronic device has an association relationship with the display content in the first interface.
The explanation of the association relationship may be that an application type to which each application program in the electronic device belongs is preset, for example, common application types include a remote collaborative application type, an audio application type, an internet of things application type, and a sports application type. In particular, music players are of the audio application type. Similarly, device types are preset for various electronic devices, for example, common device types include remote cooperative device type, audio device type, internet of things device type, and sports device type. Specifically, the bluetooth headset belongs to the type of audio equipment; sports watches are of the sports equipment type. When the device type of a certain device is matched with the application type of a certain application program, the device type and the application program are considered to have an association relation; further, the device type has an association relationship with the content in the application.
In addition, the finer explanation of the association relationship may be that certain data in a certain application program needs to be output by a device matching the data format, and then the type of the device and the data have an association relationship, wherein the data is display content.
In some embodiments the first identity is an information carrier, in particular a control.
Step 130: a second input is received.
In some embodiments of the present application, the second input is configured to select a first target device of the at least one second electronic device to be manually connected based on a first identification of the at least one second electronic device that is displayed. The second input may be a second operation. Illustratively, the second input includes, but is not limited to: the user inputs the control on the screen, the touch control on the screen area, or the voice command input by the user, or the specific gesture input by the user, or other feasibility inputs through a touch control device such as a finger or a stylus, and the embodiment of the invention is not limited. The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
For example, the second input may be: and the user selects a second electronic device corresponding to one of the first identifications as the first target device.
Step 140: in response to the second input, a first target device of the at least one second electronic device is connected.
In this step, the first electronic device connects to the first target device.
In some embodiments, if the first target device is a historically connected electronic device, the first target device may be directly connected; if the first target device is a device that has not been connected in history, the first target device may be connected based on a pairing request between devices or the like.
In the embodiment of the application, in the process of using the electronic device, if a user wants to connect with the external device, performing first input based on a first interface currently displayed on a screen, responding to the first input, determining a device type having an association relationship with display content of the first interface according to display content of the first interface, and identifying at least one connectable second electronic device belonging to the device type, thereby displaying a first identifier for indicating the at least one second electronic device; the user may then make a second input to trigger a shortcut connection to a first target device of the at least one second electronic device based on the displayed first identification. Therefore, in the embodiment of the application, after the user performs simple operation, the identifier corresponding to the connectable other electronic devices suitable for the current scene can be displayed, so that the user can quickly connect the other electronic devices without returning to the desktop interface for a series of operations, and then manually selecting to connect the external devices, thereby simplifying the operation steps of the user.
In a device connection method of another embodiment of the present application, the second input includes a first sub-input and a second sub-input.
In the flow of the present embodiment, step 140 includes:
substep A1: at least one device identification is displayed in response to a first sub-input to the first identification.
In this embodiment, the first identifier is used to indicate a device type that includes at least one second electronic device.
In this step, the first sub-input is used to trigger at least one device identity connectable under the device type for which the first identity indication is displayed.
Wherein one device identification is used to indicate one second electronic device.
For example, a first identifier for indicating the type of the sports device is displayed, and the first sub-input may be clicking the first identifier, displaying the device identifier of the sports wristband and the device identifier of the sports watch.
Substep A2: in response to a second sub-input to a first device identification of the at least one device identification, a first target device indicated by the first device identification is connected.
In this step, the second sub-input is used to operate a first device identification indicating the first target device to trigger a connection to the first target device.
For example, the second sub-input may be a user clicking a device identifier of the sports wristband or a device identifier of the sports watch.
Wherein the at least one second electronic device comprises the first target device.
In this embodiment, based on at least one external electronic device connectable to the current first electronic device, the device type having an association relationship with the display content is found in combination with the display content in the first interface, and then the user selects the second electronic device under the type. Therefore, the embodiment can intelligently provide the external equipment suitable for the current scene for the user, and operation steps of the user are saved.
In the flow of the device connection method according to another embodiment of the present application, after step 110, the method further includes:
step B1: in response to the first input, a second identification is displayed, the second identification indicating at least one second electronic device of a device type different from the at least one second electronic device indicated by the first identification.
In this embodiment, the display content in the first interface has an association relationship with a plurality of device types, for example, a certain display content is an icon of an application program or an application interface of an application program, and the application program or the application interface has an association relationship with a plurality of device types; for another example, one display content in the first interface is an icon of an application program or an application interface of an application program, the application program or the application interface has an association relationship with one device type, and the other display content in the first interface is an icon of an application program or an application interface of an application program, the application program or the application interface has an association relationship with another device type.
For example, icons of a plurality of application programs are included in the first interface, one application program belongs to an audio type application, and the other application program belongs to a motion type application; as another example, an icon of an application program included in the first interface belongs to both the audio type application and the motion type application.
Thus, in this step, a first identification is displayed, the first identification being used to indicate a device type; while displaying a second identifier indicating another device type.
For example, referring to fig. 2, at least one identifier is displayed in one-to-one correspondence with at least one device type, including: an identifier 201 corresponding to the type of the audio device, an identifier 202 corresponding to the type of the internet of things device, an identifier 203 corresponding to the type of the sports device, and an identifier 204 corresponding to the type of the remote collaborative device. Wherein the first identifier and the second identifier are illustratively any two of the four identifiers described above.
Wherein the second identifier in this embodiment has the same function as the first identifier, as is similarly supported for receiving the second input.
For example, referring to fig. 3, taking the identifier corresponding to the type of the sports equipment as the first identifier, the user clicks the first identifier to display at least one equipment identifier under the type of the sports equipment, including: a device identification 301 of the sports wristband and a device identification 302 of the sports watch; referring to fig. 4, taking the identifier corresponding to the audio device type as the second identifier, the user clicks the second identifier, and at least one device identifier under the audio device type is displayed, including: device identification 401 of music device 1, device identification 402 of music device 2, device identification 403 of music device 3, and device identification 404 of music device 4.
In some embodiments, in order to facilitate the user to clearly understand the association relationship between the device type indicated by the identifier and the display content, referring to fig. 2, when the user triggers the identifier 201 corresponding to the audio device type, the display content having the association relationship between the identifiers 201 corresponding to the audio device type is highlighted, such as highlighting an icon of a video editing application, shaking display, and the like. In this way, when the user triggers the first identifier or the second identifier, it can be clear which display contents in the first interface can be output by the second electronic device indicated by the different identifier.
In this embodiment, the types of devices having an association relationship with the display content in the first interface are more than one, and different types of external devices may output different display contents, so that a user may select a device type first and then select a connectable device under the device type in combination with the display content in the first interface and own expectations. Therefore, the method and the device intelligently push connectable equipment classification for the user, and simplify operation steps of the user.
In another embodiment of the present application, after displaying the first identifier and displaying the second identifier, the method further includes:
Step C1: a third input is received of the first content or the target identification in the first interface.
Wherein the target identification comprises at least one of: the first mark and the second mark.
Step C2: and responding to the third input, and establishing the association relation between the application program or the application interface indicated by the first content and the second electronic equipment indicated by the target identifier.
In some embodiments of the present application, the third input is used to manually establish an association relationship between the first content in the first interface and the second electronic device indicated by the target identifier, where the application program is associated with the second electronic device when the first content indicates the application program, and the application interface is associated with the second electronic device when the first content indicates the application interface. The third input may be a third operation. Illustratively, the third input includes, but is not limited to: the user inputs the control on the screen, the touch control on the screen area, or the voice command input by the user, or the specific gesture input by the user, or other feasibility inputs through a touch control device such as a finger or a stylus, and the embodiment of the invention is not limited. The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
For example, the third input may be that the user drags the first content in the first interface to the first identifier or the second identifier for a long time. Wherein the first content may be an icon of an application program, the first content indicating the application program; the first content may also be an application interface of the application program, the first content indicating the application interface.
In some embodiments, the target logo displays a special effect, such as highlighting, when the user manually drags the first content to the target logo.
In some embodiments, the system stores the input result of the third input, and in a subsequent scenario, retains an association relationship between the first content and the second electronic device indicated by the target identifier.
In an application scenario of the embodiment, for example, based on intelligent processing of a system, running data in the first interface is output by a sports type device by default, for example, displayed in a sports watch; and based on the user making a third input, running data in the first interface may be altered to be output by an audio type device, such as in a bluetooth headset. In another example of an application scenario of this embodiment, based on intelligent processing of the system, it cannot be determined by which type of device a certain data in the first interface can be output, and then the user can manually determine one of the types of devices.
In the embodiment, on the basis of intelligently establishing the association relationship between the identifier and the display content, the association relationship is also supported to be manually changed by the user, so that the system can establish the association relationship according to the wish of the user, and the external equipment is controlled to output data according to the wish of the user, thereby meeting the use requirement of the user.
In the flow of the device connection method according to another embodiment of the present application, in the case that the first interface is an application interface of the first application program, step 120 includes:
substep D1: a first identification associated with an application type of the first application program is displayed.
In the step, the first interface is an application interface of the first application program, so that the equipment type matched with the application type is determined according to the application type of the first application program, and a first identifier is displayed, wherein the first identifier is used for indicating at least one second electronic equipment under the equipment type.
For example, referring to fig. 5, the first interface is a lyrics display interface 501 of a song of a music player, and the first identifier is used to indicate the type of audio device since the music player belongs to the audio type application.
In some embodiments, the application programs are divided into four application types of remote collaboration, audio, internet of things and sports according to functions and the like of a large number of application programs at present; dividing the electronic equipment into four equipment types of remote collaboration, audio, internet of things and sports according to functions and the like of a large number of electronic equipment at present; and when the application type is consistent with the device type, the interface of the application program is considered to have an association relationship with the device type.
For example, the bluetooth headset is an audio type device, and the music player is an audio type application, so that an application interface of the music player has an association relationship with the bluetooth headset.
In the application scenario of the embodiment, for example, during the period that the user uses a certain type of application program, the connectable device of the same type can be directly screened out for the user, so that the connectable device is suitable for the current scenario.
In this embodiment, according to the type of the application program, connectable external devices of the same type are matched for the currently displayed interface of the application program, so that the scene of device connection is intelligent, and the user operation steps are simplified.
In various embodiments of the present application, the second target device, or a greater number of target devices, may also be selected simultaneously based on the user selecting the first target device.
For example, in the case of displaying at least one device identifier, the user presses the screen for a long time, so that the at least one device identifier enters an optional state, for example, see fig. 6, in which a box symbol 601 is displayed at each device identifier, and the user can click on the box symbols 601 at a plurality of device identifiers in sequence, so that the first electronic device connects a plurality of target devices at the same time.
In various embodiments of the present application, after displaying the first and second identifiers, and where the first and second identifiers are used to indicate a device type, the user may select the first and second identifiers at the same time, or a greater number of identifiers.
For example, referring to fig. 2, two fingers of a user respectively press the identifier 201 corresponding to the audio device type and the identifier 202 corresponding to the internet of things device type for a long time, and then the two fingers point to the middle to slide close to each other, referring to fig. 7, so that at least one device identifier under the audio device type and at least one device identifier under the sports device type are displayed.
In the flow of the device connection method according to another embodiment of the present application, after step 140, the method further includes the steps of:
and displaying an interface of the first target device in the first electronic device in a screen projection mode.
For example, referring to fig. 8, after the first electronic device connects to the sports watch, a screen window is established in the screen of the first electronic device, the screen window being used to display a watch dial 801 of the sports watch.
In this embodiment, if the first target device has a display function, the first electronic device may further display an interface of the first target device, so that the user may control the connected first target device in the first electronic device, and a step of switching between the first electronic device and the first target device by the user is omitted.
In the flow of the device connection method according to another embodiment of the present application, after step 140, the method includes:
step E1: and disconnecting the connection with the first target device in the case of displaying the second content which does not have the association relationship with the first target device.
For the interpretation of the association, in addition to the type of the display content matching the device type of the first target device, the display content is bound to the first target device, and in this step, the second content does not have an association with the first target device, that is, at least one of the following is satisfied: the type of the second content does not match the device type of the first target device, and the second content is unbound to the first target device.
Step E2: and reconnecting the first target device in case of displaying the third content having the association relationship with the first target device.
In this step, for the explanation of the association relationship, in addition to the type of the third content being identical to the device type of the first target device, the third content is bound with the first target device.
In this embodiment, a method of manually binding display content with a first target device is provided.
For example, the binding is input in the following manner, referring to fig. 9, the user pushes the device identifier 901 of the bluetooth headset down to the designated area 10001 shown in fig. 10, triggers to display all audio types of display contents in the first interface, referring to fig. 11, such as an icon 1101 of a music application (Applications, app) 1, an icon 1102 of a music app2, an icon 1103 of a long video app1, and an icon 1104 of a long video app2, and clicks at least one icon by the user to bind the application indicated by the icon to the bluetooth headset.
In this embodiment, a method for automatically binding display content with a first target device is also provided.
For example, based on the display content in the first interface, the first identifier is displayed, and when the user selects the first target device based on the first identifier, the first target device is bound with the display content indicated by the first identifier in the first interface by default.
Thus, on the one hand, if the second content does not have an association relationship with the first target device, when the first electronic device displays the second content, the connection with the first target device is automatically disconnected. On the other hand, if the third content has an association relationship with the first target device, when the first electronic device displays the third content, the first target device is automatically connected.
For example, when the user connects the first target device based on the icons of the application programs in the first interface or the application interfaces in the first interface, the first electronic device automatically connects the first target device only when the application interfaces indicated by the icons of the application programs or the application interfaces in the first interface are displayed, otherwise, the connection with the first target device is disconnected.
For another example, the first electronic device may automatically connect to the first target device only when the application interface indicated by the icon of the bound application program or the bound application interface in the first interface is displayed, or may disconnect from the first target device.
In further embodiments, on the basis of the association relationship between the third content and the first target device, if the first input of the user is received while the third content is displayed, the first target device may be automatically connected.
In this embodiment, a method for automatically controlling connection between a first target device and a first electronic device in the case that a display content in a first interface has an association relationship with the first target device is provided, so as to achieve automatic connection and automatic disconnection between the first electronic device and the first target device. The user can control the device to be output by different external devices according to the characteristics of different contents, and the user does not need to frequently connect and disconnect the device based on different current display contents, so that the user operation is simplified while the personalized requirements of the user are met; meanwhile, the management of external equipment can be realized, and the effectiveness and safety of equipment connection are improved.
In a flow of the device connection method according to another embodiment of the present application, step 110 includes at least one of the following:
substep F1: in the case of displaying a desktop, a screenshot input to the desktop is received.
In some embodiments, in the case of displaying the desktop, the display content includes at least one icon of an application program, and after the user inputs a screenshot on the desktop, according to the generated screenshot, the icon of each application program in the screenshot is used as the display content, so as to identify a device type consistent with the application type of each application program.
For example, referring to FIG. 2, in the case of a display desktop, a desktop screenshot 205 is generated.
Substep F2: and receiving screenshot input of the second application interface under the condition that the second application interface of the second application program is displayed.
In some embodiments, the second application may be the same application as the first application in the previous embodiments, or may be a different application.
In the step, under the condition that a second application interface of the second application program is displayed, after the user inputs the screenshot of the second application interface, the interface in the screenshot is used as display content according to the generated screenshot, so that the type of the device matched with the display content of the second application interface is identified.
In some embodiments, to distinguish between the normal screenshot function and the quick connect external device function, see fig. 12, after the screenshot 1201 is generated, the screenshot 1201 automatically zooms out while the screen display device is connected to the proposed hover sphere 1202, and the user may select to drag the screenshot 1201 into the hover sphere 1202, triggering the display of the first identifier. Otherwise, if the operation of the user is not detected within the preset time length, for example, 1s, the screenshot is automatically saved and no other processing is performed.
In some embodiments, in order to distinguish a normal screenshot function from a shortcut connection external device function, trigger gestures of different functions are different, further, in the shortcut connection external device function, after a screenshot is generated, the screenshot automatically slides into the suspension ball, then the suspension ball also moves into an animation, the animation effect is that the suspension ball is enlarged from the position of the suspension ball to the whole screen, and then the first mark is displayed.
In this embodiment, a method for triggering a quick connection to an external device by a screenshot input mode is provided, so that a device connection function is triggered by an input mode used by a user, and user operation is further simplified.
In the flow of the device connection method of another embodiment of the present application, when the first screenshot has an association relationship with the second target device and the second screenshot has an association relationship with the third target device, the method further includes:
Step G1: and connecting the second target device under the condition that an interface with the association relation with the content in the first screenshot is displayed.
Step G2: and connecting a third target device under the condition that an interface with the association relation with the content in the second screenshot is displayed.
In the application scenario of this embodiment, for example, a user establishes a folder for an icon of a related application program, so that multiple folders may be established, and the user opens each folder in turn, and triggers the generation of a screenshot of each folder, for example, see fig. 13, to generate a screenshot 1301, a screenshot 1302, and a screenshot 1303. Then, according to the content in each screenshot, integrating all connectable devices, and the user can bind the devices with the screenshot so that the screenshot has an association relationship with the devices.
In some embodiments, when the content in one screenshot has an association relationship with a certain device type, the background colors of the screenshot and the identifier indicating the device type may be set to be the same, or in other display manners, so that the user can conveniently determine which screenshot can be bound with which device type.
Based on the above, when an interface having an association relation with the content in the screenshot is displayed, for example, when an application interface of an application program indicated by an icon of the application program in the screenshot is displayed, or when the application interface in the screenshot is displayed, the target device bound based on the screenshot is automatically connected; and otherwise, when an interface with an association relation with the content in the screenshot is not displayed, automatically disconnecting the target equipment bound with the screenshot.
In some embodiments, the present embodiments are applicable to the collation of applications. For example, generating a screenshot based on an icon of a portion of an audio type application, binding an audio type device; and generating a screenshot based on the icon of the other part of the audio type application program, and binding the other audio type device.
In some embodiments, the present embodiment is also applicable to the arrangement of application interfaces of application programs. For example, for one application, different application interfaces may bind different target devices.
In some embodiments, under the condition that multiple screenshots are generated, a user manually adjusts the arrangement sequence of the multiple screenshots, and then clicks equipment identifiers with the same number as the screenshots in sequence, so that corresponding equipment is allocated to the corresponding screenshots in sequence according to the sequence of clicking the equipment identifiers by the user, and an association relationship is established between the content in the screenshots and the corresponding equipment.
In the embodiment, in the scene of connecting devices, a method for connecting between batch screenshot and batch devices is provided, so that a user can complete connection of a plurality of devices in one scene, and the operation of connecting the devices is not required to be repeated in scene switching, so that complex operation is simplified.
In summary, the application provides an interactive mode of quickly connecting external devices by a user, which solves the problem that the user selects different external devices to manually connect under different scenes, and simultaneously provides a method for quickly switching the external electronic devices based on binding between different application programs and different external electronic devices, so that the operation steps of the user can be reduced to a great extent, and the user operation is simplified. In the application, identifying the content in the screenshot, classifying the content, and judging which type of external device the user wants to connect based on the display content; then, based on the category of the display content, an external device connection advice corresponding to the device type is issued. Meanwhile, the external equipment quick switching capability and the external equipment connection memory capability of different application programs are combined, so that the external equipment connected in the memory can be connected with different application programs preferentially.
According to the device connection method provided by the embodiment of the application, the execution body may be the first electronic device. In the embodiment of the present application, a method for executing device connection by using a first electronic device is taken as an example, and the first electronic device provided in the embodiment of the present application is described.
Fig. 14 shows a block diagram of a first electronic device of an embodiment of the present application, the first electronic device comprising:
a first receiving module 10 for receiving a first input in case of displaying a first interface;
a first display module 20 for displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface;
a second receiving module 30 for receiving a second input;
a first connection module 40 for connecting a first target device of the at least one second electronic device in response to the second input.
In the embodiment of the application, in the process of using the electronic device, if a user wants to connect with the external device, performing first input based on a first interface currently displayed on a screen, responding to the first input, determining a device type having an association relationship with display content of the first interface according to display content of the first interface, and identifying at least one connectable second electronic device belonging to the device type, thereby displaying a first identifier for indicating the at least one second electronic device; the user may then make a second input to trigger a shortcut connection to a first target device of the at least one second electronic device based on the displayed first identification. Therefore, in the embodiment of the application, after the user performs simple operation, the identifier corresponding to the connectable other electronic devices suitable for the current scene can be displayed, so that the user can quickly connect the other electronic devices without returning to the desktop interface for a series of operations, and then manually selecting to connect the external devices, thereby simplifying the operation steps of the user.
In some embodiments, the second input includes a first sub-input and a second sub-input;
the first connection module 40 includes:
a first display unit for displaying at least one device identity in response to a first sub-input of a first identity;
and a connection unit for connecting the first target device indicated by the first device identifier in response to the second sub-input to the first device identifier of the at least one device identifier.
In some embodiments, the first electronic device further comprises:
and the second display module is used for responding to the first input and displaying a second identifier, and the equipment type of at least one second electronic equipment indicated by the second identifier is different from the equipment type of at least one second electronic equipment indicated by the first identifier.
In some embodiments, the first electronic device further comprises:
a third receiving module for receiving a third input of the first content or the target identifier in the first interface;
the establishing module is used for responding to the third input and establishing the association relation between the application program or the application interface indicated by the first content and the second electronic equipment indicated by the target identifier;
wherein the target identification comprises at least one of: the first mark and the second mark.
In some embodiments, where the first interface is an application interface of the first application, the first display module 20 includes:
and the second display unit is used for displaying a first identifier associated with the application type of the first application program.
In some embodiments, the first electronic device further comprises:
a disconnection module for disconnecting the connection with the first target device in case of displaying the second content having no association relationship with the first target device;
and the second connection module is used for reconnecting the first target equipment under the condition that the third content with the association relation with the first target equipment is displayed.
In some embodiments, the first receiving module 10 comprises at least one of:
the first receiving unit is used for receiving screenshot input of the desktop under the condition of displaying the desktop;
and the second receiving unit is used for receiving screenshot input of a second application interface under the condition that the second application interface of the second application program is displayed.
In some embodiments, in a case where the first screenshot has an association with the second target device and the second screenshot has an association with the third target device, the first electronic device further includes:
The third connection module is used for connecting the second target equipment under the condition of displaying an interface with an association relation with the content in the first screenshot;
and the fourth connection module is used for connecting the third target equipment under the condition of displaying the interface with the association relation with the content in the second screenshot.
The first electronic device in the embodiments of the present application may be the electronic device itself, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The first electronic device in the embodiment of the application may be a device with an action system. The action system may be an Android (Android) action system, may be an ios action system, and may also be other possible action systems, which are not specifically limited in the embodiments of the present application.
The first electronic device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
In some embodiments, as shown in fig. 15, the embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and capable of being executed on the processor 101, where the program or the instruction implements each step of any one of the above device connection method embodiments when executed by the processor 101, and the steps achieve the same technical effects, and are not repeated herein.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 16 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, camera 1011, and the like.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 16 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in the drawings, or may combine some components, or may be arranged in different components, which will not be described in detail herein.
Wherein, the user input unit 1007 is configured to receive a first input in a case where the first interface is displayed; a display unit 1006 for displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface; a user input unit 1007 also for receiving a second input; a processor 1010 for connecting a first target device of the at least one second electronic device in response to the second input.
In the embodiment of the application, in the process of using the electronic device, if a user wants to connect with the external device, performing first input based on a first interface currently displayed on a screen, responding to the first input, determining a device type having an association relationship with display content of the first interface according to display content of the first interface, and identifying at least one connectable second electronic device belonging to the device type, thereby displaying a first identifier for indicating the at least one second electronic device; the user may then make a second input to trigger a shortcut connection to a first target device of the at least one second electronic device based on the displayed first identification. Therefore, in the embodiment of the application, after the user performs simple operation, the identifier corresponding to the connectable other electronic devices suitable for the current scene can be displayed, so that the user can quickly connect the other electronic devices without returning to the desktop interface for a series of operations, and then manually selecting to connect the external devices, thereby simplifying the operation steps of the user.
In some embodiments, the second input includes a first sub-input and a second sub-input; a display unit 1006 further configured to display at least one device identifier in response to a first sub-input of the first identifier; the processor 1010 is further configured to connect to a first target device indicated by a first device identification of the at least one device identification in response to a second sub-input of the first device identification.
In some embodiments, the display unit 1006 is further configured to display, in response to the first input, a second identifier, where the device type of the at least one second electronic device indicated by the second identifier is different from the device type of the at least one second electronic device indicated by the first identifier.
In some embodiments, the user input unit 1007 is further configured to receive a third input of the first content or the target identification in the first interface; the processor 1010 is further configured to establish, in response to the third input, an association between the application program or the application interface indicated by the first content and the second electronic device indicated by the target identifier; wherein the target identifier comprises at least one of the following: the first mark and the second mark.
In some embodiments, in a case where the first interface is an application interface of a first application program, the display unit 1006 is further configured to display a first identifier associated with an application type of the first application program.
In some embodiments, the processor 1010 is further configured to disconnect from the first target device if a second content having no association with the first target device is displayed; the processor 1010 is further configured to reconnect the first target device if the third content having the association relationship with the first target device is displayed.
In some embodiments, the user input unit 1007 is further configured to, in the case of displaying a desktop, receive a screenshot input for the desktop; and receiving screenshot input of a second application interface of a second application program under the condition that the second application interface is displayed.
In some embodiments, the processor 1010 is further configured to connect to the second target device if the first screenshot has an association with the second target device and the second screenshot has an association with the third target device, and if an interface having an association with the content in the first screenshot is displayed; and connecting the third target equipment under the condition of displaying an interface with an association relation with the content in the second screenshot.
In summary, the application provides an interactive mode of quickly connecting external devices by a user, which solves the problem that the user selects different external devices to manually connect under different scenes, and simultaneously provides a method for quickly switching the external electronic devices based on binding between different application programs and different external electronic devices, so that the operation steps of the user can be reduced to the greatest extent, and the user operation is simplified. In the application, identifying the content in the screenshot, classifying the content, and judging which type of external device the user wants to connect based on the display content; then, based on the category of the display content, an external device connection advice corresponding to the device type is issued. Meanwhile, the external equipment quick switching capability and the external equipment connection memory capability of different application programs are combined, so that the external equipment connected in the memory can be connected with different application programs preferentially.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of a still picture or a video image obtained by an image capturing device (such as a camera) in a video image capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an action system. The processor 1010 may integrate an application processor that primarily processes an action system, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; in some embodiments, processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the above embodiment of the device connection method when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, the processes of the above device connection method embodiment can be realized, the same technical effects can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-mentioned device connection method embodiments, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A device connection method performed by a first electronic device, the method comprising:
receiving a first input while the first interface is displayed;
displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface;
receiving a second input;
in response to the second input, a first target device of the at least one second electronic device is connected.
2. The method of claim 1, wherein the second input comprises a first sub-input and a second sub-input;
the connecting a first target device of the at least one second electronic device in response to the second input, comprising:
displaying at least one device identity in response to a first sub-input to the first identity;
and connecting a first target device indicated by a first device identifier in response to a second sub-input of the first device identifier in the at least one device identifier.
3. The method of claim 1, wherein after the receiving the first input, the method further comprises:
And in response to the first input, displaying a second identifier, wherein the device type of at least one second electronic device indicated by the second identifier is different from the device type of at least one second electronic device indicated by the first identifier.
4. A method according to claim 3, wherein after said displaying the first identifier and said displaying the second identifier, the method further comprises:
receiving a third input of a first content or target identification in the first interface;
responding to the third input, and establishing an association relationship between the application program or the application interface indicated by the first content and the second electronic equipment indicated by the target identifier;
wherein the target identifier comprises at least one of the following: the first mark and the second mark.
5. The method of claim 1, wherein, in the case where the first interface is an application interface of a first application program, the displaying the first identifier includes:
a first identification associated with an application type of the first application program is displayed.
6. The method of claim 1, wherein after the connecting the first target device of the at least one second electronic device, the method further comprises:
Disconnecting the connection with the first target device under the condition of displaying second content which does not have an association relationship with the first target device;
and reconnecting the first target device under the condition that third content having an association relationship with the first target device is displayed.
7. The method of claim 1, wherein the receiving the first input with the first interface displayed comprises at least one of:
receiving screenshot input of a desktop under the condition of displaying the desktop;
and receiving screenshot input of a second application interface of a second application program under the condition that the second application interface is displayed.
8. The method of claim 7, wherein in the case where the first screenshot has an association with the second target device and the second screenshot has an association with the third target device, the method further comprises:
connecting the second target equipment under the condition of displaying an interface with an association relation with the content in the first screenshot;
and connecting the third target equipment under the condition of displaying an interface with an association relation with the content in the second screenshot.
9. A first electronic device, the first electronic device comprising:
the first receiving module is used for receiving a first input under the condition that a first interface is displayed;
a first display module for displaying a first identification in response to the first input; the first identifier is used for indicating at least one connectable second electronic device, and the device type of the at least one second electronic device has an association relationship with the display content in the first interface;
a second receiving module for receiving a second input;
and a first connection module for connecting a first target device of the at least one second electronic device in response to the second input.
10. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the device connection method of any one of claims 1 to 8.
CN202311624070.XA 2023-11-29 2023-11-29 Device connection method and electronic device Pending CN117675994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311624070.XA CN117675994A (en) 2023-11-29 2023-11-29 Device connection method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311624070.XA CN117675994A (en) 2023-11-29 2023-11-29 Device connection method and electronic device

Publications (1)

Publication Number Publication Date
CN117675994A true CN117675994A (en) 2024-03-08

Family

ID=90063398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311624070.XA Pending CN117675994A (en) 2023-11-29 2023-11-29 Device connection method and electronic device

Country Status (1)

Country Link
CN (1) CN117675994A (en)

Similar Documents

Publication Publication Date Title
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
EP3454196B1 (en) Method and apparatus for editing object
CN103229141A (en) Managing workspaces in a user interface
CN108710457B (en) Interaction method and terminal equipment
CN107562347B (en) Method and device for displaying object
CN112540709A (en) Split screen display method and device, electronic equipment and readable storage medium
CN114415886A (en) Application icon management method and electronic equipment
CN113268182B (en) Application icon management method and electronic device
CN114518822A (en) Application icon management method and device and electronic equipment
CN113485813A (en) Application skipping method and device
CN113849092A (en) Content sharing method and device and electronic equipment
CN113253883A (en) Application interface display method and device and electronic equipment
CN111638828A (en) Interface display method and device
CN115167721A (en) Display method and device of functional interface
CN117675994A (en) Device connection method and electronic device
CN113835578A (en) Display method and device and electronic equipment
CN114518819A (en) Icon management method and device and electronic equipment
CN112948844A (en) Control method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN111666010B (en) Application display method and device
CN111201507B (en) Information display method and terminal
CN115686285A (en) Page display method and device, electronic equipment and readable storage medium
CN113393373B (en) Icon processing method and device
CN114363875A (en) Equipment binding method and device thereof
CN117082056A (en) File sharing method and electronic equipment

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