WO2023236800A1 - 控制跨设备应用的方法以及电子设备 - Google Patents

控制跨设备应用的方法以及电子设备 Download PDF

Info

Publication number
WO2023236800A1
WO2023236800A1 PCT/CN2023/096833 CN2023096833W WO2023236800A1 WO 2023236800 A1 WO2023236800 A1 WO 2023236800A1 CN 2023096833 W CN2023096833 W CN 2023096833W WO 2023236800 A1 WO2023236800 A1 WO 2023236800A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
control
applications
capability
sharing
Prior art date
Application number
PCT/CN2023/096833
Other languages
English (en)
French (fr)
Inventor
夏永霖
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023236800A1 publication Critical patent/WO2023236800A1/zh

Links

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Definitions

  • the present application relates to the field of electronic devices, and more specifically, to a method of controlling cross-device applications and electronic devices.
  • each user usually has multiple electronic devices at the same time, including mobile phones, tablets, smart screens, personal computers (PCs), smart speakers, and smart cockpits.
  • Users can use applications across devices, such as using mobile applications or PC applications on a large screen, or using mobile applications or tablet applications on a PC.
  • different interaction methods need to be used to operate applications for different device types. For example, direct touch interaction can be used on mobile phones, remote controls or mobile phones need to be used to control applications on large screens, mouse and keyboard are used on PCs, and steering wheels are used in cockpits. Or touch and interact directly on the panel.
  • the interconnected control device has application sharing capabilities, and the method further includes: the interconnected control device receives a second operation from the user, and the second operation is used to instruct the interconnected control device to share the application.
  • the fourth device has the application receiving capability; the interconnection control device connects with the fourth device and shares the application to the fourth device.
  • the interconnected control device has application sharing capabilities
  • the method further includes: connecting the interconnected control device with the fifth device, displaying the applications shared by the fifth device, and the fifth device has Application sharing capabilities.
  • a method for controlling cross-device applications including: the first device receives group configuration information, and the group configuration information is generated by the user on the interconnection control device based on the application capability information of the first device and the second device, and the interconnection control The device obtains application capability information of the first device and the third device from the server.
  • the application capability information includes at least one of application sharing capability, application receiving capability or application control capability; the first device connects to the second device according to the group configuration information, The first device shares applications with the second device.
  • the above method further includes: the first device sending the application capability information of the first device to the server.
  • the first device has application sharing capabilities
  • the second device has application receiving capabilities.
  • the above method further includes: the first device receives the first operation of the user, and the first operation Used to instruct the first device to share the application to the second device; the first device to share the application to the second device.
  • the first device also has application control capabilities, and the above method further includes: the first device receives a third operation from the user, and the third operation is used to instruct the first device to control Share apps to a second device.
  • an electronic device including: an acquisition module, configured to acquire application capability information of multiple devices.
  • the multiple devices include a first device and a second device.
  • the application capability information includes application sharing capabilities and application receiving capabilities. or at least one of application control capabilities, receiving a first operation from the user, the first operation being used to instruct the first device to perform application sharing with the second device; a processing module used to generate a grouping configuration according to the user's first operation Information, the group configuration information is used to instruct the first device to share applications with the second device; the acquisition module is also used to send the group configuration information.
  • the processing module is further configured to display a first interface, and the first interface is used to instruct the first device or the second device to allow sharing of applications.
  • the third device has the capability of application control
  • the first group configuration information is also used to indicate that the third device is the control device of the second device
  • the third device is used to Control apps displayed on the second device.
  • the interconnected control device has application sharing capabilities
  • the acquisition module is also used to receive a second operation from the user, and the second operation is used to instruct the interconnected control device to share the application to
  • the fourth device has application receiving capabilities; the processing module is also used to connect with the fourth device and share the application to the fourth device.
  • the interconnected control device has application sharing capabilities
  • the processing module is also used to connect with the fifth device and display the applications shared by the fifth device, and the fifth device has applications The ability to share.
  • an electronic device including: a transceiver module for receiving group configuration information.
  • the group configuration information is generated by the user on the interconnection control device based on the application capability information of the first device and the second device.
  • the interconnection control device The device obtains application capability information of the first device and the third device from the server.
  • the application capability information includes at least one of application sharing capability, application receiving capability or application control capability; a processing module configured to communicate with the second device according to the group configuration information. Connect, and the first device and the second device share applications.
  • the transceiver module is also used to receive a second operation from the user, and the second operation is used to instruct the first device to stop sharing the application to the second device; the processing module, Also used to stop sharing the app to a second device.
  • a chip in a fifth aspect, includes a processor and a data interface.
  • the processor reads instructions stored in the memory through the data interface and executes any one of the above first to second aspects. Methods in the implementation.
  • a computer program storage medium stores program code.
  • the computer program code When the computer program code is run on a computer, it causes the computer to execute any one of the first aspect to the second aspect. Instructions for possible implementations.
  • an electronic device including a module for executing any possible implementation manner of the first to second aspects.
  • a ninth aspect provides a communication device for performing the method described in any of the possible implementations of the first to second aspects.
  • a communication device in a tenth aspect, includes: a processor and a memory.
  • the processor and the memory are A memory is coupled, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the communication device executes any possible implementation of the above-mentioned first aspect to the second aspect. method as described.
  • a communication device in a twelfth aspect, includes: at least one processor and a communication interface.
  • the communication interface is used for information exchange between the communication device and other communication devices.
  • the program instructions When the program instructions are in the When executed in at least one processor, the communication device is caused to implement the method described in any possible implementation manner of the first aspect to the second aspect.
  • a processor includes: at least one circuit for executing the method described in any of the possible implementations of the first to second aspects.
  • Figure 2 is a current inter-device service access method.
  • FIG 4 is a specific implementation provided by this application.
  • FIG. 5 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another example of a method for controlling cross-device applications provided by an embodiment of the present application.
  • Figure 8 is a schematic interaction diagram of an example of a method for controlling cross-device applications provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a user interface for controlling a cross-device application method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a user interface of another example of a method for controlling cross-device applications provided by an embodiment of the present application.
  • references in this specification to "one embodiment” or “some embodiments” or the like mean that in this application or embodiments include a particular feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases “in one embodiment”, “in some embodiments”, “in other embodiments”, “in other embodiments”, etc. appearing in different places in this specification are not necessarily References are made to the same embodiment, but rather to “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including,” “includes,” “having,” and variations thereof all mean “including but not limited to,” unless otherwise specifically emphasized.
  • Figure 1 shows a schematic diagram of the current interaction between multiple applications in a device.
  • the server 120 and the client 110 communicate through messages (Messenger).
  • the client 110 first binds the server and creates a message (Messenger) object based on the returned communication medium (Binder) object. and use this object to send messages.
  • the client 110 In order to receive the result returned by the server 120, the client 110 also creates a message (Messenger) object and sends it to the server 120.
  • the server 120 sends messages to the client 110 through this object.
  • Figure 2 shows a current inter-device service access method.
  • both the source device (main device) and the target device are deployed with a service manager (SM), which is responsible for generating local service configuration items based on the registration of local applications and providing service query capabilities.
  • SM service manager
  • an application on the main device will register the application's service to the local service manager SM.
  • the service information is transferred to the target device through the device bus. After the application of the target device obtains the service access interface, it initiates a service request and requests the service of the main device.
  • this method relies on all applications to register service capabilities with the device's service manager SM, which has very high requirements for applications. In addition, this method does not support the management of applications on each device, nor does it support devices and applications shared by specified applications. controlling device.
  • this application proposes a method and electronic device for controlling cross-device applications. There is no need to modify existing applications.
  • the devices can be grouped according to the user's wishes and support cross-device application management.
  • Figure 3 shows the system architecture applicable to the method for controlling cross-device applications provided by the embodiment of the present application.
  • the system architecture includes a distributed device control center 310, an intelligent device management cloud 320, a master device 330, a slave device 340 and a control device 350.
  • the distributed device control center 310 supports group management across multiple devices. Each group specifies the main device (source device) shared by the application, the target device receiving the application, and the control device supporting the control application.
  • the slave devices and control devices can be the same physical device.
  • application control group 1 and application control group 2 includes a master device 311, a slave device 312, and a control device 313, and application control group 2 includes a master device 314, a slave device 315, and a control device 316.
  • the application control group 1 or the application control group 2 may also include a master device 317, a slave device 318, a control device 319, and the like.
  • the smart device management cloud 320 may include a unified event processing service 321, a device management service 322, a grouped device application management service 323, and a device information configuration management service 324.
  • the unified event processing service 321 is used to provide device reporting business event subscription functions, business event distribution functions, and control device instruction processing functions, and supports issuing control device instructions to designated devices.
  • the device management service 322 is used to manage multiple devices of the user, and supports device connection management, device access authentication and device status management for multiple devices.
  • the grouped device application management service 323 is used to receive the grouping policy submitted by the distributed device control center 310, configure and manage the grouped devices, provide pairing services between devices, and support management and control of applications or content shared by the main device.
  • the device information configuration management service 324 is used to provide device information configuration query, device system System configuration management and device control management services.
  • the main device 330 can also be called a source device, which is a device used to provide local application sharing capabilities and supports reporting local application capability information and service capability information to the smart device management cloud 322.
  • the slave device 340 is a device used to receive applications or services from the master device and may display application or service content.
  • the control device 350 is used to support the slave device 340 and is a device that controls applications.
  • FIG 4 shows a specific implementation provided by this application. With reference to Figure 4, a specific implementation provided by this application is described. Many modifications and other embodiments of the present application will occur to those skilled in the art, having the benefit of the guidance presented in the foregoing description and associated drawings. Therefore, it is to be understood that the application is not limited to the specific embodiments disclosed.
  • the smart device management cloud 320 obtains application control group information from the distributed device control center 310 .
  • the application control group information may be set by a controller (eg, a user) in the distributed device control center 410 .
  • the application control group information may include application group 1 (master device 311, slave device 312, and control device 313) and application group 2 (master device 314, slave device 315, and control device 316).
  • the master device can also be called the sending device
  • the slave device can also be called the receiving device.
  • the master device 311 can be the user's mobile phone. The application runs on the mobile phone.
  • the master device 311 can wirelessly connect with the slave device 312 and send the application icon, application name, package name and other information to Slave device 312;
  • Slave device 312 can be a large display screen.
  • the application interface supports adaptation to the receiving device screen, supports horizontal screen, vertical screen, split screen, etc., supports application management, and supports black and white.
  • the control device 313 can be a remote control panel or a mobile phone, which is responsible for controlling the application and supports multiple interaction methods such as buttons, touch, and sliding.
  • the electronic device 500 may include: a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (USB) interface 530, a charging management module 540, a power management module 541, a battery 542, an antenna 1, an antenna 2.
  • SIM subscriber identification module
  • the sensor module 580 may include a pressure sensor 580A, a gyro sensor 580B, an air pressure sensor 580C, a magnetic sensor 580D, an acceleration sensor 580E, a distance sensor 580F, a proximity light sensor 580G, a fingerprint sensor 580H, a temperature sensor 580J, a touch sensor 580K, and ambient light.
  • the processor 510 may include one or more processing units.
  • the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
  • image signal processor image signal processor, ISP
  • controller video codec
  • DSP digital signal processor
  • NPU neural-network processing unit
  • different processing units can be independent components or integrated in one or more processors.
  • electronic device 500 may also include one or more processors 510.
  • the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 510 may also be provided with a memory for storing instructions and data.
  • the memory in processor 510 may be a cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 510 . If processor 510 needs to use the instructions or data again, it can be called directly from the memory. This avoids repeated access and reduces the waiting time of the processor 510, thereby improving the efficiency of the electronic device 500 in processing data or executing instructions.
  • processor 510 may include one or more interfaces.
  • Interfaces may include inter-integrated circuit (I2C) interface, inter-integrated circuit audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface, and/or USB interface, etc.
  • the USB interface is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
  • the USB interface can be used to connect a charger to charge the electronic device 500, and can also be used to transmit data between the electronic device 500 and peripheral devices.
  • the USB interface can also be used to connect headphones to play audio through the headphones.
  • the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 500 .
  • the electronic device 500 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the electronic device 500 implements display functions through a GPU, a display screen 594, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 594 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 594 is used to display images, videos, etc.
  • Display 594 includes a display panel.
  • the electronic device 500 may include 1 or N display screens 594, where N is a positive integer greater than 1.
  • Speaker 570A also known as “speaker” is used to convert audio electrical signals into sound signals.
  • Electronic device 500 can listen to music through speaker 570A, or listen to hands-free calls.
  • Microphone 570C also known as “microphone” and “microphone”, is used to convert sound signals into electrical signals.
  • the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch) , video players, headphones, speakers, cameras, etc.
  • portable electronic devices include, but are not limited to, carrying Or portable electronic devices with other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop). It should also be understood that in other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer, a television, a speaker, a camera, etc.
  • Figure 6 shows a schematic flowchart of an example of a method for controlling cross-device applications provided by an embodiment of the present application.
  • the interconnected control device includes a distributed control center, and the interconnected control device can obtain application capability information of multiple devices from a server (for example, an intelligent device management cloud). Multiple devices can actively register or report their respective application capability information to the server, or report their respective application capability information according to instructions.
  • a server for example, an intelligent device management cloud
  • the interconnected control device receives a first operation from the user.
  • the first operation is used to instruct the first device to share applications with the second device.
  • users can see the application capability information of multiple devices on the interconnected control device, configure groups according to the application capability information of multiple devices, thereby generating group configuration information.
  • group configuration information the user can specify one or more master devices and one or more slave devices.
  • the user can also specify one or more control devices matching the slave devices.
  • the interconnection control device sends group configuration information, and the group configuration information is used to instruct the first device to share applications with the second device.
  • the method for sharing applications between the first device and the second device may refer to the existing technology, which is not limited by this application.
  • FIG. 7 shows a schematic flowchart of another example of a method for controlling cross-device applications provided by an embodiment of the present application.
  • Each device sends application capability information to the smart device management cloud.
  • S720 The distributed device control center obtains the application capability information of each device from the intelligent device management cloud.
  • S730 The user completes the configuration of the application control group according to the application capabilities of the device.
  • users can see the application capability information registered or reported by each device in the distributed device control center, and configure groups according to the application capability information of these devices to obtain group configuration information, in which the master device can be determined , share the application on the master device to the designated slave device, and select a control device for use based on the application control capabilities of the slave device. For example, specify an application on host A to be shared on large screen B, and specify a mobile phone C or touchpad D to connect to the large screen as the controller of the application.
  • the distributed device control center can be located on an electronic device.
  • the electronic device can be one of the multiple devices mentioned above. It can be used as a master device, a slave device or a control device, which is not limited in this application.
  • S740 The distributed device control center sends the group configuration information to the intelligent device management cloud.
  • the intelligent device management cloud sends the group configuration information to each device in the group.
  • the group configuration information may include multiple groups, such as application control group 1 and application control group 2 shown in FIG. 4 .
  • Each group may in turn include multiple devices, such as one or more sending devices, one or more receiving devices, and one or more control devices.
  • master devices, slave devices, and control devices located in different groups can complete the discovery, connection, and authentication processes between devices according to existing technologies.
  • Hongmeng The distributed interconnection technology based on Hongmeng supports device discovery, connection and authentication.
  • Application data synchronization relies on distributed data technology.
  • Application adaptation, application migration and hardware migration capabilities rely on collaborative configuration.
  • Management services and application control capabilities rely on adaptive application control services.
  • it can also be implemented based on other systems, such as the one mentioned above or other operating systems, This application does not limit it.
  • Figure 8 shows a schematic interaction diagram of a method for controlling cross-device applications provided by an embodiment of the present application.
  • the application capability information includes, but is not limited to, application sharing capabilities, application receiving capabilities, and application control capabilities.
  • the first device 801 and the second device 802 may actively register or send application capability information to the server 804, or may register or send application capability information to the server 804 according to the instruction information.
  • multiple devices including the first device 801 and the second device 802 send application capability information to the server 804 .
  • the interconnected control device 803 may also send application capability information to the server 804.
  • S820 The interconnected control device 803 obtains application capability information of multiple devices from the server 804.
  • the interconnected control device 803 receives the first operation from the user.
  • the user can take a first operation based on the application capabilities of multiple devices.
  • the first operation is used to instruct the first device 801 and the second device 802 to share applications. That is to say, the first operation taken by the user in the distributed device control center generates group configuration information, and the first device 801 and the second device 802 in the group configuration information can share applications.
  • the group configuration information may also indicate that the first device 801 is the master device and the second device 802 is the slave device.
  • the group configuration information may also indicate that the third device is a control device and is used to control the display on the third device.
  • S840 The interconnection control device 803 sends the group configuration information to the server 804.
  • the server 804 sends the group configuration information to the first device 801 and the second device 802 respectively.
  • the server 804 may send group configuration information to multiple devices including the first device 801 and the second device 802 to indicate different groups for different devices.
  • the server 804 can send the group configuration information to the interconnection control device 803.
  • the interconnection control device 803 can be located in the same group as the first device 801 and the second device 802, or can be located in a different group, which is not limited in this application.
  • the application sharing between the first device 801 and the second device 802 may refer to the existing technology, which is not limited in this application.
  • the first device 801 and the second device 802 can discover, connect, and authenticate each other and then start application sharing.
  • the first device 801 receives the user's first operation, and the first operation is used to instruct the first device 801 to apply Share to the second device 802.
  • the first device 801 shares the application to the second device 802. It should be understood that the first operation performed by the user on the first device 801 is different from the first operation performed by the user in the distributed device control center.
  • the first device 801 receives a second operation from the user.
  • the second operation is used to instruct the first device 801 to stop sharing the application to the second device 802.
  • the first device 801 stops sharing the application to the second device 802. , thereby ending the application sharing between the first device 801 and the second device 802.
  • the user can also perform the fourth operation on the control device to end application sharing between the first device 801 and the second device 802 .
  • the first device 801 when the first device 801 also has the application control capability, the first device 801 receives a third operation from the user, and the third operation is used to instruct the first device 801 to control the application shared to the second device 802 .
  • the first device 801 may be in a state of not displaying applications and serve as a control device to control applications shared to the second device 802 .
  • the interconnected control device 803 can also display a first interface, and the first interface is used to instruct the first device 801 or the second device 802 to allow sharing of applications. In this way, it is easier to manage cross-device applications by displaying a black and white list of applications that are allowed to be shared.
  • the interconnected control device 803 may have application sharing capabilities. At this time, the interconnected control device 803 may receive a second operation from the user. The second operation is used to instruct the interconnected control device 803 to share the application to the fourth device.
  • the fourth device It has application receiving capability; the interconnected control device 803 connects with the fourth device and shares the application to the fourth device.
  • the interconnected control device 803 has the application sharing capability. At this time, the interconnected control device 803 connects with the fifth device and displays the application shared by the fifth device.
  • the fifth device has the application sharing capability.
  • the fourth device or the fifth device may be the same device as the first device 801 or the second device 802, which is not limited in this application.
  • the application control group 1 can be generated.
  • the application control group 1 includes the master device 311, the slave device 312 and the control device 313.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供了一种控制跨设备应用的方法,包括:互联控制设备获取多个设备的应用能力信息,多个设备包括第一设备和第二设备,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;互联控制设备接收来自用户的第一操作,第一操作用于指示第一设备与第二设备进行应用分享;互联控制设备发送分组配置信息,分组配置信息用于指示第一设备与第二设备进行应用分享。根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。

Description

控制跨设备应用的方法以及电子设备
本申请要求于2022年6月06日提交中国专利局、申请号为202210633664.6、申请名称为“控制跨设备应用的方法以及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备领域,并且更具体地,涉及一种控制跨设备应用的方法以及电子设备。
背景技术
随着电子设备的普及,每个用户通常同时存在多个电子设备,包括手机、平板、智慧屏、个人电脑(personal computer,PC)、智能音箱以及智能座舱等。用户可以跨设备来使用应用,例如在大屏上使用手机应用或PC应用,或者在PC上使用手机应用或平板应用。其中,针对不同的设备类型,需要使用不同的交互方式来操作应用,例如,手机上可以直接触控交互,大屏上需要使用遥控器或手机操控应用,PC上使用鼠标键盘操作,座舱使用方向盘或直接在面板上触控交互。
目前,同一设备内多个应用之间可以通过消息、数据库或文件共享等方式进行交互,但无法实现跨设备的应用分享和交互。但是,用户不满足于仅在单一设备上来操作和管理应用,同时,在分布式多设备交互的场景,尚无一种方法能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
发明内容
本申请提供一种控制跨设备应用的方法以及电子设备,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
第一方面,提供了一种控制跨设备应用的方法,包括:互联控制设备获取多个设备的应用能力信息,多个设备包括第一设备和第二设备,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;当根据应用能力信息确定第一设备可以与第二设备进行应用分享后,用户可以执行第一操作,互联控制设备接收来自用户的第一操作,第一操作用于指示第一设备与第二设备进行应用分享;互联控制设备发送分组配置信息,分组配置信息用于指示第一设备与第二设备进行应用分享。
根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
结合第一方面,在第一方面的某些实现方式中,上述方法还包括:互联控制设备显示第一界面,第一界面用于指示第一设备或第二设备允许分享的应用。这样,通过显示允许分享的应用的黑白名单,便于用于对跨设备应用进行管理。
结合第一方面,在第一方面的某些实现方式中,第二设备具有应用接收能力,第三设备具有应用控制的能力,第一分组配置信息还用于指示第三设备为第二设备的控制设备,第三设备用于控制显示在第二设备上的应用。
结合第一方面,在第一方面的某些实现方式中,互联控制设备具有应用分享能力,方法还包括:互联控制设备接收用户的第二操作,第二操作用于指示互联控制设备将应用分享到第四设备,第四设备具有应用接收能力;互联控制设备与第四设备进行连接,将应用分享到第四设备。
结合第一方面,在第一方面的某些实现方式中,互联控制设备具有应用分享能力,方法还包括:互联控制设备与第五设备进行连接,显示第五设备分享的应用,第五设备具有应用分享能力。
第二方面,提供了控制跨设备应用的方法,包括:第一设备接收分组配置信息,分组配置信息是用户在互联控制设备上根据第一设备和第二设备的应用能力信息生成的,互联控制设备从服务器获取第一设备和第三设备的应用能力信息,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;第一设备根据分组配置信息与第二设备连接,第一设备与第二设备进行应用分享。
根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
结合第二方面,在第二方面的某些实现方式中,上述方法还包括:第一设备向服务器发送第一设备的应用能力信息。
结合第二方面,在第二方面的某些实现方式中,第一设备具有应用分享能力,第二设备具有应用接收能力,上述方法还包括:第一设备接收用户的第一操作,第一操作用于指示第一设备将应用分享到第二设备;第一设备将应用分享到第二设备。
结合第二方面,在第二方面的某些实现方式中,上述方法还包括:第一设备接收用户的第二操作,第二操作用于指示第一设备停止将应用分享到第二设备;第一设备停止将应用分享到第二设备。
结合第二方面,在第二方面的某些实现方式中,第一设备还具有应用控制能力,上述方法还包括:第一设备接收用户的第三操作,第三操作用于指示第一设备控制分享到第二设备的应用。
第三方面,提供了一种电子设备,包括:获取模块,用于获取多个设备的应用能力信息,多个设备包括第一设备和第二设备,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种,接收来自用户的第一操作,第一操作用于指示第一设备与第二设备进行应用分享;处理模块,用于根据用户的第一操作,生成分组配置信息,分组配置信息用于指示第一设备与第二设备进行应用分享;获取模块,还用于发送分组配置信息。
结合第三方面,在第三方面的某些实现方式中,处理模块,还用于显示第一界面,第一界面用于指示第一设备或第二设备允许分享的应用。
结合第三方面,在第三方面的某些实现方式中,第三设备具有应用控制的能力,第一分组配置信息还用于指示第三设备为第二设备的控制设备,第三设备用于控制显示在第二设备上的应用。
结合第三方面,在第三方面的某些实现方式中,互联控制设备具有应用分享能力,获取模块,还用于接收用户的第二操作,第二操作用于指示互联控制设备将应用分享到第四设备,第四设备具有应用接收能力;处理模块,还用于与第四设备进行连接,将应用分享到第四设备。
结合第三方面,在第三方面的某些实现方式中,互联控制设备具有应用分享能力,处理模块,还用于与第五设备进行连接,显示第五设备分享的应用,第五设备具有应用分享能力。
第四方面,提供了一种电子设备,包括:收发模块,用于接收分组配置信息,分组配置信息是用户在互联控制设备上根据第一设备和第二设备的应用能力信息生成的,互联控制设备从服务器获取第一设备和第三设备的应用能力信息,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;处理模块,用于根据分组配置信息与第二设备连接,第一设备与第二设备进行应用分享。
结合第四方面,在第四方面的某些实现方式中,收发模块,还用于向服务器发送第一设备的应用能力信息。
结合第四方面,在第四方面的某些实现方式中,第一设备具有应用分享能力,第二设备具有应用接收能力,收发模块,还用于接收用户的第一操作,第一操作用于指示第一设备将应用分享到第二设备;处理模块,还用于将应用分享到第二设备。
结合第四方面,在第四方面的某些实现方式中,收发模块,还用于接收用户的第二操作,第二操作用于指示第一设备停止将应用分享到第二设备;处理模块,还用于停止将应用分享到第二设备。
结合第四方面,在第四方面的某些实现方式中,第一设备还具有应用控制能力,收发模块,还用于接收用户的第三操作,第三操作用于指示第一设备控制分享到第二设备的应用。
第五方面,提供一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行上述第一方面至第二方面中的任意一种实现方式中的方法。
可选的,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行第一方面至第二方面中的任意一种实现方式中的方法。
第六方面,提供了一种计算机程序存储介质,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面至第二方面的任一种可能的实现方式的指令。
第七方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第二方面中的任意一种实现方式中的方法。
第八方面,提供了一种电子设备,包括用于执行上述第一方面至第二方面的任一种可能的实现方式的模块。
第九方面,提供了一种通信装置,用于执行上述第一方面至第二方面的任一种可能的实现方式所述的方法。
第十方面,提供了一种通信装置,所述装置包括:处理器和存储器,所述处理器与存 储器耦合,所述存储器用于存储计算机程序,处理器,用于执行所述存储器中存储的计算机程序,以使得所述通信装置执行上述第一方面至第二方面的任一种可能的实现方式所述的方法。
第十一方面,提供了一种通信装置,所述装置包括:处理器、存储器和收发器,所述存储器,用于存储计算机程序,所述处理器,用于执行所述存储器中存储的计算机程序,以使得所述装置执行上述第一方面至第二方面的任一种可能的实现方式所述的方法。
第十二方面,提供了一种通信装置,所述通信装置包括:至少一个处理器和通信接口,所述通信接口用于所述通信装置与其它通信装置进行信息交互,当程序指令在所述至少一个处理器中执行时,使得所述通信装置实现第一方面至第二方面的任一种可能的实现方式所述的方法。
第十三方面,提供了一种处理器,所述处理器包括:至少一种电路,用于执行上述第一方面至第二方面的任一种可能的实现方式所述的方法。
第十四方面,提供了一种芯片***,所述芯片***包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得所述芯片***实现上述第一方面至第二方面的任一种可能的实现方式所述的方法。
附图说明
图1是当前一种设备内多个应用之间进行交互的示意图。
图2是当前一种设备间服务访问方法。
图3是本申请实施例提供的控制跨设备应用的方法所适用的***架构。
图4是本申请提供的一种具体实施方式。
图5是本申请实施例提供的一种电子设备的硬件结构示意图。
图6是本申请实施例提供的一例控制跨设备应用方法的示意性流程图。
图7是本申请实施例提供的另一例控制跨设备应用方法的示意性流程图。
图8是本申请实施例提供的一例控制跨设备应用方法的示意***互图。
图9是本申请实施例提供的一例控制跨设备应用方法的用户界面示意图。
图10是本申请实施例提供的另一例控制跨设备应用方法的用户界面示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个 或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
图1示出了当前一种设备内多个应用之间进行交互的示意图。
如图1所示,服务端120和客户端110之间通过消息(Messenger)方式来通信,客户端110先绑定服务端,根据返回的通信媒介(Binder)对象来创建消息(Messenger)对象,并使用此对象发送消息。为了能收到服务端120返回的结果,客户端110也创建一个消息(Messenger)对象发给服务端120,服务端120通过这个对象向客户端110发送消息。
通过该方法,能够实现单个设备内多应用的通信交互,但不支持对跨多个设备上的应用进行管理,更不能支持用户根据自己的意愿指定进行应用分享的设备和进行应用控制的设备。
图2示出了当前一种设备间服务访问方法。
如图2所示,源设备(主设备)和目标设备均部署服务管理器(service manager,SM),负责根据本地应用的注册来生成本地的服务配置项,提供服务查询能力。例如主设备上的应用会注册应用的服务到本地服务管理器SM。通过设备总线将服务信息传递给目标设备,目标设备的应用获取服务访问接口后,发起服务请求,请求主设备的服务。
但是该方法依赖所有的应用向设备的服务管理器SM注册服务能力,对应用要求非常高,此外,该方法不支持对每个设备上的应用进行管理,也不支持指定应用分享的设备和应用控制设备。
基于上述原因,本申请提出了一种控制跨设备应用的方法和电子设备,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
图3示出了本申请实施例提供的控制跨设备应用的方法所适用的***架构。
如图3所示,该***架构包括分布式设备控制中心310、智能设备管理云320、主设备330、从设备340以及控制设备350。其中,分布式设备控制中心310支持跨多个设备进行分组管理,每个分组内指定应用分享的主设备(源设备)、接收应用的目标设备、配套操控应用的控制设备。一个分组内可以有1个或多个主设备、1个或多个从设备,1或多个控制设备,从设备和控制设备可以是同一个物理设备。例如,应用控制分组1和应用控制分组2,应用控制分组1包括主设备311、从设备312和控制设备313,应用控制分组2包括主设备314、从设备315和控制设备316。尽管图中未示出,应用控制分组1或应用控制分组2还可以包括主设备317、从设备318和控制设备319等。智能设备管理云320可以包括统一事件处理服务321、设备管理服务322、分组设备应用管理服务323和设备信息配置管理服务324。统一事件处理服务321用于提供设备上报业务事件订阅功能、业务事件分发功能和控制设备指令处理功能,并支持将控制设备的指令下发到指定设备。设备管理服务322用于管理用户的多个设备,并支持对多个设备进行设备连接管理、设备接入认证和设备状态管理。分组设备应用管理服务323用于接收分布式设备控制中心310提交的分组策略,对分组设备进行配置管理,提供设备之间配对服务,支持对主设备分享的应用或内容进行管控。设备信息配置管理服务324用于提供设备信息配置查询、设备系 统配置管理和设备控制管理服务。主设备330又可称为源设备,是用于提供本地应用分享能力的设备,支持将本地应用能力信息和服务能力信息上报到智能设备管理云322。从设备340用于接收来自主设备上应用或服务的设备,可以显示应用或服务内容。控制设备350用于配套从设备340,是对应用进行操控的设备。其中,应用控制分组1中的主设备311和应用控制分组2中的主设备314属于或者本身即为主设备330,应用控制分组1中的从设备312和应用控制分组2中的从设备315属于或者本身即为从设备340,应用控制分组1中的控制设备313和应用控制分组2中的控制设备316属于或者本身即为控制设备350。
图4示出了本申请提供的一种具体实施方式。结合图4,阐述本申请提供的一种具体实施方式。在受益于前述描述和相关附图中呈现的指导启示下,本领域技术人员将会想到本申请的许多改进和其他实施例。因此,应理解,本申请不限于所公开的特定实施例。
智能设备管理云320从分布式设备控制中心310获取应用控制分组信息,应用控制分组信息可以是控制人员(例如用户)在分布式设备控制中心410设定的。应用控制分组信息可以包括应用分组1(主设备311、从设备312和控制设备313)以及应用分组2(主设备314、从设备315和控制设备316)。其中,主设备又可以称为发送设备,从设备又可以称为接收设备。以应用分组1为例,主设备311可以是用户的移动手机,应用运行在移动手机上,主设备311可以通过与从设备312无线连接,并将应用图标、应用名、包名等信息发送到从设备312;从设备312可以是显示大屏,应用显示在显示大屏上时,应用界面支持适配接收设备屏幕,支持横屏、竖屏、分屏等方式显示,支持应用管理,支持黑白名单管控等;控制设备313可以是遥控板或手机,负责应用的操控,支持按键、触控、滑动等多种交互方式。
图5示出了本申请实施例提供的一种电子设备的硬件结构示意图。其中,图5所示电子设备500仅是一个范例,并且电子设备500可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
电子设备500可以包括:处理器510,外部存储器接口520,内部存储器521,通用串行总线(universal serial bus,USB)接口530,充电管理模块540,电源管理模块541,电池542,天线1,天线2,移动通信模块550,无线通信模块560,音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,传感器模块580,按键590,马达591,指示器592,摄像头593,显示屏594,以及用户标识模块(subscriber identification module,SIM)卡接口595等。其中传感器模块580可以包括压力传感器580A,陀螺仪传感器580B,气压传感器580C,磁传感器580D,加速度传感器580E,距离传感器580F,接近光传感器580G,指纹传感器580H,温度传感器580J,触摸传感器580K,环境光传感器580L,骨传导传感器580M等。
处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器 (neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备500也可以包括一个或多个处理器510。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器510中还可以设置存储器,用于存储指令和数据。示例性地,处理器510中的存储器可以为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器510的等待时间,因而提高了电子设备500处理数据或执行指令的效率。
在一些实施例中,处理器510可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口,集成电路间音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM卡接口,和/或USB接口等。其中,USB接口是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口可以用于连接充电器为电子设备500充电,也可以用于电子设备500与***设备之间传输数据。该USB接口也可以用于连接耳机,通过耳机播放音频。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备500的结构限定。在本申请另一些实施例中,电子设备500也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
电子设备500的无线通信功能可以通过天线1,天线2,移动通信模块550,无线通信模块560,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备500中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块550可以提供应用在电子设备500上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块550可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块550可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块550还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块550的至少部分功能模块可以被设置于处理器510中。在一些实施例中,移动通信模块550的至少部分功能模块可以与处理器510的至少部分模块被设置在同一个器件中。
无线通信模块560可以提供应用在电子设备500上的包括无线局域网(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)等无线通信的解决方案。无线通信模块560可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块560经由天线2接收电磁波,将电磁波信号调频以及滤波处理, 将处理后的信号发送到处理器510。无线通信模块560还可以从处理器510接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备500通过GPU,显示屏594,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏594和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器510可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏594用于显示图像,视频等。显示屏594包括显示面板。在一些实施例中,电子设备500可以包括1个或N个显示屏594,N为大于1的正整数。
电子设备500可以通过ISP,摄像头593,视频编解码器,GPU,显示屏594以及应用处理器等实现拍摄功能。摄像头593用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备500可以包括1个或N个摄像头593,N为大于1的正整数。
扬声器570A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备500可以通过扬声器570A收听音乐,或收听免提通话。
麦克风570C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。
在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)、视频播放器、耳机、音箱、摄像头等。便携式电子设备的示例性实施例包括但不限于搭载或者其它操作***的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机、电视、音箱、摄像头等。
图6示出了本申请实施例提供的一例控制跨设备应用方法的示意性流程图。
S610,互联控制设备获取多个设备的应用能力信息,多个设备包括第一设备和第二设备,应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种。
其中,互联控制设备包括分布式控制中心,互联控制设备可以从服务器(例如,智能设备管理云)获取多个设备的应用能力信息。多个设备可以主动向服务器注册或上报各自的应用能力信息,或者根据指示上报各自的应用能力信息。
S620,互联控制设备接收来自用户的第一操作,第一操作用于指示第一设备与第二设备进行应用分享。
其中,用户可以在互联控制设备看到多个设备的应用能力信息,根据多个设备的应用能力信息来配置分组,从而生成分组配置信息。在分组配置信息中,用户可以指定一个或多个主设备和一个或多个从设备,可选的,还可以指定与从设备配套的一个或多个控制设备。
S630,互联控制设备发送分组配置信息,分组配置信息用于指示第一设备与第二设备进行应用分享。
其中,互联控制设备可以将分组配置信息发送至服务器,服务器再将该分组配置信息 分别发送给分组内的多个设备。
在本申请实施例中,第一设备与第二设备进行应用分享的方式可以参照现有技术,本申请对其不作限定。
根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
图7示出了本申请实施例提供的另一例控制跨设备应用方法的示意性流程图。
S710,各个设备将应用能力信息发送给智能设备管理云。
以智能家居场景为例,位于用于家庭的各个设备向智能设备管理云(服务器)注册或上报应用能力信息,其中,应用能力信息包括但不限于应用分享能力、应用接收能力和应用控制能力。
S720,分布式设备控制中心从智能设备管理云获取每个设备的应用能力信息。
S730,用户根据设备的应用能力,完成应用控制分组的配置。
其中,用户在分布式设备控制中心可以看到每个设备注册或上报的应用能力信息,并根据这些设备的应用能力信息来配置分组,获得分组配置信息,在该分组配置信息中可以确定主设备,将主设备上的应用分享到指定的从设备,并根据从设备的应用控制能力,选择一个控制设备配套使用。例如,指定将主机A上的应用分享到大屏B上使用,同时指定一个手机C或触控板D连接大屏,作为应用的控制器。
可选的,分布式设备控制中心可以位于电子设备上,该电子设备可以是上述多个设备中的一个,其可以作为主设备、从设备或者控制设备使用,本申请对其不做限定。
S740,分布式设备控制中心将分组配置信息发给智能设备管理云。
S750,智能设备管理云将分组配置信息发给组内的各个设备。
其中,分组配置信息可以包括多个分组,例如图4中所示的应用控制分组1和应用控制分组2。每个分组又可以包括多个设备,例如一个或多个发送设备、一个或多个接收设备和一个或多个控制设备。
S760,主设备、从设备、控制设备完成设备发现和连接。
其中,位于不同分组的主设备、从设备、控制设备可以根据现有技术完成设备之间的发现、连接以及认证等过程。
S770,主设备的指定应用分享到从设备上显示。
其中,主设备可以向从设备发送指示信息,该指示信息用于指示将指定应用分享到从设备上进行显示。从设备根据该指示信息显示该指定应用,运行时的应用界面支持适配接收设备屏幕,支持横屏、竖屏、分屏等方式显示,支持应用管理,支持黑白名单管控。黑白名单管理可以表示从设备可以对处于白名单的应用进行应用显示、应用管理等,对处于黑名单的应用不能进行应用显示和应用管理。
根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
应理解,上述方案可以基于鸿蒙***实现,基于鸿蒙的分布式互联技术支持设备发现、连接和认证,应用的数据同步依赖分布式数据技术,应用适配、应用迁移和硬件迁移能力依赖于协同配置管理服务,应用操控能力依赖于自适应的应用操控服务。可选的,还可以基于其他***实现,例如上文所述的或者其它操作***, 本申请对其不作限定。
图8示出了本申请实施例提供的一种控制跨设备应用方法的示意***互图。
S810,第一设备801、第二设备802向服务器804发送应用能力信息。
其中,应用能力信息包括应用能力信息包括但不限于应用分享能力、应用接收能力和应用控制能力。第一设备801和第二设备802可以主动向服务器804注册或发送应用能力信息,也可以根据指示信息向服务器804注册或发送应用能力信息。
可选的,在实际应用场景中,包括第一设备801、第二设备802在内的多个设备向服务器804发送应用能力信息。例如,互联控制设备803也可以将应用能力信息发送至服务器804。
S820,互联控制设备803从服务器804获取多个设备的应用能力信息。
在本申请实施例中,互联控制设备803可以包括分布式设备控制中心,用户可以在分布式设备控制中心看到多个设备的应用能力信息。例如,分布式设备控制中心可以对多个设备进行分组后展示给用户,将具有应用分享能力的设备作为主设备分为一个组或列表,将具有应用接收能力的设备作为从设备分为一个组或列表,将具有应用控制能力的设备作为控制设备分为一个组或列表。其中,一个设备可以同时具有应用分享能力和应用接收能力,即,该设备既可以作为第一分组的主设备,又可以作为第二分组的从设备;或者,一个设备可以同时具有应用接收能力和应用控制能力,即,该设备既可以作为第一分组的从设备,又可以作为第一分组或第二分组的控制设备,本申请对其不作限定。
S830,互联控制设备803接收来自用户的第一操作。
其中,用户在分布式设备控制中心可以根据多个设备的应用能力采取第一操作,第一操作用于指示第一设备801与第二设备802进行应用分享。也就是说,用户在分布式设备控制中心采取的第一操作生成了分组配置信息,分组配置信息中第一设备801与第二设备802可以进行应用分享。
进一步地,当第一设备801具有应用分享能力,第二设备802具有应用接收能力时,分组配置信息中还可以指示第一设备801为主设备,第二设备802为从设备。
可选的,尽管未示出,当多个设备包括第三设备,第三设备具有应用控制能力时,分组配置信息中还可以指示第三设备为控制设备,第三设备用于控制显示在第二设备802上的应用。
S840,互联控制设备803将分组配置信息发送至服务器804。
S850,服务器804将分组配置信息分别发送至第一设备801和第二设备802。
在本申请实施例中,服务器804可以向包括第一设备801、第二设备802在内的多个设备发送分组配置信息,来指示不同设备的不同的分组。例如,服务器804可以将分组配置信息发送至互联控制设备803,互联控制设备803可以与第一设备801、第二设备802位于同一个分组,也可以位于不同的分组,本申请对其不作限定。
S860,第一设备801与第二设备802进行应用分享。
其中,第一设备801与第二设备802进行应用分享可以参照现有技术,本申请对其不作限定。例如,第一设备801与第二设备802可以进行互相发现、连接、认证后开始应用分享。
可选的,第一设备801接收用户的第一操作,第一操作用于指示第一设备801将应用 分享到第二设备802,第一设备801将应用分享到第二设备802。应理解,用户在第一设备801上执行的第一操作不同于用户在分布式设备控制中心执行的第一操作。
可选的,第一设备801接收用户的第二操作,第二操作用于指示第一设备801停止将应用分享到所述第二设备802,第一设备801停止将应用分享到第二设备802,从而结束第一设备801与第二设备802之间的应用分享。在本申请实施例中,用户还可以在控制设备上执行该第四操作,结束第一设备801与第二设备802之间的应用分享。
可选的,当第一设备801还具有应用控制能力时,第一设备801接收用户的第三操作,第三操作用于指示第一设备801控制分享到第二设备802的应用。此时,第一设备801可以处于不显示应用的状态,作为控制设备控制分享到第二设备802的应用。
应理解,互联控制设备803还可以显示第一界面,第一界面用于指示第一设备801或第二设备802允许分享的应用。这样,通过显示允许分享的应用的黑白名单,便于用于对跨设备应用进行管理。
还应理解,互联控制设备803可以具有应用分享能力,此时,互联控制设备803可以接收用户的第二操作,第二操作用于指示互联控制设备803将应用分享到第四设备,第四设备具有应用接收能力;互联控制设备803与第四设备进行连接,将应用分享到第四设备。或者,互联控制设备803具有应用分享能力,此时,互联控制设备803与第五设备进行连接,显示第五设备分享的应用,第五设备具有应用分享能力。其中,第四设备或者第五设备可以与第一设备801或者第二设备802为同一个设备,本申请对其不作限定。
根据本申请的技术方案,无需修改现有应用,能够按照用户的意愿,对设备进行分组,支持跨设备应用管理。
图9示出了本申请实施例提供的一例控制跨设备应用方法的用户界面示意图。
如图9所示,用户可以在互联控制设备803的分布式应用控制中心310中看到多个设备的应用能力信息。其中,具有应用分享能力的设备可以作为主设备的设备选择池,例如图9中所示的设备311和设备314;具有应用接收能力的设备可以作为从设备的设备选择池,例如图9中所示的设备312和设备315;具有应用控制能力的设备可以作为控制设备的设备选择池,例如图9中所示的设备313和设备316。以用户执行第一操作设置应用控制分组1为例,用户可以在设备311和设备314中选择一个设备作为主设备,在设备312和设备315中选择一个作为从设备。可选的,在选定从设备后,还可以在控制设备313和设备316选择一个能够与从设备配套的设备作为控制设备,用于控制分享在从设备上的应用。在用户选定主设备、从设备和控制设备并点击确认后,即可生成应用控制分组1,应用控制分组1包括主设备311、从设备312以及控制设备313。
其中,图8中所述的第一设备801和第二设备802进行应用分享,可以对应于图9中主设备311和从设备312进行应用分享。当第一设备801具有应用分享能力,第二设备802具有应用接收能力时,第一设备801即为主设备311,第二设备802即为从设备312;当第一设备801具有应用接收能力,第二设备802具有应用分享能力时,第一设备801即为从设备312,第二设备802即为主设备311。
图10示出了本申请实施例提供的另一例控制跨设备应用方法的用户界面示意图。
如图10所示,用户在选定主设备(例如,图10中主设备311)后,用户可以在互联控制设备803的分布式应用控制中心310中看到第一界面,第一界面用于显示主设备311 的应用分享白名单(即允许分享的应用)和应用分享黑名单(即不允许分享的应用)。其中,主设备311的应用分享黑白名单可以是用户主动设置的,也可以是根据设备类型自动生成的,本申请对其不做限定。
应理解,上述以第一界面显示主设备311的应用分享的黑白名单为例,对用户界面进行展示,其不应作为本申请的限定。当主设备为其他设备(例如主设备314)时,第一界面还可以显示其他设备(例如主设备314)的应用分享的黑白名单。
在本申请所提供的实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (11)

  1. 一种控制跨设备应用的方法,其特征在于,包括:
    互联控制设备获取多个设备的应用能力信息,所述多个设备包括第一设备和第二设备,所述应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;
    所述互联控制设备接收来自用户的第一操作,所述第一操作用于指示所述第一设备与所述第二设备进行应用分享;
    所述互联控制设备发送分组配置信息,所述分组配置信息用于指示所述第一设备与所述第二设备进行应用分享。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述互联控制设备显示第一界面,所述第一界面用于指示所述第一设备或所述第二设备允许分享的应用。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二设备具有应用接收能力,第三设备具有应用控制能力,所述第一分组配置信息还用于指示第三设备为所述第二设备的控制设备,所述第三设备用于控制显示在所述第二设备上的应用。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述互联控制设备具有应用分享能力,所述方法还包括:
    所述互联控制设备接收用户的第二操作,所述第二操作用于指示所述互联控制设备将应用分享到第四设备,所述第四设备具有应用接收能力;
    所述互联控制设备与所述第四设备进行连接,将应用分享到所述第四设备。
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,所述互联控制设备具有应用分享能力,所述方法还包括:
    所述互联控制设备与第五设备进行连接,显示所述第五设备分享的应用,所述第五设备具有应用分享能力。
  6. 一种控制跨设备应用的方法,其特征在于,包括:
    第一设备接收分组配置信息,所述分组配置信息是用户在互联控制设备上根据所述第一设备和第二设备的应用能力信息生成的,所述互联控制设备从服务器获取所述第一设备和所述第三设备的应用能力信息,所述应用能力信息包括应用分享能力、应用接收能力或应用控制能力中的至少一种;
    所述第一设备根据所述分组配置信息与所述第二设备连接,所述第一设备与所述第二设备进行应用分享。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    所述第一设备向所述服务器发送所述第一设备的应用能力信息。
  8. 根据权利要求6或7所述的方法,其特征在于,所述第一设备具有应用分享能力,所述第二设备具有应用接收能力,所述方法还包括:
    所述第一设备接收用户的第一操作,所述第一操作用于指示所述第一设备将应用分享到所述第二设备;
    所述第一设备将应用分享到所述第二设备。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    所述第一设备接收用户的第二操作,所述第二操作用于指示所述第一设备停止将应用分享到所述第二设备;
    所述第一设备停止将应用分享到所述第二设备。
  10. 根据权利要求6至9中任一项所述的方法,其特征在于,所述第一设备还具有应用控制能力,所述方法还包括:
    所述第一设备接收用户的第三操作,所述第三操作用于指示所述第一设备控制分享到所述第二设备的应用。
  11. 一种电子设备,其特征在于,所述通信装置包括处理器和存储器,用于执行如权利要求1至10中任一项所述的方法。
PCT/CN2023/096833 2022-06-06 2023-05-29 控制跨设备应用的方法以及电子设备 WO2023236800A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210633664.6A CN117234747A (zh) 2022-06-06 2022-06-06 控制跨设备应用的方法以及电子设备
CN202210633664.6 2022-06-06

Publications (1)

Publication Number Publication Date
WO2023236800A1 true WO2023236800A1 (zh) 2023-12-14

Family

ID=89088531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096833 WO2023236800A1 (zh) 2022-06-06 2023-05-29 控制跨设备应用的方法以及电子设备

Country Status (2)

Country Link
CN (1) CN117234747A (zh)
WO (1) WO2023236800A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077348A (zh) * 2014-09-24 2017-08-18 微软技术许可有限责任公司 跨设备的经分割的应用呈现
US20190227824A1 (en) * 2018-01-22 2019-07-25 Salesforce.Com, Inc. Systems and methods for capturing and visualizing user interactions across devices
CN111143005A (zh) * 2019-12-25 2020-05-12 维沃移动通信有限公司 一种应用分享方法、电子设备及计算机可读存储介质
CN114510186A (zh) * 2020-10-28 2022-05-17 华为技术有限公司 一种跨设备控制方法及设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077348A (zh) * 2014-09-24 2017-08-18 微软技术许可有限责任公司 跨设备的经分割的应用呈现
US20190227824A1 (en) * 2018-01-22 2019-07-25 Salesforce.Com, Inc. Systems and methods for capturing and visualizing user interactions across devices
CN111143005A (zh) * 2019-12-25 2020-05-12 维沃移动通信有限公司 一种应用分享方法、电子设备及计算机可读存储介质
CN114510186A (zh) * 2020-10-28 2022-05-17 华为技术有限公司 一种跨设备控制方法及设备

Also Published As

Publication number Publication date
CN117234747A (zh) 2023-12-15

Similar Documents

Publication Publication Date Title
WO2021078284A1 (zh) 一种内容接续方法及电子设备
WO2020098437A1 (zh) 一种播放多媒体数据的方法及电子设备
WO2019192600A1 (zh) 数据投屏方法、装置、存储介质及电子设备
WO2021043286A1 (zh) 蓝牙连接的方法和电子设备
US20220191668A1 (en) Short-Distance Information Transmission Method and Electronic Device
WO2020216156A1 (zh) 投屏方法和计算设备
JP7369281B2 (ja) デバイス能力スケジューリング方法および電子デバイス
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2021175214A1 (zh) 一种投屏连接控制方法及电子设备
WO2022121775A1 (zh) 一种投屏方法及设备
WO2021104114A1 (zh) 一种提供无线保真WiFi网络接入服务的方法及电子设备
WO2020216160A1 (zh) 一种se的自动路由方法及电子设备
CN112312226B (zh) 连麦方法、***、装置、电子设备及存储介质
WO2022135163A1 (zh) 一种投屏显示方法及电子设备
WO2021136114A1 (zh) 占用设备的方法以及电子设备
CN112130788A (zh) 一种内容分享方法及其装置
WO2021027623A1 (zh) 一种设备能力发现方法及p2p设备
CN114885442A (zh) 一种输入设备的连接方法、设备及***
WO2022007678A1 (zh) 一种打开文件的方法及设备
WO2021227942A1 (zh) 一种分享信息的方法、电子设备和***
WO2023236800A1 (zh) 控制跨设备应用的方法以及电子设备
EP4187535A1 (en) Audio recording method and device
WO2022052760A1 (zh) 一种组合音箱的配置方法、音箱和电子设备
WO2021027727A1 (zh) 信息传输的方法和电子设备
WO2023241624A1 (zh) 控制跨设备应用的方法以及电子设备

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: 23818965

Country of ref document: EP

Kind code of ref document: A1