CN114629932B - Cooperative method between electronic devices, electronic device and storage medium - Google Patents

Cooperative method between electronic devices, electronic device and storage medium Download PDF

Info

Publication number
CN114629932B
CN114629932B CN202011456976.1A CN202011456976A CN114629932B CN 114629932 B CN114629932 B CN 114629932B CN 202011456976 A CN202011456976 A CN 202011456976A CN 114629932 B CN114629932 B CN 114629932B
Authority
CN
China
Prior art keywords
electronic device
file
information
application
electronic
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.)
Active
Application number
CN202011456976.1A
Other languages
Chinese (zh)
Other versions
CN114629932A (en
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202011456976.1A priority Critical patent/CN114629932B/en
Publication of CN114629932A publication Critical patent/CN114629932A/en
Application granted granted Critical
Publication of CN114629932B publication Critical patent/CN114629932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a collaboration method between electronic devices, which comprises the following steps: the method comprises the steps that first electronic equipment receives first operation of a user on a first file; the first electronic device displays a device menu in response to a first operation, the device menu including first device capability information, which is capability information for operating the first file, and first device identification information corresponding to the first device capability information, the first device identification information including device identification information of the second electronic device. The first electronic equipment receives a second operation of the user on the equipment identification information of the second electronic equipment, and sends the first file to the second electronic equipment which establishes communication connection with the first electronic equipment, so that the second electronic equipment performs operation corresponding to the first equipment capability information on the first file. The user can conveniently select the cooperative device through the device menu, so that the cooperative effect is improved and the user experience is improved. The embodiment of the application also discloses electronic equipment.

Description

Cooperative method between electronic devices, electronic device and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a collaboration method between electronic devices and an electronic device.
Background
Electronic devices such as mobile phones, tablet computers, televisions, sound boxes and the like are increasingly rich in device capabilities (or device functions as well), and differences exist in device capabilities of different electronic devices. In the use process of electronic devices, users often want the electronic devices to cooperate with each other to realize sharing of device capabilities.
For example, in a home network, a mobile phone may discover and connect to electronic devices such as a tablet, a television, and a speaker in the home network. The electronic devices can be used as cooperative devices of the mobile phone and share respective device capabilities with the mobile phone. After the mobile phone is connected with the cooperative equipment, the mobile phone can cooperatively use the equipment capabilities of different cooperative equipment so as to display and/or process the files in the mobile phone on the cooperative equipment and realize the equipment capability sharing of cross-equipment cooperation. For example, the picture file stored in the mobile phone is displayed through the tablet computer, the video file stored in the mobile phone is played through the television, the music file stored in the mobile phone is played through the sound box, and the like.
Currently, in the use process of electronic devices, there are problems that the user cannot clearly know the device capability of each electronic device, so as to influence the cooperative effect among the electronic devices and influence the use experience of the user.
Disclosure of Invention
The embodiment of the application provides a collaboration method among electronic devices and the electronic devices, which are used for solving the problems that the collaboration effect among the electronic devices is affected and the use experience of a user is affected because a user cannot clearly know the device capability of each electronic device in the use process of the electronic devices. The collaboration method between the electronic devices and the electronic device provided by the embodiment of the application can improve the collaboration effect of sharing the device capacity between the electronic devices and improve the experience of users.
In order to solve the above technical problem, in a first aspect, an embodiment of the present application provides a collaboration method between electronic devices, which is applied to a communication system including a first electronic device and a second electronic device, where the method includes: the method comprises the steps that first electronic equipment receives first operation of a user on a first file; the first electronic device responds to a first operation display device menu, wherein the device menu comprises first device capability information and first device identification information corresponding to the first device capability information, the first device capability information is capability information for operating a first file, and the first device identification information comprises device identification information of the second electronic device; the first electronic equipment receives a second operation of the user on equipment identification information of the second electronic equipment, and sends a first file to the second electronic equipment which establishes communication connection with the first electronic equipment; and the second electronic equipment receives the first file and performs operation corresponding to the first equipment capability information on the first file.
The first electronic device receives a first operation display device menu of a first file by a user, wherein the device menu comprises first device capability information for operating the first file and first device identification information corresponding to the first device capability information, so that the user can conveniently and clearly check the first device capability information corresponding to the first file and the first device identification information of the device with the first device capability information through the device menu without knowing the device capability in advance. The user can clearly know the equipment with the first equipment capability information through the equipment menu, so that the equipment selected as the cooperative equipment can perform corresponding operation on the first file, and the situation that the selected cooperative equipment cannot operate on the first file due to unclear equipment capability of the user can be effectively avoided, so that the cooperative effect of equipment capability sharing among electronic equipment is improved. In addition, the first device identification information includes device identification information of the second electronic device, and the first electronic device receives a second operation of the user on the device identification information of the second electronic device, and then the first electronic device uses the second electronic device as a cooperative device and sends the first file to the second electronic device which establishes communication connection with the first electronic device. The second electronic device receives the first file, and can perform an operation corresponding to the first device capability information on the first file, that is, perform a collaborative operation on the first file. By the collaboration method among the electronic devices, the user can conveniently and accurately select the collaboration device, and user experience is improved.
The first file may be a picture file and the first device capability information may be a picture display capability. The first file may be a video file and the first device capability information may be video playback capability. The first file may also be a music file and the first device capability information may be a music playing capability. Of course, the first file may be other types of files, and the first device capability may be other device capabilities.
The first device identification information may be information of a device name, a device graphic identification, or the like.
The first operation may be a single click operation, a double click operation, or a trigger operation of a control such as a "collaboration" control corresponding to the first file, or may be other operations. The second operation may refer to a single click operation, a double click operation, or the like on the device identification information.
In a possible implementation of the first aspect, the method further includes: the second electronic equipment receives a third operation of the user on the first file to obtain a second file; the second electronic device sends the second file to the first electronic device, and the second file is deleted; the first electronic device receives the second file, saves the second file and/or displays the second file.
And the second electronic equipment serving as the cooperative equipment can monitor third operations such as modification operation and the like of the user on the second file to obtain the second file. And after the second electronic equipment completes the cooperative operation, carrying out the feedback operation on the second file, and sending the second file to the first electronic equipment. The first electronic equipment can conveniently obtain the second file obtained through the cooperative operation, so that a user can conveniently view the second file through the first electronic equipment, and file operation is more convenient. In addition, the second electronic equipment deletes the second file, so that the data security can be effectively improved.
In one possible implementation of the first aspect, the first electronic device displays a device menu in response to a first operation, including: the first electronic device responds to the first operation to display application installation prompt information, wherein the application installation prompt information comprises application information to be installed of the second electronic device; the first electronic equipment receives a fourth operation of the application installation prompt information from a user and sends an application installation instruction to the second electronic equipment; the second electronic equipment receives an application installation instruction, installs the application according to the application installation instruction, and sends notification information of the installed application to the first electronic equipment; the first electronic device receives the notification information and displays a menu of the device according to the notification information.
When the first electronic device receives a first operation of the first file by the user and determines that the hardware capability of the second electronic device has, for example, the first device capability information, but the second electronic device does not have an application corresponding to the first device capability information, the first electronic device may send an application installation instruction to the second electronic device, so that the second electronic device installs the corresponding application. The first electronic device may use the first device capability information of the second electronic device in a subsequent collaboration. The problem that in the prior art, the second electronic equipment serving as the cooperative equipment cannot cooperate due to the fact that the second electronic equipment does not have corresponding application can be solved, and therefore the use experience of a user can be effectively improved.
In a possible implementation of the first aspect, the communication system further includes a third electronic device that establishes a communication connection with the first electronic device, and the first device identification information further includes device identification information of the third electronic device.
The device menu displayed by the first electronic device may include a plurality of device identification information of devices that establish communication connection with the first electronic device and have the capability information of the first device, so that a user may select a collaborative device from the plurality of devices, and user experience may be effectively improved.
In a possible implementation of the first aspect, the device menu further includes at least one of the following information: application identification information of an installed application corresponding to the first device capability information installed by the second electronic device; communication quality information between the second electronic device and the first electronic device; recommendation information of the second electronic device.
The user can better know the application condition in the second electronic device, the communication quality and other information between the first electronic device and the second electronic device through the application identification information, the communication quality information and the recommendation information of the second electronic device, so that the user can select whether to select the second electronic device cooperative device and the like according to the needs.
In a possible implementation of the first aspect, the device menu further includes second device capability information, and second device identification information corresponding to the second device capability information, where the second device capability information is capability information for operating on a file of a different file type than the first file.
The device menu may further include second device capability information of the second electronic device, so that the user may clearly know other device capabilities of the second electronic device, so as to perform other collaborative processing on files of a different file type than the first file. In addition, the second device capability information may also be a device capability of processing a file of a file type different from the first file, which is possessed by another electronic device that establishes a communication connection with the first electronic device, so that a user can clearly know various device capabilities of the electronic device that establishes a communication connection with the first electronic device through a device menu, so as to facilitate selection of a collaborative device. The user experience can be effectively improved.
In a possible implementation manner of the first aspect, the first electronic device generates a device menu, including: the first electronic device determines first device capability information according to the file type of the first file; the first electronic device generates a device menu according to the first device capability information and the device information sent by the second electronic device, wherein the device information comprises the device capability information of the second electronic device and the device identification information of the second electronic device.
After the first electronic device and the second electronic device establish communication connection, the second electronic device can send its own device information to the first electronic device, so that when the first electronic device needs to display a device menu, the first device capability information can be determined according to the file type of the first file which needs to be operated cooperatively, and then the first device capability information and the device identification information of the second electronic device are displayed for the user to view and select. The user experience can be effectively improved.
In a possible implementation of the first aspect, the device information further includes at least one of the following information: device type information of the second electronic device; hardware capability information of the second electronic device; application identification information of an installed application of the second electronic device; communication quality information between the second electronic device and the first electronic device; position information between the second electronic device and the first electronic device.
The device type information is, for example, that the first electronic device is a mobile phone, a computer, a television, etc. The hardware capability information is, for example, hardware information such as a graphics decoding chip and a display screen related to the display capability. The communication quality information is, for example, a signal strength of a wireless network between the first electronic device and the second electronic device, or the like. The position information is, for example, a position of the second electronic device in front of, behind, or the like of the first electronic device.
In a possible implementation of the first aspect, the method further includes: the second electronic device determines device capability information of the second electronic device through the installed application information of the second electronic device and the device type information of the second electronic device and/or the hardware capability information of the second electronic device.
In a possible implementation of the first aspect, the method further includes: the first electronic device determines application information to be installed of the second electronic device according to the device type information of the second electronic device and the installed application information of the second electronic device.
In a second aspect, an embodiment of the present application provides a collaboration method between electronic devices, where the collaboration method is applied to a first electronic device, and the method includes: receiving a first operation of a user on a first file; displaying a device menu in response to a first operation, the device menu including first device capability information, which is capability information for operating a first file, and first device identification information corresponding to the first device capability information, the first device identification information including device identification information of a second electronic device; and receiving a second operation of the user on the equipment identification information of the second electronic equipment, and sending the first file to the second electronic equipment which establishes communication connection with the first electronic equipment so that the second electronic equipment performs the operation corresponding to the first equipment capability information on the first file.
The user can clearly know the equipment with the first equipment capability information through the equipment menu, so that the equipment selected as the cooperative equipment can perform corresponding operation on the first file, the situation that the cooperative equipment cannot perform operation on the first file can be effectively avoided, and the cooperative effect of equipment capability sharing among the electronic equipment is improved. In addition, the user can conveniently and accurately select the cooperative equipment, and the experience of the user is improved.
In one possible implementation of the second aspect, displaying the device menu in response to the first operation includes: responding to the first operation to display application installation prompt information, wherein the application installation prompt information comprises application information to be installed of the second electronic equipment; receiving a fourth operation of the application installation prompt information by a user, and sending an application installation instruction to the second electronic equipment so that the second electronic equipment installs the application according to the application installation instruction; and receiving notification information of the installed application sent by the second electronic equipment, and displaying an equipment menu according to the notification information.
In a possible implementation of the second aspect, the first device identification information further includes device identification information of a third electronic device.
In a possible implementation of the above second aspect, the device menu further includes at least one of the following information: application identification information of an installed application corresponding to the first device capability information installed by the second electronic device; communication quality information between the second electronic device and the first electronic device; recommendation information of the second electronic device.
In a possible implementation of the second aspect, the device menu further includes second device capability information, and second device identification information corresponding to the second device capability information, where the second device capability information is capability information for operating on a file of a different file type than the first file.
In a third aspect, an embodiment of the present application provides a collaboration method between electronic devices, applied to a communication system including a first electronic device and a second electronic device, where the method includes: the method comprises the steps that communication connection is established between a first electronic device and a second electronic device; the first electronic device displays a device menu, wherein the device menu comprises device capability information of the second electronic device and device identification information of the second electronic device; the method comprises the steps that a first electronic device receives selection operation of a user on device identification information of a second electronic device, and generates a first corresponding relation, wherein the first corresponding relation comprises corresponding relation between device capability information of the second electronic device and the device identification information of the second electronic device; the method comprises the steps that first electronic equipment receives first operation of a user on a first file; the first electronic device responds to the first operation to send the first file to the second electronic device; and the second electronic equipment receives the first file and performs operation corresponding to the equipment capability information on the first file.
After the first electronic device and the second electronic device establish communication connection, the second electronic device sends own device information to the first electronic device, wherein the device information comprises the device capability information of the second electronic device and the device identification information of the second electronic device. The first electronic device generates a device menu according to the device information, wherein the device menu comprises the device capability information and the device identification information, so that a user can perform pre-configuration of the corresponding relationship between the device capability information and the device identification information. When the first electronic device needs to perform cooperative processing on the first file, the first electronic device can directly send the first file to the second electronic device serving as the cooperative device for cooperative processing according to the first file and a preconfigured first corresponding relation, so that the situation that a user selects the cooperative device each time can be avoided, and the use experience of the user can be effectively improved.
In a possible implementation of the third aspect, the device menu further includes at least one of the following information: application identification information of an installed application corresponding to the first device capability information installed by the second electronic device; communication quality information between the second electronic device and the first electronic device; recommendation information of the second electronic device.
In a possible implementation of the third aspect, the device menu further includes second device capability information, and second device identification information corresponding to the second device capability information, where the second device capability information is capability information for operating on a file of a different file type than the first file.
In a possible implementation of the third aspect, the communication system further includes a third electronic device that establishes a communication connection with the first electronic device, and the device menu further includes device identification information of the third electronic device.
The first electronic device can establish communication connection with the second electronic device, the third electronic device and other electronic devices, and each device sends own device capability information and device identification information to the first electronic device, and the first electronic device performs integration and classification according to the device capability information and the device identification information of the plurality of devices to generate a device menu, so that a user can clearly know the device capability information of each device which is currently connected with the first electronic device, and the user can conveniently perform the pre-configuration of the cooperative devices corresponding to different device capabilities. When the cooperative processing is needed, the first electronic device can directly determine the current cooperative device according to the corresponding relation between the preconfigured device capability and the cooperative device, and the user does not need to select, so that the user experience can be effectively improved.
According to the collaboration method between the electronic devices, the first electronic device classifies and integrates the device capability information of the electronic devices which are in communication connection with the first electronic device, a device menu is provided for a user to select, and the user can operate other peripheral electronic devices at the first electronic device to serve as collaboration devices, so that the capability sharing of the peripheral devices is realized.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory for storing a computer program, the computer program comprising program instructions; and the processor is used for executing the program instructions so that the electronic equipment executes the cooperative method among the electronic equipment.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, the computer program including program instructions that are executed by an electronic device to cause the electronic device to perform the foregoing method of collaboration between electronic devices.
In a sixth aspect, an embodiment of the present application provides a computer program product, which when run on a terminal device, causes the terminal device to perform the aforementioned collaboration method between electronic devices.
It will be appreciated that the advantages of the second to sixth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2A and fig. 2B are schematic views of some interfaces of the mobile phone 100 in a collaborative scene of music playing in the prior art;
fig. 3A and 3B are schematic diagrams of a collaboration process of a collaboration method between electronic devices according to an embodiment of the present application;
fig. 3C-3E are schematic views of some interfaces of the mobile phone 100 according to embodiments of the present application;
FIGS. 4A-4C are schematic diagrams of a menu of devices provided by embodiments of the present application;
fig. 5A to 5S are some application scenarios of a collaboration method between electronic devices provided in an embodiment of the present application, and some corresponding interface schematic diagrams of related electronic devices;
FIG. 5T is another schematic diagram of a menu of a device according to an embodiment of the present application;
fig. 5U is a schematic diagram of a collaborative mode control in a mobile phone 100 according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile phone 100 according to an embodiment of the present application;
Fig. 7A is a block diagram of the structure of the mobile phone 100 and the connection device 200 according to the embodiment of the present application;
fig. 7B is a schematic diagram of a process of generating a device menu by the mobile phone 100 according to the embodiment of the present application;
fig. 7C is a schematic diagram of a process of determining device information by the connection device 200 according to an embodiment of the present application;
fig. 7D is a schematic diagram illustrating a process of performing image display collaboration between the mobile phone 100 and the tablet pc 210 according to the embodiment of the present application;
fig. 7E is a schematic diagram of a process of installing an application between the mobile phone 100 and the tablet pc 210 according to the embodiment of the present application;
fig. 8 is a schematic diagram of a process of document display collaboration of the mobile phone 100 according to the embodiment of the present application;
FIG. 9 is a schematic diagram illustrating the structure of an electronic device, according to some embodiments of the application;
fig. 10 is a schematic diagram illustrating the architecture of a system on a chip (SoC), according to some embodiments of the application.
Detailed Description
Implementations of embodiments of the present application are further described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of a communication system according to an embodiment of the application.
The communication system includes a cell phone 100, a tablet 210, a television 220, and a sound box 230. The tablet pc 210, the television 220, and the speaker 230 respectively establish a near field communication (or may also be referred to as near field communication) connection with the mobile phone 100 through a Bluetooth (BT) manner, where the communication system may be a home network system corresponding to a home scene.
Of course, the tablet 210, television 220, and audio box 230 may also establish communication with the mobile phone 100 through a wireless local area network (Wireless Local Area Networks, WLAN (e.g., wiFi)), a short range wireless communication technology (Near Field Communication, NFC), or other manners.
Currently, after the mobile phone 100 is connected with the tablet computer 210, the television 220 and the sound box 230, a user can cooperatively use the device capabilities of the tablet computer 210, the television 220 and the sound box 230 through the mobile phone 100, so as to send a first file in the mobile phone 100 to the tablet computer 210, the television 220 and the sound box 230 for display and/or processing, and realize device capability sharing of cross-device cooperation.
The first file may refer to a picture file, a video file, a music file, a document file, or the like. The device capability may be, for example, a picture display capability, a video playback capability, a music playback capability, a document display capability, etc.
A device is considered to be capable of a device if the device has hardware capabilities that are associated with the device capabilities and the device has an application associated with the device capabilities installed. Or the device has a hardware capability related to a certain device capability, the device installs an application related to the device capability, and the device has a software capability related to a function such as an interface for realizing the hardware capability and the application, the device is considered to have the device capability.
For example, for a picture display capability, if the device includes hardware such as a graphics decoding chip and a display screen, and the device installs a picture display application, then the device is considered to have the picture display capability; the device can display the picture file and the like. Regarding the video playing capability, if the device comprises hardware such as an audio and video decoding chip, a display screen, a microphone, a loudspeaker and the like, and the device is provided with a video playing application, the device is considered to have the video playing capability; the device can play the video file and the like. For other device capabilities, if the device has corresponding hardware and installs corresponding applications, the device is considered to have the device capability, which is not described herein.
In addition, if a device is a device of a certain device type, it is considered that the device should generally be provided with some specific device capabilities. And if the device has installed an application corresponding to the particular device capability, then the device is deemed to have actually had the corresponding device capability.
For example, if the device type of the tablet 210 is a tablet, the tablet 210 is considered to generally have picture display capability, video playback capability, and music playback capability. Determining an application installed on the tablet computer 210, and if the tablet computer 210 is provided with a picture display application, a video playing application and a music playing application, considering that the tablet computer 210 has picture display capability, video playing capability and music playing capability; if the tablet 210 only installs the picture display application and the video play application, then the tablet is considered to have only picture display capability and video play capability.
The mobile phone 100 performs cross-device collaboration with the tablet computer 210, the television 220 and the audio box 230, for example, the mobile phone 100 may display a picture file stored in the mobile phone 100 through the tablet computer 210, play a video file (or may be called a movie) stored in the mobile phone through the television 220, play a music file (or may be called a song) stored in the mobile phone through the audio box 230, and so on.
Illustratively, as shown in FIG. 2A, the handset 100 opens a music playing application to play music, and a "collaboration" control 11 is displayed on the screen of the handset 100. If the handset 100 detects a single click of the "collaboration" control 11 by the user, the handset 100 performs a device search to search for devices that establish a connection with the handset 100.
After the mobile phone 100 completes the device search, the mobile phone 100 displays the name of the device that has established the connection with the mobile phone 100. As shown in fig. 2B, the devices that establish a connection with the handset 100 include a tablet 210, a television 220, and a sound box 230.
The user may select a collaborative device for playing a music file from among the tablet computer 210, the television 220, and the speaker 230 as desired. If the mobile phone 100 detects a click operation of the "television 220" by the user, the mobile phone 100 determines that the cooperative device performing the play operation on the music file is the television 220. The mobile phone 100 transmits a music file of the currently played music to the television 220 so that the television 220 plays the music according to the music file.
In this manner, the user is not aware of the device capabilities of the television 220 that is establishing a connection with the handset 100. I.e., it is unclear whether the television 220 is music-playing-capable, the user can only select according to common sense and needs. After the television 220 receives the music file, if the television 220 has the music playing capability, the television 220 plays music according to the music file. If the television 220 does not have music playing capability, the television 220 cannot play music; that is, the television 220 cannot realize the music playing coordination, and there are problems that the coordination effect between the mobile phone 100 and the television 220 is affected, and the use experience of the user is affected.
In addition, the user is not aware of the device capabilities of the tablet 210 and the speaker 230 that establish a connection with the handset 100. In this way, it is unclear for the user whether the tablet pc 210, the television 220 and the audio box 230 have the device capabilities such as the picture display capability, the music playing capability and the video playing capability, so that the user can only select the corresponding device as the cooperative device according to the common sense and the needs of the user in the process of using the electronic device, and the problem of affecting the cooperative effect and the use experience of the user exists.
The embodiment of the application provides a collaboration method between electronic devices, which can be applied to a communication system shown in fig. 1.
In one implementation manner of the collaboration method between electronic devices provided in the embodiment of the present application, after the tablet computer 210, the television 220, and the speaker 230 are respectively connected to the mobile phone 100, the tablet computer 210, the television 220, and the speaker 230 respectively send respective device information to the mobile phone 100. The device information includes device capability information of the device, which is capability information of the device currently existing to operate on files in the device, and device identification information. The device capability information may be, for example, the aforementioned capability information such as a picture display capability, a video playback capability, a music playback capability, and the like; the device identification information may be, for example, a device name of the device. The mobile phone 100 may be made to conveniently obtain the device capabilities of each device.
As shown in fig. 3A, after the tablet 210 establishes a connection with the mobile phone 100, the tablet 210 determines its own device capabilities including video playing, picture displaying, and music playing. The tablet computer 210 generates first device information including its own device name "tablet computer 210" and device capability information "video play, picture display, and music play", and transmits the first device information to the mobile phone 100.
After the television 220 establishes a connection with the cell phone 100, the television 220 determines its own device capabilities including video playback, picture display, and music playback. The television 220 generates second device information including its own device name "television 220" and device capability information "video play, picture display, and music play", and transmits the second device information to the cellular phone 100.
After the speaker 230 establishes a connection with the handset 100, the speaker 230 determines that the device capabilities it has include music playing. The speaker 230 generates third device information including its own device name "speaker 230" and device capability information "music playing", and transmits the third device information to the mobile phone 100.
After receiving the first device information, the second device information, and the third device information, the mobile phone 100 classifies and combines the first device information, the second device information, and the third device information, for example, combines names of devices having the same device capability together, to obtain device capability integration information. Namely, the device capability integration information comprises various device capabilities and names of devices with the device capabilities, which correspond to the various device capabilities respectively.
The mobile phone 100 may also generate a device menu according to the device capability integration information, and the mobile phone 100 may display the device menu for a user to view devices connected to the mobile phone 100 and device capabilities of the respective devices. In addition, the user can select a collaborative device through a device menu.
As shown in fig. 3A, in one implementation of the present application, the device menu 20 generated by the mobile phone 100 includes three device capability information, i.e., video playing, picture displaying, and music playing, and device names corresponding to the respective device capability information. A user may know through the device menu 20 that the video-playing-capable devices include a tablet computer 210 and a television 220, the picture-displaying-capable devices include a tablet computer 210 and a television 220, and the music-playing-capable devices include a tablet computer 210, a television 220, and a sound box 230.
In this implementation manner, the user can conveniently and clearly understand the device capabilities of each device through the device menu 20 displayed by the mobile phone 100, so that the user can conveniently select the device with the corresponding device capability to perform the collaborative operation on the first file in the mobile phone 100, thereby effectively improving the collaborative success rate and effect and improving the experience of the user.
In one implementation of the present application, after the mobile phone 100 establishes a connection with the tablet pc 210, the television 220, and the speaker 230 to generate the device menu 20, the mobile phone 100 displays the device menu 20 as a preconfigured device menu. Wherein the device name is used as a function option for the user to select a trigger operation such as a click operation. The mobile phone 100 receives a click operation of the user on the device name corresponding to each device capability through the device menu 20, generates a correspondence relationship between each device capability and the device name, and the mobile phone 100 saves the correspondence relationship.
As shown in fig. 3B, the mobile phone 100 receives a click operation of the user on the "television 220" corresponding to the video playing capability on the device menu 20, the "tablet 210" corresponding to the picture display capability, and the "sound box 230" corresponding to the music playing capability. If the mobile phone 100 detects a click operation of the "save" control by the user, the mobile phone 100 saves the corresponding relationship between the device capability and the device name. The mobile phone 100 determines that the correspondence between the preconfigured device capability and the device name is: the device corresponding to the video playing capability is a television 220, the device corresponding to the picture displaying capability is a tablet computer 210, and the device corresponding to the music playing capability is a sound box 230.
Subsequently, when the mobile phone 100 needs to perform the collaborative operation on the first file in the mobile phone 100, the mobile phone 100 may determine the required device capability according to the file type of the first file, that is, determine the target device capability corresponding to the file type. Then, the mobile phone 100 determines the name of the target device corresponding to the target device capability according to the corresponding relationship between the preconfigured device capability and the device name stored in the mobile phone 100, where the name of the target device is the name of the cooperative device. The mobile phone 100 then directly sends the first file to the corresponding cooperative device for cooperative operation.
For example, if the mobile phone 100 detects the first operation of the user on the video file, the mobile phone 100 may directly send the video file to be played to the television 220 for playing. If the mobile phone 100 detects the first operation of the user on the picture file, the mobile phone 100 can directly send the picture file to be displayed to the tablet computer 210 for display. If the mobile phone 100 detects the first operation of the user on the music file, the mobile phone 100 can directly send the music file to be played to the television 220 for playing. The first operation may be a collaborative trigger operation such as a single click operation, a double click operation, a long press operation, a sliding operation, etc. of the first file by the user, or may be a collaborative trigger operation such as a single click operation, a double click operation, a long press operation, a sliding operation, etc. of a "collaborative" control corresponding to the first file by the user.
Illustratively, as shown in FIG. 3C, the handset 100 opens a music playing application to play music. If the mobile phone 100 detects a click operation of the "collaboration" control 11 by the user, the mobile phone 100 may directly send the music file of the currently playing music to the speaker 230 according to the pre-configured correspondence between the device capability and the device name, so that the speaker 230 plays music according to the music file.
In addition, the mobile phone 100 may display the prompt information 12, where the prompt information 12 displays "the local music playing task has been switched to the default cooperative device speaker 230", so as to remind the user that the mobile phone 100 has switched the local music playing service to the speaker 230, and the speaker 230 plays music.
After the mobile phone 100 switches the music playing service to the speaker 230, the mobile phone 100 may stop playing music.
The collaborative process of the video file and the picture file is similar to that of the music file, and will not be repeated here.
In this implementation manner, after obtaining the device capability integration information, the mobile phone 100 generates the device menu 20 according to the device capability integration information, so that the user performs pre-configuration on the correspondence between the device capability and the device name. The user can easily and clearly understand the device capabilities of the devices through the device menu 20 without requiring the user to know the device capabilities of the devices in advance. In addition, the user can more accurately select the cooperative device through the device menu 20, and the cooperative success rate can be improved, so as to improve the cooperative effect and the use experience of the user.
And when the first file needs to be operated cooperatively later, the mobile phone 100 can directly send the first file needing to be operated cooperatively to the corresponding cooperative device for cooperative operation according to the corresponding relation between the pre-configured device capability and the device name stored in the mobile phone 100, without manually selecting the cooperative device again by the user, and the use experience of the user can be effectively improved.
In another implementation of the present application, the mobile phone 100 may also confirm that the collaboration is required after detecting the first operation of the user on the first file each time, and display the device menu 20 as shown in fig. 3A. If the mobile phone 100 further detects the second operation of the user on the device name, the mobile phone 100 sends the first file to the device corresponding to the device name, so that the device performs the collaborative operation on the first file.
The first file may refer to a picture file, a video file, a music file, a document file, and the like. The first operation may be a collaborative trigger operation such as a single click operation, a double click operation, a long press operation, a sliding operation, etc. of the first file by the user, or may be a collaborative trigger operation such as a single click operation, a double click operation, a long press operation, a sliding operation, etc. of a "collaborative" control corresponding to the first file by the user. The second operation may refer to a selection operation such as a single click operation, a double click operation, a slide operation, or the like of the device name by the user.
In this implementation manner, the capability information of the device menu 20 for operating the first file is first device capability information, and the device identifier corresponding to the first device capability information is a first device identifier. The device menu 20 includes capability information for operating on a file of a different file type from the first file as second device capability information, and a device identifier corresponding to the second device capability information as a second device identifier.
For example, if the mobile phone 100 detects a click operation of the "collaboration" control 11 by the user while the mobile phone 100 is performing the music playing service, the mobile phone 100 determines that collaboration is required on the music file. The handset 100 displays the device menu 20 as shown in figure 3D. If the mobile phone 100 detects a clicking operation of the "speaker 230" corresponding to the "music playing" device capability by the user, the mobile phone 100 determines that the cooperative device is the speaker 230, and the mobile phone 100 sends the music file to be played to the speaker 230. After the speaker 230 receives the music file, a play operation is performed on the music file to play music.
The music playing capability is the capability of playing music files, the music playing capability is used as first device capability information, and the tablet computer 210, the television 220 and the sound box 230 corresponding to the music playing capability are used as first device identification information. The user can conveniently select a device for cooperating with the music file through the first device capability information and the first device identification information. The tablet computer 210, the television 220, and the audio box 230 have other functions such as video playing capability and picture displaying capability as the second device capability information, the "tablet computer 210" and the "television 220" corresponding to the video playing capability, and the "tablet computer 210" and the "television 220" corresponding to the picture displaying capability as the second device identification information. The user may conveniently connect other capabilities of the device establishing a communication connection with the handset 100 through the second device capability information and the second device identification information.
In addition, if the mobile phone 100 detects a click operation of the video file by the user while the video playing service is being performed, the mobile phone 100 may display the device menu 20. If the mobile phone 100 detects a click operation of the "television 220" corresponding to the "video playing" device capability by the user, the mobile phone 10 sends the video file to be played to the television 220. After receiving the video file, the television 220 plays the video.
If the mobile phone 100 detects a click operation of the picture file by the user while performing the picture display service, the mobile phone 100 may display the device menu 20. If the mobile phone 100 detects a click operation of the "tablet computer 210" corresponding to the "picture display" device capability by the user, the mobile phone 100 sends a picture file to be displayed to the tablet computer 210. The tablet 210 receives the picture file and displays the picture.
In this implementation manner, when the mobile phone 100 needs to cooperate with the first file, the device menu 20 is displayed, so that the user does not need to know the device capabilities of each device in advance, and can conveniently and clearly know the device capabilities of each device through the device menu 20. The real-time selection of the cooperative equipment can be more accurately performed, and the cooperative success rate can be improved, so that the cooperative effect and the use experience of a user are improved.
In another implementation of the present application, as shown in fig. 3E, the mobile phone 100 opens a music playing application to play music. If the mobile phone 100 detects a click operation of the "collaboration" control 11 by the user, the mobile phone 100 determines that collaboration is required on the music file. The handset 100 determines the target device capability corresponding to the music file as the music playing capability. The cellular phone 100 determines the device name of the device corresponding to the music playing capability, and the cellular phone 100 generates and displays the device menu 21. The device menu 21 includes music playback capability and device names of devices having music playback capability for a user to select a cooperative device that cooperates with a music file. The music playing capability is used as first device capability information, and the device name of the device with the music playing capability is used as first device identification information.
If the mobile phone 100 detects a clicking operation of the "sound box 230" corresponding to the music playing device capability by the user, the "sound box 230" is determined to be the name of the target device corresponding to the music playing capability, and the mobile phone 100 determines that the cooperative device is the sound box 230. The mobile phone 100 sends the music file to be played to the speaker 230. After the speaker 230 receives the music file, music is played.
In this implementation manner, after detecting the collaborative operation of the user on the music file, the mobile phone 100 may display the device capability corresponding to the file type of the music file currently required to be collaborative operated by the mobile phone 100 and the device name corresponding to the device capability, so as to be used for the user to view and select the collaborative device, which may be more convenient for the user to select the collaborative device.
In one implementation of the present application, the device information of each device may further include application identification information of an installed application installed in the device and having the capability of the corresponding device, and the application identification information may be, for example, an application name. The device menu 22 generated by the mobile phone 100 includes the device capability type, the device name of each device capability corresponding to the device, and the application name of the corresponding device capability application installed in each device, as shown in fig. 4A. For example, the video-enabled devices include a tablet 210 and a television 220, wherein the video-enabled applications installed in the tablet 210 include application A1 and the video-enabled applications installed in the television 220 include application A2. The device with picture display capability comprises a tablet computer 210 and a television 220, wherein applications with picture display capability installed in the tablet computer 210 comprise an application B1 and an application B2, and applications with picture display capability installed in the television 220 comprise an application B3 and an application B4.
The mobile phone 100 forms the device menu 22 including application names of applications with corresponding device capabilities, so that a user can know the installed applications in each device, and can select the corresponding applications as collaborative applications according to the needs, and the experience of the user can be improved.
In one implementation of the present application, as shown in FIG. 4A, the device menu 22 may also include a selection box ". O" corresponding to each application, and the user may conveniently select the collaborative device and collaborative application by clicking on the selection box.
In one implementation of the present application, the mobile phone 100 may further obtain the communication quality of the communication between the mobile phone 100 and the tablet 210, the television 220, and the audio box 230, and generate a device menu including the communication quality information. The mobile phone 100 can determine the communication quality according to the bluetooth signal intensity of the communication between the mobile phone 100 and the tablet computer 210, the television 220 and the audio box 230, and also determine the signal intensity according to the distance between the mobile phone 100 and the tablet computer 210, the television 220 and the audio box 230.
As shown in fig. 4B, the device menu 23 includes communication quality information between the mobile phone 100 and each device, the communication quality information may be represented by 1-5 boxes, 1 box representing the worst communication quality, and 5 signals representing the best communication quality.
The communication quality information may be embodied by other text, icons, or the like, and may be selected as needed.
In one implementation of the present application, the mobile phone 100 may further obtain the communication quality of the communication between the mobile phone 100 and the tablet pc 210, the television 220, and the audio box 230, and the position information such as the azimuth information, the distance information, etc. between the tablet pc 210, the television 220, and the audio box 230, and the mobile phone 100, and generate the device menu including the recommendation information.
As shown in fig. 4C, the device menu 24 includes recommendation information for each device, which may be represented by 1-10 recommendation levels, with 1 level representing the lowest degree of recommendation and 10 level representing the highest degree of recommendation. In general, the better the communication quality with the mobile phone 100, the higher the recommendation degree of the device whose azimuth information is directly in front and closer to it.
Of course, the recommendation information can also be embodied in other text, icons and the like, and can be selected according to requirements.
In addition, in the present application, regarding the sorting of device names in the device menu, the names of devices corresponding to the same device capability may be sorted according to the initial letters of the device names and sequentially displayed. The communication quality may be sequentially arranged from good to poor according to the communication quality. Or according to the recommendation information, sequencing from high recommendation degree to low recommendation degree. Of course, the ordering may also be random, which may be set as desired.
In other implementations of the application, the device menu may also include other information, which may be selected as desired.
According to the collaboration method between electronic devices, after the tablet computer 210, the television 220 and the sound box 230 are respectively in communication connection with the mobile phone 100, the tablet computer 210, the television 220 and the sound box 230 respectively send respective device information to the mobile phone 100. The mobile phone 100 can sort and integrate the device information of the tablet computer 210, the television 220 and the sound box 230 to obtain device capability integrated information and generate a device menu. And the handset 100 may display a device menu for the user to view the names of devices that establish a connection with the handset 100 and the device capabilities of the respective devices. That is, the user can more conveniently know the device capabilities of the devices connected with the mobile phone 100 through the device menu, without the need of knowing the device capabilities of the devices in advance, so that the user experience can be effectively improved.
In addition, the mobile phone 100 may provide device options through a device menu for the user to perform a selection operation of the collaborative device, so that the user can operate the device connected to the mobile phone 100 at the mobile phone 100, thereby realizing capability sharing of connecting the device. Compared with the mode that the mobile phone 100 only displays the names of the devices connected with the mobile phone 100, the method is convenient for users to know the device capabilities of the devices more conveniently and to select the devices with the corresponding file operation capabilities as cooperative devices more conveniently. The synergistic effect can be effectively improved, and the use experience of the user is improved.
The following illustrates a collaboration scenario and collaboration process between the mobile phone 100 and the tablet 210, television 220, and audio box 230.
The collaboration method between the electronic devices provided by the application can be applied to the collaborative operation scene of the picture file.
In one implementation of the application, as shown in FIG. 5A, the cell phone 100 displays a picture 10a, and a "more" control 31 is displayed under the screen of the cell phone 100. If the handset 100 detects a single click of the "more" control 31 by the user, the handset 100 displays the "open using other device" control 32. If the handset 100 detects a single click of the "open with other device" control 32 by the user, the handset 100 determines that the picture 10a needs to be co-operated, and the handset 100 performs a device search to search for a device that establishes a connection with the handset 100.
After the mobile phone 100 completes the device search, the mobile phone 100 displays the device menu 25 as shown in fig. 5B. The device menu 25 includes a device name corresponding to the picture display capability and the picture display application name installed in each device. The user can conveniently and clearly understand through the device menu 25 that the device with the picture display capability and the connection with the mobile phone 100 includes the tablet pc 210 and the television 220, and the applications with the picture display capability in each tablet pc 210 include the application B1 and the application B2, and the applications with the picture display capability in the television 220 include the application B3 and the application B4. The user can conveniently select the cooperative equipment and the cooperative application for carrying out cooperative operation on the picture files.
If the mobile phone 100 detects a click operation of the application B1 corresponding to the "tablet 210" by the user, the mobile phone 100 determines the tablet 210 as a cooperative device for performing the cooperative operation. The cell phone 100 sends the picture 10a to the tablet 210 for display.
After the tablet 210 receives the picture 10a, as shown in fig. 5B, the picture 10a is directly displayed by the application B1.
In addition, after the mobile phone 100 sends the picture 10a to the tablet pc 210, the mobile phone 100 may continue to display the picture 10a, or the mobile phone 100 may exit the display interface of the picture 10a and switch to other display interfaces.
In another implementation of the present application, if the tablet computer 210 monitors the third operation of the user on the picture 10a, the tablet computer 210 may generate a new picture corresponding to the picture 10a as the second file, and send the second file to the mobile phone 100. The third operation may be a modification operation or an editing operation of the picture 10a by the user or the like.
As shown in fig. 5C, after tablet 210 displays picture 10a, tablet 210 may also display graffiti tool 13. And tablet 210 monitors picture 10a, it may monitor the user's modification of picture 10a by graffiti tool 13. For example, as shown in fig. 5C, tablet computer 210 monitors the user's modification operation of picture 10a with the graffiti pen, forming picture 10b including the newly added tree pattern as the second file.
Further, if the tablet pc 210 detects a click operation of the "confirm" control by the user, the tablet pc 210 completes the picture display collaboration, and automatically sends the picture 10b modified by the user to the mobile phone 100.
Or, after the tablet computer 210 monitors that the user exits the operation of the application B1, the tablet computer 210 completes the picture display collaboration, and automatically sends the picture 10B obtained through the user modification to the mobile phone 100.
After the tablet computer 210 sends the picture 10b to the mobile phone 100, the tablet computer 210 may delete the picture 10b or store the picture 10b.
After the mobile phone 100 receives the picture 10b sent by the tablet computer 210, the picture 10b is saved.
In another implementation of the present application, after the mobile phone 100 receives the picture 10b, as shown in fig. 5C, a prompt message 14 may be displayed, where the prompt message 14 displays "receiving the picture file sent by the tablet 210, please confirm whether to view. If the mobile phone 100 detects a click operation of the "confirm" control by the user, the mobile phone 100 displays the picture 10b. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the current interface is kept unchanged in the mobile phone 100.
In this implementation, the tablet 210 may obtain the modified picture 10b by monitoring the operation of the user on the picture 10a, and send the picture 10b to the mobile phone 100. Compared to the scheme in which the tablet 210 directly deletes the picture 10a and the picture 10b after the cooperation is completed. The tablet computer 210 transmits the co-operated picture 10b back to the mobile phone 100, so that the mobile phone 100 can obtain the picture processed by the tablet computer 210 serving as the co-operation device, so as to be used for the processing of checking and the like by the user through the mobile phone 100. The user can more conveniently perform collaborative operation on the picture 10a through the collaborative equipment, and the use experience of the user can be improved.
In another implementation of the present application, after the mobile phone 100 sends the picture 10a to the tablet 210, as shown in fig. 5D, the mobile phone 100 may continue to display the picture 10a and the mobile phone displays the "collaborative device management" control 15. If the mobile phone 100 detects a click operation of the "collaborative device management" control 15 by the user, the mobile phone 100 determines that a first operation of the picture 10a as the first file by the user is received, and the mobile phone 100 may display the device menu 26. The device menu 26 includes the names "tablet 210" and "television 220" of the devices with picture display capabilities. In addition, the quality of communication between the cell phone 100 and the tablet 210 and television 220 may also be displayed. The user may manage the collaborative device through the device menu 26.
For example, if the mobile phone 100 detects the clicking operation of the "tablet 210" again, the mobile phone 100 sends a collaboration cancellation message to the tablet, so that the tablet 210 cancels the display collaboration of the picture 10a, i.e. the tablet 210 no longer displays the picture 10a.
If the mobile phone 100 detects a click operation of the "television 220" by the user, the mobile phone 100 determines the television 220 as a newly added cooperative device for cooperative operation. The cell phone 100 sends the picture 10a to the television 220 for display. The television 220 and the tablet 210 can simultaneously cooperate with the display of the picture 10a.
In this implementation manner, in the process of collaboration between the mobile phone 100 and the tablet pc 210, the mobile phone 100 may also perform operations such as switching and adding the collaboration device and performing operations of ending the collaboration by displaying the device menu 26. The use experience of the user can be effectively improved.
The collaboration method between the electronic devices provided by the application can be applied to the collaboration operation scene of the document file.
In one implementation of the present application, as shown in fig. 5E, after detecting a click operation of the document file 40 by the user, the mobile phone 100 determines whether the mobile phone 100 itself has the document display capability. If the mobile phone 100 has document display capability, the mobile phone 100 opens the document file 40 directly through the document display application in the mobile phone 100.
If the mobile phone 100 determines that the mobile phone 100 does not have document display capability, the mobile phone 100 determines whether the mobile phone 100 is in the collaborative mode. If the mobile phone 100 does not establish a connection with other electronic devices, the mobile phone 100 is not considered to be in the cooperative mode. If the handset 100 has established a connection with another electronic device, the handset 100 is considered to be in a collaborative mode.
If the mobile phone 100 is not in the collaborative mode, the mobile phone 100 determines whether the hardware capability of the mobile phone 100 supports the document display capability according to the hardware capability information of the mobile phone 100. If the hardware capability of the mobile phone 100 supports the document display capability, but the document display application is not installed in the mobile phone 100, the mobile phone 100 generates a prompt message 41 "please determine whether to download the document display application in the mobile phone 100, as shown in fig. 5F.
If the mobile phone 100 detects a click operation of the "ok" control by the user, the mobile phone 100 downloads and installs the document display application in the application marketplace application in the mobile phone 100. After the mobile phone 100 installs the document display application, the mobile phone 100 directly opens the document file 40. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the mobile phone 100 does not perform an operation of downloading the document display application, and the mobile phone 100 may display the prompt message 42 "the display process of the document file 40 has been canceled" as shown in fig. 5G to alert the user.
If the mobile phone 100 is in the collaborative mode, the mobile phone 100 generates a prompt message 43 "the mobile phone 100 does not support document display currently, please determine whether to select other devices to be turned on" as shown in fig. 5H. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the mobile phone 100 does not perform an operation of searching for a collaborative device, and the mobile phone 100 may display the prompt message 42 "the display process of the document file 40 has been canceled" shown in fig. 5G to alert the user. If the mobile phone 100 detects a click operation of the "confirm" control by the user, the mobile phone 100 performs a device search to determine whether a collaborative device with document display capability exists in the device tablet 210, the television 220, and the speaker 230 connected to the mobile phone 100.
If the tablet 210 has the document display capability, the mobile phone 100 displays the prompt message 44 "please confirm whether to use the tablet 210 as the collaborative device to display the document file 40" as shown in fig. 5I. If the mobile phone 100 detects a click operation of the "confirm" control by the user, the mobile phone 100 sends the document file 40 to the tablet computer 210 for display. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the mobile phone 100 may also display the aforementioned prompt message 42 "the display process of the document file 40 has been canceled" to alert the user.
In addition, if the tablet 210, television 220, and speaker 230 connected to the mobile phone 100 do not have document display capabilities. However, the mobile phone 100 determines that the tablet computer 210 and the television 220 can implement the document display capability by installing the document display application according to the device type information of the tablet computer 210, the television 220, and the speaker 230.
As shown in fig. 5J, the handset 100 may display a device menu 27 and a reminder 16. The device menu 27 includes names "tablet" 210 and "television 220" of collaborative devices that can support document display capabilities through a downloaded document display application so that a user can select a collaborative device. In addition, the device menu 27 may also include the name "speaker 230" for devices that establish a connection with the handset 100, but cannot support document display capabilities. The reminder 16 displays description information for reminding the user such as "the device that establishes a connection with the cellular phone 100 is shown below" and "in which the tablet 210 and the television 220 can support the document display function through the downloaded document display application".
If the mobile phone 100 detects the triggering operation of the user on the "tablet computer 210", the mobile phone 100 sends an application installation instruction for installing the document display application to the tablet computer 210, so that the tablet computer 210 installs the document display application according to the application installation instruction.
In one implementation of the present application, after receiving the application installation instruction, the tablet computer 210 may automatically install a corresponding document display application.
In another implementation of the present application, after receiving the application installation instruction, the tablet computer 210 may further display a prompt 17 as shown in fig. 5J to display information for reminding the user whether to determine to download the document display application, and display names of the document display applications that recommend downloading, such as "document display application D1" and "document display application D2". If the tablet computer 210 detects a click operation of the "confirm" control by the user after the tablet computer 210 detects a click operation of the "document display application D1", the tablet computer 210 downloads and installs the document display application D1.
After the tablet computer 210 installs the document display application D1, the document display capability notification information of the tablet computer 210 is transmitted to the mobile phone 100.
After the mobile phone 100 receives the document display capability notification information, as shown in fig. 5K, the mobile phone 100 updates the device menu 27 to display the device menu 28 to update the display interface. The device menu 28 includes a name "tablet 210" of a collaborative device having document display capabilities, a name "television 220" of a collaborative device that can support document display capabilities through a downloaded document display application, and a name "speaker 230" of a device that establishes a connection with the handset 100 but cannot support document display capabilities.
If the mobile phone 100 receives a click operation of the "tablet 210" from the user, the mobile phone 100 sends the document file 40 to the tablet 210.
The tablet 210 receives the document file 40 and displays the document file 40 through the document display application D1 as shown in fig. 5K. In addition, the tablet 210 may also receive user input or modification operations to the document file 40. And automatically transmits the modified document file 40 to the cellular phone 100 after the cooperation is completed.
In addition, after the mobile phone 100 transmits the document file 40 to the tablet computer 210, a prompt message (not shown) may be displayed to indicate that "the document file 40 has been transmitted to the tablet computer 210" is displayed to prompt the user that the document file 40 has been transmitted to the tablet computer 210.
In another implementation of the present application, as shown in fig. 5E, after the mobile phone 100 detects a click operation of the document file 40 by the user, if the mobile phone 100 determines that the mobile phone 100 and the tablet 210, the television 220, and the speaker 230 connected to the mobile phone 100 do not have the document display capability. The tablet 210 may have document display capabilities by installing a document display application.
Then as shown in fig. 5L, the mobile phone 100 may display the hint information 18 as application installation hint information, the hint information 18 including the application information to be installed "document display application D1". For example, the reminder 18 may be "please determine whether to download the document display application D1" on the tablet 210. If the mobile phone 100 detects a click operation of the "confirm" control by the user, the mobile phone 100 determines that a fourth operation of the application installation prompt information by the user is received, and the mobile phone 100 sends an application installation instruction to the tablet computer 210. If the mobile phone 100 detects a click operation of the "cancel" control by the user, the mobile phone 100 ends the collaborative operation.
After receiving the application installation instruction, the tablet pc 210 downloads and installs the document display application D1. After the tablet 210 installs the document display application D1, notification information that the document display application has been installed is transmitted to the cellular phone 100. In addition, the tablet 210 may display the hint information 19 "the installed document display application D1 has been downloaded".
After the mobile phone 100 receives the notification information, as shown in fig. 5M, the mobile phone 100 displays a device menu 281 to update the display interface. The device menu 281 includes a document display capability and a device name "tablet 210" of a device having the document display capability. If the mobile phone 100 receives the click operation of the "tablet 210" by the user, the mobile phone 100 sends the document file 40 to the tablet 210, so that the tablet 210 performs the display operation on the document file 40.
In this implementation, if the hardware capabilities of the tablet 210 connected to the cell phone 100 support document display capabilities, the tablet 210 does not install the document display application. The mobile phone 100 may send an application installation instruction of the document display application to the tablet computer 210 to cause the tablet computer 210 to install the document display application. Thus, the tablet computer 210 has document display capability and is used as a cooperative device to cooperatively operate the document files in the mobile phone 100.
The collaboration method between the electronic devices provided by the application can be applied to another collaboration scene of the document file.
In one implementation of the present application, the handset displays a display interface as shown in fig. 5E. If the mobile phone 100 detects a long press operation of the document file 40 by the user, the mobile phone 100 displays a display interface as shown in fig. 5N. An "more" control 311 is displayed under the screen of the handset 100. If the handset 100 detects a single click operation of the "more" control 311 by the user, the handset 100 displays an "open and edit using other device" control 321. If the handset 100 detects a click operation of the "open and edit with other device" control 321 by the user, the handset 100 performs a device search to search for a device that establishes a connection with the handset 100 and has document file display and editing capabilities.
After the mobile phone 100 completes the device search, the mobile phone 100 displays a device menu 271 as shown in fig. 5O. The device menu 271 includes name tablet 210 and television 220 of devices having document file display and editing capabilities, and name application E1, application E2, application E3, and application E4 of applications having document file display and editing capabilities installed in the respective devices.
If the mobile phone 100 detects a click operation of the application E1 corresponding to the tablet 210 by the user, the mobile phone 100 determines the tablet 210 as a cooperative device for performing the cooperative operation. The mobile phone 100 sends the document file 40 to the tablet 210 for display. After the tablet 210 receives the document file 40, the document file 40 is directly displayed by the application E1. In addition, the tablet 210 may also receive the user's editing operation of the document file 40 through the application E1, and save the document file 40 after the user's editing.
The collaboration method between the electronic devices provided by the application can be also applied to the collaborative operation scene of the video file.
Referring to fig. 5P, the mobile phone 100 displays a video call interface for performing a video call with another electronic device through a video call application by the mobile phone 100. If the mobile phone 100 detects the "slide up" operation of the user in the lower left corner of the screen, the mobile phone 100 searches for a device that establishes a connection with the mobile phone 100, and the mobile phone 100 displays an interface as shown in fig. 5Q. The interface includes prompt 20 "connect local task to other device" and "search for connected device … …".
After the mobile phone 100 completes the device search, as shown in fig. 5R, the mobile phone 100 displays a device menu 29 for the user to view the devices connected to the mobile phone 100 and devices with capabilities including video playing capability, video capturing capability, etc. for implementing the video call function, so as to select the collaborative device. Wherein the device menu 29 includes a device tablet 210 and a television 220 having video playback capabilities that can cooperate as a video call, and a device stereo 230 that establishes a connection with the handset 100 but does not support video playback capabilities. If the handset 100 detects a click operation of the "television 220" by the user, the handset 100 forwards the video file of the video call to the television 220.
The television 220 receives the video file, and as shown in fig. 5S, the television 220 performs video playing according to the video file to display the video call interface, so as to implement the screen display (or may also become a continuous display) of the video call interface on the mobile phone 100 on the television 220.
After the mobile phone 100 transmits the video file to the television 220, the mobile phone 100 may switch the video call application running in the foreground to the background running. And the handset 100 may display the main desktop of the handset 100 as shown in fig. 5S. In addition, after the mobile phone 100 switches the video call application to the background operation, the mobile phone 100 also displays other display interfaces.
In this implementation, the video call service in the mobile phone 100 may be connected to the television 220 for display.
In another implementation of the present application, the device capability integration information may also be a corresponding relationship between a device and a device capability, that is, the device menu may be the device menu 30 shown in fig. 5T.
Of course, the mobile phone 100 may also display device menus in other formats and content, all of which may be selected as desired.
In another implementation of the present application, after the mobile phone 100 obtains the device capability integration information, the device capability integration information may also be saved, without generating a device menu. After the mobile phone 100 detects the first operation of the user on the first file, the mobile phone 100 may directly determine the corresponding target device capability according to the file type of the first file, and then use the device corresponding to the target device capability as the cooperative device. The mobile phone 100 transmits the first files to the cooperative devices, respectively. For example, the first file is a music file, the mobile phone 100 sends the music file to the tablet 210, the television 220, and the audio box 230, respectively.
In the present application, the device capabilities include, but are not limited to, the aforementioned video playing capability, picture displaying capability, and music playing capability, and may also include device capabilities such as file decompression capability, file decryption capability, heart rate data processing capability, and the like.
The collaboration method between electronic devices provided by the application can be applied to other scenes such as a scene of collaborative operation on video files such as movies and network courses, or a scene of collaborative operation such as compressed file decompression, encrypted file decryption and the like on a first file. And when the mobile phone 100 needs to perform the cooperative operation, the mobile phone 100 displays a device menu, so that the user can check the device capability of each connected device, and is convenient for the user to select the cooperative device for performing the cooperative operation.
In the present application, the collaboration control displayed by the mobile phone 100 for the user to perform the first operation to initiate the collaboration operation may be the "collaboration" control 11 as previously described, and may also be the "open with other devices" control 32. In addition, the collaboration control may also display text such as "switch current business to other devices," or may be a specific icon for the user to view and perform the first operation.
In addition, in the present application, the mobile phone 100 may also receive the first operation or the collaboration instruction of the user through voice, user gesture, and the like, and perform the device discovery and the device connection operation of the collaboration device.
In the present application, the device identification information may be the aforementioned device names such as "tablet computer 210", "television 220" and "sound box 230", or may be other unique identification IDs such as user account number, internet protocol (Internet Protocol, IP) address, etc. of the device, which may be selected as required.
The application identification information may be the application names of the aforementioned "application A1", "application B1", etc., or may be icons of the applications or other information, which may be selected as needed.
In another implementation of the present application, referring to fig. 5U, the mobile phone 100 may also set the "collaborative mode" control 50 under the "set" control. If the handset 100 detects an opening operation of the "collaborative mode" control 50 by the user, the handset 100 considers the handset 100 to be in a collaborative mode. The handset 100 performs the aforementioned device search to determine the cooperating device when it is required to do so.
In the collaboration method between electronic devices provided by the present application, the collaboration is performed by setting a specific collaboration application in the mobile phone 100 alone. The mobile phone 100 displays the device menu for the user to view and operate when the collaboration is required, so that the mobile phone 100 can select the collaboration device to perform the collaboration through the unified operation entrance provided by the device menu without depending on specific collaboration applications. For example, when browsing pictures in a local folder, a gallery, a third party gallery, or a third party gallery, the mobile phone 100 may display a menu of the device when detecting a click operation of the collaboration control by the user, a sliding operation on the display interface, or the like. So that the user can select a cooperative device from devices connected with the mobile phone 100 through the device menu to perform picture display cooperation.
In the present application, the tablet pc 210, the television 220 and the audio box 230 may also respectively establish a close range communication connection with a Mobile Hotspot (Mobile Hotspot) provided by the Mobile phone 100 through the Mobile phone 100.
Or the communication system may further comprise an Access Point (AP) router (not shown in the figure). The mobile phone 100, the tablet pc 210, the television 220 and the sound box 230 are respectively connected with the AP router to access to a wireless local area network (Wireless Local Area Network, WLAN (such as wireless fidelity (Wireless Fidelity, wi-Fi)) provided by the AP router, and a near field communication connection is established between the mobile phone 100, the tablet pc 210, the television 220 and the sound box 230 based on the WLAN to perform communication.
Of course, the tablet 210, the television 220 and the audio box 230 may also respectively establish a close range communication connection with the mobile phone 100 through other manners, such as near field communication (Near Field Communication, NFC), or establish other types of connections.
In the present application, the devices connected to the mobile phone 100 may also include wearable devices such as headphones and a bracelet, and other devices such as smart home devices.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an exemplary mobile phone 100 according to an embodiment of the present application.
The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiment of the present application is not limited to the mobile phone 100. In other embodiments of the present application, the handset 100 may include more or less components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and the like. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The processor can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. For example, the processor 110 is configured to enable the mobile phone 100 to execute the collaboration method between electronic devices provided in the embodiment of the present application.
The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The mobile communication module 150 may provide wireless communication functions including 2G/3G/4G/5G, etc. applied to the mobile phone 100.
The wireless communication module 160 may provide a solution for wireless communication including wireless local area network (wireless local area networks, WLAN), such as wireless fidelity (wireless fidelity, wi-Fi) network, bluetooth (BT), etc. applied to the handset 100.
In some embodiments, the antenna 1 and the mobile communication module 150 of the handset 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the handset 100 can communicate with a network and other devices through wireless communication technology.
The mobile phone 100 implements display functions through a GPU, a display 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. In some embodiments, the cell phone 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The mobile phone 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
In some embodiments, the cell phone 100 may include 1 or N cameras 193, N being a positive integer greater than 1. Further, the mobile phone 100 includes at least one camera 193 on the same side as the display 194.
The handset 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as video calls, music plays, video plays, etc.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. When a touch operation is applied to the display 194, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor 180A. The mobile phone 100 may also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor 180K may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the mobile phone 100 at a different location than the display 194.
In the embodiment of the present application, the mobile phone 100 may detect the triggering operation of the user on the display screen 194 according to the pressure sensor 180A and the touch sensor 180K, may detect the voice input of the user according to the receiver 170B, may detect the gesture input of the user according to the camera 193, or may detect the input of the user according to the input module such as other input keyboard, which is not limited in this embodiment.
The structure of the tablet pc 210, the television 220 and the speaker 230 according to the embodiment of the present application is not described in detail, and may be various structures that are currently common.
Referring to fig. 7A, fig. 7A is a software block diagram of the mobile phone 100 and the connection device 200 according to the embodiment of the present application.
The mobile phone 100 includes a device communication module 101, a device capability module 102, a file management module 103, and a control module 104, where:
the device communication module 101 is configured to use near field communication capability (such as bluetooth, wiFi, NFC, etc.) to perform device discovery and device connection, so that a call for a mutual interface between devices can be implemented. The device communication module 101 is also used for transmitting information or data between the mobile phone 100 and other devices, such as the connection device 200. In this implementation, near field communication may also be referred to as soft bus communication.
The device capability module 102 is configured to manage the device capability of the mobile phone 100, manage and classify the device capability of other devices received by the mobile phone 100, such as the connection device 200, and obtain device capability integration information. The device capability module 102 is also used to display a device menu.
The file management module 103 is configured to manage a first file in the mobile phone 100. For example, after the mobile phone 100 detects a related operation of the user viewing or editing the first file in the mobile phone 100 using the connection device 200 as a cooperative device, the related first file is sent to the connection device 200 through the device communication module 101. The file management module 103 is further configured to manage the second file that is received by the mobile phone 100 and sent by the connection device 200 and is subjected to the cooperative operation.
The control module 104 is used to control the overall collaborative process. For example, after the device communication module 101 completes device discovery and establishes a connection with the connection device 200, the control module 104 controls the device capability module 102 to display all the connection devices 200 and display interfaces such as a device menu generated according to the device capability integration information for the user to view and select. When the mobile phone 100 detects that the user selects to use the connection device 200 as a cooperative device to view or edit the first file in the mobile phone 100, the control module 104 controls the file management module 103 to transfer the related first file to the connection device 200 through the device communication module 101.
In this implementation, the device communication module 101 may be implemented by the aforementioned mobile communication module 150 and/or wireless communication module 160. The device capability module 102, the file management module 103, and the control module 104 may be implemented by the aforementioned processor 110.
It should be noted that, in this implementation, the tablet 210, the television 220, and the audio box 230 may be collectively referred to as the connection device 200.
The connection device 200 includes a device communication module 201, a device capability module 202, a file management module 203, and a control module 204. Wherein:
the device communication module 201 is configured to use near field communication capability (such as bluetooth, wiFi, NFC, etc.) to perform device discovery and device connection, so as to implement mutual interface call between devices. The device communication module 201 is also used for transmitting information or data between the connection device 100 and the mobile phone 100 with which the connection is established.
The device capability module 202 is configured to connect to the device 200 to determine its own device capability, generate device information including device capability information, and send the device information to the mobile phone 100 through the device communication module 201.
A file management module 203 for managing files in the connection apparatus 200. For example, managing the received first file transmitted from the mobile phone 100 and displaying the first file or performing a collaborative operation on the first file. And for determining the second file obtained through the cooperative operation and transmitting the second file to the mobile phone 100 through the device communication module 201.
The control module 204 is configured to control the entire collaboration process, and monitor a usage status of the first file sent by the mobile phone 100. After the first file is co-operated, the control module 204 is configured to control the file management module 203 to determine a second file that is currently obtained, and enable the file management module 203 to automatically return the second file to the mobile phone 100. The control module 204 may also delete a second file on the connected device 200 that is no longer needed.
In this implementation manner, the device information, the first file, the second file, and other data and information may be transmitted between the mobile phone 100 and the connection device 200 in a format such as text, javaScript object notation (JavaScript Object Notation, JSON), and extensible markup language (Extensible Markup Language, XML).
Referring to fig. 7B, in an implementation manner of a collaboration method between electronic devices provided by the present application, a connection is established between a mobile phone 100 and a connection device 200 for collaboration, and a process of generating device capability integration information and a device menu by the mobile phone 100 includes the following steps:
s101, the control module 104 in the mobile phone 100 determines to perform device discovery.
If the control module 104 detects that the bluetooth module in the mobile phone 100 is turned on, the control module 104 determines to perform device discovery. Or if the control module 104 detects a first operation of the first file by the user, for example, the control module 104 detects a click operation of a "collaboration" control on the first file display interface by the user, the control module 104 determines to perform device discovery.
S102, the control module 104 sends a connection establishment instruction to establish close range communication with the connection device 200 to the device communication module 101 in the mobile phone 100.
The connection establishment instruction may be an instruction to search for a device in the vicinity of the mobile phone 100 that can establish a close range communication connection with the mobile phone 100, and establish a connection.
S103, the device communication module 101 in the mobile phone 100 performs device discovery according to the connection establishment instruction, determines the connection device 200 that can establish connection, and establishes connection with the connection device 200 through the device communication module 201 of the connection device 200.
S104, after determining that the connection device 200 establishes a connection with the mobile phone 100, the device communication module 201 in the connection device 200 sends a notification message to the control module 204 that the connection has been established with the mobile phone 100.
S105, after receiving the notification message, the control module 204 sends a device capability sending instruction to the device capability module 202 to cause the device capability module 202 to determine the device capability of the connection device 200.
S106, the device capability module 202, after receiving the device capability transmission instruction, determines the device capability of the connection device 200 according to the device capability transmission instruction, and generates device information including device capability information and a device name.
S107, the device capability module 202 transmits the device information to the device communication module 201.
Referring to fig. 7C, step S106 in fig. 7B will be further explained below in conjunction with fig. 7C.
The device capability module 202 in the connection device 200 includes a device capability providing service 2021, a capability database 2022, and a package management service (Package Manager Service, PMS) 2023. The process by which the device capability module 202 determines the device capability includes the steps of:
s1061, the device capability providing service 2021 in the device capability module 202 receives the aforementioned device capability transmission instruction.
The device capability providing service 2021 provides a device interface external to the connection device 200 for service calls on other devices to obtain device capabilities of the connection device 200.
S1062, the device capability providing service 2021 transmits a call request to the packet management service 2023 according to the device capability transmission instruction to call the PMS service to acquire the installed application list of the connection device 200.
S1063, the device capability providing service 2021 performs device capability matching according to the acquired installed application list and the device hardware capabilities in the device capability database to determine the device capability of the connection device 200.
For example, if the connection apparatus 200 installs a music playing application and the connection apparatus 200 includes a microphone, it is determined that the apparatus capability of the connection apparatus 200 includes a music playing capability.
S1064, the device capability providing service 2021 transmits the device capability and the device name as device information to the aforementioned device communication module 201.
In this implementation, the device capability module 202 determines the device capability may be determined based on the hardware capabilities of the device and the applications in which the device is installed.
In another implementation of the present application, the device capability module 202 may also determine that the device capability is determined according to the type of device and the application in which the device is installed, e.g., a device with a device type of "speaker" typically has music playing capability, and if the device also installs a music playing application, then it is determined that the device has music playing capability. A device of the device type "television" typically has video and music playing capabilities, and if the device is also equipped with a video playing application and a music playing application, it is determined that the device has video and music playing capabilities.
In another implementation of the present application, the device capability module 202 determines the device capability according to factors such as the device type, the hardware capability of the device, and the application installed by the device, and may make the determined device capability more accurate. For example, if a device type of a device is "speaker" and the device has a music playing application installed and the device has a microphone, then it is determined that the device includes music playing capabilities.
After receiving the device information, the device communication module 201 further includes:
s108, the device communication module 201 transmits the device information to the device communication module 101 in the mobile phone 100.
That is, after the connection device 200 establishes a connection with the mobile phone 100, the connection device 200 actively transmits device information including its own device capability information to the mobile phone 100, so that the mobile phone 100 can conveniently acquire the device capability of the connection device 200.
S109, the device communication module 101 in the mobile phone 100 sends the received device information to the device capability module 102 in the mobile phone 100.
S110, the device capability module 102 receives the device information, and performs device capability classification integration according to the received device information of the connection device 200 to generate device capability integration information.
The connection device 200 includes a tablet 210, a television 220, and a sound box 230. Then for S110, the device capability module 102 generates device capability integration information according to the received device capability information of the connected device 200, which may be that the device capability module 102 generates device capability integration information according to the device information of the tablet 210, the television 220 and the speaker 230, so as to facilitate the user to view.
In one implementation of the present application, the device information includes device identification information and device capability information, where the device identification information may be a device name of a device, and the device capability information may be a device capability such as video playing, picture displaying, and music playing.
For example, the first device information of the tablet computer 210 includes its own device name "tablet computer 210" and device capability information "video play, picture display, and music play". The second device information of the television 220 includes its own device name "television 220" and device capability information "video play, picture display, and music play". The third device information of the speaker 230 includes its own device name "speaker 230" and device capability information "music playing".
The mobile phone 100 may generate the device capability integration information according to the device information, where the mobile phone 100 classifies devices according to the device capabilities, and generates a correspondence table between the device capabilities and the device names as shown in table 1.
TABLE 1
After the mobile phone 100 obtains the device capability integration information, the mobile phone 100 can directly determine the cooperative device according to table 1 while the mobile phone 100 is cooperating. For example, if the mobile phone 100 needs to perform video playing coordination, the mobile phone 100 determines that the devices with video playing capability include the tablet 210 and the television 220. The mobile phone 100 may send the video file to the tablet 210 and the television 220 simultaneously using the tablet 210 and the television 220 as a collaborative device. Or the mobile phone 100 may also select one of the tablet pc 210 and the television 220 as a cooperative device, and send the video file to the selected cooperative device.
Further, after generating the device capability integration information, the mobile phone 100 further includes:
s111, the control module 104 in the mobile phone 100 controls the device capability module 102 to generate a device menu according to the device capability integration information, and displays the device menu.
The device menu may include device capabilities, as well as names of devices respectively corresponding to the respective device capabilities. The user can view the devices connected to the mobile phone 100 and the device capabilities of the devices through the device menu without knowing in advance the devices connected to the mobile phone 100 and the device capabilities of the devices.
The specific content and format of the device menu may be as described above and will not be described here.
Further, after the mobile phone 100 displays the device menu, the method further includes: the device capability module 102 in the mobile phone 100 receives the pre-configuration of the corresponding relationship between the device capability and the device by the user through the device menu, and stores the corresponding relationship between the pre-configured device capability and the device name.
The correspondence between the device capability and the device name may be as shown in fig. 2.
/>
TABLE 2
Namely, the corresponding relation between the pre-configured capability type and the device name is as follows: the device corresponding to the video playing capability is a television 220, the device corresponding to the picture displaying capability is a tablet computer 210, and the device corresponding to the music playing capability is a sound box 230.
After the mobile phone 100 saves table 2, the mobile phone 100 can determine the required device capability according to the file type of the first file when the collaboration is performed later. And then directly transmitting the first file corresponding to the first file to the cooperative device corresponding to the device capability required by the first file according to the corresponding relation shown in the table 2.
In one implementation of the application, the device information may also include installed applications that connect to installed support device capabilities in the device 200.
The device capability integration information generated by the mobile phone 100 according to the device information may be a correspondence table of device capabilities, device names, and applications as shown in table 3.
TABLE 3 Table 3
For example, the video-enabled devices include a tablet 210 and a television 220, wherein the video-enabled applications installed in the tablet 210 include application A1, and the video-enabled applications installed in the television 220 include application A2, and so on. The device menu generated by the handset 100 may also include the names of the applications described above.
In one implementation of the present application, for S111, the control module 104 in the mobile phone 100 controls the device capability module 102 to generate a device menu, or may generate a device menu according to the device information of the connection device 200 and the communication quality between the mobile phone 100 and the connection device 200.
That is, the mobile phone 100 can also obtain the communication quality between the mobile phone 100 and the connection device 200, the communication quality can be determined by the signal strength of the communication between the mobile phone 100 and the connection device 200, which is acquired by the mobile phone 100, and the larger the signal strength is, the higher the communication quality is.
As shown in table 4 below, the device capability integration information generated by the handset 100 may also include communication quality information. The communication quality may include 1 to 5 levels, with level 1 being the worst communication quality and level 5 being the worst communication quality.
/>
TABLE 4 Table 4
In one implementation of the present application, the mobile phone 100 may directly determine the cooperative device according to table 4 while cooperating. For example, if the mobile phone 100 needs to perform video playing coordination, the mobile phone 100 first determines that the devices with video playing capability include the tablet 210 and the television 220. Then, as can be seen from table 4, the communication quality between the mobile phone 100 and the television 220 is better than the communication quality between the mobile phone 100 and the tablet pc 210. The mobile phone 100 automatically selects the television 220 as the cooperative device and transmits the video file to the television 220.
In another implementation manner of the present application, the device menu generated by the mobile phone 100 according to the above table 4 may include communication quality information corresponding to each device, so that the user may view the communication quality between the mobile phone 100 and the connection device 200 to perform the collaborative device selection. For example, the user may determine that the device with video playing includes the tablet pc 210 and the television 220 through the device menu, and the user may determine that the communication quality between the mobile phone 100 and the television 220 is stronger than the communication quality between the mobile phone 100 and the tablet pc 210 through the device menu. The user may select television 220 as the cooperating device. If the handset 100 detects a user's click on the "television 220" on the device menu, the handset 100 sends a video file to the television 220.
In another implementation of the present application, for S111, the control module 104 in the mobile phone 100 controls the device capability module 102 to generate a device menu, and may also generate the device menu according to the device information of the connection device 200, the communication quality between the mobile phone 100 and the connection device 200, and the location information such as the azimuth information and the distance information between the mobile phone 100 and the connection device 200.
That is, the mobile phone 100 can also acquire the communication quality between the mobile phone 100 and the connection device 200, and the position information such as the azimuth information and the distance information between the mobile phone 100 and the connection device 200 to generate the recommended level.
The mobile phone 100 obtains azimuth information and distance information between the mobile phone 100 and the connection device 200, and can calculate and judge the signal position received by the antenna of bluetooth or WIFI.
The device capability integration information generated by the mobile phone 100 may be a correspondence table of device capabilities, device names, and recommendation information as shown in table 5.
TABLE 5
When the mobile phone 100 performs collaboration, the device with the highest recommendation level can be directly determined as the collaboration device according to table 5. Or the handset 100 may also generate a device menu including recommendation levels for viewing and selection by the user.
In another implementation of the present application, for S111, the control module 104 in the mobile phone 100 controls the device capability module 102 to generate a device menu, or may generate the device menu according to the device information of the mobile phone 100 and the other information.
The device capability integration information generated by the mobile phone 100 may be as shown in table 6, and may further include the name of the mobile phone 100, the device capability of the mobile phone 100, and the recommendation information of the mobile phone 100
TABLE 6
When the mobile phone 100 cooperates, the device capabilities of the mobile phone 100 and the connection device 200 can be determined according to table 6, and if the mobile phone 100 has the device capability of operating the first file, the mobile phone 100 directly performs the corresponding operation on the first file. If the handset 100 does not have the device capability to operate on the first file, the handset 100 determines a cooperating device.
In addition, when the mobile phone 100 determines the cooperative device, the mobile phone 100 may select a device having a higher recommendation level than the recommendation level of the mobile phone 100 as the cooperative device.
In this implementation manner, after determining that the connection device 200 establishes a connection with the mobile phone 100, the connection device 200 may automatically send device information of the connection device 200 to the mobile phone 100. Without the user confirming the device information, the mobile phone 100 can detect the device capabilities of the connection device 200.
Of course, in the present application, for S103 described above, after the mobile phone 100 determines that the mobile phone 100 establishes a connection with the connection device 200, the mobile phone 100 may also send a device information acquisition request to the connection device 200. After receiving the device information acquisition request, the connection device 200 transmits the device information to the mobile phone 100.
In one implementation manner of the collaboration method between electronic devices provided by the application, the mobile phone 100 displays the aforementioned picture 10a, and if the mobile phone 100 detects that the device selected by the user to perform file collaboration is the operation of the tablet computer 210, the mobile phone 100 determines that the tablet computer 200 is the collaboration device for performing picture display.
It should be noted that, corresponding to the foregoing structural block diagram of the connection device 200, the tablet computer 210 may include a device communication module 211, a device capability module 212, a file management module 213, and a control module 214. The device communication module 211, the device capability module 212, the file management module 213, and the control module 214 correspond to and are the same as the functions of the device communication module 201, the device capability module 202, the file management module 203, and the control module 204 described above, and are not described here again.
Referring to fig. 7D, the process of collaboration between the mobile phone 100 and the tablet pc 210 includes the following steps:
S201, the control module 104 in the mobile phone 100 detects a click operation of the name "tablet 210" of the tablet 210 by the user through the device menu.
S202, the control module 104 sends a file transfer instruction to the file management module 103. The file transfer instruction is an instruction for transmitting a file of the picture 10 a.
S203, the file management module 103 receives the file transfer instruction, and sends the picture 10a to the device communication module 101 according to the file transfer instruction.
S204, the device communication module 101 sends the picture 10a to the device communication module 211 in the tablet 210.
S205, the device communication module 211 in the tablet 210 sends the picture 10a to the file management module 213.
S206, the control module 214 in the tablet pc 210 controls the file management module 213 to display the picture 10a after detecting that the file management module 213 receives the picture 10a, so as to realize the display coordination of the tablet pc 210 to the picture 10 a.
After the tablet 210 displays the picture 10a, the method further includes:
s207, the control module 214 in the tablet pc 210 controls the file management module 213 to monitor whether the user has a modification operation on the picture 10a, and if so, the file management module 213 records the modification on the picture 10a to obtain a modified picture 10b.
S208, after the control module 214 detects that the user completes the collaborative operation on the picture 10a, the control file management module 213 transmits the modified picture 10b to the device communication module 211.
S209, the device communication module 211 sends the picture 10b to the device communication module 101 in the mobile phone 100.
The tablet pc 210 serving as the cooperative device transmits the obtained picture 10b back to the mobile phone 100 after the cooperative operation, so that the mobile phone 100 can obtain a file subjected to the cooperative operation, and the mobile phone 100 can store or perform subsequent processing conveniently.
S210, the device communication module 101 in the mobile phone 100 sends the picture 10b to the file management module 103.
S211, the file management module 103 stores the picture 10b.
In addition, the file management module 103 may display the picture 10b according to the control of the control module 104.
In this implementation manner, the tablet pc 210 serving as the cooperative device automatically monitors the modification operation of the user on the picture 10a, and obtains the picture 10b obtained by modifying the picture 10 a. And after the cooperation is completed, the tablet pc 210 performs a feedback operation on the picture 10b, and sends the picture 10b to the mobile phone 100. The mobile phone 100 can conveniently obtain the picture 10b obtained through the cooperative operation, so that a user can conveniently view the picture 10b through the mobile phone 100.
In addition, the tablet 210 automatically deletes the picture 10b without trace.
In this implementation, if the file management module 213 does not detect the modification of the picture 10a by the user, the tablet computer 210 does not need to execute the steps S208 to 211 after detecting that the user finishes viewing the picture 10a by the tablet computer 210 and the mobile phone 100.
In another implementation of the present application, if the mobile phone 100 determines that the device performing the display co-operation of the picture 10a includes the tablet 210 and the television 220, the mobile phone 100 may send the picture 10a to the tablet 210 and the television 220 at the same time. And after receiving the modified picture returned by the tablet pc 210 and the modified picture returned by the television 220, the mobile phone 100 may combine the two modified pictures to obtain a combined picture, and store the combined picture.
In addition, the modification of the picture 10a by the tablet 210 may be a graffiti process, and the modification of the picture 10a by the television 220 may be a palette process. That is, after the mobile phone 100 sends the picture 10a to a plurality of cooperative devices, the plurality of cooperative devices can process the picture 10a by adopting different file processing modes, so as to realize the cooperative operation of the different cooperative devices on a single file in a plurality of modes.
In one implementation of the present application, the device information further includes device type information of the device, for example, the device type may be a tablet computer, a television, a sound box, and the like. After receiving the device type information transmitted from each cooperative device, the mobile phone 100 determines, based on the device type information, ideal device capability information of the connection device 200, which is information of device capabilities that a certain type of device should normally have. The mobile phone 100 then compares the ideal device capability information with the device capability information transmitted from the connection device 200, and determines whether the ideal device capability information is identical to the device capability information transmitted from the device 200. It is thus possible to determine whether the connection device 200 has an application corresponding to the device capability that should be provided because it has not been installed, and does not have the corresponding device capability.
For example, the mobile phone 100 determines that the tablet 210 should have document display capability according to the device type of the tablet 210, that is, the hardware capability of the tablet 210 may support the document display capability. But the device capabilities sent by the tablet 210 do not include document display capabilities. The cellular phone 100 may also cooperate with the connection device 200 to enable the connection device 200 to install a document display application.
Referring to fig. 7E, the process of cooperating between the mobile phone 100 and the connection device 200 to enable the connection device 200 to install the document display application includes:
s301, the control module 104 in the mobile phone 100 determines, according to the device information of the tablet computer 210, that the tablet computer 210 needs to install the document display application, and the control module 104 generates an application installation instruction and sends the application installation instruction to the device communication module 101.
The device capability module 102 generates an application installation instruction, which may be an application installation instruction that includes a document display capability, so that the tablet 200 may determine a document display application that needs to be downloaded according to the document display capability.
Of course, when the control module 104 in the mobile phone 100 determines that the tablet 210 needs to install the document display application according to the device information of the tablet 210, the control module 104 may generate a prompt "please determine whether to download the document display application in the mobile phone 100". If the mobile phone 100 detects a determination operation by the user, the control module 104 generates an application installation instruction. If the mobile phone 100 does not detect the determining operation of the user, the control module 104 does not generate the application installation instruction.
S302, the device communication module 101 issues an application installation instruction to the device communication module 203 in the connection device 200.
S303, the device communication module 203 in the connection device 200 issues an application installation instruction to the device capability module 202.
S304, the device capability module 202 directly downloads and installs the document display application with the document display capability from the application market application in the connection device 200 according to the application installation instruction under the control of the control module 214.
S305, after the tablet 210 installs the document display application, the control module 214 generates notification information. The notification information includes newly added device capability information of the tablet 210 corresponding to the document display application. And the control module 214 controls the device communication module 211 to transmit the notification information to the device communication module 101 in the cellular phone 100.
S306, the device communication module 101 transmits notification information including the newly added device capability information to the device communication module 211.
S307, the device communication module 211 transmits the notification information to the device communication module 101 in the mobile phone 100.
S308, the device communication module 101 sends the notification information to the device capability module 102.
S309, the device capability module 102 updates the device capability integration information according to the notification information.
S310, the control module 104 generates a new device menu according to the updated device capability integration information and displays the updated device menu. The new device menu includes the aforementioned newly added device capability information.
In addition, for S301, the device capability module 102 may generate an application installation instruction, or may determine an application installation instruction including an application name of the document display application according to a correspondence relationship between different device capabilities and applications preset in the mobile phone 100. For example, the application name included in the application installation instruction information is "document display application D1".
Or, for S304, the tablet 210 generates a prompt message "please determine whether to download and install the document display application" on the tablet 210 according to the application installation instruction under the control of the control module 214, and the cooperative device displays the application installation prompt message. If the tablet computer 210 receives the instruction of the user to determine to install the document display application, the tablet computer 210 downloads and installs the corresponding document display application.
The mobile phone 100 can cooperate with the tablet computer 210 to enable the tablet computer 210 to install document display application, so that the tablet computer 210 has document display capability, and document display cooperation is more convenient.
In this implementation, when the mobile phone 100 determines that the hardware capability of the tablet computer 210 has the document display capability, but the tablet computer 210 does not have the document display application for operating the document file, the mobile phone 100 may send an application installation instruction to the tablet computer 210, so that the tablet computer 210 installs the corresponding document display application. In a subsequent collaboration, the handset 100 may use the device capabilities of the tablet 210. The problem that the cooperative equipment cannot cooperate due to the fact that the cooperative equipment does not have corresponding application in the prior art can be solved, and therefore the use experience of a user can be effectively improved.
In another implementation manner of the collaboration method between electronic devices provided by the present application, the mobile phone 100 performs a document display collaboration process, including the following steps:
s401, the mobile phone 100 detects an operation of opening the document file by the user.
S402, the mobile phone 100 determines whether or not a document display application having a document display capability exists in the mobile phone 100. If so, the mobile phone 100 executes S403. If not, the mobile phone 100 performs S404.
S403, the mobile phone 100 opens the document file through the document display application in the mobile phone 100.
S404, the mobile phone 100 determines whether the mobile phone 100 is in the cooperative mode across devices. If the mobile phone 100 is in the cooperative mode, the mobile phone 100 executes S405. If the mobile phone 100 is not in the cooperative mode, the mobile phone 100 performs S408.
S405, the mobile phone 100 determines whether or not a device having document display capability exists in the connection devices 200 that establish connection with the mobile phone 100. If so, the mobile phone 100 performs S406. If not, the mobile phone 100 performs S409.
S406, the mobile phone 100 displays a device menu, and if the mobile phone 100 detects that the user selects the cooperative device, for example, the cooperative device selected by the user is the tablet 210, the mobile phone 100 executes S407. If the mobile phone 100 does not detect the user selection operation of the cooperative device, the mobile phone 100 executes S410.
S407, the mobile phone 100 transmits the document file to the tablet pc 210 in the connection device 200, so that the tablet pc 210 performs document display collaboration to display the document file.
S408, the mobile phone 100 downloads and installs the document display application, and after the installation is completed, displays the document file.
S409, the mobile phone 100 determines that the device having the document display capability, which can download the document display application, among the connected devices 200, causes the device to download and install the document display application, and displays the document file by the device after the installation is completed.
S410, the mobile phone 100 ends the document display operation without displaying the document file. In addition, the mobile phone 100 may display a prompt message "not find a device that can display a document file".
In this implementation, when the mobile phone 100 needs to display the document file, if the mobile phone 100 itself has the document display capability, the mobile phone 100 itself displays the document file. If the mobile phone 100 does not have a document display file, the document display can be performed in cooperation with a device having document display capability in the connection device 200 connected to the mobile phone 100. Or the mobile phone 100 and the connection device 200 may download the corresponding document display application as needed to have the document display application. The problem that the document file cannot be displayed can be effectively avoided, and the user experience can be improved.
In the present application, the device identification information may be the aforementioned device names such as "tablet computer 210", "television 220" and "sound box 230", or may be other unique identification IDs such as user account number, internet protocol (Internet Protocol, IP) address, etc. of the device, which may be selected as required.
The application identifier may be the application names of the aforementioned "application A1", "application B1", etc., or may be an icon of the application, or may be any other information that may be made, and may be selected as needed.
In the present application, the aforementioned first file includes, but is not limited to, a picture file, a document file, etc., and the third operation of the first file by the cooperative device is not limited to, but also limited to, processing such as file editing. In addition, when the collaboration method between electronic devices is applied to a scene of file editing collaboration, the collaboration device can perform the processing of returning the second file to the mobile phone 100 after performing the third operation on any editable first file.
In the present application, the mobile phone 100 sends the first file to the cooperative device, and may send the first file to the cooperative device at a time. The first file may be segmented and then sent to the cooperative device in segments. For example, when the video playing service is performed, the video file may be sent to the cooperative device in segments in a media stream manner, so that the first file may be transmitted between the mobile phone 100 and the cooperative device, and the cooperative device may perform video playing according to the received first file.
In the collaboration method between electronic devices provided by the present application, compared with a method of collaboration by setting a specific collaboration application in the mobile phone 100 alone. The mobile phone 100 displays the device menu for the user to view and operate when the collaboration is required, so that the mobile phone 100 can select the collaboration device to perform the collaboration through the unified operation entrance provided by the device menu without depending on specific collaboration applications. For example, when browsing pictures in a local folder, a gallery, a third party gallery, or a third party gallery, the mobile phone 100 may display a menu of the device when detecting a click operation of the collaboration control by the user, a sliding operation on the display interface, or the like. So that the user can select a cooperative device from devices connected with the mobile phone 100 through the device menu to perform picture display cooperation.
In addition, the user can also customize the selection policy of the cooperative device, that is, the corresponding relationship between the cooperative device and the first file is preconfigured through the device menu. When the user clicks on the first file, the handset 100 automatically determines the cooperating device.
In another implementation manner of the present application, the mobile phone 100 may send the device capability group information to the tablet pc 210 and the tv 220, respectively, so that when the tablet pc 210 and the tv 220 need to perform device coordination, a coordination device may be selected or a device menu may be generated according to the device capability group information.
The handset 100 may also send the device capability group information to a server (or may also be cloud) for storage. When the equipment is cooperated, the cooperated equipment can be selected according to the equipment capacity grouping information, or an equipment menu is generated, so that the equipment capacity grouping information can be conveniently configured in other cooperated scenes by one key.
Or other electronic devices can acquire the device capability grouping information from the server, so that the device capability grouping information can be conveniently configured in a one-key manner in other cooperative scenes.
In addition, the mobile phone 100 may also send the corresponding relationship between the device capability and the device name configured by the user to the server for storage, so that other devices can perform one-key configuration of the corresponding relationship between the device capability and the device name according to the corresponding relationship, so as to conveniently determine the cooperative device.
The embodiment of the application mainly relates to a collaboration method between electronic devices, which are applied to the electronic devices, wherein the electronic devices comprise mobile phones, tablet computers, televisions, sound boxes, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, personal digital assistants (personal digital assistant, PDA), wearable devices (such as bracelets and the like), virtual reality devices, intelligent home devices and other electronic devices.
In the embodiment of the application, the electronic device is an electronic device capable of wirelessly communicating with other electronic devices, and the electronic device has a screen and supports a display function.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device 900 according to an embodiment of the application. The electronic device 900 may include one or more processors 901 coupled to a controller hub 904. For at least one embodiment, controller hub 904 communicates with processor 901 via a multi-drop bus, such as a Front Side Bus (FSB), a point-to-point interface, such as a Quick Path Interconnect (QPI), or similar connection. The processor 901 executes instructions that control the general type of data processing operations. In one embodiment, controller hub 904 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an input/output hub (IOH) (which may be on separate chips) (not shown), where the GMCH includes memory and graphics controllers and is coupled to the IOH.
Electronic device 900 may also include a coprocessor 906 and memory 902 coupled to controller hub 904. Alternatively, one or both of the memory 902 and the GMCH may be integrated within the processor 901 (as described in embodiments of the present application), with the memory 902 and co-processor 906 coupled directly to the processor 901 and the controller hub 904, the controller hub 904 being in a single chip with the IOH.
In one embodiment, coprocessor 906 is a special-purpose processor, with optional features of coprocessor 906 shown in dashed lines in FIG. 9.
In one embodiment, electronic device 900 may further include a Network Interface (NIC) 903. The network interface 903 may include a transceiver to provide a radio interface for the electronic device 900 to communicate with any other suitable device (e.g., front end module, antenna, etc.). In various embodiments, the network interface 903 may be integrated with other components of the electronic device 900. The network interface 903 may implement the functions of the communication units in the above-described embodiments.
The electronic device 900 may further include an input/output (I/O) device 905.
It is noted that fig. 9 is merely exemplary. That is, although the electronic apparatus 900 is shown in fig. 9 as including a plurality of devices such as a processor 901, a controller hub 904, and a memory 902, in practical applications, an apparatus using the methods of the embodiments of the present application may include only a part of the devices of the electronic apparatus 900, for example, may include only the processor 901 and the NIC903. The nature of the alternative device is shown in dashed lines in fig. 9.
One or more tangible, non-transitory computer-readable media for storing data and/or instructions may be included in the memory of the electronic device 900. The computer-readable storage medium has stored therein instructions, and in particular, temporary and permanent copies of the instructions.
In an embodiment of the present application, the electronic device 900 may be a mobile phone, and the instructions stored in the memory of the electronic device may include: instructions that when executed by at least one unit in the processor cause the handset to implement the collaboration method between electronic devices as previously mentioned.
Referring to fig. 10, fig. 10 is a schematic diagram illustrating a SoC (System on Chip) 1000 according to an embodiment of the present application. In fig. 10, similar components have the same reference numerals. In addition, the dashed box is an optional feature of the more advanced SoC 1000. The SoC1000 may be used in any electronic device according to the present application, and may implement corresponding functions according to the device in which it is located and the instructions stored therein.
In fig. 10, the SoC1000 includes: an interconnect unit 1002 coupled to the processor 1001; a system agent unit 1006; a bus controller unit 1005; an integrated memory controller unit 1003; a set or one or more coprocessors 1007 which may include integrated graphics logic, image processors, audio processors, and video processors; an SRAM (static random access memory) unit 1008; a DMA (direct memory access) unit 1004. In one embodiment, coprocessor 1007 includes a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, high-throughput MIC processor, embedded processor, or the like.
One or more computer-readable media for storing data and/or instructions may be included in the SRAM cell 1008. The computer-readable storage medium may have stored therein instructions, and in particular, temporary and permanent copies of the instructions. The instructions may include: instructions that, when executed by at least one unit in the processor, cause the electronic device to implement the collaboration method between electronic devices as previously mentioned.
Embodiments of the disclosed mechanisms may be implemented in software, hardware, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code executing on a programmable system comprising at least one processor, memory (or storage system including volatile and non-volatile memory and/or storage units).
It should be noted that the terms "first," "second," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
It should be noted that in the drawings, some structural or method features may be shown in a specific arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing is a further detailed description of the application with reference to specific embodiments, and it is not intended to limit the practice of the application to those descriptions. Various changes in form and detail may be made therein by those skilled in the art, including a few simple inferences or alternatives, without departing from the spirit and scope of the present application.

Claims (20)

1. A method of collaboration between electronic devices, for use in a communication system comprising a first electronic device and a second electronic device, the method comprising:
the first electronic device displays a first file and a collaboration control corresponding to the first file and used for initiating collaboration;
the first electronic device receives a first operation of a user on a first file, wherein the first operation comprises a triggering operation on the collaborative control;
the first electronic device displaying a device menu in response to the first operation, the device menu including first device capability information, first device identification information corresponding to the first device capability information, and application identification information of an installed application corresponding to the first device capability information, the first device capability information being capability information for operating the first file, the first device identification information including device identification information of the second electronic device,
The device menu is integrated and classified by the first electronic device according to device information sent by the electronic device which establishes communication connection with the first electronic device;
the device information comprises device identification information, device type information, device capability information and application identification information of an installed application of the electronic device;
the equipment capability information is determined by the electronic equipment according to the installed application information in the electronic equipment and the equipment type information and/or hardware capability information of the electronic equipment;
and wherein the second electronic device is an electronic device in which the device capability information transmitted in the electronic device includes capability information for operating the first file, or the second electronic device is an electronic device in which the device capability information transmitted in the electronic device does not include capability information for operating the first file, but the first electronic device determines, according to the device type information of the electronic device, a capability of the electronic device that hardware capability supports the operation of the first file, and causes the electronic device to install an application for operating the first file according to an application installation instruction transmitted by the first electronic device and to have the capability of operating the first file;
The application installation instruction is generated according to application installation prompt information displayed by a user on the first electronic device, and the application installation prompt information comprises identification information of the electronic device capable of operating the first file by installing an application operating the first file;
the first electronic device receives a second operation of a user on application identification information corresponding to the device identification information of the second electronic device, determines the second electronic device to be used as a cooperative device for cooperative operation on the first file, and sends the first file to the second electronic device which establishes communication connection with the first electronic device, wherein the application corresponding to the application identification information is used as a cooperative application for cooperative operation on the first file;
the second electronic device receives the first file, performs an operation corresponding to the first device capability information on the first file according to the application corresponding to the application identification application, and
the second electronic equipment receives a third operation of a user on the first file to obtain a second file, wherein the third operation comprises a modification operation or an editing operation on the first file;
The second electronic device responds to the completion of the collaborative operation on the first file and sends the second file to the first electronic device;
the first electronic device receives the second file, saves the second file, and/or displays a prompt message to prompt a user to confirm whether to view the second file, and displays the second file in response to receiving an operation that the user confirms to view the second file.
2. The collaboration method as specified in claim 1 wherein the first electronic device displaying a device menu in response to the first operation comprises:
the first electronic device responds to the first operation, and if the first electronic device does not have any application capable of operating the first file, the first electronic device is in a cooperative mode, and the electronic device has any electronic device capable of operating the first file, the first electronic device displays the device menu; or alternatively
And if the first electronic device responds to the first operation, if no application capable of operating the first file exists in the first electronic device, the first electronic device is in a cooperative mode, and no electronic device capable of operating the first file exists in the electronic device, but the electronic device capable of operating the first file by installing the application capable of operating the first file exists, displaying application installation prompt information, receiving a fourth operation of a user on the application installation prompt information, sending an application installation instruction to the electronic device so that the electronic device installs the application capable of operating the first file, and responding to the notification information sent by the electronic device and provided with the application installed, displaying the device menu.
3. The collaboration method as specified in claim 2 wherein the first electronic device determining whether there is an electronic device in the electronic device that is capable of operating on the first file by installing an application that operates on the first file comprises:
the first electronic device determines ideal device capability information of the electronic device according to the device type information of the electronic device;
the first electronic device compares the ideal device capability information with the device capability information sent by the electronic device, and determines whether the electronic device is an electronic device capable of operating the first file by installing an application capable of operating the first file by judging whether the ideal device capability information is consistent with the device capability information sent by the electronic device.
4. The collaboration method between electronic devices of claim 2, wherein the method further comprises:
the first electronic device responds to the first operation, and if the first electronic device is determined to have an application capable of operating the first file, the first electronic device performs an operation corresponding to the first device capability information on the first file through the application capable of operating the first file in the first electronic device; or alternatively
The first electronic device responds to the first operation, if it is determined that an application capable of operating the first file does not exist in the first electronic device and the first electronic device is not in a cooperative mode, the first electronic device downloads and installs the application capable of operating the first file, and after the installation is completed, the first electronic device performs an operation corresponding to the first device capability information on the first file.
5. The collaboration method of any of claims 1-4, wherein after the first electronic device receives a first operation of a first file by a user, the method further comprises:
the first electronic equipment responds to the first operation and judges whether an application with the capability of operating the first file exists in the first electronic equipment or not;
if the first file exists, the first electronic device performs operation corresponding to the first device capability information on the first file through an application in the first electronic device, wherein the application has the capability of performing operation on the first file;
if not, the first electronic device judges whether the first electronic device is in a cooperative mode;
If the first electronic device is not in the cooperative mode, the first electronic device downloads and installs an application with the capability of operating the first file, and after the installation is completed, the first electronic device performs an operation corresponding to the first device capability information on the first file;
if the first electronic device is in the cooperative mode, the first electronic device determines whether an electronic device with the capability of operating the first file exists in the electronic devices;
if the electronic equipment with the capability of operating the first file exists in the electronic equipment, the first electronic equipment directly displays the equipment menu so as to prompt a user whether to use the electronic equipment to perform operation corresponding to the first equipment capability information on the first file;
if the electronic device does not have the electronic device capable of operating the first file, but the electronic device capable of operating the first file is installed, application installation prompt information is displayed, a fourth operation of a user on the application installation prompt information is received, an application installation instruction is sent to the electronic device, so that the electronic device installs the application capable of operating the first file, and in response to the notification information that the application sent by the electronic device is installed, the device menu is displayed to prompt the user whether to use the electronic device to perform the operation corresponding to the first device capability information on the first file.
6. The collaboration method of claim 1, wherein causing the second electronic device to install an application that operates on the first file, displaying the device menu, comprises:
the first electronic device responds to the first operation to display application installation prompt information, wherein the application installation prompt information comprises application information to be installed of the second electronic device;
the first electronic device receives a fourth operation of the application installation prompt information from a user and sends an application installation instruction to the second electronic device;
the second electronic equipment receives the application installation instruction, installs the application according to the application installation instruction, and sends notification information of the installed application to the first electronic equipment;
and the first electronic equipment receives the notification information and displays the equipment menu according to the notification information.
7. The collaboration method as in claim 1, wherein the communication system further comprises a third electronic device in communication with the first electronic device, the first device identification information further comprising device identification information of the third electronic device.
8. The collaboration method as specified in claim 1 wherein the device menu further comprises at least one of the following information:
communication quality information between the second electronic device and the first electronic device;
and the recommendation information of the second electronic equipment.
9. The collaboration method as in claim 1, wherein the device menu further comprises second device capability information, and second device identification information corresponding to the second device capability information, the second device capability information being capability information for operating on a file of a different file type than the first file.
10. The collaboration method of electronic devices of claim 1, wherein the first electronic device generating the device menu comprises:
the first electronic device determines the first device capability information according to the file type of the first file;
the first electronic device generates the device menu according to the first device capability information and the device information sent by the second electronic device, wherein the device information comprises the device capability information of the second electronic device and the device identification information of the second electronic device.
11. The method of collaboration among electronic devices of claim 10, wherein the device information further includes at least one of:
device type information of the second electronic device;
hardware capability information of the second electronic device;
application identification information of an installed application of the second electronic device;
communication quality information between the second electronic device and the first electronic device;
and position information between the second electronic device and the first electronic device.
12. The collaboration method as specified in claim 10 wherein the method further comprises: the second electronic device determines device capability information of the second electronic device through the installed application information of the second electronic device and device type information of the second electronic device and/or hardware capability information of the second electronic device.
13. The method of collaboration among electronic devices of claim 6, wherein the method further comprises: and the first electronic device determines the application information to be installed of the second electronic device according to the device type information of the second electronic device and the installed application information of the second electronic device.
14. A collaboration method between electronic devices, applied to a first electronic device, the method comprising:
displaying a first file and a collaboration control corresponding to the first file and used for initiating collaborative operation;
receiving a first operation of a user on the first file, wherein the first operation comprises a triggering operation on the collaborative control;
displaying a device menu in response to the first operation, the device menu including first device capability information, first device identification information corresponding to the first device capability information, and application identification information of an installed application corresponding to the first device capability information, which is installed by an electronic device, the first device capability information being capability information for operating the first file, the first device identification information including device identification information of a second electronic device,
the device menu is integrated and classified by the first electronic device according to device information sent by the electronic device which establishes communication connection with the first electronic device;
the device information comprises device identification information, device type information, device capability information and application identification information of an installed application of the electronic device;
The equipment capability information is determined by the electronic equipment according to the installed application information in the electronic equipment and the equipment type information and/or hardware capability information of the electronic equipment;
and wherein the second electronic device is an electronic device in which the device capability information transmitted in the electronic device includes capability information for operating the first file, or the second electronic device is an electronic device in which the device capability information transmitted in the electronic device does not include capability information for operating the first file, but the first electronic device determines, according to the device type information of the electronic device, a capability of the electronic device that hardware capability supports the operation of the first file, and causes the electronic device to install an application for operating the first file according to an application installation instruction transmitted by the first electronic device and to have the capability of operating the first file;
the application installation instruction is generated according to application installation prompt information displayed by a user on the first electronic device, and the application installation prompt information comprises identification information of the electronic device capable of operating the first file by installing an application operating the first file;
Receiving a second operation of an application identification information corresponding to the equipment identification information of the second electronic equipment by a user, determining the second electronic equipment as a cooperative equipment for cooperative operation, wherein the application corresponding to the application identification information is used as a cooperative application for cooperative operation on the first file, sending the first file to the second electronic equipment which establishes communication connection with the first electronic equipment, so that the second electronic equipment performs an operation corresponding to the first equipment capability information on the first file according to the application corresponding to the application identification application, and the second electronic equipment receives a third operation of the user on the first file to obtain a second file, wherein the third operation comprises a modification operation or an editing operation on the first file, and the second electronic equipment sends the second file to the first electronic equipment in response to completion of the cooperative operation on the first file;
receiving the second file, storing the second file, and/or displaying prompt information to prompt a user to confirm whether to view the second file, and displaying the second file in response to receiving an operation of confirming to view the second file.
15. The method of collaboration among electronic devices of claim 14, wherein causing the second electronic device to install an application that operates on the first file, displaying the device menu, comprises:
displaying application installation prompt information in response to the first operation, wherein the application installation prompt information comprises application information to be installed of the second electronic equipment;
receiving a fourth operation of the application installation prompt information by a user, and sending an application installation instruction to the second electronic equipment so that the second electronic equipment installs an application according to the application installation instruction;
and receiving notification information of the installed application sent by the second electronic equipment, and displaying the equipment menu according to the notification information.
16. The method of collaboration among electronic devices of claim 14, wherein the first device identification information further comprises device identification information of a third electronic device.
17. The method of collaboration among electronic devices of claim 14, wherein the device menu further comprises at least one of the following information:
communication quality information between the second electronic device and the first electronic device;
And the recommendation information of the second electronic equipment.
18. The cooperation method between electronic devices according to any one of claims 14 to 17, wherein the device menu further includes second device capability information, which is capability information for operating a file of a different file type from the first file, and second device identification information corresponding to the second device capability information.
19. An electronic device, comprising:
a memory for storing a computer program, the computer program comprising program instructions;
a processor for executing the program instructions to cause the electronic device to perform the cooperative method between electronic devices as claimed in any of claims 1-13 or to cause the electronic device to perform the cooperative method between electronic devices as claimed in any of claims 14-18.
20. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions that are executed by an electronic device to cause the electronic device to perform the cooperation method between electronic devices according to any one of claims 1-13 or to cause the electronic device to perform the cooperation method between electronic devices according to any one of claims 14-18.
CN202011456976.1A 2020-12-10 2020-12-10 Cooperative method between electronic devices, electronic device and storage medium Active CN114629932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011456976.1A CN114629932B (en) 2020-12-10 2020-12-10 Cooperative method between electronic devices, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011456976.1A CN114629932B (en) 2020-12-10 2020-12-10 Cooperative method between electronic devices, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114629932A CN114629932A (en) 2022-06-14
CN114629932B true CN114629932B (en) 2023-10-20

Family

ID=81896199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011456976.1A Active CN114629932B (en) 2020-12-10 2020-12-10 Cooperative method between electronic devices, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114629932B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115223521B (en) * 2022-07-12 2024-04-30 海信视像科技股份有限公司 Display equipment and relay equipment display method
CN116095881A (en) * 2022-07-18 2023-05-09 荣耀终端有限公司 Multi-device cooperation method, electronic device and related products
CN116743761B (en) * 2022-10-26 2024-04-16 荣耀终端有限公司 Cooperative working method and electronic equipment
CN116679998A (en) * 2022-10-26 2023-09-01 荣耀终端有限公司 Multi-device cooperative conflict processing method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
CN109803003A (en) * 2018-12-29 2019-05-24 华为技术有限公司 A kind of control method, system and relevant device
CN111294625A (en) * 2020-01-09 2020-06-16 华为技术有限公司 Method, device, terminal equipment and storage medium for combining equipment service capability
WO2021052200A1 (en) * 2019-09-19 2021-03-25 华为技术有限公司 Device capability scheduling method and electronic device
WO2021078284A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Content continuation method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
CN109803003A (en) * 2018-12-29 2019-05-24 华为技术有限公司 A kind of control method, system and relevant device
WO2021052200A1 (en) * 2019-09-19 2021-03-25 华为技术有限公司 Device capability scheduling method and electronic device
WO2021078284A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Content continuation method and electronic device
CN111294625A (en) * 2020-01-09 2020-06-16 华为技术有限公司 Method, device, terminal equipment and storage medium for combining equipment service capability

Also Published As

Publication number Publication date
CN114629932A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN114629932B (en) Cooperative method between electronic devices, electronic device and storage medium
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
US9116658B2 (en) Mobile terminal, image display device mounted on vehicle and data processing method using the same
US11579946B2 (en) Method for managing multiple operating systems in a terminal
US9503893B2 (en) Communication management system, relay device, communication control system, communication system, communication method, and recording medium storing communication control program
JP6383109B2 (en) Network connection method, network connection device, terminal, communication device, network connection system, program, and recording medium
JP2017509277A (en) Smart hardware device control method, apparatus, program, and recording medium
CN110166439B (en) Equipment sharing method, terminal, router and server
CN105760127A (en) Screen transfer method, screen transfer device and mobile terminal
EP4013003A1 (en) Communication protocol switching method, apparatus and system
JP2020517206A (en) Communication method, device and system in live broadcast channel
CN104333643B (en) Add the method for contact person, system and terminal
EP3200421A1 (en) Method, apparatus and system for accessing wireless local area network
US11134435B2 (en) Electronic device supporting multiple wireless communication protocols and method therefor
CN113038434B (en) Device registration method and device, mobile terminal and storage medium
EP3826228A1 (en) Broadcasting and discovering methods, broadcasting and discovering devices and storage medium
TW202205908A (en) Dual-network dual-system mobile device
US20160026719A1 (en) Methods and devices for sharing resources
CN113162956A (en) Method, device and network equipment for establishing communication connection
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN115208873A (en) File transmission method, device and storage medium
CN110769366A (en) Resource sharing method, terminal and server
CN112691363A (en) Cross-terminal switching method and related device for cloud games
US20220346083A1 (en) Methods and apparatuses for determining network allocation vector, and storage media

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
GR01 Patent grant
GR01 Patent grant