CN116679998A - Multi-device cooperative conflict processing method and electronic device - Google Patents
Multi-device cooperative conflict processing method and electronic device Download PDFInfo
- Publication number
- CN116679998A CN116679998A CN202211321160.7A CN202211321160A CN116679998A CN 116679998 A CN116679998 A CN 116679998A CN 202211321160 A CN202211321160 A CN 202211321160A CN 116679998 A CN116679998 A CN 116679998A
- Authority
- CN
- China
- Prior art keywords
- service
- electronic device
- equipment
- cooperative
- combination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 5
- 238000000034 method Methods 0.000 claims abstract description 61
- 238000007726 management method Methods 0.000 description 83
- 238000004891 communication Methods 0.000 description 43
- 238000010586 diagram Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 21
- 238000012545 processing Methods 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 230000001960 triggered effect Effects 0.000 description 11
- 238000010295 mobile communication Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 8
- 238000012546 transfer Methods 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007717 exclusion Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000009133 cooperative interaction Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 208000035475 disorder Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44552—Conflict resolution, i.e. enabling coexistence of conflicting executables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/724092—Interfacing with an external cover providing additional functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本申请提供了一种多设备协同冲突处理方法及电子设备,应用于终端技术领域。该方法包括:获取第一电子设备的业务信息和第二电子设备的业务信息,当用户对第一电子设备和第二电子设备进行系统操作时,根据业务信息确定第一电子设备和第二电子设备的设备组合存在协同冲突。当存在协同冲突时,确定设备组合不能进行协同业务。其中业务信息包括设备支持的业务名称、业务调度类型、正在进行的协同业务或业务支持的设备组合类型中至少一种。如此,通过上述方法,过滤掉存在协同冲突的协同业务,使设备协同业务正常进行建联。
The present application provides a multi-device cooperative conflict processing method and an electronic device, which are applied in the technical field of terminals. The method includes: acquiring business information of the first electronic device and business information of the second electronic device, and determining the first electronic device and the second electronic device according to the business information when the user performs system operations on the first electronic device and the second electronic device. The device combination for the device has a collaboration conflict. When there is a coordination conflict, it is determined that the equipment combination cannot perform coordinated services. The service information includes at least one of the name of the service supported by the device, the type of service scheduling, the ongoing collaborative service, or the type of device combination supported by the service. In this way, through the above-mentioned method, the collaboration services with collaboration conflicts are filtered out, so that the device collaboration services can normally establish a connection.
Description
技术领域technical field
本申请涉及终端技术领域,尤其涉及一种多设备协同冲突处理的方法及电子设备。The present application relates to the technical field of terminals, and in particular to a method for multi-device cooperative conflict handling and an electronic device.
背景技术Background technique
多设备协同是一种应用于多个电子设备的技术。利用多设备协同技术,两个或多个电子设备之间可以进行跨系统、跨设备协同,实现资源共享、协同操作。Multi-device coordination is a technology applied to multiple electronic devices. Using multi-device collaboration technology, two or more electronic devices can perform cross-system and cross-device collaboration to achieve resource sharing and collaborative operations.
随着用户对终端技术需求的提升,多设备协同统一管理成为协同技术发展关键。多设备协同统一管理是指用户通过一个设备控制中心界面,实现与不同设备执行协同业务建联的功能。比如手机设备控制中心界面,呈现所有可以与手机设备建立连接的其他电子设备,分别为设备A、设备B和设备C,在手机设备控制中心界面,既可以实现手机与设备A协同,也可以实现与设备B和设备C协同,还可以终止设备A与其他设备正在进行的协同业务等。With the improvement of users' demand for terminal technology, multi-device collaborative unified management has become the key to the development of collaborative technology. Multi-device collaborative unified management refers to the function that users can implement collaborative business establishment with different devices through a device control center interface. For example, the interface of the mobile device control center presents all other electronic devices that can establish a connection with the mobile device, namely device A, device B, and device C. Cooperating with device B and device C, it can also terminate the ongoing coordination service between device A and other devices.
然而,协同业务建联过程中,可能会存在多设备协同业务的冲突问题,比如本设备手机与对端设备平板进行协同业务建联过程,但手机与平板没有可共同进行的业务,即没有协同业务,导致多设备协同业务无法正常建联。However, in the process of establishing a collaborative service, there may be conflicts between multiple devices. business, resulting in multi-device collaboration services cannot be established normally.
发明内容Contents of the invention
本申请的目的在于:提供一种多设备协同冲突处理的方法及电子设备,用于解决基于多设备协同统一管理进行业务建联过程中存在多设备协同冲突问题,使得多设备协同业务正常建联。The purpose of this application is to provide a method and electronic equipment for multi-device collaboration conflict handling, which are used to solve the problem of multi-device collaboration conflicts in the process of establishing a service based on multi-device collaboration and unified management, so that multi-device collaboration services can be established normally .
第一方面,本申请提供了一种多设备协同冲突处理的方法,应用于第一电子设备,该方法包括:In a first aspect, the present application provides a method for multi-device cooperative conflict handling, which is applied to a first electronic device, and the method includes:
获取第一电子设备和第二电子设备的业务信息,其中,第二电子设备为能够与第一电子设备进行协同的电子设备,业务信息包括设备支持的业务名称、业务调度类型、正在进行的协同业务或业务支持的设备组合类型中至少一种;Obtain the service information of the first electronic device and the second electronic device, wherein the second electronic device is an electronic device capable of coordinating with the first electronic device, and the service information includes the service name supported by the device, service scheduling type, ongoing collaboration At least one of the types of business or equipment combinations supported by the business;
当用户对第一电子设备和第二电子设备进行协同操作时,根据设备的业务信息,判断第一电子设备和第二电子设备的设备组合是否存在协同冲突。如果存在协同冲突,确定设备组合无法进行协同业务。如此,根据业务信息,确定多设备协同存在协同冲突,过滤掉协同冲突的协同业务,使设备组合正常进行业务建立。When the user performs cooperative operations on the first electronic device and the second electronic device, it is determined whether there is a coordination conflict in the device combination of the first electronic device and the second electronic device according to the business information of the devices. If there is a collaboration conflict, it is determined that the equipment combination cannot perform collaborative services. In this way, according to the service information, it is determined that there is a collaboration conflict in multi-device collaboration, and the collaboration service with the collaboration conflict is filtered out, so that the device combination can normally establish a service.
在一种可能的实现方式中,根据设备正在进行的协同业务,判断设备组合是否存在至少一个电子设备正在进行协同业务。如果存在至少一个电子设备正在进行协同业务,根据业务调度类型,判断该电子设备正在进行的协同业务是否能够被调度。如果不能被调度,表示第一电子设备和第二电子设备的设备组合存在协同冲突。如此过滤掉不能被调度的业务。In a possible implementation manner, it is determined whether at least one electronic device in the device combination is performing the coordinated service according to the coordinated service being performed by the device. If there is at least one electronic device that is performing a coordinated service, it is determined whether the coordinated service that the electronic device is conducting can be scheduled according to the service scheduling type. If it cannot be scheduled, it means that there is coordination conflict in the device combination of the first electronic device and the second electronic device. In this way, services that cannot be scheduled are filtered out.
在一种可能的实现方式中,根据设备支持的业务名称,确定第一电子设备和第二电子设备不支持同一协同业务,或根据业务支持的设备组合类型,确定同一协同业务不属于设备组合支持的业务,即第一电子设备和第二电子设备存在不存在业务交集,或者存在业务交集,但业务交集不满足第一电子设备和第二电子设备的设备组合支持的业务,表示第一电子设备和第二电子设备的设备组合存在协同冲突。如此,过滤掉设备组合不存在业务交集或业务交集与设备组合支持的业务不匹配的业务。In a possible implementation, according to the name of the service supported by the device, it is determined that the first electronic device and the second electronic device do not support the same coordinated service, or according to the type of device combination supported by the service, it is determined that the same coordinated service does not belong to the device combination support business, that is, there is no business intersection between the first electronic device and the second electronic device, or there is a business intersection, but the business intersection does not satisfy the business supported by the combination of the first electronic device and the second electronic device, indicating that the first electronic device There is a synergy conflict with the device combination of the second electronic device. In this way, services with no service intersection in the equipment combination or services whose service intersection does not match the services supported by the equipment combination are filtered out.
在一种可能的实现方式中,当第一电子设备正在进行的协同业务和第二电子设备正在进行的协同业务能够被调用,根据设备支持的业务名称,确定第一电子设备和第二电子设备不支持同一协同业务,或根据业务支持的设备组合类型,确定同一协同业务不属于设备组合支持的业务,即第一电子设备和第二电子设备存在不存在业务交集,或者存在业务交集,但业务交集不满足第一电子设备和第二电子设备的设备组合支持的业务,表示第一电子设备和第二电子设备的设备组合存在协同冲突。如此,过滤掉当设备组合中设备正在进行的协同业务能够被调度的业务,但设备组合不存在业务交集或业务交集与设备组合支持的业务不匹配的业务。In a possible implementation, when the coordinated service being performed by the first electronic device and the coordinated service being performed by the second electronic device can be invoked, the first electronic device and the second electronic device are determined according to the name of the service supported by the device Do not support the same collaborative service, or determine that the same collaborative service does not belong to the service supported by the device combination according to the type of equipment combination supported by the service, that is, there is no business intersection between the first electronic device and the second electronic device, or there is a business intersection, but the business The intersection does not satisfy the services supported by the device combination of the first electronic device and the second electronic device, which means that there is a coordination conflict in the device combination of the first electronic device and the second electronic device. In this way, the services that can be scheduled when the coordinated services of the equipment in the equipment combination are being scheduled, but the equipment combination does not have a service intersection or the service intersection does not match the services supported by the equipment combination.
在一种可能的实现方式中,当确定第一电子设备和第二电子设备的设备组合不存在协同冲突时,基于预设业务优先级规则,触发设备组合进行第一业务的协同操作。In a possible implementation manner, when it is determined that there is no coordination conflict in the device combination of the first electronic device and the second electronic device, based on a preset service priority rule, the device combination is triggered to perform a coordinated operation of the first service.
在一种可能的实现方式中,当第一电子设备和第二电子设备的设备组合存在协同操作的业务记录时,以最近邻次的业务记录对应的协同业务作为所述第一业务,触发所述设备组合进行所述第一业务的协同操作。当不存在业务记录时,以预设业务优先级确定所述第一业务,触发所述设备组合进行所述第一业务的协同操作。In a possible implementation manner, when there is a cooperative operation service record in the device combination of the first electronic device and the second electronic device, the collaborative service corresponding to the nearest adjacent service record is used as the first service to trigger the The device combination performs the coordinated operation of the first service. When there is no service record, the first service is determined with a preset service priority, and the device combination is triggered to perform coordinated operation of the first service.
在一种可能的实现方式中,第一电子设备为展开状态的折叠屏,当第一电子设备与第二电子设备进行的协同业务包括第一协同业务和第二协同业务时,其中,第一协同业务为手机与笔记本电脑的协同业务,第二协同业务为平板与笔记本电脑的协同业务,则预设业务优先级为第一协同业务高于第二协同业务。如此,根据业务优先级触发业务,当设备组合存在多种协同业务时,避免触发协同业务的业务紊乱,使协同业务有序进行。In a possible implementation manner, the first electronic device is a folding screen in an unfolded state, and when the collaborative service performed by the first electronic device and the second electronic device includes the first collaborative service and the second collaborative service, wherein the first The collaboration service is a collaboration service between a mobile phone and a notebook computer, and the second collaboration service is a collaboration service between a tablet and a notebook computer, and the default service priority is that the first collaboration service is higher than the second collaboration service. In this way, the service is triggered according to the service priority, and when there are multiple collaborative services in the device combination, the service disorder that triggers the collaborative service is avoided, so that the collaborative service can be carried out in an orderly manner.
在一种可能的实现方式中,当设备组合上存在至少一个电子设备正在进行协同业务时,判断第一业务是否能够与设备组合中所有设备正在进行协同业务共同执行;若能够共同执行,执行设备组合的第一业务的协同操作;若不能够共同执行,从设备组合中至少一个电子设备正在进行的所有协同业务中,确定不能与第一业务共同执行的所有协同业务,当用户终止所有不能与所述第一业务共同执行的协同业务时,执行所述第一业务的协同操作。如此,当存在互斥业务时,根据用户需求确定是否执行第一业务操作,使操作更加人性化。In a possible implementation, when there is at least one electronic device in the device combination that is performing a collaborative service, it is judged whether the first service can be executed jointly with all devices in the device combination that are performing the coordinated service; if they can be jointly executed, the execution device Coordinated operation of the combined first service; if it cannot be jointly executed, determine all coordinated services that cannot be jointly performed with the first service from among all coordinated services being performed by at least one electronic device in the device combination. When the first service jointly executes a coordinated service, perform the coordinated operation of the first service. In this way, when there are mutually exclusive services, it is determined whether to execute the first service operation according to user requirements, making the operation more humanized.
在一种可能的实现方式中,当用户执行取消终止不能与所述第一业务共同执行的所有协同业务时,触发无法进行所述设备组合协同的操作。In a possible implementation manner, when the user cancels and terminates all coordinated services that cannot be executed together with the first service, an operation that the device combination cannot be coordinated is triggered.
第二方面,本申请提供了一种多设备协同冲突处理的方法,应用于第二电子设备,所述方法包括:In a second aspect, the present application provides a method for multi-device cooperative conflict handling, which is applied to a second electronic device, and the method includes:
当用户对第一电子设备和所述第二电子设备进行的协同操作,提供第二电子设备的业务信息,以使第一电子设备根据第一电子设备的业务信息和第二电子设备的业务信息,判断第一电子设备和第二电子设备的设备组合是否存在协同冲突;并使第一电子设备执行当设备组合存在协同冲突时,确定设备组合无法进行协同业务;其中,业务信息包括设备支持的业务名称、业务调度类型、正在进行的协同业务或业务支持的设备组合类型中至少一种。如此,根据业务信息,确定多设备协同存在协同冲突,过滤掉协同冲突的协同业务,使设备组合正常进行业务建立。When the user performs cooperative operations on the first electronic device and the second electronic device, the service information of the second electronic device is provided, so that the first electronic device can use the service information of the first electronic device and the service information of the second electronic device , judging whether there is a coordination conflict in the equipment combination of the first electronic device and the second electronic device; and causing the first electronic device to execute when there is a coordination conflict in the equipment combination, determine that the equipment combination cannot perform a collaborative service; wherein, the business information includes the device support At least one of service name, service scheduling type, ongoing collaborative service, or equipment combination type supported by the service. In this way, according to the service information, it is determined that there is a collaboration conflict in multi-device collaboration, and the collaboration service with the collaboration conflict is filtered out, so that the device combination can normally establish a service.
在一种可能的实现方式中,设备组合存在协同冲突通过以下方式确定:第一电子设备根据设备正在进行的协同业务,确定设备组合中存在至少一个电子设备正在进行协同业务;并根据业务调度类型,确定至少一个电子设备正在进行的协同业务不能被调度,确定设备组合存在协同冲突。如此过滤掉不能被调度的业务。In a possible implementation manner, the existence of a coordination conflict in a device combination is determined in the following manner: the first electronic device determines that at least one electronic device in the device combination is performing a coordinated service according to the ongoing coordinated service of the device; and according to the service scheduling type , it is determined that the ongoing coordination service of at least one electronic device cannot be scheduled, and it is determined that there is a coordination conflict in the device combination. In this way, services that cannot be scheduled are filtered out.
在一种可能的实现方式中,设备组合存在协同冲突通过以下方式确定:第一电子设备根据设备组合中设备支持的业务名称,确定第一电子设备和第二电子设备不支持同一协同业务,或根据业务支持的设备组合类型,确定同一协同业务不属于设备组合支持的业务,确定第一电子设备和第二电子设备的设备组合存在协同冲突。如此,过滤掉设备组合不存在业务交集或业务交集与设备组合支持的业务不匹配的业务。In a possible implementation manner, the collaboration conflict in the device combination is determined in the following manner: the first electronic device determines that the first electronic device and the second electronic device do not support the same coordinated service according to the service names supported by the devices in the device combination, or According to the device combination type supported by the service, it is determined that the same collaborative service does not belong to the service supported by the device combination, and it is determined that there is a collaboration conflict between the device combination of the first electronic device and the second electronic device. In this way, services with no service intersection in the equipment combination or services whose service intersection does not match the services supported by the equipment combination are filtered out.
在一种可能的实现方式中,若第一电子设备正在进行的协同业务和第二电子设备正在进行的协同业务能够被调用,设备组合存在协同冲突通过以下方式确定:第一电子设备根据设备组合中设备支持的业务名称,确定第一电子设备和第二电子设备不支持同一协同业务,或根据业务支持的设备组合类型,确定同一协同业务不属于设备组合支持的业务,确定第一电子设备和第二电子设备的设备组合存在协同冲突。如此,过滤掉当设备组合中设备正在进行的协同业务能够被调度的业务,但设备组合不存在业务交集或业务交集与设备组合支持的业务不匹配的业务。In a possible implementation, if the ongoing coordination service of the first electronic device and the ongoing coordination service of the second electronic device can be invoked, the existence of a coordination conflict in the device combination is determined in the following manner: the first electronic device The name of the service supported by the equipment in the middle, it is determined that the first electronic device and the second electronic device do not support the same collaborative service, or according to the type of device combination supported by the service, it is determined that the same collaborative service does not belong to the service supported by the device combination, and the first electronic device and the second electronic device are determined. A collaboration conflict exists in the device combination of the second electronic device. In this way, the services that can be scheduled when the coordinated services of the equipment in the equipment combination are being scheduled, but the equipment combination does not have a service intersection or the service intersection does not match the services supported by the equipment combination.
在一种可能的实现方式中,当第二电子设备正在进行协同业务时,根据第一电子设备确定的第二电子设备正在进行协同业务不能够与第一业务共同执行,并根据第一电子设备确定的终止第二电子设备正在进行协同业务,断开第二电子设备正在进行的协同业务,使第一电子设备执行第一业务的协同操作。如此,当存在互斥业务时,根据用户需求确定是否执行第一业务操作,使操作更加人性化。In a possible implementation, when the second electronic device is performing a collaborative service, the coordinated service determined by the first electronic device cannot be performed jointly with the first service, and according to the first electronic device It is determined that the coordinated service being performed by the second electronic device is terminated, and the coordinated service being performed by the second electronic device is disconnected, so that the first electronic device performs the coordinated operation of the first service. In this way, when there are mutually exclusive services, it is determined whether to execute the first service operation according to user requirements, making the operation more humanized.
第三方面,本申请提供了一种电子设备,包括存储器和处理器,所述存储器与所述处理器耦合;所述存储器存储有程序指令,当所述程序指令由所述处理器执行时,使得所述电子设备执行第一方面任一项所述的方法In a third aspect, the present application provides an electronic device, including a memory and a processor, the memory is coupled to the processor; the memory stores program instructions, and when the program instructions are executed by the processor, making the electronic device execute the method described in any one of the first aspect
第四方面,本申请提供了一种电子设备,包括存储器和处理器,所述存储器与所述处理器耦合;所述存储器存储有程序指令,当所述程序指令由所述处理器执行时,使得所述电子设备执行第二方面任一项所述的方法。In a fourth aspect, the present application provides an electronic device, including a memory and a processor, the memory is coupled to the processor; the memory stores program instructions, and when the program instructions are executed by the processor, Making the electronic device execute the method described in any one of the second aspect.
第五方面,本申请提供了一种协同工作系统,包括第三方面的电子设备和第四方面的电子设备。In a fifth aspect, the present application provides a collaborative work system, including the electronic device of the third aspect and the electronic device of the fourth aspect.
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。It should be understood that descriptions of technical features, technical solutions, beneficial effects or similar language in this application do not imply that all features and advantages can be realized in any single embodiment. On the contrary, it can be understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, descriptions of technical features, technical solutions or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this embodiment may also be combined in any appropriate manner. Those skilled in the art will understand that the embodiments can be implemented without one or more specific technical features, technical solutions or advantageous effects of the specific embodiments. In other embodiments, additional technical features and beneficial effects may also be identified in certain embodiments that do not embody all embodiments.
附图说明Description of drawings
图1A为本申请实施例提供的一种多设备协同界面示意图;FIG. 1A is a schematic diagram of a multi-device collaboration interface provided by an embodiment of the present application;
图1B为本申请实施例提供的一种主从设备无协同业务的场景示意图;FIG. 1B is a schematic diagram of a scenario where a master-slave device has no coordinated service provided by an embodiment of the present application;
图1C为本申请实施例提供的一种第一电子设备正在进行跨设备协同业务的业务抢占示意图;FIG. 1C is a schematic diagram of a service preemption of a cross-device collaborative service being performed by a first electronic device provided in an embodiment of the present application;
图2为本申请实施例提供的电子设备的硬件结构示意图;FIG. 2 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application;
图3为本申请实施例的电子设备100的软件结构框图;FIG. 3 is a software structural block diagram of an electronic device 100 according to an embodiment of the present application;
图4为本申请实施例提供的一种实现多设备协同统一管理的分层架构框图;FIG. 4 is a block diagram of a layered architecture for realizing coordinated and unified management of multiple devices provided by an embodiment of the present application;
图5为本申请实施例提供的一种基于多设备协同统一管理的业务建联的实现时序图;FIG. 5 is an implementation sequence diagram of service association based on multi-device coordinated unified management provided by an embodiment of the present application;
图6为本申请实施例提供的一种冲突处理方法流程图;FIG. 6 is a flowchart of a conflict handling method provided in an embodiment of the present application;
图7A为本申请实施例提供的一种多设备协同业务冲突处理交互时序图;FIG. 7A is an interactive sequence diagram of multi-device collaborative service conflict handling provided by the embodiment of the present application;
图7B为本申请实施例提供的一种多设备协同业务冲突处理交互时序图;FIG. 7B is an interactive sequence diagram of multi-device collaborative service conflict handling provided by the embodiment of the present application;
图8为本申请实施例提供的一种无法建立连接提示示意图;FIG. 8 is a schematic diagram of a reminder that a connection cannot be established provided by an embodiment of the present application;
图9为本申请实施例提供的一种请求用户确认提示框示意图;FIG. 9 is a schematic diagram of a prompt box requesting user confirmation provided by an embodiment of the present application;
图10为本申请实施例提供的一种主第二电子设备无协同业务的建联示意图;FIG. 10 is a schematic diagram of establishing a connection between a primary and a secondary electronic device without coordinated services provided by an embodiment of the present application;
图11为本申请实施例提供的一种第二电子设备存在正在进行跨设备业务的建立示意图。FIG. 11 is a schematic diagram of establishing a cross-device service in the presence of a second electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一目标对象和第二目标对象等是用于区别不同的目标对象,而不是用于描述目标对象的特定顺序。The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first target object, the second target object, etc. are used to distinguish different target objects, rather than describing a specific order of the target objects.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
多设备协同是一种应用于多个电子设备的分布式技术。利用多设备协同技术,两个或者多个电子设备之间可以进行跨系统、跨设备的协同,实现资源共享、协同操作。Multi-device coordination is a distributed technology applied to multiple electronic devices. Using multi-device collaboration technology, two or more electronic devices can perform cross-system and cross-device collaboration to achieve resource sharing and collaborative operations.
多设备协同可以应用于同类型或者不同类型的电子设备之间。其中,电子设备的类型包括但不限于手机、平板电脑、笔记本电脑、大屏设备(例如:智能电视、智慧屏)、个人计算机(persona1computer,PC)、手持计算机、上网本、个人数字助理(personal digitalassistant,PDA)、可穿戴电子设备、车载设备、虚拟现实设备等设备。Multi-device collaboration can be applied between electronic devices of the same type or different types. Among them, the types of electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, large-screen devices (such as smart TVs, smart screens), personal computers (persona1computer, PC), handheld computers, netbooks, personal digital assistants (personal digital assistants) , PDA), wearable electronic equipment, vehicle equipment, virtual reality equipment and other equipment.
多设备协同需要基于设备间的通信连接实现。该通信连接可以是有线通信连接,也可以是无线通信连接。其中,有线通信连接的解决方案例如可以包括USB On-The-Go(OTG)技术;无线通信的解决方案例如可以包括如无线保真(wireless fidelity,Wi-Fi),Wi-Fi直连(Wi-Fi Direct),蓝牙(bluetooth,BT),近距离无线通信技术(near fieldcommunication,NFC),红外技术(infrared,IR)等。Multi-device collaboration needs to be realized based on the communication connection between devices. The communication connection may be a wired communication connection or a wireless communication connection. Wherein, the solution of wired communication connection may include, for example, USB On-The-Go (OTG) technology; the solution of wireless communication may include, for example, wireless fidelity (wireless fidelity, Wi-Fi), Wi-Fi direct -Fi Direct), Bluetooth (bluetooth, BT), near field communication technology (near fieldcommunication, NFC), infrared technology (infrared, IR), etc.
随着终端技术的不断发展,多设备协同已经产生了多种不同的协同类型(也称:协同服务),例如:多屏协同(包括屏幕扩展、屏幕镜像和屏幕共享)、键鼠协同、通话协同、接续协同等。其中:With the continuous development of terminal technology, multi-device collaboration has produced a variety of different types of collaboration (also called: collaboration services), such as: multi-screen collaboration (including screen extension, screen mirroring and screen sharing), keyboard and mouse collaboration, call Collaboration, continuation of collaboration, etc. in:
屏幕镜像:将电子设备A屏幕中的所有内容完整地在电子设备B的屏幕中进行镜像显示。电子设备B中显示的电子设备A的内容与电子设备A显示的内容相同,且随着电子设备A显示内容的变化而变化。Screen mirroring: mirroring and displaying all content on the screen of electronic device A on the screen of electronic device B. The content of electronic device A displayed on electronic device B is the same as the content displayed by electronic device A, and changes as the content displayed by electronic device A changes.
屏幕扩展:将电子设备B的屏幕作为电子设备A的副屏,电子设备A可以将其需要显示的一部分内容转移到副屏上进行显示,电子设备A的屏幕与电子设备B的屏幕可以共同显示内容,扩展了电子设备A的显示能力。Screen extension: use the screen of electronic device B as the secondary screen of electronic device A, electronic device A can transfer part of the content it needs to display to the secondary screen for display, and the screen of electronic device A and electronic device B can be displayed together The content expands the display capability of the electronic device A.
屏幕共享:将电子设备A的用户界面投影到电子设备B的屏幕中进行显示,并且允许用户在电子设备B中对电子设备A的用户界面进行操作,以及通过在电子设备B中执行特定的操作(例如:从电子设备B的用户界面中向电子设备A的用户界面中拖拽文件),将电子设备B中的文件传输到电子设备A中,实现电子设备A与电子设备B之间的跨设备操作和跨设备文件传输等。其中,电子设备A的用户界面可以显示在电子设备B屏幕中的任意区域,也可以全屏显示。Screen sharing: project the user interface of electronic device A to the screen of electronic device B for display, and allow the user to operate the user interface of electronic device A in electronic device B, and perform specific operations in electronic device B (For example: dragging and dropping files from the user interface of electronic device B to the user interface of electronic device A), transfer the files in electronic device B to electronic device A, and realize cross-connection between electronic device A and electronic device B Device operation and cross-device file transfer, etc. Wherein, the user interface of the electronic device A can be displayed in any area of the screen of the electronic device B, and can also be displayed in full screen.
键鼠协同:电子设备A与电子设备B可以共享彼此原有的输入设备,例如:鼠标、键盘等。举例来说,电子设备A的输入设备共享给电子设备B,共享的输入设备既可以在电子设备A中进行输入,也可以在电子设备B中进行输入。另外,在键鼠共享类型中,电子设备A与电子设备B之间还可以进行文件传输。Keyboard and mouse collaboration: Electronic device A and electronic device B can share each other's original input devices, such as mouse and keyboard. For example, the input device of electronic device A is shared with electronic device B, and the shared input device can be input in electronic device A or in electronic device B. In addition, in the keyboard and mouse sharing type, file transfer can also be performed between the electronic device A and the electronic device B.
接续协同:用户在电子设备A上运行应用,电子设备B的界面上可以提示用户在电子设备B上打开在电子设备A上正在运行的应用,从而转移到电子设备B上进行接续操作,比如观看视频、编辑文档,等。例如:电子设备A上正在运行文档应用,文档应用可以是备忘录、word等,用户在电子设备A上正在编辑文档,当电子设备B和电子设备A距离较近时,电子设备B上显示提示信息,用户在电子设备B上点击提示信息,响应于用户的点击操作,电子设备B打开文档应用并展示用户正在编辑的位置,从而转移至电子设备B上继续编辑等。Continuation collaboration: When the user runs an application on electronic device A, the interface of electronic device B can prompt the user to open the application running on electronic device A on electronic device B, so as to transfer to electronic device B for continuous operation, such as watching Videos, editing documents, etc. For example: a document application is running on electronic device A. The document application can be memo, word, etc., and the user is editing a document on electronic device A. When electronic device B and electronic device A are close, a prompt message is displayed on electronic device B. , the user clicks the prompt information on electronic device B, and in response to the user's click operation, electronic device B opens the document application and displays the location where the user is editing, so as to transfer to electronic device B to continue editing.
通话协同:当电子设备A接到语音通话或者视频通话的呼入时,电子设备B上可以同步显示呼入界面,这样,用户可以选择在电子设备B上接听或者挂断通话。Call coordination: When electronic device A receives an incoming voice call or video call, electronic device B can simultaneously display the call-in interface, so that the user can choose to answer or hang up the call on electronic device B.
通知协同:当电子设备A接收到通知消息时,通知消息可以在电子设备B中同步显示,还可以允许用户在电子设备B中对通知消息执行回复、删除、已读等操作。Notification collaboration: When electronic device A receives a notification message, the notification message can be displayed synchronously on electronic device B, and the user can also perform operations such as replying, deleting, and reading the notification message on electronic device B.
上述列举出的多个协同类型,一些协同类型是第一电子设备(一般是多设备协同的发起方)响应于用户操作,向第二电子设备(一般是多设备协同的参与方)发起的,可称作手动协同业务,比如屏幕扩展、屏幕共享、键鼠协同等。一些协同类型是在用户开启功能状态下,满足触发规则时自动触发的,可被称作自动协同业务,比如通话协同、通知协同和接续协同。Among the multiple coordination types listed above, some coordination types are initiated by the first electronic device (generally the initiator of multi-device coordination) to the second electronic device (generally the participant of multi-device coordination) in response to user operations, It can be called manual collaboration services, such as screen extension, screen sharing, keyboard and mouse collaboration, etc. Some coordination types are automatically triggered when the triggering rules are met when the user enables the function, which can be called automatic coordination services, such as call coordination, notification coordination, and connection coordination.
以手动协同业务为例:Take the manual collaboration business as an example:
如果第一电子设备为手机,第二电子设备为平板电脑,其支持的协同类型可以包括屏幕共享。If the first electronic device is a mobile phone and the second electronic device is a tablet computer, the supported collaboration type may include screen sharing.
如果第一电子设备为手机中的非折叠屏手机,第二电子设备为PC,其支持的协同类型可以包括键鼠协同、屏幕共享。其中,非折叠屏手机与PC首次触发连接时,默认的协同类型可以是屏幕共享。If the first electronic device is a mobile phone with a non-folding screen in the mobile phone, and the second electronic device is a PC, the supported collaboration types may include keyboard and mouse collaboration and screen sharing. Among them, when the non-folding screen mobile phone and the PC trigger the connection for the first time, the default collaboration type can be screen sharing.
如果第一电子设备为手机中的折叠屏手机,第二电子设备为PC,其支持的协同类型可以包括键鼠协同、屏幕共享、屏幕镜像和屏幕扩展。其中,折叠屏手机与PC首次触发连接时,默认的协同类型可以是屏幕共享。If the first electronic device is a folding screen mobile phone in a mobile phone, and the second electronic device is a PC, the types of cooperation supported by it may include keyboard and mouse cooperation, screen sharing, screen mirroring and screen expansion. Among them, when the folding screen mobile phone and the PC trigger the connection for the first time, the default collaboration type can be screen sharing.
如果第一电子设备为手机,第二电子设备为大屏设备,其支持的协同类型可以包括投屏。If the first electronic device is a mobile phone and the second electronic device is a large-screen device, the supported collaboration types may include screen projection.
如果第一电子设备为平板电脑,第二电子设备为手机,其支持的协同类型可以包括。If the first electronic device is a tablet computer and the second electronic device is a mobile phone, the supported collaboration types may include.
如果第一电子设备为平板电脑,第二电子设备为PC,其支持的协同类型可以包括屏幕镜像、屏幕扩展、键鼠协同。其中,平板电脑与PC首次触发连接时,默认的协同类型可以是屏幕镜像。If the first electronic device is a tablet computer and the second electronic device is a PC, the supported cooperation types may include screen mirroring, screen expansion, and keyboard-mouse cooperation. Wherein, when the connection between the tablet computer and the PC is triggered for the first time, the default collaboration type may be screen mirroring.
如果第一电子设备为平板电脑,第二电子设备为大屏设备,其支持的协同类型可以包括投屏。If the first electronic device is a tablet computer and the second electronic device is a large-screen device, the supported collaboration types may include screen projection.
如果第一电子设备为PC,第二电子设备为非折叠屏手机,其支持的协同类型可以包括键鼠协同、屏幕共享。其中,PC与非折叠屏手机首次触发连接时,默认的协同类型可以是屏幕共享。If the first electronic device is a PC and the second electronic device is a mobile phone with a non-folding screen, the types of collaboration it supports may include keyboard-mouse collaboration and screen sharing. Among them, when the PC and the non-folding screen mobile phone trigger the connection for the first time, the default collaboration type can be screen sharing.
如果第一电子设备为PC,第二电子设备为折叠屏手机,其支持的协同类型可以包括键鼠协同、屏幕共享、屏幕镜像和屏幕扩展。其中,PC与折叠屏手机首次触发连接时,默认的协同类型可以是屏幕共享。If the first electronic device is a PC and the second electronic device is a folding screen mobile phone, the supported cooperation types may include keyboard and mouse cooperation, screen sharing, screen mirroring and screen expansion. Among them, when the PC and the folding screen mobile phone trigger the connection for the first time, the default collaboration type can be screen sharing.
如果第一电子设备为PC,第二电子设备为平板电脑,其支持的协同类型可以包括屏幕镜像、屏幕扩展、键鼠协同。其中,PC与平板电脑首次触发连接时,默认的协同类型可以是屏幕镜像。If the first electronic device is a PC and the second electronic device is a tablet computer, the supported cooperation types may include screen mirroring, screen expansion, and keyboard-mouse cooperation. Wherein, when the connection between the PC and the tablet is triggered for the first time, the default collaboration type may be screen mirroring.
如果第一电子设备为PC,第二电子设备为大屏设备,其支持的协同类型可以包括投屏。If the first electronic device is a PC and the second electronic device is a large-screen device, the supported collaboration type may include screen projection.
以自动协同业务为例:Take automatic collaboration business as an example:
支持通话协同的电子设备可以包括手机、平板、PC、大屏显示设备等。Electronic devices that support call coordination may include mobile phones, tablets, PCs, large-screen display devices, and the like.
支持通知协同的电子设备可以包括手机、平板、PC等。Electronic devices that support notification coordination may include mobile phones, tablets, PCs, and the like.
支持接续协同的电子设备可以包括手机、平板、PC、大屏显示设备等。Electronic devices that support connection coordination may include mobile phones, tablets, PCs, large-screen display devices, and the like.
目前随着用户对终端技术需求的提升,多设备协同统一管理成为协同技术发展关键。多设备协同统一管理是指用户通过一个设备控制中心界面,实现与不同设备执行协同业务建联的功能。比如,手机设备控制中心界面,呈现所有可以与手机设备建立的其他设备,分别为设备A、设备B和设备C,在手机设备控制中心界面,既可以实现手机与设备A协同,也可以实现与设备B和设备C协同,还可以终止设备A与其他设备正在进行的协同业务等。参见图1A,为本申请实施例提供的一种设备控制中心界面示意图。其中,第一电子设备全屏界面“智慧互联”界面为多设备协同的控制中心界面。该界面可以显示第一电子设备手机,位于界面中心位置,利用蓝色(也可以是其他区别与第二电子设备水泡性原色的标记)水泡包裹的手机图标。也可以显示所有能够与第一电子设备连接的其他第二电子设备,pad、MagicBook,Smart TV和Pad的水泡包裹的第二电子设备图标的设备标识。还可以显示建立协同的方式—拖拽设备建立协同。即通过拖拽方式,即可以实现手机与pad进行协同业务建联,还可以实现手机与Magic Book,Smart TV进行协同业务建联。At present, with the improvement of users' demand for terminal technology, multi-device collaborative unified management has become the key to the development of collaborative technology. Multi-device collaborative unified management refers to the function that users can implement collaborative business establishment with different devices through a device control center interface. For example, the mobile device control center interface presents all other devices that can be established with the mobile device, namely device A, device B, and device C. The collaboration between device B and device C can also terminate the ongoing collaboration service between device A and other devices. Referring to FIG. 1A , it is a schematic diagram of an interface of a device control center provided by an embodiment of the present application. Among them, the "smart interconnection" interface of the full-screen interface of the first electronic device is a multi-device collaborative control center interface. The interface can display the mobile phone of the first electronic device, which is located in the center of the interface and wrapped in blue (or other marks that distinguish it from the primary color of blisters of the second electronic device) blistered mobile phone icon. It is also possible to display all other second electronic devices that can be connected with the first electronic device, and the device identifications of the second electronic device icons wrapped in blisters on pads, MagicBooks, Smart TVs, and Pads. It can also display the way to establish collaboration—drag and drop devices to establish collaboration. That is, by dragging and dropping, it is possible to establish a cooperative business connection between a mobile phone and a pad, and it is also possible to establish a cooperative business connection between a mobile phone and a Magic Book or Smart TV.
然而,基于多设备协同统一管理前提下的协同业务建联过程中,可能会存在多设备协同业务的冲突问题,具体表现在第一电子设备和第二电子设备没有能够进行的协同业务,或第一电子设备和第二电子设备均支持协同业务,但该协同业务与第一电子设备和第二电子设备组成的设备组合支持的业务等,导致多设备协同业务无法正常建联。基于上述冲突问题,一般存在两种应用场景,一种是第一电子设备和第二电子设备均没有正在进行的协同业务。一种是存在业务冲突抢占,即第一电子设备存在正在进行的协同业务,或/和第二电子设备存在正在进行的协同业务。However, in the process of establishing a collaboration service based on the premise of multi-device collaboration and unified management, there may be conflicts between multi-device collaboration services. Both the first electronic device and the second electronic device support the collaborative service, but the collaborative service is combined with the services supported by the device composed of the first electronic device and the second electronic device, etc., resulting in the failure of the multi-device collaborative service to establish a connection normally. Based on the above-mentioned conflict problem, there are generally two application scenarios. One is that neither the first electronic device nor the second electronic device is in an ongoing collaborative service. One is that there is a service conflict preemption, that is, the first electronic device has an ongoing coordinated service, or/and the second electronic device has an ongoing coordinated service.
示例性说明1:参见图1B(10B)所示,为本申请实施例提供的一种主从电子设备没有跨设备协同业务的场景示意图,也即第一电子设备和第二电子设备没有正在进行的协同业务。其中,第二电子设备pad与第一电子设备手机没有跨设备协同业务,即第一电子设备与第二电子设备没有协同业务。示例性说明2:参见图1C,为本申请实施例提供的一种存在业务冲突抢占的示意图。其中,第一电子设备手机与pad正在进行跨设备协同业务,即pad与手机成为水泡连接形式。当拖拽第二电子设备Smart TV与手机建立,存在第一电子设备业务抢占。Exemplary Explanation 1: Refer to Figure 1B (10B), which is a schematic diagram of a scenario where the master-slave electronic device does not have cross-device collaborative services provided by the embodiment of the present application, that is, the first electronic device and the second electronic device are not in progress collaborative business. Wherein, the second electronic device pad and the first electronic device mobile phone have no cross-device coordination service, that is, the first electronic device and the second electronic device have no coordination service. Exemplary Explanation 2: Referring to FIG. 1C , it is a schematic diagram of preempting a service conflict provided by an embodiment of the present application. Among them, the first electronic device mobile phone and pad are conducting cross-device collaboration business, that is, the pad and mobile phone become a form of blister connection. When dragging and dropping the second electronic device Smart TV to establish with the mobile phone, there is business preemption of the first electronic device.
在本申请实施例提供了一种多设备协同冲突处理的方法中,通过业务信息,确定第一电子设备和第二设备的设备组合存在协同冲突,过滤掉存在多设备协同业务冲突的协同业务,使多设备协同业务正常进行建联。In the embodiment of the present application, a method for handling multi-device coordination conflicts is provided, through service information, it is determined that there is a coordination conflict in the device combination of the first electronic device and the second device, and the coordination services with multi-device coordination service conflicts are filtered out, Enable multi-device collaboration services to establish a connection normally.
本申请实施例的多设备协同冲突处理的方法可以应用于多种类型的具有显示功能的电子设备。The method for multi-device cooperative conflict handling in the embodiment of the present application can be applied to various types of electronic devices with a display function.
参见图2,为本申请实施例提供的电子设备的硬件结构示意图。该设备既可以作为多设备协同中的第一电子设备,也可以作为多设备协同中的第二电子设备。如图2所示,电子设备100可以包括处理器110,存储器120,通用串行总线(universal serial bus,USB)接口130,射频电路140,移动通信模块150,无线通信模块160,摄像头170,显示屏180,触摸传感器190,气压传感器210和按键220等。Referring to FIG. 2 , it is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application. The device can be used not only as the first electronic device in the multi-device coordination, but also as the second electronic device in the multi-device coordination. As shown in Figure 2, the electronic device 100 may include a processor 110, a memory 120, a universal serial bus (universal serial bus, USB) interface 130, a radio frequency circuit 140, a mobile communication module 150, a wireless communication module 160, a camera 170, a display screen 180, touch sensor 190, air pressure sensor 210 and buttons 220, etc.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用程序处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中,例如集成在系统芯片(system on a chip,SoC)中。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。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 processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated into one or more processors, for example, integrated into a system on a chip (SoC). A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or A universal serial bus (universal serial bus, USB) interface, etc.
存储器120可以用于存储计算机可执行程序代码,可执行程序代码包括指令。存储器120可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统、至少一个功能所需的应用程序程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,存储器120可以包括一个或者多个存储单元,例如可以包括易失性存储器(volatile memory),如:动态随机存取存储器(dynamic random access memory,DRAM)、静态随机存取存储器(static randomaccess memory,SRAM)等;还可以包括非易失性存储器(non-volatile memory,NVM),如:只读存储器(read-only memory,ROM)、闪存(flash memory)等。处理器110通过运行存储在存储器120的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用程序以及数据处理。The memory 120 may be used to store computer-executable program code, which includes instructions. The memory 120 may include an area for storing programs and an area for storing data. Wherein, the storage program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like. In addition, the memory 120 may include one or more storage units, for example, may include a volatile memory (volatile memory), such as: dynamic random access memory (dynamic random access memory, DRAM), static random access memory (static random access memory) , SRAM), etc.; may also include non-volatile memory (non-volatile memory, NVM), such as: read-only memory (read-only memory, ROM), flash memory (flash memory), etc. The processor 110 executes various functional application programs and data processing of the electronic device 100 by executing instructions stored in the memory 120 and/or instructions stored in a memory provided in the processor.
这里需要补充说明的是,本申请实施例所指的操作系统,包括但不限于Android操作系统、IOS操作系统、iPad OS、鸿蒙操作系统(HarmonyOS)、Windows操作系统、Linux操作系统、MAC OS操作系统、嵌入式系统等。What needs to be supplemented here is that the operating system referred to in the embodiment of this application includes but is not limited to Android operating system, IOS operating system, iPad OS, Hongmeng operating system (HarmonyOS), Windows operating system, Linux operating system, MAC OS operating system systems, embedded systems, etc.
电子设备100的无线通信功能可以通过射频电路140、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the radio frequency circuit 140, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
射频电路140可以包括至少一个天线141,用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。在一些实施例中,天线可以和调谐开关结合使用。The radio frequency circuit 140 may include at least one antenna 141 for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. In some embodiments, an antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用程序在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线141接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线141转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions including wireless communication such as 2G/3G/4G/5G for application programs on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 141, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 141 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用程序处理器。应用程序处理器通过音频设备(包括但不限于扬声器,受话器等)输出声音信号,或通过显示屏180显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application program processor. The application processor outputs sound signals through audio equipment (including but not limited to speakers, receivers, etc.), or displays images or videos through the display screen 180 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以包括无线保真(wireless fidelity,Wi-Fi)模块,蓝牙(bluetooth,BT)模块、GNSS模块、近距离无线通信技术(near field communication,NFC)模块、红外(infrared,IR)模块等。无线通信模块160可以是集成上述至少一个模块的一个或多个器件。无线通信模块160经由天线141接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线141转为电磁波辐射出去。The wireless communication module 160 may include a wireless fidelity (wireless fidelity, Wi-Fi) module, a bluetooth (bluetooth, BT) module, a GNSS module, a near field communication technology (near field communication, NFC) module, an infrared (infrared, IR) modules etc. The wireless communication module 160 may be one or more devices integrating at least one of the above modules. The wireless communication module 160 receives electromagnetic waves via the antenna 141 , 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 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 141 for radiation.
本申请实施例中,电子设备100的无线通信功能例如可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packetradio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-divisioncode division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),第五代移动通信技术新空口(5th generation mobile networks new radio,5G NR),BT,GNSS,WLAN,NFC,FM,和/或IR等功能。GNSS可以包括全球卫星定位系统(globalpositioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite basedaugmentation systems,SBAS)。In the embodiment of the present application, the wireless communication function of the electronic device 100 may include, for example, global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), 5th generation mobile networks new radio (5G NR), BT, GNSS, WLAN, NFC, FM, and/or IR functions. GNSS can include global positioning system (globalpositioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi-zenith satellite system) system, QZSS) and/or satellite based augmentation systems (SBAS).
摄像头170用于捕获静态图像或视频。摄像头170包括镜头和感光元件,物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupleddevice,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV,RYYB等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头170,N为大于1的正整数。Camera 170 is used to capture still images or video. The camera 170 includes a lens and a photosensitive element, and an object generates an optical image through the lens and is projected onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV, RYYB and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 170 , where N is a positive integer greater than 1.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用程序,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
显示屏180用于显示图像,视频等。显示屏180包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),MiniLED,MicroLED,Micro-OLED,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏180,N为大于1的正整数。The display screen 180 is used to display images, videos and the like. The display screen 180 includes a display panel. The display panel may 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), Mini LED, Micro LED, Micro-OLED, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 180 , where N is a positive integer greater than 1.
触摸传感器190,也称“触控器件”。触摸传感器190可以设置于显示屏180,由触摸传感器190与显示屏180组成触摸屏,也称“触控屏”。触摸传感器190用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用程序处理器,以确定触摸事件类型。可以通过显示屏180提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器190也可以设置于电子设备100的表面,与显示屏180所处的位置不同。The touch sensor 190 is also called "touch device". The touch sensor 190 may be disposed on the display screen 180, and the touch sensor 190 and the display screen 180 form a touch screen, also called “touch screen”. The touch sensor 190 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 the touch operation can be provided through the display screen 180 . In some other embodiments, the touch sensor 190 may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 180 .
气压传感器210用于测量气压。在一些实施例中,电子设备100通过气压传感器210测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 210 is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 210 to assist positioning and navigation.
按键220包括开机键,音量键等。按键220可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 220 include a power key, a volume key and the like. The key 220 may be a mechanical key. It can also be a touch button. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件组合实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
下面对本申请实施例提供的多设备协同方法的各方法步骤进行示例性说明。Each method step of the multi-device coordination method provided in the embodiment of the present application is exemplarily described below.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the software structure of the electronic device 100 is exemplarily described by taking an Android system with a layered architecture as an example.
图3是本申请实施例的电子设备100的软件结构框图。FIG. 3 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 3, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming 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.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 3, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。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, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part 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 program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),二维图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 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 the 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 various commonly used audio and video formats, as well as still image files, etc. 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, etc.
二维图形引擎是二维绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
本申请实施例的多设备协同冲突处理的方法主要应用在电子设备的应用程序层。具体应用于应用程序层的能力层、业务层和控制层。参见图4,为本申请实施例提供的一种应用程序层的架构框图。The method for multi-device collaboration conflict handling in the embodiment of the present application is mainly applied in the application program layer of the electronic device. Specifically applied to the capability layer, business layer and control layer of the application layer. Referring to FIG. 4 , it is an architectural block diagram of an application program layer provided by an embodiment of the present application.
本申请实施例分层架构包括三层,分别为业务层、控制层和能力层。其中业务层包括控制中心展示界面Control View和业务应用集。Control View为人机交互界面,用于显示多设备协同交互界面。Control View集成了系统界面(System User Interface,SystemUI)、通知栏卡片和控制中心全屏界面。The layered architecture of the embodiment of the present application includes three layers, namely, a service layer, a control layer, and a capability layer. The business layer includes the control center display interface Control View and business application set. Control View is a human-computer interaction interface for displaying a multi-device collaborative interaction interface. Control View integrates the system interface (System User Interface, SystemUI), the notification bar card and the full-screen interface of the control center.
其中,SystemUI提供下拉状态栏卡片的加载窗口,通过SystemUI可以加载设备在线业务的业务状态。Among them, the SystemUI provides a loading window for the pull-down status bar card, and the service status of the online service of the device can be loaded through the SystemUI.
通知栏卡片,用于呈现状态栏卡片的业务状态内容。The notification bar card is used to present the business status content of the status bar card.
控制中心全屏界面则用于展示全屏UI界面。The full-screen interface of the control center is used to display the full-screen UI interface.
业务应用集用于提供业务使用,接收业务调度以及进行业务处理。业务应用集集成了键鼠协同、通话协同、接续协同、随航等协同业务以及协同业务对应的服务开发工具包(profile Software Development Kit,profile SDK)。其中,profile SDK用于进行设备服务管理模块的写入以及读取的SDK。设备服务管理模块用于进行设备数据同步。业务应用集还可以集成其他协同业务及其该业务对应的profile SDK。在本申请实施例中,其他协同业务是满足第一电子设备与其他多设备连接的业务。在本申请实施例中,业务层还集成了控制中心SDK,用于与控制层交互。The business application set is used to provide business usage, receive business scheduling and perform business processing. The business application set integrates collaboration services such as keyboard and mouse collaboration, call collaboration, connection collaboration, and accompanying flight, as well as the service development kit (profile Software Development Kit, profile SDK) corresponding to the collaboration service. Among them, the profile SDK is used to write and read the device service management module. The device service management module is used for device data synchronization. The service application set can also integrate other collaborative services and their corresponding profile SDKs. In the embodiment of the present application, the other collaborative service is a service that satisfies the connection between the first electronic device and other multiple devices. In this embodiment of the application, the business layer also integrates the control center SDK for interacting with the control layer.
控制层作为多设备协同统一管理架构的核心模块,包括通信模块、设备管理模块、业务状态管理模块、业务调度管理模块和设置管理模块,还包括通信模块对应的通信模块SDK,设备管理模块对应的profile SDK和业务状态管理模块对应的profile SDK。As the core module of multi-device collaborative unified management architecture, the control layer includes communication module, device management module, business status management module, business scheduling management module and setting management module, and also includes communication module SDK corresponding to the communication module, and device management module corresponding The profile SDK corresponding to the profile SDK and the business status management module.
其中,通信模块实现两个控制中心的通信,包括跨设备指令分发和跨设备查询,并通过通信模块SDK与能力层的通信模块连接。通信模块还用于实现当业务在建连前需要通信,由控制中心进行转接。如果第一电子设备下发连接指令,但本设备无法发起,需要第二电子设备发起,则指令由第二电子设备进行建连。Among them, the communication module realizes the communication between the two control centers, including cross-device instruction distribution and cross-device query, and is connected with the communication module of the capability layer through the communication module SDK. The communication module is also used to realize the transfer by the control center when the business needs to communicate before establishing a connection. If the first electronic device issues a connection instruction, but the device cannot initiate the connection and needs to be initiated by the second electronic device, the instruction is to be established by the second electronic device.
设备管理模块用于通过profile SDK实时从设备服务管理模块获取管理与第一电子设备同账号设备的上下线信息、能力信息、服务状态等。设备管理模块包括在线设备、连接状态管理和所有设备能力集。其中,在线设备用于查询当前在线设备,连接状态管理用于查询当前设备是否连接,能否连接,所有设备能力集用于集中获取所有设备的多个设备状态。其中设备状态包括设备上下线信息、能力信息、服务状态等。The device management module is used to obtain and manage online and offline information, capability information, service status, etc. of devices with the same account as the first electronic device from the device service management module through the profile SDK in real time. The device management module includes online devices, connection status management and all device capability sets. Among them, the online device is used to query the current online device, the connection status management is used to query whether the current device is connected and whether it can be connected, and the all device capability set is used to centrally obtain multiple device states of all devices. The device status includes device online and offline information, capability information, service status, etc.
业务状态管理模块用于通过Profile SDK实时从设备服务管理模块读取第一电子设备和周边在线设备支持的业务信息,比如本申请支持的业务能力列表、业务开关、业务是否可被控制中心调度、具体某业务支持设备类型、具体某业务支持的连接方案、当前业务运行状态等。业务状态管理模块包括本设备业务集和业务状态管理。其中本设备业务集查询本设备支持的业务集合,业务状态管理用于查询在线设备支持的业务状态,并接收外部业务状态变化更新状态同步到控制中心展示界面。The business status management module is used to read the business information supported by the first electronic device and surrounding online devices from the device service management module in real time through the Profile SDK, such as the list of business capabilities supported by this application, business switches, whether the business can be dispatched by the control center, The type of equipment supported by a specific business, the connection scheme supported by a specific business, the current running status of the business, etc. The business status management module includes the equipment business set and business status management. Among them, the service set of the device queries the service set supported by the device, and the service status management is used to query the service status supported by the online device, and receives external service status changes to update the status and synchronize it to the display interface of the control center.
业务调度管理模块用于进行业务冲突判断,向用户发出提示,以及根据用户意图下发业务指令,即根据用户选择以及业务冲突回调业务进行业务连接、切换和断开。业务调度管理模块包括业务冲突调度和业务连接管理。其中业务冲突调度用于冲突处理。比如,手机支持投屏、pad支持投屏,但两者比如由于通知限制,导致两者不能共存,需要进行业务冲突调度进行业务冲突处理。业务连接管理用于管理多设备有没有协同业务,能否连接。The business scheduling management module is used to judge business conflicts, issue prompts to users, and issue business instructions according to user intentions, that is, to perform business connection, switching and disconnection according to user selection and business conflict callback services. The business scheduling management module includes business conflict scheduling and business connection management. Among them, business conflict scheduling is used for conflict handling. For example, mobile phones support screen projection, and pads support screen projection, but the two cannot coexist due to notification restrictions, and business conflict scheduling is required to handle business conflicts. Business connection management is used to manage whether multiple devices have collaborative services and whether they can be connected.
设置管理模块用于管理控制中心的相关设置,包括模式设置等。The setting management module is used to manage related settings of the control center, including mode setting and so on.
能力层包括通信模块的同账号发现、老业务发现兼容和连接传输,用于实现设备建连、传输和发现。能力层还包括设备服务管理模块,用于实现设备数据同步,比如上下线信息、能力信息、服务状态等设备数据同步,并将其保存在数据层的数据存储控制DataController进行模式持久化存储。The capability layer includes the discovery of the same account of the communication module, compatibility of old business discovery, and connection transmission, which are used to realize device connection establishment, transmission, and discovery. The capability layer also includes a device service management module, which is used to realize device data synchronization, such as device data synchronization such as online and offline information, capability information, and service status, and save it in the data storage control DataController of the data layer for persistent storage of patterns.
此外,本申请实施例还提供了一种协同工作系统,该系统包括第一电子设备和第二电子设备。第一电子设备的具体结构参见图2,第二电子设备具体结构参见图2,这里不再赘述。In addition, an embodiment of the present application also provides a collaborative work system, which includes a first electronic device and a second electronic device. Refer to FIG. 2 for the specific structure of the first electronic device, and refer to FIG. 2 for the specific structure of the second electronic device, which will not be repeated here.
为了更好的说明本申请实施例提供的多设备协同冲突处理的方法,首先对基于多设备协同统一管理的业务建联的实现时序图,进行介绍。In order to better illustrate the method for handling multi-device cooperative conflicts provided by the embodiment of the present application, firstly, an implementation sequence diagram of service establishment based on multi-device cooperative unified management is introduced.
参见图5,为本申请实施例提供的一种基于多设备协同统一管理的业务建联的实现时序图。具体包括:Referring to FIG. 5 , it is a sequence diagram of implementing service association based on multi-device coordinated unified management provided by the embodiment of the present application. Specifically include:
业务调度管理模块响应于用户执行对设备组合的第一业务的建联操作,从业务状态管理模块查询业务信息,并根据预设冲突规则判断第一业务的连接模式。根据第一业务的连接模式,确定业务建联结果。The service scheduling management module queries the service information from the service status management module in response to the user performing the establishment operation on the first service of the device combination, and judges the connection mode of the first service according to preset conflict rules. According to the connection mode of the first service, a service association establishment result is determined.
本申请实施例中,设备组合为第一电子设备和第二电子设备的组合。第一业务为第一电子设备和第二电子设备协同进行的业务。用户通过拖拽控制中心界面的第二电子设备等方式操作时,即用于执行主第二电子设备业务建联操作。业务调度管理模块获取Control view发送的请求业务调度指令,向业务状态管理模块发送业务状态查询指令,获取第一电子设备业务信息和第二电子设备的业务信息。其中,业务信息包括设备支持的业务名称、业务调度类型、正在进行的协同业务或业务支持的设备组合类型中至少一种。业务调度模块根据预设冲突规则确定第一业务的连接模式。在本申请实施例中,第一业务的连接模式包括不允许连接,允许连接和冲突抢占模式。根据第一业务的连接模式,确定业务建联结果。In this embodiment of the application, the device combination is a combination of the first electronic device and the second electronic device. The first service is a service jointly performed by the first electronic device and the second electronic device. When the user operates by dragging and dropping the second electronic device on the control center interface, it is used to perform the main second electronic device business association operation. The service scheduling management module obtains the requested service scheduling instruction sent by the Control view, sends a service status query instruction to the service status management module, and acquires the service information of the first electronic device and the service information of the second electronic device. Wherein, the service information includes at least one of the name of the service supported by the device, the type of service scheduling, the ongoing collaborative service, or the type of device combination supported by the service. The service scheduling module determines the connection mode of the first service according to preset conflict rules. In the embodiment of the present application, the connection mode of the first service includes connection not allowed, connection allowed and conflict preemption mode. According to the connection mode of the first service, a service association establishment result is determined.
具体的,当第一业务的连接模式为不允许连接模式时(原则1),通信模块进行控制中心界面弹出处理,使控制中心界面弹出无法建联标识。Specifically, when the connection mode of the first service is not allowed (principle 1), the communication module performs pop-up processing of the control center interface, so that the control center interface pops up an indication that the connection cannot be established.
当第一业务的连接模式为允许连接模式时(原则2),判断是否需要跨设备业务通信建联,即需要确定是否需要通过不同设备的通信模块进行连接。如是控制中心SDK向业务调度管理模块发送需要跨设备业务通信建联的指令,业务调度管理模块通过控制中心调度,实现两端设备的通信模块通信,比如信息交互和业务发起等,使主第二电子设备协同业务进行业务建联。如否,控制中心SDK直接进行业务建联。数据层的Data Controller记录本次建联业务状态。当下一次建联时,优选本次建联业务状态。同时控制中心SDK将业务状态变更更新到设备服务管理模块,或控制中心SDK通过广播方式通知业务状态管理模块进行更新。When the connection mode of the first service is the allowed connection mode (principle 2), it is necessary to determine whether cross-device service communication establishment is required, that is, it is necessary to determine whether connection through communication modules of different devices is required. For example, the control center SDK sends instructions to the business scheduling management module that require cross-device business communication to establish a connection. The electronic equipment cooperates with the business to establish a business association. If not, the SDK of the control center directly establishes a business association. The Data Controller in the data layer records the business status of this establishment. When establishing a new alliance next time, the business status of this establishment will be optimized. At the same time, the control center SDK updates the service state change to the device service management module, or the control center SDK notifies the service state management module to update by broadcasting.
当第一业务的连接模式为冲突强占模式时,其中冲突抢占模式为第一电子设备存在正在进行的业务,或第二电子设备存在正在进行的业务至少一种。首先将业务状态变更到设备服务管理模块,或通过广播方式通知业务状态管理模块进行更新,根据预设冲突规则,确定第一业务允许连接,根据原则2的处理方式,进行第一业务的建联。具体处理方式参考下文图6和图7A-7B所示,这里不再论述。如业务调度管理模块确定可进行调度建立,具体实现参见上一段原则2内容,这里不再论述。When the connection mode of the first service is the conflict preemption mode, the conflict preemption mode is at least one of the ongoing service of the first electronic device or the ongoing service of the second electronic device. First, change the business status to the device service management module, or notify the business status management module to update it by broadcasting, determine the first business to allow connection according to the preset conflict rules, and establish a connection with the first business according to the processing method of principle 2 . Refer to FIG. 6 and FIGS. 7A-7B below for specific processing methods, and will not be discussed here. If the business scheduling management module determines that scheduling can be established, see the content of principle 2 in the previous paragraph for specific implementation, and will not be discussed here.
参见图6,为本申请实施例提供的一种冲突处理方法流程图。该方法包括以下步骤:Referring to FIG. 6 , it is a flowchart of a conflict handling method provided by an embodiment of the present application. The method includes the following steps:
S101:读取第一电子设备和周边在线设备的业务信息。S101: Read service information of the first electronic device and surrounding online devices.
业务状态管理模块可以从设备服务管理模块读取第一电子设备业务信息和周边在线设备业务信息。The service state management module can read the service information of the first electronic device and the service information of peripheral online devices from the device service management module.
表1设备业务信息表Table 1 Equipment business information table
参见表1,为本申请实施例提供的设备业务信息。包括本申请支持业务列表,即设备支持的业务名称,业务开关状态,业务是否能支持控制中心调度(即业务调度类型),业务所能支持的设备形态(即业务支持的设备组合类型),业务所能支持的物理通道,业务当前运行状态(即正在进行的协同业务),以及当前使用的物理通道。See Table 1 for device service information provided in this embodiment of the application. Including the list of services supported by this application, that is, the name of the service supported by the device, the status of the service switch, whether the service can support control center scheduling (that is, the type of service scheduling), the device form that the service can support (that is, the type of device combination supported by the service), and the service The physical channels that can be supported, the current running status of the service (that is, the ongoing collaborative service), and the currently used physical channel.
S102:进行第一电子设备和第二电子设备交互,建立设备组合。S102: Perform interaction between the first electronic device and the second electronic device, and establish a device combination.
用户通过拖拽控制中心界面第二电子设备等方式实现第一电子设备和第二电子设备交互,建立设备组合,用于指代第一电子设备和第二电子设备。The user realizes the interaction between the first electronic device and the second electronic device by dragging and dropping the second electronic device on the interface of the control center, and establishes a device combination to refer to the first electronic device and the second electronic device.
S103:判断设备组合是否均处于无业务状态。若是,执行S105,若否,执行S104。S103: Determine whether all device combinations are in a no-service state. If yes, execute S105; if not, execute S104.
在本申请实施例中,判断设备组合的是否处于无业务状态,即判断第一电子设备和第二电子设备是否有与其他设备正在进行协同业务。如果第一电子设备和第二电子设备处于无业务状态,即当前主第二电子设备均未与其他设备正在建立协同业务。如果第一电子设备与第二电子设备处于业务状态,是指第一电子设备与其他设备正在建立协同业务,或第二电子设备与其他设备正在建立协同业务。In the embodiment of the present application, it is judged whether the combination of devices is in a no-service state, that is, it is judged whether the first electronic device and the second electronic device are conducting coordinated services with other devices. If the first electronic device and the second electronic device are in a no-service state, that is, the current master second electronic device is not establishing coordinated services with other devices. If the first electronic device and the second electronic device are in a service state, it means that the first electronic device is establishing a coordinated service with other devices, or the second electronic device is establishing a coordinated service with other devices.
S104:判断设备组合是否均能够被调度。若业务均可被调度,执行S105。否则,执行S115。S104: Determine whether all device combinations can be scheduled. If all services can be scheduled, go to S105. Otherwise, execute S115.
当第一电子设备和第二电子设备中至少一端设备正在与其他设备进行协同业务,判断当前业务是否可被控制中心调度。示例性说明:When at least one of the first electronic device and the second electronic device is performing collaborative services with other devices, it is determined whether the current service can be dispatched by the control center. Exemplary instructions:
表2业务调度示意表Table 2 Schematic diagram of business scheduling
表2为本申请实施例提供的一种业务调度示意表,为控制中心内存表,表示协同业务能否被控制中心调度。其中,N/A表示当前业务不能被控制中心调度,其他表示当前业务可以被控制中心调度。示例性说明:若PC与平板正在进行协同业务A,建立两个平板设备协同业务,则当前业务协同业务A无法通过平板的控制中心被其他平板调度。此时,一端设备正在与其他设备进行协同业务,当前业务不可以被控制中心调度。若建立PC与折叠屏的协同业务,则表示当前业务协同业务A可以被控制中心调度。本领域技术人员注意的是,上述业务调度示意表仅为示意性说明,不限定在就这几个特性,支持所有多设备特性。Table 2 is a schematic table of service scheduling provided by the embodiment of the present application, which is a memory table of the control center, indicating whether the collaborative service can be scheduled by the control center. Among them, N/A indicates that the current service cannot be scheduled by the control center, and others indicate that the current service can be scheduled by the control center. Exemplary explanation: If a PC and a tablet are performing collaborative service A, and a collaborative service is established between two tablet devices, the current service collaborative service A cannot be scheduled by other tablets through the control center of the tablet. At this time, one end device is cooperating with other devices, and the current service cannot be scheduled by the control center. If the collaborative service between the PC and the folding screen is established, it means that the current service collaborative service A can be dispatched by the control center. It should be noted by those skilled in the art that the above service scheduling table is only a schematic illustration, and is not limited to these features, and supports all multi-device features.
S105:判断设备组合是否存在业务交集,若是,执行S106。否则执行S115。S105: Determine whether there is a service intersection in the device combination, and if so, execute S106. Otherwise, execute S115.
示例性说明:第一电子设备存在无线投屏业务,第二电子设备也存在无线投屏业务,表示设备组合存在业务交集。比如,第一电子设备存在无线投屏业务,第二电子设备存在屏幕镜像、屏幕扩展和屏幕镜像业务,表示设备组合不存在业务交集。Exemplary explanation: the first electronic device has a wireless screen projection service, and the second electronic device also has a wireless screen projection service, indicating that there is a service intersection between the device combinations. For example, the first electronic device has a wireless screen projection service, and the second electronic device has screen mirroring, screen extension, and screen mirroring services, which means that there is no business intersection between the device combinations.
S106:判断设备组合是否匹配。若是,执行S107。否则执行S115。S106: Determine whether the device combination matches. If yes, execute S107. Otherwise, execute S115.
示例性说明:假设当前业务为通知协同,支持通知协同的电子设备为手机、平板、PC。若第一电子设备为手机,第二电子设备为大屏显示设备,表示设备组合不匹配。如果第一电子设备为手机,第二电子设备为平板,表示设备组合匹配。Exemplary description: Assume that the current service is notification coordination, and the electronic devices that support notification coordination are mobile phones, tablets, and PCs. If the first electronic device is a mobile phone and the second electronic device is a large-screen display device, it means that the device combination does not match. If the first electronic device is a mobile phone and the second electronic device is a tablet, it means that the device combination matches.
S107:得到可用的待触发业务列表。S107: Obtain a list of available services to be triggered.
在本申请实施例中,待触发业务列表是指第一电子设备和第二电子设备支持的协同业务。如存在多种协同业务,比如表2所示,折叠屏与PC存在协同业务A和协同业务B,以列表的形式存储两个协同业务。In this embodiment of the present application, the list of services to be triggered refers to coordinated services supported by the first electronic device and the second electronic device. If there are multiple collaborative services, as shown in Table 2, there are collaborative service A and collaborative service B between the folding screen and the PC, and the two collaborative services are stored in the form of a list.
S108:读取设备组合上次业务记录。S108: Read the last business record of the device combination.
S109:无记录,则从预设业务优先级读取默认优先级,依照默认优先级,触发业务。有记录,依照上次记录触发业务。S109: If there is no record, read the default priority from the preset service priority, and trigger the service according to the default priority. If there is a record, the service will be triggered according to the last record.
如果第一电子设备和第二电子设备建立过协同业务,则数据存储中心对上一次第一业务的连接模式记录。本次使用时,可以查询上一次业务状态,并利用上一次业务状态建立本次协同业务。如果没有上一次业务,即第一电子设备和第二电子设备为首次建立协同业务,则通过预设业务优先级读取默认的优先级。预设业务优先级为内嵌于控制中心的可调度业务表,具体预设业务优先级表如表2所示。当设备存在多种协同业务时,比如折叠屏(展开)与PC存在手机与PC协同业务B,平板与PC协同业务A,预设手机与PC协同业务B优先级高于平板与PC协同业务A,即本次触发业务为手机与PC协同业务B。If the first electronic device and the second electronic device have established a cooperative service, the data storage center records the last connection mode of the first service. When using this time, you can query the last business status, and use the last business status to establish this collaborative business. If there is no previous service, that is, the first electronic device and the second electronic device are establishing a cooperative service for the first time, the default priority is read through the preset service priority. The preset service priority is a schedulable service table embedded in the control center, and the specific preset service priority table is shown in Table 2. When there are multiple collaborative services on the device, for example, there are mobile phone and PC collaborative service B and tablet and PC collaborative service A with the folding screen (expanded) and PC, and the priority of mobile phone and PC collaborative service B is higher than that of tablet and PC collaborative service A. , that is, the trigger service this time is the mobile phone and PC collaboration service B.
S110:判断第一电子设备和第二电子设备当前是否存在互斥业务。若不存在互斥业务,执行S115。否则执行S111。S110: Determine whether the first electronic device and the second electronic device currently have mutually exclusive services. If there is no mutually exclusive service, execute S115. Otherwise, execute S111.
在本申请实施例中,主第二电子设备当前是否存在互斥业务,是指“正在进行跨设备运行中的业务”与“第一电子设备与第二电子设备协同业务”是否能够共存。比如手机与PC正在协同业务B,若建立手机与平板协同业务A,比如随航业务,手机与平板协同业务A与手机与PC协同业务B存在互斥,不能共存。In this embodiment of the present application, whether the main second electronic device currently has a mutually exclusive service refers to whether the "service running across devices" and the "cooperative service between the first electronic device and the second electronic device" can coexist. For example, mobile phone and PC are coordinating service B. If mobile phone and tablet coordinating service A is established, such as accompanying service, mobile phone and tablet coordinating service A and mobile phone and PC coordinating service B are mutually exclusive and cannot coexist.
S111:询问用户是否终止当前设备业务,启动新业务。S111: Ask the user whether to terminate the current device service and start a new service.
在控制中心界面设置询问用户是否终止当前设备业务提示框和启动新业务提示框。若用户选择终止当前设备的协同业务建立新的协同业务,则向两端有业务的设备下发停止指令,待完成停止操作后,下发建立新业务的指令。On the interface of the control center, set a prompt box asking the user whether to terminate the current device service and start a new service prompt box. If the user chooses to terminate the collaborative service of the current device and establish a new collaborative service, a stop instruction will be issued to the devices with services at both ends, and after the stop operation is completed, an instruction to establish a new service will be issued.
此外,本申请实施例中,提示框还向用户提供不再提示的选择,如果用户选择不再提示则后续不再向用户弹出“中断当前提示”的询问。如果用户没有选择是否“不再提示”,则后续对应的场景需要继续向用户进行操作询问。In addition, in the embodiment of the present application, the prompt box also provides the user with the option of not prompting again, and if the user chooses not to prompt, the subsequent query of "interrupting the current prompt" will not pop up to the user. If the user does not choose whether to "don't prompt again", the subsequent corresponding scene needs to continue to ask the user for operation.
S112:获取用户确认结果。S112: Obtain a user confirmation result.
S113:当用户确认终止当前设备业务时,终止第一电子设备和第二电子设备当前业务。S113: Terminate the current services of the first electronic device and the second electronic device when the user confirms to terminate the service of the current device.
S114:下发调度指令,第一电子设备与第二电子设备建立目标业务。S114: Issue a scheduling instruction, and the first electronic device establishes a target service with the second electronic device.
S115:无业务触发,弹出提示。S115: No service is triggered, and a prompt pops up.
在本申请实施例提供的多设备协同冲突处理的方法中,通过第二电子设备服务管理模块获取第一电子设备和第二电子设备的业务状态,判断第一电子设备和第二电子设备是否存在跨设备协同业务,正在进行的跨设备协同业务能否被控制中心调度,第一电子设备和第二电子设备的业务交集以及所能支持的设备类型是否匹配,是否存在互斥,过滤没有协同业务,或存在业务抢占的协同业务。使多设备协同业务正常进行建联。In the multi-device collaborative conflict handling method provided in the embodiment of the present application, the service status of the first electronic device and the second electronic device is acquired through the second electronic device service management module, and it is judged whether the first electronic device and the second electronic device exist Cross-device collaboration services, whether the ongoing cross-device collaboration services can be scheduled by the control center, whether the business intersection of the first electronic device and the second electronic device and the types of devices that can be supported match, whether there is mutual exclusion, and filtering without collaboration services , or a collaborative service with service preemption. Enable multi-device collaboration services to establish a connection normally.
下面,本申请以Android设备为例,详细介绍本申请实施例提供的多设备协同冲突处理方法的具体实现。参见图7A-7B,为本申请实施例提供的一种多设备协同业务冲突处理交互时序图。具体包括:Next, this application takes an Android device as an example to introduce in detail the specific implementation of the multi-device collaboration conflict handling method provided by the embodiment of this application. Referring to FIGS. 7A-7B , it is an interaction sequence diagram of multi-device collaborative service conflict handling provided by the embodiment of the present application. Specifically include:
S31:设备状态管理模块和业务状态管理模块第二电子设备服务管理模块读取第一电子设备业务状态和第一电子设备支持业务列表,读取周边在线设备的业务状态和第二电子设备支持业务列表。S31: Device status management module and business status management module The second electronic device service management module reads the business status of the first electronic device and the list of services supported by the first electronic device, reads the business status of peripheral online devices and the business supported by the second electronic device list.
设备状态管理模块向设备服务管理模块发送请求第一电子设备业务状态指令。设备服务管理模块将第一电子设备的业务状态和支持业务列表返回给业务状态管理模块。设备管理模块向设备服务管理模块发送请求读取周边在线设备的设备状态指令,并第二电子设备服务管理模块获取周边在线设备的设备状态。同时设备管理模块向业务状态管理模块发送通知查询注册周边设备业务状态指令。业务状态管理模块接收到通知查询注册周边设备业务状态指令后,向设备服务管理模块发送读取周边在线设备业务状态指令,第二电子设备服务管理模块获取周边在线设备的业务状态和第二电子设备支持业务列表。The device status management module sends an instruction requesting the service status of the first electronic device to the device service management module. The device service management module returns the service status and supported service list of the first electronic device to the service status management module. The device management module sends an instruction requesting to read the device status of the peripheral online devices to the device service management module, and the second electronic device service management module obtains the device status of the peripheral online devices. At the same time, the device management module sends a notification to the business status management module to inquire about the business status of the registered peripheral devices. After the business status management module receives the instruction of inquiring and registering the business status of the peripheral equipment, it sends an instruction to read the business status of the peripheral online equipment to the equipment service management module, and the second electronic device service management module obtains the business status of the peripheral online equipment and the second electronic device Support business list.
S32:业务冲突调度响应于用户执行主第二电子设备业务建联的操作,从业务状态管理模块获取第一电子设备和第二电子设备的业务状态和支持业务列表。S32: Service Conflict Scheduling Responding to the user's operation of creating a service connection between the main second electronic device, the service status and supported service list of the first electronic device and the second electronic device are obtained from the service status management module.
用户在Control view通过拖拽控制中心界面等方式操作时,即用户执行主第二电子设备业务建联操作,触发设备业务冲突查询。业务冲突调度获取触发设备业务冲突查询指令,向业务状态管理模块发送查询主第二电子设备的业务状态和支持业务列表指令,并从业务状态管理模块获取第一电子设备业务状态和支持业务列表,以及第二电子设备业务状态和支持业务列表。When the user operates in the Control view by dragging and dropping the control center interface, that is, the user performs the operation of establishing a service connection between the primary and secondary electronic devices, which triggers a device service conflict query. The business conflict scheduling obtains the trigger device business conflict query instruction, sends an instruction to query the business status and supported service list of the main second electronic device to the business status management module, and obtains the business status and supported business list of the first electronic device from the business status management module, And the service status and supported service list of the second electronic device.
S33:业务冲突调度响应于第一电子设备和第二电子设备存在至少一端的当前业务无法被调度,向Control View发送存在至少一端的当前业务无法被调度指令,控制中心界面提示用户当前不允许连接指令,流程结束。业务冲突调度响应于第一电子设备和第二电子设备的当前业务被调度或无业务,执行S34。S33: Service Conflict Scheduling In response to the first electronic device and the second electronic device having at least one terminal whose current service cannot be scheduled, send an instruction to Control View that the current service of at least one terminal cannot be scheduled, and the control center interface prompts the user that the connection is currently not allowed instruction, the process ends. Service Conflict Scheduling In response to the fact that the current services of the first electronic device and the second electronic device are scheduled or there is no service, S34 is executed.
业务冲突调度判断第一电子设备和第二电子设备是否存在至少一端的当前业务无法被调度。即第一电子设备和第二电子设备至少一端与其他设备存在正在进行的协同业务,且该协同业务无法进行调度。如上文表2所述内容,若PC与平板正在进行协同业务A,建立两个平板设备协同业务,则当前业务协同业务A无法通过平板的控制中心被其他平板调度。此时,一端设备正在与其他设备进行协同业务,当前业务不可以被控制中心调度。The service conflict scheduling determines whether the current service of at least one end of the first electronic device and the second electronic device cannot be scheduled. That is, at least one end of the first electronic device and the second electronic device has an ongoing coordinated service with other devices, and the coordinated service cannot be scheduled. As mentioned in Table 2 above, if the PC and the tablet are performing collaborative service A, and the collaborative service is established between two tablet devices, the current service collaborative service A cannot be scheduled by other tablets through the control center of the tablet. At this time, one end device is cooperating with other devices, and the current service cannot be scheduled by the control center.
当业务冲突调度获取主第二电子设备至少一端的当前业务无法被调度的情况,向Control View发送存在至少一端的当前业务无法被调度指令,控制中心界面提示用户当前不允许连接指令。在一种可能的实现方式中,控制中心界面显示提示对话框,提示无法建立。示例性说明:如图8为本申请实施例提供的一种无法建立连接提示示意图。第一电子设备手机与magic book正在进行协同业务,用户拖拽smartTV,由于当前第一电子设备手机正在进行当前业务无法被调度,“智慧互联”界面显示提示对话框“smartTV不允许与手机建联”。在另一种可能的实现方式中,控制中心界面直接将第二电子设备弹出。本申请实施例不对无法建立连接的提示进行限定。When the business conflict scheduling acquires that the current business of at least one end of the primary and second electronic devices cannot be scheduled, an instruction is sent to the Control View that the current business of at least one end cannot be scheduled, and the control center interface prompts the user that the connection command is currently not allowed. In a possible implementation manner, a prompt dialog box is displayed on the interface of the control center, prompting that the establishment cannot be established. Exemplary description: FIG. 8 is a schematic diagram of a prompt that a connection cannot be established provided in the embodiment of the present application. The mobile phone of the first electronic device and the magic book are in the collaborative business. The user drags and drops the smartTV. Since the mobile phone of the first electronic device is in the current business and cannot be scheduled, the "smart interconnection" interface displays a prompt dialog box "smartTV is not allowed to establish a connection with the mobile phone. ". In another possible implementation manner, the control center interface directly ejects the second electronic device. The embodiment of the present application does not limit the prompt that the connection cannot be established.
S34:业务冲突调度检查第一电子设备和第二电子设备的业务状态为开的业务交集。业务冲突调度响应于第一电子设备和第二电子设备不存在业务交集,将无业务交集指令发送给Control View,以控制控制中心界面提示用户当前不允许连接,流程结束。当业务冲突调度响应于第一电子设备和第二电子设备存在业务交集时,执行S35。S34: The service conflict scheduling checks the service intersection in which the service states of the first electronic device and the second electronic device are ON. In response to the fact that there is no service intersection between the first electronic device and the second electronic device, the service conflict scheduling sends a no service intersection command to Control View, and the control center interface prompts the user that connection is currently not allowed, and the process ends. When the service conflict scheduling responds to the intersection of services between the first electronic device and the second electronic device, S35 is executed.
S35:业务冲突调度响应于协同业务支持的设备类型与当前设备组合不匹配,向Control View发送两端不支持建立新业务指令,Control View控制控制中心界面提示用户当前不允许连接,流程结束。业务冲突调度响应于协同业务支持的设备类型与当前设备组合匹配,执行S36。S35: Service Conflict Scheduling In response to the fact that the device type supported by the collaborative service does not match the current device combination, an instruction is sent to Control View that both ends do not support the establishment of a new service, and the Control View control center interface prompts the user that connection is currently not allowed, and the process ends. Service conflict scheduling In response to matching the device type supported by the collaborative service with the current device combination, execute S36.
S36:业务冲突调度从Data Controller读取设备组合上次业务记录,当不存在上次记录时,选择预设优先级最高业务建联。S36: Business conflict scheduling reads the last business record of the equipment combination from the Data Controller, and if there is no last record, selects the highest priority service to establish a connection.
业务冲突调度向Data Controller发送读取设备组合上次业务记录指令,DataController将存储的上次业务记录返回。如果不存在上次记录,业务冲突调度从预设优先级表中选择优先级最高业务进行业务建联。The business conflict scheduling sends an instruction to read the last business record of the equipment combination to the Data Controller, and the Data Controller returns the stored last business record. If the last record does not exist, the service conflict scheduling selects the service with the highest priority from the preset priority table for service establishment.
S37:当设备组合当前存在互斥业务且未设置不再提示对话框,业务冲突调度向Control View发送请求用户确认指令,确认是否终止当前设备业务,启动新业务,用户拒绝,流程结束指令返回业务冲突调度结束冲突处理。S37: When the device combination currently has mutually exclusive services and no dialog box is not set, the service conflict dispatcher sends a command to Control View to request user confirmation to confirm whether to terminate the current device service and start a new service. If the user refuses, the process end command returns to the service Conflict scheduling ends conflict processing.
示例性说明:如图9,为本申请实施例提供的一种请求用户确认提示框示意图。当用户点击“拒绝”标识,表示用户拒绝,控制中心界面显示不允许连接提示框。Exemplary description: Fig. 9 is a schematic diagram of a prompt box for requesting user confirmation provided by the embodiment of this application. When the user clicks the "Reject" logo, it means that the user refuses, and the control center interface displays a prompt box that does not allow the connection.
值得注意的时,当前设备组合用户确认终止当前设备业务,或控制中心界面设置不再提示,启动新业务,执行S38。When it is worth noting, the current device combination user confirms to terminate the current device service, or the control center interface is set to stop prompting, start a new service, and execute S38.
如果当前设备组合不存在互斥业务,直接执行S39。If there is no mutually exclusive service in the current device combination, directly execute S39.
S38:业务冲突调度向业务连接管理发送通知发出停止当前业务指令,并获取终止当前业务结果。S38: The service conflict scheduling sends a notification to the service connection management to issue an instruction to stop the current service, and obtains a result of terminating the current service.
当设备存在互斥业务为第一电子设备存在互斥业务,业务连接管理向控制中心SDK发送通知业务终止指令。控制中心SDK终止当前第一电子设备互斥业务,并将处理结果返回给业务连接管理。When the mutually exclusive service exists on the first electronic device, the service connection management sends a notification service termination instruction to the control center SDK. The control center SDK terminates the mutual exclusion service of the current first electronic device, and returns the processing result to the service connection management.
当设备存在互斥业务为第二电子设备存在互斥业务,业务连接管理通过第一电子设备控制层通信模块,能力层通信模块,以及第二电子设备能力层通信模块和控制层通信模块,发送给第二电子设备业务连接管理,业务连接管理向第二电子设备控制中心SDK发送通知业务终止指令。第二电子设备控制中心SDK停止当前第二电子设备互斥业务,并通过第二电子设备能力层通信模块和控制层通信模块,以及第一电子设备控制层通信模块,能力层通信模块返回给业务连接管理。业务连接管理向业务冲突调度发送业务停止结果。When the mutually exclusive service exists on the device and the mutually exclusive service exists on the second electronic device, the service connection management is sent through the first electronic device control layer communication module, the capability layer communication module, and the second electronic device capability layer communication module and control layer communication module. To the second electronic device service connection management, the service connection management sends a notification service termination instruction to the second electronic device control center SDK. The second electronic device control center SDK stops the current mutually exclusive service of the second electronic device, and returns to the service through the second electronic device capability layer communication module and control layer communication module, as well as the first electronic device control layer communication module and the capability layer communication module Connection management. The service connection management sends the service stop result to the service conflict scheduler.
S39:业务冲突调度向业务连接管理发送建立新业务指令,业务连接管理控制中心SDK发送调度指令,与第二电子设备建立协同业务。S39: The service conflict scheduling sends an instruction to establish a new service to the service connection management, and the service connection management control center SDK sends a scheduling instruction to establish a coordinated service with the second electronic device.
示例性说明1:参见图10,为本申请实施例提供的一种主第二电子设备无协同业务的建联示意图。第一电子设备手机为其他Android手机,第二电子设备为笔记本。第一电子设备和第二电子设备均没有正在进行的跨设备业务。且第一电子设备和第二电子设备没有协同的业务。拖拽笔记本至距离手机在预设距离范围内,直接弹回笔记本。即该手机与笔记本不能建立协同业务。Exemplary Explanation 1: Refer to FIG. 10 , which is a schematic diagram of establishing a connection between a master and a second electronic device without cooperative services provided by an embodiment of the present application. The first electronic device mobile phone is another Android mobile phone, and the second electronic device is a notebook. Neither the first electronic device nor the second electronic device has an ongoing cross-device service. And the first electronic device and the second electronic device do not have coordinated services. Drag the notebook until it is within the preset distance from the phone, and it will bounce back to the notebook directly. That is, the mobile phone and the notebook cannot establish collaborative services.
示例性说明2:参见图11,为本申请实施例提供的一种第二电子设备存在正在进行跨设备业务的建立示意图。第一电子设备为手机,第二电子设备为笔记本,笔记本正在进行跨设备屏幕镜像业务。屏幕镜像业务可被手机控制中心调度。手机与笔记本存在业务交集,且要进行的协同业务支持手机和笔记本的设备组合。但要建立的协同业务与正在进行的屏幕镜像业务存在互斥。拖拽笔记本至距离手机在预设距离范围内,控制中心界面出现提示框,提示“用户确是否终止当前设备业务”。用户点击“拒绝”,直接弹回笔记本。Exemplary Explanation 2: Referring to FIG. 11 , it is a schematic diagram of establishing a cross-device service in the presence of a second electronic device provided by an embodiment of the present application. The first electronic device is a mobile phone, the second electronic device is a notebook, and the notebook is performing a cross-device screen mirroring service. The screen mirroring service can be dispatched by the mobile phone control center. Mobile phones and notebooks have business intersections, and the collaborative business to be carried out supports the combination of mobile phones and notebooks. However, the collaboration service to be established and the ongoing screen mirroring service are mutually exclusive. Drag and drop the notebook until it is within the preset distance from the mobile phone, and a prompt box will appear on the interface of the control center, prompting "the user confirms whether to terminate the current device service". The user clicks "Decline" and it bounces back directly to the notebook.
本申请实施例提供的多设备协同冲突处理方式,可以处理基于多设备协同统一管理的业务建联过程中存在的无协同业务,和主第二电子设备存在业务抢占问题。过滤掉无协同业务。针对主第二电子设备存在业务抢占问题,在确定主第二电子设备存在协同业务条件下,针对主第二电子设备是否存在互斥,进行不同处理。使多设备协同可以正常建联。The multi-device collaboration conflict handling method provided by the embodiment of the present application can deal with the non-cooperative service existing in the service establishment process based on multi-device cooperative unified management, and the problem of service preemption by the primary and secondary electronic devices. Filter out non-cooperative services. For the service preemption problem of the main second electronic device, different processing is performed on whether the main second electronic device has mutual exclusion under the condition that the main second electronic device has cooperative services. Enable multi-device collaboration to establish a connection normally.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
在本实施例所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this embodiment, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described embodiments are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of this embodiment may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium In, several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application should be covered within the protection scope of the application . Therefore, the protection scope of the present application should be determined by the protection scope of the claims.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211321160.7A CN116679998B (en) | 2022-10-26 | 2022-10-26 | Multi-device cooperative conflict processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211321160.7A CN116679998B (en) | 2022-10-26 | 2022-10-26 | Multi-device cooperative conflict processing method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116679998A true CN116679998A (en) | 2023-09-01 |
CN116679998B CN116679998B (en) | 2024-06-21 |
Family
ID=87781517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211321160.7A Active CN116679998B (en) | 2022-10-26 | 2022-10-26 | Multi-device cooperative conflict processing method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116679998B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114240403A (en) * | 2021-12-31 | 2022-03-25 | 恒生电子股份有限公司 | Collaborative information processing method and device, electronic equipment and storage medium |
CN114629932A (en) * | 2020-12-10 | 2022-06-14 | 荣耀终端有限公司 | Collaboration method between electronic devices and electronic device |
CN114726711A (en) * | 2022-03-23 | 2022-07-08 | 海能达通信股份有限公司 | Method and system for collaboratively processing business between devices |
CN115002937A (en) * | 2022-07-18 | 2022-09-02 | 荣耀终端有限公司 | Multi-device cooperation method, electronic device and related product |
-
2022
- 2022-10-26 CN CN202211321160.7A patent/CN116679998B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114629932A (en) * | 2020-12-10 | 2022-06-14 | 荣耀终端有限公司 | Collaboration method between electronic devices and electronic device |
CN114240403A (en) * | 2021-12-31 | 2022-03-25 | 恒生电子股份有限公司 | Collaborative information processing method and device, electronic equipment and storage medium |
CN114726711A (en) * | 2022-03-23 | 2022-07-08 | 海能达通信股份有限公司 | Method and system for collaboratively processing business between devices |
CN115002937A (en) * | 2022-07-18 | 2022-09-02 | 荣耀终端有限公司 | Multi-device cooperation method, electronic device and related product |
Also Published As
Publication number | Publication date |
---|---|
CN116679998B (en) | 2024-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115002937B (en) | Multi-device cooperation method, electronic device and related product | |
US11385857B2 (en) | Method for displaying UI component and electronic device | |
WO2021121052A1 (en) | Multi-screen cooperation method and system, and electronic device | |
WO2023005711A1 (en) | Service recommendation method and electronic device | |
CN115314591A (en) | Device interaction method, electronic device, and computer-readable storage medium | |
US20240086035A1 (en) | Display Method and Electronic Device | |
CN117980882A (en) | System and method for displaying and controlling remote equipment tasks | |
CN118860249A (en) | Device interaction method, electronic device and system | |
WO2024178962A1 (en) | Method for sharing file, electronic device, and computer-readable storage medium | |
WO2024078412A1 (en) | Cross-screen sharing method, graphical interface, and related apparatus | |
CN115480670A (en) | Navigation bar display method, navigation bar display method and first electronic equipment | |
CN116679998B (en) | Multi-device cooperative conflict processing method and electronic device | |
CN118535110A (en) | A business flow method and device | |
CN116679895B (en) | Collaborative business scheduling method, electronic equipment and collaborative system | |
EP4468814A1 (en) | Multi-device cooperation method, electronic device and related product | |
WO2023071590A1 (en) | Input control method and electronic device | |
CN117724640B (en) | Split screen display method, electronic equipment and storage medium | |
WO2024179161A1 (en) | Screen splitting method and apparatus, electronic device, and computer readable storage medium | |
WO2024175070A1 (en) | Function collaboration method and electronic device | |
CN117931385A (en) | Information interaction method, electronic device and collaborative working system | |
WO2024230434A1 (en) | Method for implementing media playback control, electronic device, system, and readable storage medium | |
CN117931384A (en) | Service access method, system, electronic equipment and storage medium | |
WO2023045774A1 (en) | Display method and electronic device | |
WO2025026085A1 (en) | Short-range communication method, electronic device and computer storage medium | |
WO2024087807A1 (en) | Cooperative control method and apparatus, and electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |