WO2022100239A1 - Device cooperation method, apparatus and system, electronic device and storage medium - Google Patents

Device cooperation method, apparatus and system, electronic device and storage medium Download PDF

Info

Publication number
WO2022100239A1
WO2022100239A1 PCT/CN2021/116501 CN2021116501W WO2022100239A1 WO 2022100239 A1 WO2022100239 A1 WO 2022100239A1 CN 2021116501 W CN2021116501 W CN 2021116501W WO 2022100239 A1 WO2022100239 A1 WO 2022100239A1
Authority
WO
WIPO (PCT)
Prior art keywords
list
function
target
interface
display
Prior art date
Application number
PCT/CN2021/116501
Other languages
French (fr)
Chinese (zh)
Inventor
杨俊拯
缪敬
谭柯
钟卫东
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022100239A1 publication Critical patent/WO2022100239A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a device cooperation method, apparatus, system, electronic device, and storage medium.
  • users need to combine the services of different devices to jointly complete and execute a task, so as to improve the efficiency of task execution. For example, in the process of using a mobile phone to listen to music, in order to improve the effect of audio playback, the user can play the sound through a smart speaker.
  • Embodiments of the present application provide a device cooperation method, apparatus, system, electronic device, and storage medium.
  • an embodiment of the present application provides a device coordination method, and the method includes:
  • the first device displays a first interface, the first interface is used to display a function list associated with a target application, the target application runs on the first device, and the function list includes the separation of the target application control options;
  • the first device In response to the first selection operation for the separation manipulation option, the first device displays a second interface for displaying a first associated device list associated with the first device;
  • an embodiment of the present application provides an apparatus for coordinating equipment, and the apparatus includes:
  • a display unit configured to display a first interface, where the first interface is configured to display a function list associated with a target application, the target application running on the first device, and the function list includes the target application separate control options;
  • the display unit is further configured to display a second interface in response to a first selection operation for the separation manipulation option, where the second interface is configured to display a list of first associated devices associated with the first device;
  • a processing unit configured to cause the target application of the first device to be controlled by the at least one associated device in response to a second selection operation for at least one associated device in the first associated device list.
  • embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing
  • the above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • 3a is a schematic structural diagram of a device coordination system provided by an embodiment of the present application.
  • 3b is a schematic structural diagram of another device coordination system provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a device coordination method provided by an embodiment of the present application.
  • 5a is a schematic diagram of a first interface display provided by an embodiment of the present application.
  • 5b is a schematic diagram of a first interface display provided by an embodiment of the present application.
  • 5c is a schematic diagram of a second interface display provided by an embodiment of the present application.
  • 5d is a schematic diagram of another second interface display provided by an embodiment of the present application.
  • 5e is a schematic diagram of another second interface display provided by an embodiment of the present application.
  • 5f is a schematic diagram of another second interface display provided by an embodiment of the present application.
  • 6a is a schematic structural diagram of a function provided by an electronic device provided by an embodiment of the present application.
  • 6b is a schematic structural diagram of a multi-device collaboration provided by an embodiment of the present application.
  • FIG. 7a is a schematic structural diagram of another device coordination system provided by an embodiment of the present application.
  • FIG. 7b is a schematic structural diagram of another device coordination system provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of invoking a target function on an associated device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a device coordination apparatus provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first”, “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • the device collaboration method provided in the embodiments of the present application may be applied to handheld devices, vehicle-mounted devices, wearable devices, augmented reality (AR) devices, virtual reality (VR) devices, projection devices, projectors, or connected to Other devices of the wireless modem can also be various specific forms of user equipment (UE), terminal device (terminal device), mobile phone (smart phone), smart screen, smart TV, smart watch, notebook computer, smart audio , camera, gamepad, mouse, microphone, station (station, STA), access point (access point, AP), mobile station (mobile Station, MS), personal digital assistant (personal digital assistant, PDA), personal computer ( Personal computer, PC) or a relay device and other terminal devices or servers, the embodiments of the present application do not impose any restrictions on the specific types of terminal devices and servers.
  • UE user equipment
  • terminal device terminal device
  • mobile phone smart screen
  • smart TV smart TV
  • smart watch notebook computer
  • smart audio camera
  • gamepad mouse
  • microphone station (station, STA), access point (access point, AP), mobile station (mobile
  • the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a Wireless Local Loop (WLL) station , Personal Digital Assistant (PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, connected car terminals, computers, laptop computers, handheld communications equipment, handheld computing equipment, satellite wireless equipment, wireless modem cards, television set top boxes (STBs), customer premise equipment (CPEs) and/or other equipment for communicating on wireless devices and Next-generation communication devices, for example, mobile terminals in a 5G network or mobile terminals in a future evolved Public Land Mobile Network (Public Land Mobile Network, PLMN) network, etc.
  • PLMN Public Land Mobile Network
  • the wearable device may also be a general term for the intelligent design of daily wear and the development of wearable devices using wearable technology, such as glasses, gloves, Watches, clothing and shoes, etc.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to be used in conjunction with other devices such as smart phones. , such as various types of smart bracelets and smart jewelry that monitor physical signs.
  • two electronic devices a notebook computer and a mobile phone
  • the laptop and mobile phone are connected through wireless communication technology (such as Bluetooth, Wi-Fi, Zigbee, near field communication, etc.) or data cable (such as USB data cable)
  • wireless communication technology such as Bluetooth, Wi-Fi, Zigbee, near field communication, etc.
  • data cable such as USB data cable
  • the user finishes the game through the mobile phone he can call it through device collaboration.
  • the laptop computer is used to display the game screen of the mobile phone; or, when the user finishes the game on the laptop computer, the mobile phone can be called to control the game on the laptop computer by means of device cooperation.
  • the first device performing device coordination and the associated device may be directly connected, for example, through Bluetooth, WiFi, etc., to realize the direct connection between the two electronic devices; Connect with other electronic devices such as cloud servers to achieve indirect connection.
  • the connection between the two electronic devices may be switched between direct connection and indirect connection, which is not limited in this embodiment of the present application.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile phone Communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card Interface 195, etc.
  • the sensor module 180 may include a gyro sensor 180A, an acceleration sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an ambient light sensor 180E, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K (of course, the electronic device 100
  • Other sensors may also be included, such as temperature sensors, pressure sensors, distance sensors, bone conduction sensors, etc. (not shown).
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different 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, for example, 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), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or Neural-network Processing Unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may execute the screen projection method provided by the embodiments of the present application, so as to enrich the screen projection function, improve the flexibility of the screen projection, and improve the user experience.
  • the processor 110 may include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU may cooperate to execute the screen projection method provided by the embodiments of the present application. For example, some algorithms in the screen projection method are executed by the CPU, and another part of the algorithms are executed by the GPU. for faster processing efficiency.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the display screen 194 may be used to display information entered by or provided to the user as well as various graphical user interfaces (GUIs).
  • GUIs graphical user interfaces
  • the display 194 may display photos, videos, web pages, or documents, or the like.
  • display 194 may display a graphical user interface.
  • the graphical user interface includes a status bar, a hideable navigation bar, a time and weather widget (widget), and an application icon, such as a browser icon.
  • the status bar includes operator name (eg China Mobile), mobile network (eg 4G), time and remaining battery.
  • the navigation bar includes a back button icon, a home button icon, and a forward button icon.
  • the status bar may further include a Bluetooth icon, a Wi-Fi icon, an external device icon, and the like.
  • the graphical user interface may further include a Dock bar, and the Dock bar may include commonly used application icons and the like.
  • the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens.
  • the processor 110 may control the external audio output device to switch the output audio signal.
  • Camera 193 (front camera or rear camera, or one camera can be both front camera and rear camera) is used to capture still images or video.
  • the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex or concave) for collecting light signals reflected by the object to be photographed, and transmitting the collected light signals to the image sensor .
  • the image sensor generates an original image of the object to be photographed according to the light signal.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store operating system, code of application programs (such as camera application, WeChat application, etc.), and the like.
  • the storage data area may store data created during the use of the electronic device 100 (such as images, videos, etc. captured by a camera application) and the like.
  • the internal memory 121 may also store one or more computer programs corresponding to the screen projection method provided by the embodiments of the present application.
  • the one or more computer programs are stored in the aforementioned memory 211 and configured to be executed by the one or more processors 110, the one or more computer programs include instructions, the computer programs may include an account verification module, priority Compare modules.
  • the account verification module is used to authenticate the system authentication accounts of other terminal devices in the local area network; the priority comparison module can be used to compare the priority of the audio output request service and the priority of the current output service of the audio output device.
  • the state synchronization module can be used to synchronize the device state of the audio output device currently connected by the terminal device to other terminal devices, or synchronize the device state of the audio output device currently connected by other devices to the local.
  • the processor 110 may control the sending end to process the screen projection data.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • non-volatile memory such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the code of the screen projection method provided by the embodiment of the present application may also be stored in an external memory.
  • the processor 110 may run the code of the screen projection method stored in the external memory through the external memory interface 120, and the processor 110 may control the sending end to perform screen projection data processing.
  • the gyroscope sensor 180A can be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180A can be used to detect the current motion state of the electronic device 100, such as shaking or stillness.
  • the gyro sensor 180A can be used to detect a folding or unfolding operation acting on the display screen 194 .
  • the gyroscope sensor 180A may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .
  • the acceleration sensor 180B can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). That is, the gyro sensor 180A can be used to detect the current motion state of the electronic device 100, such as shaking or stillness. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 180B can be used to detect a folding or unfolding operation acting on the display screen 194 . The acceleration sensor 180B may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the mobile phone emits infrared light outward through light-emitting diodes.
  • Phones use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the phone can determine that there are no objects near the phone.
  • the proximity light sensor 180G can be arranged on the first screen of the foldable display screen 194, and the proximity light sensor 180G can detect the first screen according to the optical path difference of the infrared signal.
  • the gyro sensor 180A (or the acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110.
  • the processor 110 determines whether the current state is the hand-held state or the tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the electronic device 100 is in the hand-held state).
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • Touch sensor 180K also called “touch panel”.
  • 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, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the display screen 194 of the electronic device 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.).
  • Display screen 194 displays an interface of a camera application, such as a viewfinder interface.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the mobile communication module 150 may also be used for information interaction with other terminal devices, that is, sending screen projection related data to other terminal devices, or the mobile communication module 150 may be used to receive a screen projection request, and send the received screen projection request.
  • the screencasting request is encapsulated into a message in the specified format.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the wireless communication module 160 is configured to establish a connection with the receiving end, and display the screen projection content through the receiving end.
  • the wireless communication module 160 may be used to access an access point device, send a message corresponding to a screen projection request to other terminal devices, or receive a message corresponding to an audio output request sent from other terminal devices.
  • the electronic device 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 music playback, recording, etc.
  • the electronic device 100 may receive the key 190 input and generate the key signal input related to user settings and function control of the electronic device 100 .
  • the electronic device 100 may use the motor 191 to generate vibration alerts (eg, vibration alerts for incoming calls).
  • the indicator 192 in the electronic device 100 may be an indicator light, which may be used to indicate a charging state, a change in power, and may also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may include more or less components than those shown in FIG. 1 , which are not limited in the embodiments of the present application.
  • the illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those shown, two or more components may be combined, or a different configuration of components may be present.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • FIG. 2 shows a software structural block diagram of the electronic device 100 .
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • users need to combine the services of different devices to jointly complete and execute a task, so as to improve the efficiency of task execution. For example, in the process of using a mobile phone to listen to music, in order to improve the effect of audio playback, the user can play the sound through a smart speaker.
  • multimedia data (picture output and audio output) can be put into a certain multimedia peripheral, such as put into a TV, use the TV screen to play the picture, and the TV speaker to play the sound; or put it into a smart speaker, Play sound with your smart speaker.
  • a certain multimedia peripheral such as put into a TV, use the TV screen to play the picture, and the TV speaker to play the sound; or put it into a smart speaker, Play sound with your smart speaker.
  • Miracast and DLNA screen projection technology can only realize the launch of a single category of equipment, and cannot use the services of multiple devices to work together.
  • the present application proposes a device coordination solution, which implements the function selected by the user on the first device by selecting at least one associated device from multiple devices, so that the first device can integrate the functions provided by multiple associated devices. function, and call the functions of multiple different types of devices at the same time to achieve the collaborative work of multiple devices.
  • the device cooperation system 30 may include a first device 310 and a plurality of associated devices 320 .
  • the plurality of associated devices 320 may include electronic device 320A, electronic device 320B, and electronic device 320C. Meanwhile, the first device 310 and the plurality of associated devices 320 may be connected to each other through wireless network or wired data communication.
  • the first device 310 and the multiple associated devices 320 may be devices under the same user account.
  • the first device 310 and/or the associated device 320 may be a mobile phone, desktop computer, smart screen, notebook computer, relay device and smart watch, and the mobile phone, desktop computer, smart screen, notebook computer, relay device and smart watch can communicate with each other through wireless network.
  • the first device 310 and multiple associated devices 320 may be connected to the same WLAN network through a relay device (such as a router).
  • a relay device such as a router
  • the first device 310 and the associated device 320 may include the mobile phone, desktop computer, smart screen , laptop computer, relay device and smart watch, and the mobile phone, desktop computer, smart screen, laptop computer, relay device and smart watch form a WLAN network, so that each device in the WLAN network can be implemented through the relay device. communicate with each other.
  • the first device can call at least one associated device to display a screen of its currently running application, and the first device can also call at least one associated device to operate its current application.
  • the first device 310 invokes the electronic device 320A to display a screen, while the first device 310 invokes the electronic device 320B to operate the current application and invokes the electronic device 320C to play a sound.
  • the device coordination system 30 may also include other numbers of electronic devices, which are not specifically limited herein.
  • the device coordination system 30 may include a first device 310 , multiple associated devices 320 and a cloud device 330 .
  • the first device 310 and the multiple associated devices 320 may be devices under the same user account, and the cloud device 330 is used to manage the associated devices under the same user account, and store the function list of the first device 310 and the multiple associated devices 320 and authorization information.
  • the first device 310 requests device collaboration, it can acquire multiple associated devices 320 that meet the functional requirements of the first device from the cloud device.
  • FIG. 4 is a schematic flowchart of a device coordination method provided by an embodiment of the present application. As shown in FIG. 4 , the device coordination method includes the following operations.
  • the first device displays a first interface, where the first interface is used to display a function list associated with a target application, the target application runs on the first device, and the function list includes the target application 's separate manipulation options.
  • the user when the user opens an application on the first device, the user can initiate a related collaborative process through any preset operation.
  • the preset arbitrary operation may be set by the user, or may be set by the system of the first device, which is not limited in this embodiment of the present application.
  • a mobile phone on a mobile phone, it can be set to evoke a collaborative process by long-pressing the screen of a currently running application; on a computer, it can be set to evoke a collaborative process by clicking the right mouse button on the running application.
  • the system will display the first window on the current interface, and the content of the first window is related to the user, the current application, and the first device.
  • the function list further includes a screen separation option and/or a sound separation option.
  • each device obtains the service list will be implemented differently on different devices, and some will be somewhat coupled with the mechanism of the operating system.
  • the timing of obtaining the service list and reporting the service list may vary on different devices. different.
  • the functions included in the function list in the target application are different.
  • the first device used by the user may determine a function list that needs to be coordinated under the target application, and the function list may include separate control options, separate screen options, and separate sound options.
  • the function list may include separate control options, separate screen options, and separate sound options.
  • the function list may include a split control option and a split screen option.
  • the function list may include a separation control option and a separation sound option.
  • the function list may further include separate positioning options, separate payment options, separate search options, and the like.
  • the application can achieve a variety of tasks, and the list of functions required to achieve each task may be different.
  • the target application is social software
  • the required function list of the target application includes a separation control option, a separation screen option, and a separation sound option
  • the required function list of the target application includes a separation control option and a separation sound option.
  • the method of determining the function list of the current target application may include, but is not limited to: starting a certain APP on the first device used by the user, executing a certain task in a certain APP on the first device used by the user, During the process of a device performing a certain task, the user inputs a trigger instruction or the like through a set method.
  • the manner in which the user evokes the collaborative process may also include other triggering manners, such as Near Field Communication (NFC), Ultra Wide Band (UWB), etc.
  • NFC Near Field Communication
  • UWB Ultra Wide Band
  • the user can touch the TV, and the TV can be determined as an associated device that meets the needs of mobile phone collaboration; the user touches the smart speaker again, and the smart speaker can be determined as an associated device that meets the needs of mobile phone collaboration. ;
  • the user touches the computer again, and the computer or the device carried on the computer can be determined as an associated device that meets the needs of mobile phone collaboration.
  • the manner in which the user evokes the collaborative process may also include a non-contact specific gesture to trigger.
  • the first device can also detect a non-contact gesture operation near it, and trigger the display of the first interface when the non-contact gesture operation meets the preset first device detection information generation conditions, and then determine the first interface according to the user's selection.
  • a device requires assisted functions and at least one associated device that satisfies the assisted functions. The user only needs to perform a non-contact gesture operation near the first device to start the assisting operation process, and does not need to touch the first device and the associated device, and the operation is convenient and user-friendly.
  • each device in the device cooperation system may have the functions of a first device and an associated device, and when performing a cooperation response, it can be selected as the first device or as the associated device according to specific conditions.
  • the first device controls multiple associated devices to perform cooperative processing, it can also participate in the cooperative processing. Specifically, the at least one associated device and the first device perform cooperative processing according to respective cooperation response information.
  • the first interface may be suspended at a fixed position of the current interface.
  • the starting coordinate position 1 of the upper left corner and the coordinate position 2 of the lower right corner of the first interface can be set by the user, or can be set by the system of the first electronic device, which is not limited in this application.
  • the display position of the first interface may also be determined according to the display direction of the screen of the first device. For example, when the screen of the first device is displayed in a landscape orientation, the display position of the first interface may be as shown in Figure 5a; when the screen of the first device is displayed in a portrait orientation, the display position of the first interface may be as shown in Figure 5a 5b.
  • the display position of the first interface can be moved.
  • the first interface may move according to the user's dragging direction or delineation direction.
  • the display position of the first interface may be random.
  • the display position of the first interface may be the position displayed by the user last time, or may be the display position randomly determined by the system, or may be the position where the user touches the screen, which is not limited in this embodiment of the present application.
  • a device operating system and/or an application program in the first device provides the function list.
  • the first device may include an application program provided by an operating system of the device, for example, voice call, sound playback, location positioning, and the like.
  • the first device may also include an application for the user to apply his own business service, for example, an application downloaded by the user for social networking, an application for watching movies, an application for listening to music, and the like.
  • Each application has its own list of features provided. Since the functions in the function list can be divided into services provided by the device operating system on the first device and applications that apply their own business services, when the user starts a collaborative process on different applications, the function list will follow The list of devices under the username varies with different applications. Only valid functions will be displayed on the first screen.
  • the method further includes: when the first device is started, the first device scans the device operating system and/or all the application programs to obtain a service list of the first device, the service The list includes a list of functions provided by the device operating system and/or all the applications; the first device reports the service list to the cloud device.
  • the first device when the first device starts up, it scans the application programs developed in the given manner on the first device, and records the functions that these application programs can provide in the form of a list. At the same time, when the application program is installed or uninstalled, the first device can monitor it and record the monitored content. When the device operating system on the first device and/or the functions provided in all the application programs change, it is reported to the cloud device to synchronize these changes.
  • a device under the cloud device management can also upload its own service list to the cloud device, and the cloud device can store these service lists uploaded by each device according to the granularity of devices, applications, and functions.
  • the first device can directly search for the device that can realize the function that the first device needs to coordinate through the cloud device without the adaptation of the third-party application, and use the system application method to adapt The ability to configure devices enables third-party applications to achieve collaboration between devices without any adaptation during the development phase.
  • the first device displays a second interface, where the second interface is configured to display a first associated device list associated with the first device.
  • the first selection operation is mainly used to select the function of the target application that needs to perform cooperative operation from the function list.
  • the first selection operation may be any preset operation, may be set by the user, or may be set by the system of the first electronic device, which is not limited in this application.
  • the first selection operation may include various implementation forms. For example, for a first device that can support a touch screen, such as a smart phone, the first selection operation can be a touch screen operation; for a first device controlled by a mouse, such as a desktop computer, the first selection operation can be a click operation; For a remotely controlled first device, such as a smart TV, the first selection operation may be a selection operation.
  • the method further includes: in response to a third selection operation for the split screen option, displaying, by the first device, the second interface, the second interface being configured to display a screen associated with the first device a second list of associated devices; and/or, in response to a fifth selection operation for the separate sound option, the first device displays the second interface, the second interface being used to display a connection with the first device A list of associated third associated devices.
  • the first associated device list includes a list of associated devices that can implement operation functions; the second associated device list includes a list of associated devices that can display images; the third associated device list includes a list of associated devices that can play sound. It should be noted that, when the function list includes the split screen option and/or the split sound option, the first device may also display the second interface in response to the first selection operation for the split screen option/or the split sound option.
  • a first interface is displayed on the current interface of the first device, and the first interface displays the functions that the target application can perform collaboration, including the separation control option , at least one of split screen option, split sound option. Then, the user selects the function that needs to be coordinated from the function list according to his needs, specifically, the user selects the function that needs to be coordinated through the first selection operation.
  • the target associated device list is obtained from a cloud device, and the target associated device list includes the first associated device list, the second associated device list, and the third associated device list At least one item in the device list.
  • the first device and the devices under the management of the cloud device can upload their own service lists to the cloud device, and the cloud device can store these service lists uploaded by each device according to the granularity of devices, applications, and functions. After the first device selects the function that needs to be coordinated by the target application, the first device may obtain a device capable of implementing the function from the cloud device.
  • the method further includes: the first device reporting a target account to the cloud device, where the target account is a user account logged in by the first device.
  • the cloud device can be managed through the user account logged in on the device.
  • the first device can upload the logged in user account to the cloud device, and the cloud device can store the service list with the granularity of the user account.
  • the user account logged in by the first device may be a currently logged in terminal system account or a currently logged in application account or the like.
  • the user account for logging in the device can be uploaded to the cloud device.
  • the user account logged in by each associated device in the target associated device list is the target account.
  • the cloud device may store the service list of each device according to the user account, specifically, the service lists uploaded by the devices of the same user account are stored together. Therefore, when the first device requests the cloud device to realize the selected function that needs to be coordinated, the cloud device can search for a device that is the same as the user account of the first device and can realize the function that needs to be coordinated, that is, the associated device, and finds The devices are sent to the first device in the form of a list. The first device displays the found device in the second interface, so that the user can execute the function on the first device through his own other device. Through the management of user accounts, other people can be prevented from using their own devices at will.
  • the first device displays the first interface on the current interface, and the first interface displays one or more associated devices obtained from the cloud device .
  • the user selects the separation operation option through the first selection operation on the first interface, the first device responds to the first selection operation, displays the second interface on the current interface, and displays the ability to The target application of the first device realizes the operation of the gamepad, mouse and keyboard, and touch of the mobile phone.
  • FIG. 5c the user selects the separation operation option through the first selection operation on the first interface, the first device responds to the first selection operation, displays the second interface on the current interface, and displays the ability to The target application of the first device realizes the operation of the gamepad, mouse and keyboard, and touch of the mobile phone.
  • the user selects the split screen option through the first selection operation on the first interface, the first device responds to the first selection operation, displays the second interface on the current interface, and the second interface displays
  • the device's target application implements the screen display of the living room TV and my tablet.
  • the user selects the option to separate the sound through the first selection operation on the first interface, the first device responds to the first selection operation, and displays the second interface on the current interface, and the second interface shows that the first device can respond to the first selection operation
  • the device's target application implements sound playback for Bluetooth headsets, Bluetooth speakers, and living room TVs.
  • the display position of the second interface may be determined according to the display position of the first interface. For example, when the user's first selection operation is the separation control option, the display position of the second interface may be located next to the separation control option, as shown in Figure 5c; when the user's first selection operation is the separation screen option, the second interface The display position of the interface can be located next to the split screen option, as shown in Figure 5d.
  • the display position of the second interface may also be determined according to the display direction of the screen of the first device. For example, when the screen of the first device is displayed in a landscape orientation, the display position of the second interface can be located next to the separation control option, as shown in Figures 5c-5e; when the screen of the first device is displayed in a portrait orientation , the display position of the second interface can be suspended and displayed on the first interface, as shown in FIG. 5f .
  • the display position of the second interface can be moved.
  • the second interface may move according to the user's dragging direction or delineation direction.
  • the display position of the second interface may be random.
  • the display position of the second interface may be the position displayed by the user last time, or may be the display position randomly determined by the system, or may be the position where the user touches the screen, which is not limited in this embodiment of the present application.
  • the associated device may be a device that the first device can detect and connect to.
  • the function list of the target application includes separate operation options, separate operation options, and separate sound options
  • the device included in the scene is Device A (which can implement the functions of separate operation options and separate screen options)
  • Device B capable of separating operation options and separating sound options
  • device C capable of separating operation options, separating operation options, and separating sound options
  • the associated device combination that meets the requirements of the current scenario includes device A + device B , Device A + Device C, Device B + Device C, Device C, Device A + Device B + Device C, a total of 5 combinations.
  • the first device may acquire attribute information of each terminal device within a preset range, where the attribute information includes functions that the terminal device can provide.
  • the first device selects a terminal device capable of realizing the function requiring coordination from the respective terminal devices according to the attribute information of each terminal device, and stores the terminal device capable of realizing the function requiring coordination in the target associated device list.
  • the first device can initiate a search through the Bluetooth protocol, Hilink protocol, etc., detect and connect to the surrounding terminal devices, and then read the attribute information of each terminal device respectively, so as to determine each terminal device.
  • the functions that can be implemented can be mentioned, for example, the profile information of each surrounding terminal device can be read, so as to obtain the functions of the device (the Bluetooth protocol specifies many profiles, and each profile describes a function; the hilink protocol is similar).
  • each terminal device in the scene can also actively broadcast the functions that can be implemented by itself. After determining which terminal devices exist in the surrounding area and what functions each terminal device has respectively, one or more terminal devices that can realize the function selected by the user and need to be coordinated can be selected from these terminal devices, that is, the determined association equipment.
  • the first device may also acquire a pre-stored device function comparison table, and the device function comparison table records the functions that each terminal device can provide.
  • the first device determines, according to the device function comparison table, a terminal device that implements a function that needs to be coordinated within a preset range, and stores the terminal device that can implement the function that needs to be coordinated in a target associated device list.
  • the first device may also pre-build and store a device function comparison table, and the device function comparison table records the functions that each known type of terminal device can provide.
  • the device function comparison table records the functions that each known type of terminal device can provide.
  • a smart speaker has an audio playback function
  • a smart TV has an image playback function. Display function and audio playback function, etc.
  • the functions that each terminal device can provide can be determined by looking up a table, and finally the functions can be selected from these terminal devices.
  • the method further includes: the first device sends a function request to the cloud device, where the function request is used to request a function query, and the function query includes at least one of the following: searching under the target account. All functions of , find all the associated devices including the function list, find all functions on the associated device.
  • the user after logging in to the first device, the user can request a function query from the cloud device, which mainly includes the following query methods:
  • the first device can search for all the functions that can be provided on the selected device.
  • users can meet the needs of users in different application scenarios. For example, the user has device A, and the user needs the device to cooperate with device A to realize the separation operation function. If the user finds that the accessory has device B, the user can find all the functions that device B can provide to determine whether device B can Collaborate to achieve operational functions.
  • the first device may determine at least one associated device to be coordinated according to the second selection operation of the user, so that the at least one associated device can control the first device.
  • the method further includes: in response to a fourth selection operation on at least one associated device in the second associated device list, causing the screen of the target application of the first device to be displayed by the at least one associated device One associated device display; and/or, in response to a sixth selection operation for at least one associated device in the third associated device list, so that the sound of the target application of the first device is transmitted by the at least one Play with the associated device.
  • the user may select the functions in the function list of the target application program to be executed by the associated device respectively through multiple selection operations.
  • the control function corresponding to the separate control option in FIG. 5a can be realized by a mouse and keyboard
  • the function of the display screen corresponding to the separate screen option in FIG. 5a can be realized by my tablet
  • the separate sound option in FIG. 5a corresponds to The function of playing sound can be realized by a Bluetooth speaker.
  • the second selection operation is mainly used to select the function that the target application needs to perform a coordinated operation from the function list.
  • the second selection operation may be any preset operation, may be set by the user, or may be set by the system of the first electronic device, which is not limited in this application.
  • the second selection operation may include various implementation forms.
  • a first device that can support a touch screen such as a smart phone
  • the second selection operation can be a touch screen operation
  • a first device controlled by a mouse such as a desktop computer
  • the second selection operation can be a click operation
  • a remotely controlled first device such as a smart TV
  • the second selection operation may be a selection operation.
  • the first device may invoke a remote service to perform interaction between the first device and the at least one associated device.
  • the device A uses the device operating system to provide display functions, input functions and positioning functions to implement the function list in the running application program.
  • device B provides a positioning function to coordinate the separation positioning option of the function list in device A
  • device C provides an input function to coordinate the separation control option of the function list in device A
  • device D A display function is provided to coordinate the split screen option in the function list in device A.
  • the method further includes: the first device sends an acquisition request to the cloud device, where the acquisition request is used to request to acquire authorization information of a target function on the at least one associated device, the target function In order to realize the function of the separation operation function of the target application; the first device receives the authorization information sent by the cloud device in response to the acquisition request.
  • the first device can verify through the cloud device whether the target function on the at least one associated device is authorized by the user. Specifically, when the user needs to coordinate the separate manipulation options on the first device, the first device can verify whether the target function on the associated device capable of implementing the manipulation function is authorized.
  • the mobile phone needs to verify whether the mouse on the desktop computer is authorized by the user; when the user needs the smart speaker to display the music being played on the mobile phone, the mobile phone needs to Verify whether the smart speaker is authorized by its user; when the user needs the smart TV to display the video being played on the mobile phone, the mobile phone needs to verify whether the smart TV is authorized by its user.
  • the method further includes: if the authorization information includes an authorization result of the target function on the first associated device, the first device invokes the target function on the first associated device, the at least one The associated device includes the first associated device; if the authorization information does not include an authorization result of the target function on the at least one associated device, the first device terminates calling the target function of the at least one associated device, and A third interface is displayed, where the third interface is used to prompt a failure to invoke the target function of the at least one associated device.
  • the associated device providing the function is authorized, proceed to the next step; if not, the call of the entire function is terminated, and a third interface is displayed on the interface of the first device to indicate to the user that the collaborative call failed this time.
  • the display position of the third interface is the same as the display position of the second interface.
  • the method further includes: the first device detects whether the target function is available, and if the target function is unavailable, terminates calling the target function, and displays the third interface.
  • the associated device detects whether the target function is available. If the target function is not activated, the target function is activated; if the target function fails to be activated, the invocation is terminated, and a third interface is displayed on the first device. Indicates the user that this collaborative call failed.
  • the method can select at least one associated device from multiple devices to implement the function selected by the user on the first device, so that the first device can integrate multiple devices.
  • the functions provided by an associated device can simultaneously call the functions of multiple different types of devices to achieve the collaborative work of multiple devices.
  • at least one associated device is selected from multiple devices to implement the user's control function of the target application on the first device, thereby realizing the function that the associated device can control the first device.
  • the device coordination method provided by the present application can be implemented based on the coordination of three modules, which specifically includes: a coordination module, a service governance module and a connection module.
  • both the first device and the associated device include the coordination module, the service management module and the connection module.
  • the collaboration module is used to start the collaboration process; the service management module user scans the device operating system and/or all the applications to generate and report the service list; the connection module is used to communicate with cloud devices and other devices. establish a communication connection between.
  • the application program on the device may include functions carried by the device itself, such as display function, positioning function, input function, sound function, etc., and may also include a function list provided by the downloaded application program.
  • the functions on the device can be exposed in a certain form, so that the service management module can scan and identify them.
  • the developed functions need to conform to certain development specifications so that they can be recognized by the service management module on the device.
  • some default functions developed on the device are the exposure of the capabilities on the device, such as display, sound, input, positioning, etc. These capabilities are consistent with the capabilities exposed by the existing device operating system, and many applications will If it is used, it is only exposed again in the form of a prescribed function. Make these functions accessible to remote devices as well.
  • the development specification of the function is extensible, and it can also be various forms of remote invocation methods, such as http, gRPC and other mature methods. Special methods can also be used to meet special requirements, such as using a proprietary protocol to achieve the transmission efficiency of streaming data.
  • a variety of remote invocation methods can be integrated by the framework in the technical solution, and appropriate methods can be adopted in appropriate scenarios.
  • the method for device coordination provided by the present application also requires the coordination and cooperation of cloud devices to be implemented.
  • the cloud device may include a service management module for the user to store the service list of each device, a device management module for establishing a connection with each device, and a user management module for managing each device.
  • the first device determining the associated device may further include the following steps:
  • the first device establishes a connection between the first device and the associated device through the connection module on the first device and the device management module on the cloud device.
  • the first device searches for the service management module on the cloud device, and verifies whether the first device has been authorized by the user to use the target function on the associated device.
  • the service management module on the cloud device stores the service list of each device and/or the authorization information of each device. After the first device establishes a connection with the associated device, it can send a request to the cloud device to obtain the target on the associated device. Authorization information for the function to invoke the associated device.
  • the gateway detection module on the associated device detects whether the target function is available.
  • the gateway detection module on the associated device detects that the target function is available, the first device invokes the target function on the associated device.
  • the first device may call the target function on the associated device in an agreed manner.
  • the electronic device includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • the electronic device can be divided into functional modules according to the above method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that, the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • FIG. 9 shows a schematic diagram of a device coordination apparatus.
  • the device coordination apparatus 900 is applied to an electronic device, and the device coordination apparatus 900 may include: a display unit 910 and processing unit 920.
  • the display unit 910 may be used to support the electronic device to perform the above-mentioned S410, S420, etc., and/or other processes for the techniques described herein.
  • the processing unit 920 may be used to support the electronic device to perform the above-described S430, etc., and/or other processes for the techniques described herein.
  • the electronic device provided in this embodiment is used to execute the above-mentioned device coordination method, so it can achieve the same effect as the above-mentioned implementation method.
  • the electronic device may include a processing module, a memory module and a communication module.
  • the processing module may be used to control and manage the actions of the electronic device, for example, may be used to support the electronic device to perform the steps performed by the display unit 910 and the processing unit 920 above.
  • the storage module may be used to support the electronic device to execute stored program codes and data, and the like.
  • the communication module can be used to support the communication between the electronic device and other devices.
  • the processing module may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .
  • This embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on the electronic device, the electronic device executes the above-mentioned relevant method steps to implement the device coordination method in the above-mentioned embodiment.
  • This embodiment also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the device coordination method in the above-mentioned embodiment.
  • the embodiments of the present application further provide a first device, which may specifically be a chip, a component or a module, and the first device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions , when the first device is running, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the device coordination method in the above method embodiments.
  • a first device which may specifically be a chip, a component or a module, and the first device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions , when the first device is running, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the device coordination method in the above method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
  • the disclosed first device and method may be implemented in other manners.
  • the first device embodiment described above is only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be The combination may either be integrated into another first device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the first device or unit may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium.
  • a readable storage medium including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

A device cooperation method, apparatus and system, an electronic device and a storage medium. The method comprises: a first device displaying a first interface, the first interface being used to display a function list associated with a target application, the target application running on the first device, and the function list comprising a separation control option of the target application (S410); in response to a first selection operation for the separation control option, displaying a second interface, the second interface being used to display a first associated device list associated with the first device (S420); and in response to a second selection operation for at least one associated device in the first associated device list, enable the target application of the first device to be controlled by the at least one associated device (S430). The method can select at least one associated device from multiple devices to implement a selection function performed by a user on a first device, so that the first device can integrate functions provided by multiple associated devices, and simultaneously call functions of multiple devices of different types, to achieve cooperative work of the multiple devices.

Description

设备协作方法、装置、系统、电子设备和存储介质Device cooperation method, apparatus, system, electronic device and storage medium 技术领域technical field
本申请涉及电子技术领域,尤其涉及一种设备协作方法、装置、系统、电子设备和存储介质。The present application relates to the field of electronic technologies, and in particular, to a device cooperation method, apparatus, system, electronic device, and storage medium.
背景技术Background technique
随着信息设备数量的增长,在一些应用场景下用户需要组合不同设备的服务来共同完成执行一个任务,以提高任务执行效率。比如,用户在使用手机听音乐的过程中,为了提高音频播放的效果,可以通过智能音箱来播放声音。With the growth of the number of information devices, in some application scenarios, users need to combine the services of different devices to jointly complete and execute a task, so as to improve the efficiency of task execution. For example, in the process of using a mobile phone to listen to music, in order to improve the effect of audio playback, the user can play the sound through a smart speaker.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种设备协作方法、装置、系统、电子设备和存储介质。Embodiments of the present application provide a device cooperation method, apparatus, system, electronic device, and storage medium.
第一方面,本申请实施例提供一种设备协同方法,所述方法包括:In a first aspect, an embodiment of the present application provides a device coordination method, and the method includes:
第一设备显示第一界面,所述第一界面用于显示与目标应用程序关联的功能列表,所述目标应用程序运行于所述第一设备,所述功能列表包括所述目标应用程序的分离操控选项;The first device displays a first interface, the first interface is used to display a function list associated with a target application, the target application runs on the first device, and the function list includes the separation of the target application control options;
响应于针对所述分离操控选项的第一选择操作,所述第一设备显示第二界面,所述第二界面用于显示与所述第一设备关联的第一关联设备列表;In response to the first selection operation for the separation manipulation option, the first device displays a second interface for displaying a first associated device list associated with the first device;
响应于针对所述第一关联设备列表中至少一个关联设备的第二选择操作,以使得所述第一设备的所述目标应用程序由所述至少一个关联设备操控。In response to a second selection operation for at least one associated device in the first associated device list, causing the target application of the first device to be manipulated by the at least one associated device.
第二方面,本申请实施例提供一种设备协同装置,所述装置包括:In a second aspect, an embodiment of the present application provides an apparatus for coordinating equipment, and the apparatus includes:
显示单元,用于显示第一界面,所述第一界面用于显示与目标应用程序关联的功能列表,所述目标应用程序运行于所述第一设备,所述功能列表包括所述目标应用程序的分离操控选项;A display unit, configured to display a first interface, where the first interface is configured to display a function list associated with a target application, the target application running on the first device, and the function list includes the target application separate control options;
所述显示单元,还用于响应于针对所述分离操控选项的第一选择操作,显示第二界面,所述第二界面用于显示与所述第一设备关联的第一关联设备列表;The display unit is further configured to display a second interface in response to a first selection operation for the separation manipulation option, where the second interface is configured to display a list of first associated devices associated with the first device;
处理单元,用于响应于针对所述第一关联设备列表中至少一个关联设备的第二选择操作,以使得所述第一设备的所述目标应用程序由所述至少一个关联设备操控。A processing unit, configured to cause the target application of the first device to be controlled by the at least one associated device in response to a second selection operation for at least one associated device in the first associated device list.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种电子设备的软件结构示意图;2 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application;
图3a是本申请实施例提供的一种设备协同系统的结构示意图;3a is a schematic structural diagram of a device coordination system provided by an embodiment of the present application;
图3b是本申请实施例提供的另一种设备协同系统的结构示意图;3b is a schematic structural diagram of another device coordination system provided by an embodiment of the present application;
图4是本申请实施例提供的一种设备协同方法的流程示意图;4 is a schematic flowchart of a device coordination method provided by an embodiment of the present application;
图5a是本申请实施例提供的一种的第一界面显示的示意图;5a is a schematic diagram of a first interface display provided by an embodiment of the present application;
图5b是本申请实施例提供的一种的第一界面显示的示意图;5b is a schematic diagram of a first interface display provided by an embodiment of the present application;
图5c是本申请实施例提供的一种的第二界面显示的示意图;5c is a schematic diagram of a second interface display provided by an embodiment of the present application;
图5d是本申请实施例提供的另一种的第二界面显示的示意图;5d is a schematic diagram of another second interface display provided by an embodiment of the present application;
图5e是本申请实施例提供的另一种的第二界面显示的示意图;5e is a schematic diagram of another second interface display provided by an embodiment of the present application;
图5f是本申请实施例提供的另一种的第二界面显示的示意图;5f is a schematic diagram of another second interface display provided by an embodiment of the present application;
图6a是本申请实施例提供的一种的电子设备提供功能的结构示意图;6a is a schematic structural diagram of a function provided by an electronic device provided by an embodiment of the present application;
图6b是本申请实施例提供的一种的多设备协同的结构示意图;6b is a schematic structural diagram of a multi-device collaboration provided by an embodiment of the present application;
图7a是本申请实施例提供的另一种的设备协同系统的结构示意图;7a is a schematic structural diagram of another device coordination system provided by an embodiment of the present application;
图7b是本申请实施例提供的另一种的设备协同系统的结构示意图;7b is a schematic structural diagram of another device coordination system provided by an embodiment of the present application;
图8是本申请实施例提供的一种调用关联设备上的目标功能的流程示意图;8 is a schematic flowchart of invoking a target function on an associated device provided by an embodiment of the present application;
图9是本申请实施例提供的一种设备协同装置的结构示意图。FIG. 9 is a schematic structural diagram of a device coordination apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise stated, “/” means or means, for example, A/B can mean A or B; “and/or” in this document is only a description of the associated object The association relationship of , indicates that there can be three kinds of relationships, for example, A and/or B, can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" refers to two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first", "second" may expressly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
本申请实施例提供的设备协作方法可以应用于手持设备、车载设备、可穿戴设备、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、投影设备、投影仪或者连接到无线调制解调器的其他设备,也可以是各种具体形式的用户设备(user equipment,UE)、终端设备(terminal device)、手机(smart phone)、智慧屏、智慧电视、智能手表、笔记本电脑、智能音响、摄像头、游戏手柄、鼠标、麦克风、站点(station,STA)、接入点(access point,AP)、移动台(mobile Station,MS)、个人数字助理(personal digital assistant,PDA)、个人计算机(personal computer,PC)或者中继设备等终端设备或者服务器,本申请实施例对终端设备和服务器的具体类型不作任何限制。The device collaboration method provided in the embodiments of the present application may be applied to handheld devices, vehicle-mounted devices, wearable devices, augmented reality (AR) devices, virtual reality (VR) devices, projection devices, projectors, or connected to Other devices of the wireless modem can also be various specific forms of user equipment (UE), terminal device (terminal device), mobile phone (smart phone), smart screen, smart TV, smart watch, notebook computer, smart audio , camera, gamepad, mouse, microphone, station (station, STA), access point (access point, AP), mobile station (mobile Station, MS), personal digital assistant (personal digital assistant, PDA), personal computer ( Personal computer, PC) or a relay device and other terminal devices or servers, the embodiments of the present application do not impose any restrictions on the specific types of terminal devices and servers.
例如,所述终端设备可以是WLAN中的站点(STAION,ST),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、车联网终端、电脑、膝上型计算机、手持式通信设备、手持式计算设备、卫星无线设备、无线调制解调器卡、电视机顶盒(set top box,STB)、用户驻地设备(customer premise equipment,CPE)和/或用于在无线装置上进行通信的其它设备以及下一代通信装置,例如,5G网络中的移动终端或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的移动终端等。For example, the terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a Wireless Local Loop (WLL) station , Personal Digital Assistant (PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, connected car terminals, computers, laptop computers, handheld communications equipment, handheld computing equipment, satellite wireless equipment, wireless modem cards, television set top boxes (STBs), customer premise equipment (CPEs) and/or other equipment for communicating on wireless devices and Next-generation communication devices, for example, mobile terminals in a 5G network or mobile terminals in a future evolved Public Land Mobile Network (Public Land Mobile Network, PLMN) network, etc.
作为示例而非限定,当所述终端设备为可穿戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, when the terminal device is a wearable device, the wearable device may also be a general term for the intelligent design of daily wear and the development of wearable devices using wearable technology, such as glasses, gloves, Watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to be used in conjunction with other devices such as smart phones. , such as various types of smart bracelets and smart jewelry that monitor physical signs.
示例性的,以笔记本电脑和手机这两种电子设备为例。当笔记本电脑和手机通过无线通信技术(如蓝牙、无线保真、紫蜂、近场通信等)或数据线(如USB数据线)连接,用户通过手机完游戏时,可以通过设备协作的方式调用笔记本电脑来显示手机的游戏画面;或者,用户在笔记本电脑上完游戏时, 可以通过设备协作的方式调用手机来操控笔记本电脑上的游戏。Illustratively, two electronic devices, a notebook computer and a mobile phone, are taken as examples. When the laptop and mobile phone are connected through wireless communication technology (such as Bluetooth, Wi-Fi, Zigbee, near field communication, etc.) or data cable (such as USB data cable), when the user finishes the game through the mobile phone, he can call it through device collaboration. The laptop computer is used to display the game screen of the mobile phone; or, when the user finishes the game on the laptop computer, the mobile phone can be called to control the game on the laptop computer by means of device cooperation.
本申请实施例中进行设备协同的第一设备和关联设备之间可以直接连接,例如通过蓝牙、WiFi等实现两个电子设备之间的直接连接;或者,两个电子设备之间也可以通过分别与其他电子设备例如云端服务器连接从而实现间接连接。在设备协同的过程中,两个电子设备之间的连接可以在直接连接和间接连接之间进行切换,本申请实施例不作限定。In the embodiment of the present application, the first device performing device coordination and the associated device may be directly connected, for example, through Bluetooth, WiFi, etc., to realize the direct connection between the two electronic devices; Connect with other electronic devices such as cloud servers to achieve indirect connection. In the process of device coordination, the connection between the two electronic devices may be switched between direct connection and indirect connection, which is not limited in this embodiment of the present application.
示例性的,图1示出了电子设备100的结构示意图。以电子设备是手机为例,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,USB接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及SIM卡接口195等。其中传感器模块180可以包括陀螺仪传感器180A,加速度传感器180B,气压传感器180C,磁传感器180D,环境光传感器180E,接近光传感器180G、指纹传感器180H,温度传感器180J,触摸传感器180K(当然,电子设备100还可以包括其它传感器,比如温度传感器,压力传感器、距离传感器、骨传导传感器等,图中未示出)。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100 . Taking the electronic device as a mobile phone as an example, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile phone Communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and SIM card Interface 195, etc. The sensor module 180 may include a gyro sensor 180A, an acceleration sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an ambient light sensor 180E, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K (of course, the electronic device 100 Other sensors may also be included, such as temperature sensors, pressure sensors, distance sensors, bone conduction sensors, etc. (not shown).
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 110 may include one or more processing units, for example, 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), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or Neural-network Processing Unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
处理器110可以运行本申请实施例提供的投屏方法,以便于丰富投屏功能,提升投屏的灵活度,提升用户的体验。处理器110可以包括不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的投屏方法,比如投屏方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。The processor 110 may execute the screen projection method provided by the embodiments of the present application, so as to enrich the screen projection function, improve the flexibility of the screen projection, and improve the user experience. The processor 110 may include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU may cooperate to execute the screen projection method provided by the embodiments of the present application. For example, some algorithms in the screen projection method are executed by the CPU, and another part of the algorithms are executed by the GPU. for faster processing efficiency.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。显示屏194可用于显示由用户输入的信息或提供给用户的信息以及各种图形用户界面(graphical user interface,GUI)。例如,显示器194可以显示照片、视频、网页、或者文件等。再例如,显示器194可以显示图形用户界面。其中图形用户界面上包括状态栏、可隐藏的导航栏、时间和天气小组件(widget)、以及应用的图标,例如浏览器图标等。状态栏中包括运营商名称(例如中国移动)、移动网络(例如4G)、时间和剩余电量。导航栏中包括后退(back)键图标、主屏幕(home)键图标和前进键图标。此外,可以理解的是,在一些实施例中,状态栏中还可以包括蓝牙图标、Wi-Fi图标、外接设备图标等。还可以理解的是,在另一些实施例中,图形用户界面中还可以包括Dock栏,Dock栏中可以包括常用的应用图标等。当处理器检测到用户的手指(或触控笔等)针对某一应用图标的触摸事件后,响应于该触摸 事件,打开与该应用图标对应的应用的用户界面,并在显示器194上显示该应用的用户界面。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one. The display screen 194 may be used to display information entered by or provided to the user as well as various graphical user interfaces (GUIs). For example, the display 194 may display photos, videos, web pages, or documents, or the like. As another example, display 194 may display a graphical user interface. The graphical user interface includes a status bar, a hideable navigation bar, a time and weather widget (widget), and an application icon, such as a browser icon. The status bar includes operator name (eg China Mobile), mobile network (eg 4G), time and remaining battery. The navigation bar includes a back button icon, a home button icon, and a forward button icon. In addition, it can be understood that, in some embodiments, the status bar may further include a Bluetooth icon, a Wi-Fi icon, an external device icon, and the like. It can also be understood that, in other embodiments, the graphical user interface may further include a Dock bar, and the Dock bar may include commonly used application icons and the like. When the processor detects a touch event of the user's finger (or stylus, etc.) on an application icon, in response to the touch event, the processor opens the user interface of the application corresponding to the application icon, and displays the user interface on the display 194. The user interface of the application.
在本申请实施例中,显示屏194可以是一个一体的柔性显示屏,也可以采用两个刚性屏以及位于两个刚性屏之间的一个柔性屏组成的拼接显示屏。当处理器110运行本申请实施例提供的投屏方法后,处理器110可以控制外接的音频输出设备切换输出的音频信号。In the embodiment of the present application, the display screen 194 may be an integrated flexible display screen, or a spliced display screen composed of two rigid screens and a flexible screen located between the two rigid screens. After the processor 110 executes the screen projection method provided by the embodiment of the present application, the processor 110 may control the external audio output device to switch the output audio signal.
摄像头193(前置摄像头或者后置摄像头,或者一个摄像头既可作为前置摄像头,也可作为后置摄像头)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据所述光信号生成待拍摄物体的原始图像。Camera 193 (front camera or rear camera, or one camera can be both front camera and rear camera) is used to capture still images or video. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex or concave) for collecting light signals reflected by the object to be photographed, and transmitting the collected light signals to the image sensor . The image sensor generates an original image of the object to be photographed according to the light signal.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储电子设备100使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store operating system, code of application programs (such as camera application, WeChat application, etc.), and the like. The storage data area may store data created during the use of the electronic device 100 (such as images, videos, etc. captured by a camera application) and the like.
内部存储器121还可以存储本申请实施例提供的投屏方法对应的一个或多个计算机程序。该一个或多个计算机程序被存储在上述存储器211中并被配置为被该一个或多个处理器110执行,该一个或多个计算机程序包括指令,该计算机程序可以包括帐号验证模块、优先级比较模块。其中,帐号验证模块,用于对局域网内的其它终端设备的系统认证帐号进行认证;优先级比较模块,可用于比较音频输出请求业务的优先级和音频输出设备当前输出业务的优先级。状态同步模块,可用于将终端设备当前接入的音频输出设备的设备状态同步至其它终端设备,或者将其它设备当前接入的音频输出设备的设备状态同步至本地。当内部存储器121中存储的投屏方法的代码被处理器110运行时,处理器110可以控制发送端进行投屏数据处理。The internal memory 121 may also store one or more computer programs corresponding to the screen projection method provided by the embodiments of the present application. The one or more computer programs are stored in the aforementioned memory 211 and configured to be executed by the one or more processors 110, the one or more computer programs include instructions, the computer programs may include an account verification module, priority Compare modules. The account verification module is used to authenticate the system authentication accounts of other terminal devices in the local area network; the priority comparison module can be used to compare the priority of the audio output request service and the priority of the current output service of the audio output device. The state synchronization module can be used to synchronize the device state of the audio output device currently connected by the terminal device to other terminal devices, or synchronize the device state of the audio output device currently connected by other devices to the local. When the code of the screen projection method stored in the internal memory 121 is executed by the processor 110, the processor 110 may control the sending end to process the screen projection data.
此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
当然,本申请实施例提供的投屏方法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的投屏方法的代码,处理器110可以控制发送端进行投屏数据处理。Of course, the code of the screen projection method provided by the embodiment of the present application may also be stored in an external memory. In this case, the processor 110 may run the code of the screen projection method stored in the external memory through the external memory interface 120, and the processor 110 may control the sending end to perform screen projection data processing.
陀螺仪传感器180A,可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180A确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器180A可以用于检测电子设备100当前的运动状态,比如抖动还是静止。The gyroscope sensor 180A can be used to determine the motion attitude of the electronic device 100 . In some embodiments, the angular velocity of electronic device 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180A. That is, the gyro sensor 180A can be used to detect the current motion state of the electronic device 100, such as shaking or stillness.
当本申请实施例中的显示屏为可折叠屏时,陀螺仪传感器180A可用于检测作用于显示屏194上的折叠或者展开操作。陀螺仪传感器180A可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。When the display screen in the embodiment of the present application is a foldable screen, the gyro sensor 180A can be used to detect a folding or unfolding operation acting on the display screen 194 . The gyroscope sensor 180A may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .
加速度传感器180B可检测电子设备100在各个方向上(一般为三轴)加速度的大小。即陀螺仪传感器180A可以用于检测电子设备100当前的运动状态,比如抖动还是静止。当本申请实施例中的显示屏为可折叠屏时,加速度传感器180B可用于检测作用于显示屏194上的折叠或者展开操作。加速度传感器180B可以将检测到的折叠操作或者展开操作作为事件上报给处理器110,以确定显示屏194的折叠状态或展开状态。The acceleration sensor 180B can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). That is, the gyro sensor 180A can be used to detect the current motion state of the electronic device 100, such as shaking or stillness. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 180B can be used to detect a folding or unfolding operation acting on the display screen 194 . The acceleration sensor 180B may report the detected folding operation or unfolding operation to the processor 110 as an event to determine the folding state or unfolding state of the display screen 194 .
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。当本申请实施例中的显示屏为可叠屏时,接近光传感器180G可以设置在可折叠的显示屏194的第一屏上,接近光传感器180G可根据红外信号的光程差来检测第一屏与第二屏的折叠角度或者展开角度的大小。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The mobile phone emits infrared light outward through light-emitting diodes. Phones use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the phone. When insufficient reflected light is detected, the phone can determine that there are no objects near the phone. When the display screen in the embodiment of the present application is a stackable screen, the proximity light sensor 180G can be arranged on the first screen of the foldable display screen 194, and the proximity light sensor 180G can detect the first screen according to the optical path difference of the infrared signal. The size of the folding or unfolding angle between the screen and the second screen.
陀螺仪传感器180A(或加速度传感器180B)可以将检测到的运动状态信息(比如角速度)发送给处理 器110。处理器110基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明电子设备100处于手持状态)。The gyro sensor 180A (or the acceleration sensor 180B) may send the detected motion state information (such as angular velocity) to the processor 110. The processor 110 determines whether the current state is the hand-held state or the tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the electronic device 100 is in the hand-held state).
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". 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, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
示例性的,电子设备100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器180K点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。显示屏194显示相机应用的界面,例如取景界面。Exemplarily, the display screen 194 of the electronic device 100 displays a main interface, and the main interface includes icons of multiple applications (such as a camera application, a WeChat application, etc.). The user clicks the icon of the camera application in the main interface through the touch sensor 180K, which triggers the processor 110 to start the camera application and turn on the camera 193 . Display screen 194 displays an interface of a camera application, such as a viewfinder interface.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。在本申请实施例中,移动通信模块150还可以用于与其它终端设备进行信息交互,即向其它终端设备发送投屏相关数据,或者移动通信模块150可用于接收投屏请求,并将接收的投屏请求封装成指定格式的消息。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 . In this embodiment of the present application, the mobile communication module 150 may also be used for information interaction with other terminal devices, that is, sending screen projection related data to other terminal devices, or the mobile communication module 150 may be used to receive a screen projection request, and send the received screen projection request. The screencasting request is encapsulated into a message in the specified format.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。本申请实施例中,无线通信模块160,用于与接收端建立连接,通过接收端显示投屏内容。或者无线通信模块160可以用于接入接入点设备,向其它终端设备发送投屏请求对应的消息,或者接收来自其它终端设备发送的音频输出请求对应的消息。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 . In the embodiment of the present application, the wireless communication module 160 is configured to establish a connection with the receiving end, and display the screen projection content through the receiving end. Alternatively, the wireless communication module 160 may be used to access an access point device, send a message corresponding to a screen projection request to other terminal devices, or receive a message corresponding to an audio output request sent from other terminal devices.
另外,电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。电子设备100可以接收按键190输入, 产生与电子设备100的用户设置以及功能控制有关的键信号输入。电子设备100可以利用马达191产生振动提示(比如来电振动提示)。电子设备100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。电子设备100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。In addition, the electronic device 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 music playback, recording, etc. The electronic device 100 may receive the key 190 input and generate the key signal input related to user settings and function control of the electronic device 100 . The electronic device 100 may use the motor 191 to generate vibration alerts (eg, vibration alerts for incoming calls). The indicator 192 in the electronic device 100 may be an indicator light, which may be used to indicate a charging state, a change in power, and may also be used to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
应理解,在实际应用中,电子设备100可以包括比图1所示的更多或更少的部件,本申请实施例不作限定。图示电子设备100仅是一个范例,并且电子设备100可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that, in practical applications, the electronic device 100 may include more or less components than those shown in FIG. 1 , which are not limited in the embodiments of the present application. The illustrated electronic device 100 is only an example, and the electronic device 100 may have more or fewer components than those shown, two or more components may be combined, or a different configuration of components may be present. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
示例性的,图2示出了电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。Exemplarily, FIG. 2 shows a software structural block diagram of the electronic device 100 . The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
随着信息设备数量的增长,在一些应用场景下用户需要组合不同设备的服务来共同完成执行一个任务,以提高任务执行效率。比如,用户在使用手机听音乐的过程中,为了提高音频播放的效果,可以通过智能音箱来播放声音。With the growth of the number of information devices, in some application scenarios, users need to combine the services of different devices to jointly complete and execute a task, so as to improve the efficiency of task execution. For example, in the process of using a mobile phone to listen to music, in order to improve the effect of audio playback, the user can play the sound through a smart speaker.
目前,通过Miracast和DLNA投屏技术可以将多媒体数据(画面输出和音频输出)投放到某一个多媒体外设,比如投放到电视,用电视屏幕播放画面,电视音箱播放声音;或者投放到智能音箱,用智能音箱播放声音。但是Miracast和DLNA投屏技术只能实现单个品类设备的投放,不能做到利用多设备的服务协同工作。At present, through Miracast and DLNA screen projection technology, multimedia data (picture output and audio output) can be put into a certain multimedia peripheral, such as put into a TV, use the TV screen to play the picture, and the TV speaker to play the sound; or put it into a smart speaker, Play sound with your smart speaker. However, Miracast and DLNA screen projection technology can only realize the launch of a single category of equipment, and cannot use the services of multiple devices to work together.
为解决上述问题,本申请提出了一种设备协同方案,通过从多个设备中选取至少一个关联设备来实现用户在第一设备上选择的功能,使得第一设备可以融合多个关联设备提供的功能,同时调用多个不同品类设备的功能,达到多设备的协同工作。In order to solve the above problems, the present application proposes a device coordination solution, which implements the function selected by the user on the first device by selecting at least one associated device from multiple devices, so that the first device can integrate the functions provided by multiple associated devices. function, and call the functions of multiple different types of devices at the same time to achieve the collaborative work of multiple devices.
示例性地,本申请实施例的技术方案可以应用于如图3a所示的设备协作系统30。其中,设备协作系统30可以包括第一设备310和多个关联设备320。该多个关联设备320可以包括电子设备320A、电子设备320B和电子设备320C。同时,第一设备310与多个关联设备320之间可以通过无线网络或有线数据相互通信连接。Exemplarily, the technical solutions of the embodiments of the present application may be applied to the device cooperation system 30 as shown in FIG. 3a. The device cooperation system 30 may include a first device 310 and a plurality of associated devices 320 . The plurality of associated devices 320 may include electronic device 320A, electronic device 320B, and electronic device 320C. Meanwhile, the first device 310 and the plurality of associated devices 320 may be connected to each other through wireless network or wired data communication.
具体的,第一设备310与多个关联设备320可以为同一个用户账号下的设备。例如,当用户使用同一个用户账号登录手机、台式电脑、智慧屏、笔记本电脑、中继设备和智能手表时,该第一设备310和/或关联设备320可以为手机、台式电脑、智慧屏、笔记本电脑、中继设备和智能手表,并且该手机、台式电脑、智慧屏、笔记本电脑、中继设备和智能手表之间可以通过无线网络互相通信。Specifically, the first device 310 and the multiple associated devices 320 may be devices under the same user account. For example, when a user logs in to a mobile phone, desktop computer, smart screen, laptop computer, relay device and smart watch using the same user account, the first device 310 and/or the associated device 320 may be a mobile phone, desktop computer, smart screen, Notebook computer, relay device and smart watch, and the mobile phone, desktop computer, smart screen, notebook computer, relay device and smart watch can communicate with each other through wireless network.
具体的,该第一设备310与多个关联设备320可以通过中继设备(如路由器)连接到同一个WLAN网络中。例如,当用户将手机、台式电脑、智慧屏、笔记本电脑和智能手表接入由中继设备提供的Wi-Fi网络时,第一设备310与关联设备320可以包括该手机、台式电脑、智慧屏、笔记本电脑、中继设备和智能手表,并且该手机、台式电脑、智慧屏、笔记本电脑、中继设备和智能手表形成一个WLAN网络,从而WLAN网络内的各个设备之间可以通过中继设备实现相互通信。Specifically, the first device 310 and multiple associated devices 320 may be connected to the same WLAN network through a relay device (such as a router). For example, when the user connects the mobile phone, desktop computer, smart screen, notebook computer and smart watch to the Wi-Fi network provided by the relay device, the first device 310 and the associated device 320 may include the mobile phone, desktop computer, smart screen , laptop computer, relay device and smart watch, and the mobile phone, desktop computer, smart screen, laptop computer, relay device and smart watch form a WLAN network, so that each device in the WLAN network can be implemented through the relay device. communicate with each other.
进一步的,第一设备可以调用至少一个关联设备来显示其当前运行应用程序的画面,同时第一设备也可以调用至少一个关联设备来操作其当前的应用程序。例如,第一设备310调用电子设备320A显示画面,同时第一设备310调用电子设备320B操作当前应用程序以及调用电子设备320C播放声音。Further, the first device can call at least one associated device to display a screen of its currently running application, and the first device can also call at least one associated device to operate its current application. For example, the first device 310 invokes the electronic device 320A to display a screen, while the first device 310 invokes the electronic device 320B to operate the current application and invokes the electronic device 320C to play a sound.
应理解,设备协同系统30还可以包括其他数量的电子设备,在此不作具体限定。It should be understood that the device coordination system 30 may also include other numbers of electronic devices, which are not specifically limited herein.
示例性地,本申请实施例的技术方案可以应用于如图3b所示的设备协同系统30。其中,设备协同系统30可以包括第一设备310、多个关联设备320和云端设备330。该第一设备310和多个关联设备320可以为同一个用户账号下的设备,云端设备330用于管理关联同一用户账号下的设备,以及存储第一设备310和多个关联设备320的功能列表和授权信息。第一设备310在请求设备协同时,可以从云端设备获取满足第一设备功能需求的多个关联设备320。Exemplarily, the technical solutions of the embodiments of the present application may be applied to the device coordination system 30 as shown in FIG. 3b. The device coordination system 30 may include a first device 310 , multiple associated devices 320 and a cloud device 330 . The first device 310 and the multiple associated devices 320 may be devices under the same user account, and the cloud device 330 is used to manage the associated devices under the same user account, and store the function list of the first device 310 and the multiple associated devices 320 and authorization information. When the first device 310 requests device collaboration, it can acquire multiple associated devices 320 that meet the functional requirements of the first device from the cloud device.
请参阅图4,图4是本申请实施例提供了一种设备协同方法的流程示意图,如图4所示,本设备协同方法包括以下操作。Please refer to FIG. 4 , which is a schematic flowchart of a device coordination method provided by an embodiment of the present application. As shown in FIG. 4 , the device coordination method includes the following operations.
S410、第一设备显示第一界面,所述第一界面用于显示与目标应用程序关联的功能列表,所述目标应用程序运行于所述第一设备,所述功能列表包括所述目标应用程序的分离操控选项。S410. The first device displays a first interface, where the first interface is used to display a function list associated with a target application, the target application runs on the first device, and the function list includes the target application 's separate manipulation options.
在本申请实施例中,当用户在第一设备上打开一个应用时,用户可以通过预先设定的任意操作启动相关的协同流程。所述预先设定的任意操作可以由用户设定,也可以由第一设备的系统设定,本申请实施例对此不做限定。例如,在手机上,可以设置通过长按当前运行的应用的屏幕唤起协同流程;在电脑上,可以设置通过在运行的应用上点击鼠标右键来唤起协同流程。协同流程唤起后,系统会在当前界面上显示第一窗口,该第一窗口的内容和用户、当前应用程序以及第一设备相关。In this embodiment of the present application, when the user opens an application on the first device, the user can initiate a related collaborative process through any preset operation. The preset arbitrary operation may be set by the user, or may be set by the system of the first device, which is not limited in this embodiment of the present application. For example, on a mobile phone, it can be set to evoke a collaborative process by long-pressing the screen of a currently running application; on a computer, it can be set to evoke a collaborative process by clicking the right mouse button on the running application. After the collaborative process is aroused, the system will display the first window on the current interface, and the content of the first window is related to the user, the current application, and the first device.
可选的,所述功能列表还包括分离画面选项和/或分离声音选项。Optionally, the function list further includes a screen separation option and/or a sound separation option.
可以理解的是,每个设备获取服务列表的方式在不同的设备上会有不同的实现,有些会和操作系统的机制有些耦合,获取服务列表和上报服务列表的时机在不同的设备上可能会有所不同。It is understandable that the way each device obtains the service list will be implemented differently on different devices, and some will be somewhat coupled with the mechanism of the operating system. The timing of obtaining the service list and reporting the service list may vary on different devices. different.
其中,针对不同的设备和目标应用程序,目标应用程序中的功能列表中包括的功能不同。用户所使用的第一设备在启动协同流程后,可以确定目标应用程序下需要进行协同的功能列表,该功能列表可以包括分离控制选项、分离画面选项、分离声音选项。比如,当前目标应用程序为游戏类应用程序,该功能列表可以包括分离控制选项、分离画面选项、分离声音选项。当前目标应用程序为相册时,功能列表可以包括分离控制选项和分离画面选项。当前目标应用程序为语音通话时,该功能列表可以包括分离控制选项、分离声音选项。Among them, for different devices and target applications, the functions included in the function list in the target application are different. After starting the collaboration process, the first device used by the user may determine a function list that needs to be coordinated under the target application, and the function list may include separate control options, separate screen options, and separate sound options. For example, if the current target application is a game application, the function list may include separate control options, separate screen options, and separate sound options. When the current target application is Photo Album, the function list may include a split control option and a split screen option. When the current target application is a voice call, the function list may include a separation control option and a separation sound option.
进一步地,针对目标应用程序的实现功能,功能列表还可以包括分离定位选项、分离支付选项、分离搜索选项等等。Further, with respect to the realization functions of the target application, the function list may further include separate positioning options, separate payment options, separate search options, and the like.
在实际操作中,应用程序可以实现多种任务,可能实现每个任务所需的功能列表也会不一样,例如,目标应用程序为社交软件时,当用户利用社交软件进行视频通话时,此时需要的目标应用程序的功能列表包括分离控制选项、分离画面选项、分离声音选项;当用户利用社交软件进行语音通话时,此时需要的目标应用程序的功能列表包括分离控制选项和分离声音选项。因此,确定当前目标应用程序的功能列表的方式可以包括但不限于:用户所使用的第一设备启动某个APP,用户所使用的第一设备在某个APP中执行某项任务,在使用第一设备执行某个任务的过程中,用户通过设定的方式输入触发指令等。In actual operation, the application can achieve a variety of tasks, and the list of functions required to achieve each task may be different. For example, when the target application is social software, when the user uses the social software to make a video call, at this time The required function list of the target application includes a separation control option, a separation screen option, and a separation sound option; when the user uses the social software to make a voice call, the required function list of the target application includes a separation control option and a separation sound option. Therefore, the method of determining the function list of the current target application may include, but is not limited to: starting a certain APP on the first device used by the user, executing a certain task in a certain APP on the first device used by the user, During the process of a device performing a certain task, the user inputs a trigger instruction or the like through a set method.
示例性地,用户唤起协同流程的方式还可以包括其他的触发方式,例如,近场通信(Near Field Communication,NFC)、超宽带(Ultra Wide Band,UWB)等,以NFC为例,当用户在手机上玩游戏时,用户可以通过碰触电视机,可以将该电视机确定为满足手机协同需求的关联设备;用户再碰触智能音箱,可以将该智能音箱确定为满足手机协同需求的关联设备;用户再碰触电脑,可以将该电脑或电脑上携带的设备确定为满足手机协同需求的关联设备。Exemplarily, the manner in which the user evokes the collaborative process may also include other triggering manners, such as Near Field Communication (NFC), Ultra Wide Band (UWB), etc. Taking NFC as an example, when the user is in the When playing games on the mobile phone, the user can touch the TV, and the TV can be determined as an associated device that meets the needs of mobile phone collaboration; the user touches the smart speaker again, and the smart speaker can be determined as an associated device that meets the needs of mobile phone collaboration. ; The user touches the computer again, and the computer or the device carried on the computer can be determined as an associated device that meets the needs of mobile phone collaboration.
示例性地,用户唤起协同流程的方式还可以包括非接触式的特定手势来触发。第一设备还可检测其附近的非接触式手势操作,并在该非接触式手势操作符合预设的第一设备检测信息生成条件时触发显示所述第一界面,进而根据用户的选择确定第一设备需要协助的功能和满足协助功能的至少一个关联设备。用户只需要在第一设备附近进行非接触式的手势操作来启动协助操作流程,不需要接触第一设备和关联设备,操作方便及人性化。Exemplarily, the manner in which the user evokes the collaborative process may also include a non-contact specific gesture to trigger. The first device can also detect a non-contact gesture operation near it, and trigger the display of the first interface when the non-contact gesture operation meets the preset first device detection information generation conditions, and then determine the first interface according to the user's selection. A device requires assisted functions and at least one associated device that satisfies the assisted functions. The user only needs to perform a non-contact gesture operation near the first device to start the assisting operation process, and does not need to touch the first device and the associated device, and the operation is convenient and user-friendly.
值得注意的是,本发明的第一设备和关联设备只是从功能上进行分类。在实际应用中,设备协作系统中的每个设备都可具有第一设备和关联设备的功能,在进行协作响应时,可根据具体情况选择作为第一设备还是作为关联设备。It is worth noting that the first device and the associated device of the present invention are only functionally classified. In practical applications, each device in the device cooperation system may have the functions of a first device and an associated device, and when performing a cooperation response, it can be selected as the first device or as the associated device according to specific conditions.
需要说明的是,第一设备控制多个关联设备进行协作处理的同时,其自身还可以参与协作处理。具体而言,至少一个关联设备和第一设备根据各自的协作响应信息进行协作处理。It should be noted that while the first device controls multiple associated devices to perform cooperative processing, it can also participate in the cooperative processing. Specifically, the at least one associated device and the first device perform cooperative processing according to respective cooperation response information.
示例性地,所述第一界面可以悬浮设置于当前界面的固定位置。如图5a所示,第一界面的左上角起始坐标位置1和右下角的坐标位置2可以由用户设定的,也可以由第一电子设备的系统设定,本申请对此不作限定。Exemplarily, the first interface may be suspended at a fixed position of the current interface. As shown in FIG. 5a, the starting coordinate position 1 of the upper left corner and the coordinate position 2 of the lower right corner of the first interface can be set by the user, or can be set by the system of the first electronic device, which is not limited in this application.
示例性地,第一界面的显示位置还可以根据第一设备的屏幕的显示方向来确定。例如,当第一设备的屏幕以横屏方向显示时,第一界面的显示位置可以如图5a所示;当第一设备的屏幕以竖屏方向显示时,第一界面的显示位置可以如图5b所示。Exemplarily, the display position of the first interface may also be determined according to the display direction of the screen of the first device. For example, when the screen of the first device is displayed in a landscape orientation, the display position of the first interface may be as shown in Figure 5a; when the screen of the first device is displayed in a portrait orientation, the display position of the first interface may be as shown in Figure 5a 5b.
示例性地,第一界面的显示位置可以进行移动。当用户拖动或滑动所述第一界面时,第一界面可以根据用户的拖动方向或划定方向进行移动。Exemplarily, the display position of the first interface can be moved. When the user drags or slides the first interface, the first interface may move according to the user's dragging direction or delineation direction.
示例性地,第一界面的显示位置可以是随机的。第一界面的显示位置可以是用户上次显示的位置,也可以是系统随机确定的显示位置,也可以是用户触屏的位置,本申请实施例对此不做限定。Exemplarily, the display position of the first interface may be random. The display position of the first interface may be the position displayed by the user last time, or may be the display position randomly determined by the system, or may be the position where the user touches the screen, which is not limited in this embodiment of the present application.
可选的,所述第一设备中的设备操作系统和/或应用程序提供所述功能列表。Optionally, a device operating system and/or an application program in the first device provides the function list.
在本申请实施例中,第一设备上可以包括由设备操作系统提供的应用程序,例如,语音通话、声音播放、位置定位等。第一设备上也可以包括用户应用自身的业务服务的应用程序,例如,用户下载的用 于社交的应用程序、用于观看影视的应用程序、用于听音乐的应用程序等等。每个应用程序有自己提供的功能列表。由于功能列表中的功能可以分为第一设备上的设备操作系统提供的服务,以及应用自身的业务服务的应用程序,因此当用户在不同的应用程序上启动协同流程时,功能列表将随着用户名下的设备列表以及不同的应用程序的变化而变化。只有有效的功能才会显示在第一界面上。In this embodiment of the present application, the first device may include an application program provided by an operating system of the device, for example, voice call, sound playback, location positioning, and the like. The first device may also include an application for the user to apply his own business service, for example, an application downloaded by the user for social networking, an application for watching movies, an application for listening to music, and the like. Each application has its own list of features provided. Since the functions in the function list can be divided into services provided by the device operating system on the first device and applications that apply their own business services, when the user starts a collaborative process on different applications, the function list will follow The list of devices under the username varies with different applications. Only valid functions will be displayed on the first screen.
其中,所述方法还包括:在所述第一设备启动时,所述第一设备扫描所述设备操作系统和/或所有所述应用程序,得到所述第一设备的服务列表,所述服务列表包括所述设备操作系统和/或所有所述应用程序提供的功能列表;所述第一设备向所述云端设备上报所述服务列表。Wherein, the method further includes: when the first device is started, the first device scans the device operating system and/or all the application programs to obtain a service list of the first device, the service The list includes a list of functions provided by the device operating system and/or all the applications; the first device reports the service list to the cloud device.
具体地,第一设备在启动时会扫描一遍第一设备上按照给定方式开发的应用程序,并将这些应用程序可以提供的功能以列表的形式记录下来。同时在应用程序进行安装或卸载时,第一设备可以对其进行监听,并把监听到的内容记录下来。当第一设备上的设备操作系统和/或所有所述应用程序中提供的功能发生变化时,向云端设备进行上报,以同步这些变化。Specifically, when the first device starts up, it scans the application programs developed in the given manner on the first device, and records the functions that these application programs can provide in the form of a list. At the same time, when the application program is installed or uninstalled, the first device can monitor it and record the monitored content. When the device operating system on the first device and/or the functions provided in all the application programs change, it is reported to the cloud device to synchronize these changes.
进一步地,云端设备管理下的设备也可以向云端设备上传自身的服务列表,云端设备可以按照设备、应用程序、功能的粒度存储各个设备上传的这些服务列表。当第一设备需要其他设备协同完成某一功能时,第一设备可以无需第三方应用的适配,直接通过云端设备查找能够实现第一设备需要协调的功能的设备,以系统应用的方式来适配设备的能力,使得第三方应用在开发阶段不需要做任何的适配就可以实现设备间的协同。Further, a device under the cloud device management can also upload its own service list to the cloud device, and the cloud device can store these service lists uploaded by each device according to the granularity of devices, applications, and functions. When the first device needs other devices to cooperate to complete a certain function, the first device can directly search for the device that can realize the function that the first device needs to coordinate through the cloud device without the adaptation of the third-party application, and use the system application method to adapt The ability to configure devices enables third-party applications to achieve collaboration between devices without any adaptation during the development phase.
S420、响应于针对所述分离操控选项的第一选择操作,所述第一设备显示第二界面,所述第二界面用于显示与所述第一设备关联的第一关联设备列表。S420. In response to the first selection operation for the separation manipulation option, the first device displays a second interface, where the second interface is configured to display a first associated device list associated with the first device.
其中,所述第一选择操作主要用于从功能列表中选出目标应用程序需要进行协同操作的功能。该第一选择操作可以是预先设定的任意操作,可以由用户设定的,也可以由第一电子设备的系统设定,本申请对此不作限定。根据第一设备的不同,以及第一设备显示方式的不同,第一选择操作可以包括多种不同的实现形式。例如,对于可以支持触屏的第一设备,如智能手机,该第一选择操作可以为触屏操作;对于用鼠标控制的第一设备,如台式电脑,该第一选择操作可以为点击操作;对于远程控制的第一设备,如智能电视机,该第一选择操作可以为选中操作。Wherein, the first selection operation is mainly used to select the function of the target application that needs to perform cooperative operation from the function list. The first selection operation may be any preset operation, may be set by the user, or may be set by the system of the first electronic device, which is not limited in this application. According to different first devices and different display modes of the first device, the first selection operation may include various implementation forms. For example, for a first device that can support a touch screen, such as a smart phone, the first selection operation can be a touch screen operation; for a first device controlled by a mouse, such as a desktop computer, the first selection operation can be a click operation; For a remotely controlled first device, such as a smart TV, the first selection operation may be a selection operation.
其中,所述方法还包括:响应于针对所述分离画面选项的第三选择操作,所述第一设备显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第二关联设备列表;和/或,响应于针对所述分离声音选项的第五选择操作,所述第一设备显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第三关联设备列表。Wherein, the method further includes: in response to a third selection operation for the split screen option, displaying, by the first device, the second interface, the second interface being configured to display a screen associated with the first device a second list of associated devices; and/or, in response to a fifth selection operation for the separate sound option, the first device displays the second interface, the second interface being used to display a connection with the first device A list of associated third associated devices.
在本申请,上述第一关联设备列表包括能够实现操作功能的关联设备列表;上述第二关联设备列表包括能够显示画面的关联设备列表;上述第三关联设备列表包括能够播放声音的关联设备列表。需要说明的是,在功能列表中包括分离画面选项和/或分离声音选项时,第一设备也可以响应于针对所述分离画面选项/或分离声音选项的第一选择操作,显示第二界面。In this application, the first associated device list includes a list of associated devices that can implement operation functions; the second associated device list includes a list of associated devices that can display images; the third associated device list includes a list of associated devices that can play sound. It should be noted that, when the function list includes the split screen option and/or the split sound option, the first device may also display the second interface in response to the first selection operation for the split screen option/or the split sound option.
具体地,用户在第一设备上启动目标应用程序的协同流程后,在第一设备的当前界面上显示第一界面,该第一界面中展示目标应用程序可以进行协同的功能,包括分离控制选项、分离画面选项、分离声音选项中的至少一项。然后用户针对自身需要从功能列表中选择需要协同的功能,具体为用户通过第一选择操作选择需要协同的功能。Specifically, after the user starts the collaboration process of the target application on the first device, a first interface is displayed on the current interface of the first device, and the first interface displays the functions that the target application can perform collaboration, including the separation control option , at least one of split screen option, split sound option. Then, the user selects the function that needs to be coordinated from the function list according to his needs, specifically, the user selects the function that needs to be coordinated through the first selection operation.
在一种可能的实现方式中,所述目标关联设备列表是从云端设备获取的,所述目标关联设备列表包括所述第一关联设备列表、所述第二关联设备列表和所述第三关联设备列表中的至少一项。In a possible implementation manner, the target associated device list is obtained from a cloud device, and the target associated device list includes the first associated device list, the second associated device list, and the third associated device list At least one item in the device list.
其中,第一设备和云端设备管理下的设备可以向云端设备上传自身的服务列表,云端设备可以按照设备、应用程序、功能的粒度存储各个设备上传的这些服务列表。当第一设备选择好了目标应用程序需要协同的功能后,第一设备可以从云端设备获取能够实现该功能的设备。The first device and the devices under the management of the cloud device can upload their own service lists to the cloud device, and the cloud device can store these service lists uploaded by each device according to the granularity of devices, applications, and functions. After the first device selects the function that needs to be coordinated by the target application, the first device may obtain a device capable of implementing the function from the cloud device.
可选的,所述方法还包括:所述第一设备向所述云端设备上报目标账号,所述目标账号为所述第一设备登录的用户账号。Optionally, the method further includes: the first device reporting a target account to the cloud device, where the target account is a user account logged in by the first device.
在通过云端设备来管理多个设备时,云端设备可以通过设备上登录的用户账号来进行管理。当用户 使用用户账户登录第一设备时,第一设备可以将登录的用户账号上传给云端设备,云端设备则可以以用户账号的粒度来存储服务列表。第一设备登录的用户账号可以是当前登录的终端系统账号或当前登录的应用账号等。When managing multiple devices through the cloud device, the cloud device can be managed through the user account logged in on the device. When the user uses the user account to log in to the first device, the first device can upload the logged in user account to the cloud device, and the cloud device can store the service list with the granularity of the user account. The user account logged in by the first device may be a currently logged in terminal system account or a currently logged in application account or the like.
示例性地,云端设备管理范围下的设备在用户使用用户账号登录后,都可以将登录该设备的用户账号上传给云端设备。Exemplarily, after the user logs in with the user account of a device under the management scope of the cloud device, the user account for logging in the device can be uploaded to the cloud device.
其中,所述目标关联设备列表中每个关联设备登录的用户账号为所述目标账号。Wherein, the user account logged in by each associated device in the target associated device list is the target account.
具体地,云端设备在接收到各个设备上传的服务列表后,可以根据用户账号来存储各个设备的服务列表,具体为同一用户账号的设备上传的服务列表存储在一起。因此,当第一设备向云端设备请求能够实现选择的需要协同的功能时,云端设备可以查找与第一设备的用户账号相同的且可以实现需要协同的功能的设备,即关联设备,并查找到的设备以列表的形式发送给第一设备。第一设备将查找到的设备显示于第二界面中,从而使得用户可以通过自己的其他设备来执行第一设备上的功能。通过对用户账号的管理可以避免其他人随意使用自己的设备。Specifically, after receiving the service list uploaded by each device, the cloud device may store the service list of each device according to the user account, specifically, the service lists uploaded by the devices of the same user account are stored together. Therefore, when the first device requests the cloud device to realize the selected function that needs to be coordinated, the cloud device can search for a device that is the same as the user account of the first device and can realize the function that needs to be coordinated, that is, the associated device, and finds The devices are sent to the first device in the form of a list. The first device displays the found device in the second interface, so that the user can execute the function on the first device through his own other device. Through the management of user accounts, other people can be prevented from using their own devices at will.
在本申请实施例中,用户在第一界面上执行第一选择操作后,第一设备在当前界面上在显示第一界面,该第一界面中展示从云端设备获取的一个或多个关联设备。例如,如图5c所示,用户在第一界面上通过第一选择操作选分离操作选项,第一设备响应与该第一选择操作,在当前界面显示第二界面,第二界面中展示能够对第一设备的目标应用程序实现操作的游戏手柄、鼠标键盘、手机触控。如图5d所示,用户在第一界面上通过第一选择操作选分离画面选项,第一设备响应与该第一选择操作,在当前界面显示第二界面,第二界面中展示能够对第一设备的目标应用程序实现画面显示的客厅电视和我的平板。如图5e所示,用户在第一界面上通过第一选择操作选分离声音选项,第一设备响应与该第一选择操作,在当前界面显示第二界面,第二界面中展示能够对第一设备的目标应用程序实现声音播放的蓝牙耳机、蓝牙音箱和客厅电视。In this embodiment of the present application, after the user performs the first selection operation on the first interface, the first device displays the first interface on the current interface, and the first interface displays one or more associated devices obtained from the cloud device . For example, as shown in FIG. 5c, the user selects the separation operation option through the first selection operation on the first interface, the first device responds to the first selection operation, displays the second interface on the current interface, and displays the ability to The target application of the first device realizes the operation of the gamepad, mouse and keyboard, and touch of the mobile phone. As shown in FIG. 5d, the user selects the split screen option through the first selection operation on the first interface, the first device responds to the first selection operation, displays the second interface on the current interface, and the second interface displays The device's target application implements the screen display of the living room TV and my tablet. As shown in FIG. 5e, the user selects the option to separate the sound through the first selection operation on the first interface, the first device responds to the first selection operation, and displays the second interface on the current interface, and the second interface shows that the first device can respond to the first selection operation The device's target application implements sound playback for Bluetooth headsets, Bluetooth speakers, and living room TVs.
示例性地,第二界面的显示位置可以根据第一界面的显示位置来确定。例如,当用户的第一选择操作为分离控制选项时,第二界面的显示位置可以位于分离控制选项的旁边,如图5c所示;当用户的第一选择操作为分离画面选项时,第二界面的显示位置可以位于分离画面选项的旁边,如图5d所示。Exemplarily, the display position of the second interface may be determined according to the display position of the first interface. For example, when the user's first selection operation is the separation control option, the display position of the second interface may be located next to the separation control option, as shown in Figure 5c; when the user's first selection operation is the separation screen option, the second interface The display position of the interface can be located next to the split screen option, as shown in Figure 5d.
示例性地,第二界面的显示位置还可以根据第一设备的屏幕的显示方向来确定。例如,当第一设备的屏幕以横屏方向显示时,第二界面的显示位置可以位于分离控制选项的旁边,如图5c-图5e所示;当第一设备的屏幕以竖屏方向显示时,第二界面的显示位置可以悬浮显示于第一界面上,如图5f所示。Exemplarily, the display position of the second interface may also be determined according to the display direction of the screen of the first device. For example, when the screen of the first device is displayed in a landscape orientation, the display position of the second interface can be located next to the separation control option, as shown in Figures 5c-5e; when the screen of the first device is displayed in a portrait orientation , the display position of the second interface can be suspended and displayed on the first interface, as shown in FIG. 5f .
示例性地,第二界面的显示位置可以进行移动。当用户拖动或滑动所述第二界面时,第二界面可以根据用户的拖动方向或划定方向进行移动。Exemplarily, the display position of the second interface can be moved. When the user drags or slides the second interface, the second interface may move according to the user's dragging direction or delineation direction.
示例性地,第二界面的显示位置可以是随机的。第二界面的显示位置可以是用户上次显示的位置,也可以是系统随机确定的显示位置,也可以是用户触屏的位置,本申请实施例对此不做限定。Exemplarily, the display position of the second interface may be random. The display position of the second interface may be the position displayed by the user last time, or may be the display position randomly determined by the system, or may be the position where the user touches the screen, which is not limited in this embodiment of the present application.
在一种可能的实现方式中,关联设备可以是第一设备可以检测并连接到的设备,根据用户所处场景的不同,最终获得的满足需求的关联设备可能为0个、1个或者多个。比如,假设在当前场景下,目标应用程序的功能列表包括分离操作选项、分离操作选项和分离声音选项,其中场景内包含的设备为设备A(能够实现分离操作选项和分离画面选项的功能)、设备B(能够实现分离操作选项和分离声音选项的功能)和设备C(能够实现分离操作选项、分离操作选项和分离声音选项的功能),则满足当前场景需求的关联设备组合包括设备A+设备B、设备A+设备C、设备B+设备C、设备C、设备A+设备B+设备C共5个组合。In a possible implementation manner, the associated device may be a device that the first device can detect and connect to. Depending on the scene where the user is located, there may be 0, 1 or more associated devices finally obtained that meet the requirements . For example, suppose that in the current scenario, the function list of the target application includes separate operation options, separate operation options, and separate sound options, and the device included in the scene is Device A (which can implement the functions of separate operation options and separate screen options), Device B (capable of separating operation options and separating sound options) and device C (capable of separating operation options, separating operation options, and separating sound options), the associated device combination that meets the requirements of the current scenario includes device A + device B , Device A + Device C, Device B + Device C, Device C, Device A + Device B + Device C, a total of 5 combinations.
可选的,第一设备可以获取预设范围内各个终端设备的属性信息,所述属性信息包含终端设备能提供的功能。第一设备根据所述各个终端设备的属性信息,从所述各个终端设备中选取能够实现需要协同的功能的终端设备,将能够实现所述需要协同的功能的终端设备存储于目标关联设备列表。Optionally, the first device may acquire attribute information of each terminal device within a preset range, where the attribute information includes functions that the terminal device can provide. The first device selects a terminal device capable of realizing the function requiring coordination from the respective terminal devices according to the attribute information of each terminal device, and stores the terminal device capable of realizing the function requiring coordination in the target associated device list.
在用户所处的场景内,第一设备可以通过蓝牙协议、Hilink协议等方式发起搜索,检测并连接周边的各个终端设备,然后分别读取每个终端设备的属性信息,从而确定每个终端设备能提够实现的功能,比如可以读取周边各个终端设备的profile信息,从而获取设备有哪些功能(蓝牙协议规定了许多profile, 每个profile描述了一项功能;hilink协议类似)。另外场景内的各个终端设备也可以主动将自身能提够实现的功能进行广播。在确定周边存在哪些终端设备,以及每个终端设备分别具有哪些功能之后,即可从这些终端设备中挑选出能够实现用户选中的需要协同的功能的一个或多个终端设备,也即确定的关联设备。In the scene where the user is located, the first device can initiate a search through the Bluetooth protocol, Hilink protocol, etc., detect and connect to the surrounding terminal devices, and then read the attribute information of each terminal device respectively, so as to determine each terminal device. The functions that can be implemented can be mentioned, for example, the profile information of each surrounding terminal device can be read, so as to obtain the functions of the device (the Bluetooth protocol specifies many profiles, and each profile describes a function; the hilink protocol is similar). In addition, each terminal device in the scene can also actively broadcast the functions that can be implemented by itself. After determining which terminal devices exist in the surrounding area and what functions each terminal device has respectively, one or more terminal devices that can realize the function selected by the user and need to be coordinated can be selected from these terminal devices, that is, the determined association equipment.
可选的,第一设备还可以获取预先存储的设备功能对照表,所述设备功能对照表中记录有每个终端设备能提供的功能。第一设备根据所述设备功能对照表,确定预设范围内实现需要协同的功能的终端设备,将能够实现所述需要协同的功能的终端设备存储于目标关联设备列表。Optionally, the first device may also acquire a pre-stored device function comparison table, and the device function comparison table records the functions that each terminal device can provide. The first device determines, according to the device function comparison table, a terminal device that implements a function that needs to be coordinated within a preset range, and stores the terminal device that can implement the function that needs to be coordinated in a target associated device list.
另一种方式,第一设备还可以预先构建并存储一个设备功能对照表,该设备功能对照表记录各个已知类别的终端设备能提供的功能,比如智能音箱具备音频播放功能,智能电视具备图像显示功能和音频播放功能等。在通过有线或无线(比如蓝牙)的方式检测并连接周边的各个终端设备后,可以通过查表的方式分别确定每个终端设备能够提供的功能,最后即可从这些终端设备中挑选出功能。In another way, the first device may also pre-build and store a device function comparison table, and the device function comparison table records the functions that each known type of terminal device can provide. For example, a smart speaker has an audio playback function, and a smart TV has an image playback function. Display function and audio playback function, etc. After detecting and connecting the surrounding terminal devices by wire or wireless (such as Bluetooth), the functions that each terminal device can provide can be determined by looking up a table, and finally the functions can be selected from these terminal devices.
可选的,所述方法还包括:所述第一设备向所述云端设备发送功能请求,所述功能请求用于请求功能查询,所述功能查询包括以下至少一项:查找所述目标账号下的所有功能、查找包括所述功能列表的所有所述关联设备、查找所述关联设备上的所有功能。Optionally, the method further includes: the first device sends a function request to the cloud device, where the function request is used to request a function query, and the function query includes at least one of the following: searching under the target account. All functions of , find all the associated devices including the function list, find all functions on the associated device.
其中,用户登录第一设备后,可以向云端设备请求功能的查询,主要有以下查询方式:Among them, after logging in to the first device, the user can request a function query from the cloud device, which mainly includes the following query methods:
1、通过查找功能列表,获取当前用户账号下所有设备上所有能提供的功能。1. By searching the function list, get all the functions available on all devices under the current user account.
2、通过功能查找所有的拥有该功能的设备,如显示功能、定位功能,有些功能可能只在一些设备上有,从而可以筛选出一部分的设备。2. Find all devices with this function by function, such as display function, positioning function, some functions may only be available on some devices, so that some devices can be filtered out.
3、通过设备查找功能,第一设备可以查找选择的设备上所有能够提供的功能。3. Through the device search function, the first device can search for all the functions that can be provided on the selected device.
用户根据该查询功能可以满足用户在不同应用场景下的需求。例如,用户有设备A,且用户需要设备来协同设备A实现分离操作功能,在用户查找到附件有设备B的情况下,用户可以通过查找设备B所有能够提供的功能,来确定设备B是否可以协同实现操作功能。According to the query function, users can meet the needs of users in different application scenarios. For example, the user has device A, and the user needs the device to cooperate with device A to realize the separation operation function. If the user finds that the accessory has device B, the user can find all the functions that device B can provide to determine whether device B can Collaborate to achieve operational functions.
S430、响应于针对所述第一关联设备列表中至少一个关联设备的第二选择操作,以使得所述第一设备的所述目标应用程序由所述至少一个关联设备操控。S430. In response to a second selection operation on at least one associated device in the first associated device list, the target application of the first device is controlled by the at least one associated device.
在本申请实施例中,在显示第二界面后,第一设备可以根据用户的第二选择操作确定协同的至少一个关联设备,以使该至少一个关联设备实现对第一设备的操控。In this embodiment of the present application, after the second interface is displayed, the first device may determine at least one associated device to be coordinated according to the second selection operation of the user, so that the at least one associated device can control the first device.
可选的,所述方法还包括:响应于针对所述第二关联设备列表中至少一个关联设备的第四选择操作,以使得所述第一设备的所述目标应用程序的画面由所述至少一个关联设备显示;和/或,响应于针对所述第三关联设备列表中至少一个关联设备的第六选择操作,以使得所述第一设备的所述目标应用程序的声音由所述至少一个关联设备播放。Optionally, the method further includes: in response to a fourth selection operation on at least one associated device in the second associated device list, causing the screen of the target application of the first device to be displayed by the at least one associated device One associated device display; and/or, in response to a sixth selection operation for at least one associated device in the third associated device list, so that the sound of the target application of the first device is transmitted by the at least one Play with the associated device.
需要说明的是,用户可以通过多次选择操作,将目标应用程序的功能列表中的功能分别由关联设备来执行。例如,图5a中的分离操控选项对应的操控功能可以由鼠标键盘是实现,图5a中的分离画面选项对应的显示画面的功能可以由我的平板来实现,图5a中的分离声音选项对应的播放声音的功能可以由蓝牙音箱来实现。其中,所述第二选择操作主要用于从功能列表中选出目标应用程序需要进行协同操作的功能。该第二选择操作可以是预先设定的任意操作,可以由用户设定的,也可以由第一电子设备的系统设定,本申请对此不作限定。根据第一设备的不同,以及第一设备显示方式的不同,第二选择操作可以包括多种不同的实现形式。例如,对于可以支持触屏的第一设备,如智能手机,该第二选择操作可以为触屏操作;对于用鼠标控制的第一设备,如台式电脑,该第二选择操作可以为点击操作;对于远程控制的第一设备,如智能电视机,该第二选择操作可以为选中操作。It should be noted that, the user may select the functions in the function list of the target application program to be executed by the associated device respectively through multiple selection operations. For example, the control function corresponding to the separate control option in FIG. 5a can be realized by a mouse and keyboard, the function of the display screen corresponding to the separate screen option in FIG. 5a can be realized by my tablet, and the separate sound option in FIG. 5a corresponds to The function of playing sound can be realized by a Bluetooth speaker. Wherein, the second selection operation is mainly used to select the function that the target application needs to perform a coordinated operation from the function list. The second selection operation may be any preset operation, may be set by the user, or may be set by the system of the first electronic device, which is not limited in this application. According to different first devices and different display modes of the first device, the second selection operation may include various implementation forms. For example, for a first device that can support a touch screen, such as a smart phone, the second selection operation can be a touch screen operation; for a first device controlled by a mouse, such as a desktop computer, the second selection operation can be a click operation; For a remotely controlled first device, such as a smart TV, the second selection operation may be a selection operation.
示例性地,第一设备在根据用户的操作确定了至少一个关联设备后,第一设备可以调用远程服务,进行第一设备与该至少一个关联设备之间的交互。Exemplarily, after the first device determines at least one associated device according to the user's operation, the first device may invoke a remote service to perform interaction between the first device and the at least one associated device.
举例说明,如图6a所示,设备A上使用设备操作系统提供显示功能、输入功能和定位功能来实现正在运行的应用程序中的功能列表。如图6b所示,当设备A启动协同流程后,设备B提供定位功能来协同设备A中功能列表的分离定位选项、设备C提供输入功能来协同设备A中功能列表的分离控制选 项、设备D提供显示功能来协同设备A中功能列表中的分离画面选项。For example, as shown in FIG. 6a, the device A uses the device operating system to provide display functions, input functions and positioning functions to implement the function list in the running application program. As shown in Figure 6b, after device A starts the collaboration process, device B provides a positioning function to coordinate the separation positioning option of the function list in device A, device C provides an input function to coordinate the separation control option of the function list in device A, and device D A display function is provided to coordinate the split screen option in the function list in device A.
可选的,所述方法还包括:所述第一设备向所述云端设备发送获取请求,所述获取请求用于请求获取所述至少一个关联设备上的目标功能的授权信息,所述目标功能为实现所述目标应用程序的分离操作功能的功能;所述第一设备接收所述云端设备响应所述获取请求而发送的所述授权信息。Optionally, the method further includes: the first device sends an acquisition request to the cloud device, where the acquisition request is used to request to acquire authorization information of a target function on the at least one associated device, the target function In order to realize the function of the separation operation function of the target application; the first device receives the authorization information sent by the cloud device in response to the acquisition request.
在第一设备与上述至少一个关联设备建立了连接后,第一设备可以通过云端设备验证该至少一个关联设备上的目标功能是否得到用户的授权。具体地,在用户需要对第一设备上的分离操控选项进行协同时,第一设备可以验证能够实现操控功能的关联设备上的目标功能是否得到授权。例如,在用户需要台式电脑上的鼠标来操作手机上游戏的操控时,手机需要验证台式电脑上的鼠标是否得到其用户的授权;在用户需要智能音响来显示手机正在播放的音乐时,手机需要验证是否验证智能音响是否得到其用户的授权;在用户需要智能电视机来显示手机上正在播放的视频时,手机需要验证智能电视机是否得到其用户的授权。After the first device establishes a connection with the at least one associated device, the first device can verify through the cloud device whether the target function on the at least one associated device is authorized by the user. Specifically, when the user needs to coordinate the separate manipulation options on the first device, the first device can verify whether the target function on the associated device capable of implementing the manipulation function is authorized. For example, when the user needs the mouse on the desktop computer to operate the game control on the mobile phone, the mobile phone needs to verify whether the mouse on the desktop computer is authorized by the user; when the user needs the smart speaker to display the music being played on the mobile phone, the mobile phone needs to Verify whether the smart speaker is authorized by its user; when the user needs the smart TV to display the video being played on the mobile phone, the mobile phone needs to verify whether the smart TV is authorized by its user.
可选的,所述方法还包括:若所述授权信息包括第一关联设备上所述目标功能的授权结果,所述第一设备调用所述第一关联设备上的目标功能,所述至少一个关联设备包括所述第一关联设备;若所述授权信息未包括所述至少一个关联设备上所述目标功能的授权结果,所述第一设备终止调用所述至少一个关联设备的目标功能,并显示第三界面,所述第三界面用于提示调用所述至少一个关联设备的目标功能失败。Optionally, the method further includes: if the authorization information includes an authorization result of the target function on the first associated device, the first device invokes the target function on the first associated device, the at least one The associated device includes the first associated device; if the authorization information does not include an authorization result of the target function on the at least one associated device, the first device terminates calling the target function of the at least one associated device, and A third interface is displayed, where the third interface is used to prompt a failure to invoke the target function of the at least one associated device.
具体地,如果提供功能的关联设备进行了授权,则进行下一步;如果没有则整个功能的调用终止,并在第一设备的界面上显示第三界面,以指示用户此次协同调用失败。其中第三界面的显示位置与上述第二界面的显示位置相同。Specifically, if the associated device providing the function is authorized, proceed to the next step; if not, the call of the entire function is terminated, and a third interface is displayed on the interface of the first device to indicate to the user that the collaborative call failed this time. The display position of the third interface is the same as the display position of the second interface.
可选的,所述方法还包括:所述第一设备检测所述目标功能是否可用,在所述目标功能不可用的情况下,终止调用所述目标功能,并显示所述第三界面。Optionally, the method further includes: the first device detects whether the target function is available, and if the target function is unavailable, terminates calling the target function, and displays the third interface.
其中,在关联设备进行了授权,则关联设备检测目标功能是否可用,如果目标功能没有启动,则启动目标功能;如目标功能启动失败则终止调用,并在第一设备上显示第三界面,以指示用户此次协同调用失败。Wherein, when the associated device is authorized, the associated device detects whether the target function is available. If the target function is not activated, the target function is activated; if the target function fails to be activated, the invocation is terminated, and a third interface is displayed on the first device. Indicates the user that this collaborative call failed.
综上所述,结合附图介绍了本申请提供的设备协同方法,该方法可以从多个设备中选取至少一个关联设备来实现用户在第一设备上选择的功能,使得第一设备可以融合多个关联设备提供的功能,同时调用多个不同品类设备的功能,达到多设备的协同工作。同时通过用户的操作,从多个设备中选取至少一个关联设备来实现用户在第一设备上目标应用程序的操控功能,从而实现了关联设备可以操控第一设备的功能。In summary, the device coordination method provided by the present application is introduced with reference to the accompanying drawings. The method can select at least one associated device from multiple devices to implement the function selected by the user on the first device, so that the first device can integrate multiple devices. The functions provided by an associated device can simultaneously call the functions of multiple different types of devices to achieve the collaborative work of multiple devices. At the same time, through the user's operation, at least one associated device is selected from multiple devices to implement the user's control function of the target application on the first device, thereby realizing the function that the associated device can control the first device.
在具体实现过程中,如图7a所示,本申请提供的设备协同方法可以基于三个模块的协同配合来实现,具体包括:协同模块、服务治理模块和连接模块。In the specific implementation process, as shown in Figure 7a, the device coordination method provided by the present application can be implemented based on the coordination of three modules, which specifically includes: a coordination module, a service governance module and a connection module.
其中,第一设备和关联设备都包括所述协同模块、服务治理模块和连接模块。所述协同模块用于启动所述协同流程;所述服务治理模块用户扫描设备操作系统和/或所有所述应用程序以生成并上报服务列表;所述连接模块用于与云端设备和其他设备之间的建立通信连接。Wherein, both the first device and the associated device include the coordination module, the service management module and the connection module. The collaboration module is used to start the collaboration process; the service management module user scans the device operating system and/or all the applications to generate and report the service list; the connection module is used to communicate with cloud devices and other devices. establish a communication connection between.
其中,设备上的应用程序可以包括该设备上自身携带的功能,例如显示功能、定位功能、输入功能、声音功能等,还可以包括下载的应用程序提供的功能列表。设备上的功能可以一定的形式暴露出来,以使得服务治理模块能够扫描识别得到。其中开发的功能需要符合一定的开发规范,这样才能被设备上的服务治理模块识别。特别的,在设备上开发的一些默认的功能,这些功能是设备上能力的暴露,如显示、声音、输入、定位等,这些能力和现有设备操作系统暴露的能力是一致的,很多应用都会用到,只是以规定好的功能的形式再做一次暴露。使得远程设备也能访问到这些功能。The application program on the device may include functions carried by the device itself, such as display function, positioning function, input function, sound function, etc., and may also include a function list provided by the downloaded application program. The functions on the device can be exposed in a certain form, so that the service management module can scan and identify them. The developed functions need to conform to certain development specifications so that they can be recognized by the service management module on the device. In particular, some default functions developed on the device are the exposure of the capabilities on the device, such as display, sound, input, positioning, etc. These capabilities are consistent with the capabilities exposed by the existing device operating system, and many applications will If it is used, it is only exposed again in the form of a prescribed function. Make these functions accessible to remote devices as well.
示例性地,功能的开发规范是可扩展的,也可以是多种形式的远程调用方式,如http、gRPC等成熟的方式。也可以使用特殊的方式来满足特殊的需求,如采用私有的协议来做到流式数据的传输效率。多种远程调用方式可以被技术方案中的框架融合,在合适的场景采用合适的方式。Exemplarily, the development specification of the function is extensible, and it can also be various forms of remote invocation methods, such as http, gRPC and other mature methods. Special methods can also be used to meet special requirements, such as using a proprietary protocol to achieve the transmission efficiency of streaming data. A variety of remote invocation methods can be integrated by the framework in the technical solution, and appropriate methods can be adopted in appropriate scenarios.
示例性地,本申请提供的设备协同的方法还需要云端设备的协同配合来实现。如图7b所示,云端 设备可以包括用户存储各个设备的服务列表的服务治理模块、用于与各个设备建立连接的设备管理模块以及用于管理各个设备的用户管理模块。Exemplarily, the method for device coordination provided by the present application also requires the coordination and cooperation of cloud devices to be implemented. As shown in Figure 7b, the cloud device may include a service management module for the user to store the service list of each device, a device management module for establishing a connection with each device, and a user management module for managing each device.
示例性,如图8所示,所述第一设备确定关联设备,还可以包括如下步骤:Exemplarily, as shown in FIG. 8 , the first device determining the associated device may further include the following steps:
S81、第一设备通过第一设备上的连接模块以及云端设备上的设备管理模块,建立起第一设备与关联设备的连接。S81. The first device establishes a connection between the first device and the associated device through the connection module on the first device and the device management module on the cloud device.
S82、第一设备查找云端设备上的服务治理模块,验证第一设备使用关联设备上的目标功能是否得到了用户的授权。S82. The first device searches for the service management module on the cloud device, and verifies whether the first device has been authorized by the user to use the target function on the associated device.
其中,云端设备上的服务治理模块存储有各个设备的服务列表和/或各个设备的授权信息,第一设备在与关联设备建立连接后,可以向云端设备发送请求,以获取关联设备上的目标功能的授权信息,从而调用关联设备。The service management module on the cloud device stores the service list of each device and/or the authorization information of each device. After the first device establishes a connection with the associated device, it can send a request to the cloud device to obtain the target on the associated device. Authorization information for the function to invoke the associated device.
S83、当云端设备上的服务治理模块未存储关联设备上的目标功能的授权信息,云端请求获取关联设备的一次性使用授权。S83. When the service management module on the cloud device does not store the authorization information of the target function on the associated device, the cloud requests to obtain the one-time use authorization of the associated device.
S84、当云端设备上的服务治理模块存储有关联设备上的目标功能的授权信息或云端设备得到关联设备的一次性使用授权,则关联设备上的网关检测模块检测目标功能是否可用。S84. When the service management module on the cloud device stores the authorization information of the target function on the associated device or the cloud device obtains a one-time use authorization from the associated device, the gateway detection module on the associated device detects whether the target function is available.
S85、当关联设备上的网关检测模块检测目标功能可用时,第一设备调用该关联设备上的目标功能。S85. When the gateway detection module on the associated device detects that the target function is available, the first device invokes the target function on the associated device.
S86、当关联设备上的网关检测模块检测目标功能不可用时,关联设备尝试启动目标功能。S86. When the gateway detection module on the associated device detects that the target function is unavailable, the associated device attempts to start the target function.
S87、当关联设备未启动目标功能或云端设备未得到关联设备的一次性使用授权时,在第一设备上显示调用关联设备上的目标功能失败。S87. When the associated device has not activated the target function or the cloud device has not obtained the one-time use authorization of the associated device, display on the first device that the target function on the associated device failed to be invoked.
其中,第一设备调用关联设备上的目标功能可以通过约定好的方式进行调用。Wherein, the first device may call the target function on the associated device in an agreed manner.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware and/or software modules for executing each function. The present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the electronic device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that, the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图9示出了设备协同装置的示意图,如图9所示,该设备协同装置900应用于电子设备,该设备协同装置900可以包括:显示单元910和处理单元920。In the case where each functional module is divided corresponding to each function, FIG. 9 shows a schematic diagram of a device coordination apparatus. As shown in FIG. 9 , the device coordination apparatus 900 is applied to an electronic device, and the device coordination apparatus 900 may include: a display unit 910 and processing unit 920.
其中,显示单元910可以用于支持电子设备执行上述S410、S420等,和/或用于本文所描述的技术的其他过程。Among them, the display unit 910 may be used to support the electronic device to perform the above-mentioned S410, S420, etc., and/or other processes for the techniques described herein.
处理单元920可以用于支持电子设备执行上述S430等,和/或用于本文所描述的技术的其他过程。The processing unit 920 may be used to support the electronic device to perform the above-described S430, etc., and/or other processes for the techniques described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本实施例提供的电子设备,用于执行上述设备协同方法,因此可以达到与上述实现方法相同的效果。The electronic device provided in this embodiment is used to execute the above-mentioned device coordination method, so it can achieve the same effect as the above-mentioned implementation method.
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执行上述显示单元910和处理单元920执行的步骤。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信。Where an integrated unit is employed, the electronic device may include a processing module, a memory module and a communication module. The processing module may be used to control and manage the actions of the electronic device, for example, may be used to support the electronic device to perform the steps performed by the display unit 910 and the processing unit 920 above. The storage module may be used to support the electronic device to execute stored program codes and data, and the like. The communication module can be used to support the communication between the electronic device and other devices.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。The processing module may be a processor or a controller. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and the like. The storage module may be a memory. The communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的设备协同方法。This embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are executed on the electronic device, the electronic device executes the above-mentioned relevant method steps to implement the device coordination method in the above-mentioned embodiment.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的设备协同方法。This embodiment also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the above-mentioned relevant steps, so as to realize the device coordination method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种第一设备,这个第一设备具体可以是芯片,组件或模块,该第一设备可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当第一设备运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的设备协同方法。In addition, the embodiments of the present application further provide a first device, which may specifically be a chip, a component or a module, and the first device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions , when the first device is running, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the device coordination method in the above method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, for the beneficial effects that can be achieved, reference can be made to the corresponding provided above. The beneficial effects in the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将第一设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated by different The function module is completed, that is, the internal structure of the first device is divided into different function modules, so as to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的第一设备和方法,可以通过其它的方式实现。例如,以上所描述的第一设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个第一设备,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,第一设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed first device and method may be implemented in other manners. For example, the first device embodiment described above is only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be The combination may either be integrated into another first device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the first device or unit may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (which may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

  1. 一种设备协作方法,所述方法包括:A device cooperation method, the method comprising:
    第一设备显示第一界面,所述第一界面用于显示与目标应用程序关联的功能列表,所述目标应用程序运行于所述第一设备,所述功能列表包括所述目标应用程序的分离操控选项;The first device displays a first interface, the first interface is used to display a function list associated with a target application, the target application runs on the first device, and the function list includes the separation of the target application control options;
    响应于针对所述分离操控选项的第一选择操作,所述第一设备显示第二界面,所述第二界面用于显示与所述第一设备关联的第一关联设备列表;In response to the first selection operation for the separation manipulation option, the first device displays a second interface for displaying a first associated device list associated with the first device;
    响应于针对所述第一关联设备列表中至少一个关联设备的第二选择操作,以使得所述第一设备的所述目标应用程序由所述至少一个关联设备操控。In response to a second selection operation for at least one associated device in the first associated device list, causing the target application of the first device to be manipulated by the at least one associated device.
  2. 根据权利要求1所述的方法,其中,所述功能列表还包括分离画面选项;The method of claim 1, wherein the function list further includes a split screen option;
    所述方法还包括:The method also includes:
    响应于针对所述分离画面选项的第三选择操作,所述第一设备显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第二关联设备列表;In response to a third selection operation for the split screen option, the first device displays the second interface for displaying a second associated device list associated with the first device;
    响应于针对所述第二关联设备列表中至少一个关联设备的第四选择操作,以使得所述第一设备的所述目标应用程序的画面由所述至少一个关联设备显示。In response to a fourth selection operation for at least one associated device in the second associated device list, the screen of the target application of the first device is displayed by the at least one associated device.
  3. 根据权利要求1或2所述的方法,其中,所述功能列表还包括分离声音选项;The method of claim 1 or 2, wherein the function list further includes a split sound option;
    所述方法还包括:The method also includes:
    响应于针对所述分离声音选项的第五选择操作,所述第一设备显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第三关联设备列表;In response to a fifth selection operation for the separate sound option, the first device displays the second interface for displaying a third list of associated devices associated with the first device;
    响应于针对所述第三关联设备列表中至少一个关联设备的第六选择操作,以使得所述第一设备的所述目标应用程序的声音由所述至少一个关联设备播放。In response to a sixth selection operation for at least one associated device in the third associated device list, causing the sound of the target application of the first device to be played by the at least one associated device.
  4. 根据权利要求1-3任一项所述的方法,其中,目标关联设备列表是从云端设备获取的,所述目标关联设备列表包括所述第一关联设备列表、所述第二关联设备列表和所述第三关联设备列表中的至少一项。The method according to any one of claims 1-3, wherein the target associated device list is obtained from a cloud device, and the target associated device list includes the first associated device list, the second associated device list and the At least one item in the third associated device list.
  5. 根据权利要求4所述的方法,其中,所述方法还包括:The method of claim 4, wherein the method further comprises:
    所述第一设备向所述云端设备上报目标账号,所述目标账号为所述第一设备登录的用户账号。The first device reports a target account to the cloud device, where the target account is a user account logged in by the first device.
  6. 根据权利要求5所述的方法,其中,所述目标关联设备列表中每个关联设备登录的用户账号为所述目标账号。The method according to claim 5, wherein a user account logged in by each associated device in the target associated device list is the target account.
  7. 根据权利要求1-6任一项所述的方法,其中,所述功能列表由所述第一设备中的设备操作系统和/或应用程序提供。The method according to any one of claims 1-6, wherein the function list is provided by a device operating system and/or an application program in the first device.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7, wherein the method further comprises:
    在所述第一设备启动时,所述第一设备扫描所述设备操作系统和/或所有所述应用程序,得到所述第一设备的服务列表,所述服务列表包括所述设备操作系统和/或所有所述应用程序提供的功能列表;When the first device is started, the first device scans the device operating system and/or all the applications to obtain a service list of the first device, where the service list includes the device operating system and/or the application. / or a list of all the functions provided by the said application;
    所述第一设备向所述云端设备上报所述服务列表。The first device reports the service list to the cloud device.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, wherein the method further comprises:
    所述第一设备向所述云端设备发送功能请求,所述功能请求用于请求功能查询,所述功能查询包括以下至少一项:查找所述目标账号下的所有功能、查找包括所述功能列表的所有所述关联设备、查找所述关联设备上的所有功能。The first device sends a function request to the cloud device, where the function request is used to request a function query, and the function query includes at least one of the following: search for all functions under the target account, search for all functions including the function list , find all the functions on the associated device.
  10. 根据权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, wherein the method further comprises:
    所述第一设备向所述云端设备发送获取请求,所述获取请求用于请求获取所述至少一个关联设备上的目标功能的授权信息,所述目标功能为实现所述目标应用程序的分离操作功能的功能;The first device sends an acquisition request to the cloud device, where the acquisition request is used to request to acquire authorization information of a target function on the at least one associated device, where the target function is to implement a separation operation of the target application the function of the function;
    所述第一设备接收所述云端设备响应所述获取请求而发送的所述授权信息。The first device receives the authorization information sent by the cloud device in response to the acquisition request.
  11. 根据权利要求10所述的方法,其中,所述方法还包括:The method of claim 10, wherein the method further comprises:
    若所述授权信息包括第一关联设备上所述目标功能的授权结果,所述第一设备调用所述第一关联设 备上的目标功能,所述至少一个关联设备包括所述第一关联设备;If the authorization information includes the authorization result of the target function on the first associated device, the first device invokes the target function on the first associated device, and the at least one associated device includes the first associated device;
    若所述授权信息未包括所述至少一个关联设备上所述目标功能的授权结果,所述第一设备终止调用所述至少一个关联设备的目标功能,并显示第三界面,所述第三界面用于提示调用所述至少一个关联设备的目标功能失败。If the authorization information does not include the authorization result of the target function on the at least one associated device, the first device terminates calling the target function of the at least one associated device, and displays a third interface, the third interface It is used to prompt the failure of invoking the target function of the at least one associated device.
  12. 根据权利要求11所述的方法,其中,所述方法还包括:The method of claim 11, wherein the method further comprises:
    所述第一设备检测所述目标功能是否可用,在所述目标功能不可用的情况下,终止调用所述目标功能,并显示所述第三界面。The first device detects whether the target function is available, and if the target function is unavailable, terminates calling the target function, and displays the third interface.
  13. 一种设备协作装置,所述装置包括:A device cooperation device, the device includes:
    显示单元,用于显示第一界面,所述第一界面用于显示与目标应用程序关联的功能列表,所述目标应用程序运行于所述第一设备,所述功能列表包括所述目标应用程序的分离操控选项;A display unit, configured to display a first interface, where the first interface is configured to display a function list associated with a target application, the target application running on the first device, and the function list includes the target application separate control options;
    所述显示单元,还用于响应于针对所述分离操控选项的第一选择操作,显示第二界面,所述第二界面用于显示与所述第一设备关联的第一关联设备列表;The display unit is further configured to display a second interface in response to a first selection operation for the separation manipulation option, where the second interface is configured to display a list of first associated devices associated with the first device;
    处理单元,用于响应于针对所述第一关联设备列表中至少一个关联设备的第二选择操作,以使得所述第一设备的所述目标应用程序由所述至少一个关联设备操控。A processing unit, configured to cause the target application of the first device to be controlled by the at least one associated device in response to a second selection operation for at least one associated device in the first associated device list.
  14. 根据权利要求13所述的装置,其中,所述功能列表还包括分离画面选项;The apparatus of claim 13, wherein the function list further includes a split screen option;
    所述显示单元还用于:响应于针对所述分离画面选项的第二选择操作,显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第二关联设备列表;The display unit is further configured to: in response to a second selection operation for the split screen option, display the second interface, where the second interface is configured to display a second associated device list associated with the first device ;
    所述处理单元还用于:响应于针对所述第二关联设备列表中至少一个关联设备的第四选择操作,以使得所述第一设备的所述目标应用程序的画面由所述至少一个关联设备显示。The processing unit is further configured to: in response to a fourth selection operation on at least one associated device in the second associated device list, cause the screen of the target application of the first device to be associated with the at least one device device display.
  15. 根据权利要求13或14所述的装置,其中,所述功能列表还包括分离声音选项;The apparatus of claim 13 or 14, wherein the function list further includes a split sound option;
    所述显示单元还用于:响应于针对所述分离声音选项的第三选择操作,显示所述第二界面,所述第二界面用于显示与所述第一设备关联的第三关联设备列表;The display unit is further configured to: display the second interface in response to a third selection operation for the separated sound option, where the second interface is configured to display a third associated device list associated with the first device ;
    所述处理单元还用于:响应于针对所述第三关联设备列表中至少一个关联设备的第六选择操作,以使得所述第一设备的所述目标应用程序的声音由所述至少一个关联设备播放。The processing unit is further configured to: in response to a sixth selection operation for at least one associated device in the third associated device list, so that the sound of the target application of the first device is associated with the at least one device device to play.
  16. 根据权利要求13-15任一项所述的装置,其中,目标关联设备列表是从云端设备获取的,所述目标关联设备列表包括所述第一关联设备列表、所述第二关联设备列表和所述第三关联设备列表中的至少一项。The apparatus according to any one of claims 13-15, wherein the target associated device list is obtained from a cloud device, and the target associated device list includes the first associated device list, the second associated device list and At least one item in the third associated device list.
  17. 根据权利要求16所述的装置,其中,所述装置还包括收发单元,The apparatus of claim 16, wherein the apparatus further comprises a transceiver unit,
    所述收发单元,用于向所述云端设备上报目标账号,所述目标账号为所述第一设备登录的用户账号。The transceiver unit is configured to report a target account to the cloud device, where the target account is a user account logged in by the first device.
  18. 根据权利要求17所述的装置,其中,所述目标关联设备列表中每个关联设备登录的用户账号为所述目标账号。The apparatus according to claim 17, wherein a user account logged in by each associated device in the target associated device list is the target account.
  19. 根据权利要求13-18任一项所述的装置,其特征在在于,所述功能列表由所述第一设备中的设备操作系统和/或应用程序提供。The apparatus according to any one of claims 13-18, wherein the function list is provided by a device operating system and/or an application program in the first device.
  20. 根据权利要求19所述的装置,其中,所述处理单元,还用于在所述第一设备启动时,扫描所述设备操作系统和/或所有所述应用程序,得到所述第一设备的服务列表,所述服务列表包括所述设备操作系统和/或所有所述应用程序提供的功能列表;The apparatus according to claim 19, wherein the processing unit is further configured to scan the device operating system and/or all the application programs when the first device is started, to obtain the information of the first device. a service list, the service list includes a list of functions provided by the device operating system and/or all the applications;
    所述收发单元,还用于向所述云端设备上报所述服务列表。The transceiver unit is further configured to report the service list to the cloud device.
  21. 一种电子设备,所述电子设备包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-12任一项所述的方法中的步骤的指令。An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method of any of claims 1-12.
  22. 一种计算机可读存储介质,包括存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-12任一项所述的方法。A computer-readable storage medium comprising storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method of any one of claims 1-12.
PCT/CN2021/116501 2020-11-16 2021-09-03 Device cooperation method, apparatus and system, electronic device and storage medium WO2022100239A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011284011.9A CN112286618A (en) 2020-11-16 2020-11-16 Device cooperation method, device, system, electronic device and storage medium
CN202011284011.9 2020-11-16

Publications (1)

Publication Number Publication Date
WO2022100239A1 true WO2022100239A1 (en) 2022-05-19

Family

ID=74399056

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116501 WO2022100239A1 (en) 2020-11-16 2021-09-03 Device cooperation method, apparatus and system, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN112286618A (en)
WO (1) WO2022100239A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028148A (en) * 2022-08-23 2023-04-28 荣耀终端有限公司 Interface processing method and device and electronic equipment

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286618A (en) * 2020-11-16 2021-01-29 Oppo广东移动通信有限公司 Device cooperation method, device, system, electronic device and storage medium
CN113827953B (en) * 2021-09-28 2024-03-22 完美世界(北京)软件科技发展有限公司 Game control system
CN116156044A (en) * 2021-11-22 2023-05-23 华为技术有限公司 Equipment cooperation method and related device
CN114422566A (en) * 2021-12-29 2022-04-29 Oppo广东移动通信有限公司 Multi-device connection method, device, system, device and storage medium
CN114302501A (en) * 2021-12-31 2022-04-08 联想(北京)有限公司 Method and device for establishing connection and electronic system
CN114491684B (en) * 2022-01-07 2022-09-06 广州三七极耀网络科技有限公司 Terminal device collaborative display method, system, terminal device and medium
CN114489540B (en) * 2022-01-12 2022-09-23 广州三七极耀网络科技有限公司 Method, system, device and medium for cooperatively displaying game pictures
CN114741146A (en) * 2022-03-28 2022-07-12 维沃移动通信有限公司 Multi-device cooperation method and device, electronic device and medium
CN115002937B (en) * 2022-07-18 2022-12-23 荣耀终端有限公司 Multi-device cooperation method, electronic device and related product
CN117560792A (en) * 2022-08-05 2024-02-13 荣耀终端有限公司 Multi-device cooperation method, electronic device and related products
CN117811947A (en) * 2022-09-30 2024-04-02 华为技术有限公司 Multi-equipment networking system, method and terminal equipment
CN115617498B (en) * 2022-12-15 2023-08-22 安徽淘云科技股份有限公司 Application optimization method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160021168A1 (en) * 2014-07-21 2016-01-21 Apple Inc. Remote user interface
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN111523095A (en) * 2020-03-31 2020-08-11 华为技术有限公司 Cross-device interaction method and terminal device
CN112286618A (en) * 2020-11-16 2021-01-29 Oppo广东移动通信有限公司 Device cooperation method, device, system, electronic device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034227A1 (en) * 2018-08-17 2020-02-20 华为技术有限公司 Multimedia content synchronization method and electronic device
CN112231025B (en) * 2019-03-06 2022-12-06 华为终端有限公司 UI component display method and electronic equipment
CN111367448B (en) * 2020-03-10 2021-12-07 北京达佳互联信息技术有限公司 Application function execution method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160021168A1 (en) * 2014-07-21 2016-01-21 Apple Inc. Remote user interface
CN109660842A (en) * 2018-11-14 2019-04-19 华为技术有限公司 A kind of method and electronic equipment playing multi-medium data
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN111523095A (en) * 2020-03-31 2020-08-11 华为技术有限公司 Cross-device interaction method and terminal device
CN112286618A (en) * 2020-11-16 2021-01-29 Oppo广东移动通信有限公司 Device cooperation method, device, system, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028148A (en) * 2022-08-23 2023-04-28 荣耀终端有限公司 Interface processing method and device and electronic equipment
CN116028148B (en) * 2022-08-23 2024-04-12 荣耀终端有限公司 Interface processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN112286618A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
WO2022100239A1 (en) Device cooperation method, apparatus and system, electronic device and storage medium
WO2021013158A1 (en) Display method and related apparatus
WO2022100237A1 (en) Screen projection display method and related product
CN112486363B (en) Cross-equipment content sharing method, electronic equipment and system
WO2021147406A1 (en) Audio output method and terminal device
CN111464987B (en) Method for displaying Bluetooth device identification and electronic device
CN111221845A (en) Cross-device information searching method and terminal device
CN114356198A (en) Data transmission method and device
CN112130788A (en) Content sharing method and device
WO2022127661A1 (en) Application sharing method, and electronic device and storage medium
WO2022028537A1 (en) Device recognition method and related apparatus
WO2022028494A1 (en) Multi-device data collaboration method and electronic device
CN114442969B (en) Inter-equipment screen collaboration method and equipment
WO2022121445A1 (en) Widget adding method, apparatus, and computer-readable storage medium
WO2022048453A1 (en) Unlocking method and electronic device
WO2022063159A1 (en) File transmission method and related device
US20230362782A1 (en) Data Sharing Method, Electronic Device, and System
WO2022022674A1 (en) Application icon layout method and related apparatus
WO2021197354A1 (en) Device positioning method and relevant apparatus
WO2022001279A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
CN114510186A (en) Cross-device control method and device
WO2022152174A1 (en) Screen projection method and electronic device
WO2022194005A1 (en) Control method and system for synchronous display across devices
WO2022105793A1 (en) Image processing method and device
WO2022095820A1 (en) Text input method, electronic device, and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21890767

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21890767

Country of ref document: EP

Kind code of ref document: A1