[go: up one dir, main page]

CN114726711A - Method and system for collaboratively processing business between devices - Google Patents

Method and system for collaboratively processing business between devices Download PDF

Info

Publication number
CN114726711A
CN114726711A CN202210292941.1A CN202210292941A CN114726711A CN 114726711 A CN114726711 A CN 114726711A CN 202210292941 A CN202210292941 A CN 202210292941A CN 114726711 A CN114726711 A CN 114726711A
Authority
CN
China
Prior art keywords
network
service
collaborative
devices
feature information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210292941.1A
Other languages
Chinese (zh)
Inventor
杨建武
王悠琴
左银丽
曹琳琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN202210292941.1A priority Critical patent/CN114726711A/en
Publication of CN114726711A publication Critical patent/CN114726711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method and a system for cooperatively processing services among devices, wherein the method comprises the following steps: a first device receives a cooperative service request sent by a second device, wherein the cooperative service request is used for representing that the second device requests a cooperative processing service to other devices in a multi-device cooperative network; the first device and the second device are devices in the multi-device cooperative network, the multi-device cooperative network includes multiple devices, and the first device is a master device in the multi-device cooperative network; the first device determines that a third device in the multi-device cooperative network cooperatively processes the service based on the cooperative service request; wherein the third device is a device in the multi-device cooperative network other than the second device. By the method and the device, the technical problem that in the prior art, after the equipment for executing the service breaks down, other equipment cannot be requested to perform cooperative operation to ensure normal execution of the service is solved.

Description

设备间协同处理业务的方法及系统Method and system for collaboratively processing services between devices

技术领域technical field

本申请涉及通信技术领域,特别是涉及一种设备间协同处理业务的方法及系统。The present application relates to the field of communication technologies, and in particular, to a method and system for collaboratively processing services between devices.

背景技术Background technique

专网通信已进入窄带过渡到宽带的快速发展阶段,在宽带化的过程中,存在大量窄带与宽带并存的应用场景,且用户使用的终端设备存在制式多样化并存的情况。现有技术中的设备只支持单终端的网络或硬件资源的融合,导致在设备执行业务的同时出现故障后无法请求其他设备协同作业,以保障业务的正常执行。Private network communication has entered a stage of rapid development from narrowband to broadband. In the process of broadbandization, there are a large number of application scenarios where narrowband and broadband coexist, and the terminal equipment used by users has a variety of standards. The devices in the prior art only support the integration of network or hardware resources of a single terminal, so that other devices cannot be requested to cooperate with each other after a failure occurs while the device is executing a service, so as to ensure the normal execution of the service.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的在于提供一种设备间协同处理业务的方法及系统,解决了现有技术中在执行业务的设备出现故障后无法请求其他设备协同作业以保障业务正常执行的技术问题。具体技术方案如下:The purpose of the embodiments of the present application is to provide a method and system for collaboratively processing services between devices, which solves the technical problem in the prior art that after a device executing a service fails, other devices cannot be requested to cooperate to ensure normal service execution. The specific technical solutions are as follows:

在本申请实施的第一方面,首先提供了一种设备间协同处理业务的方法,包括:第一设备接收第二设备发送的协同业务请求,其中,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备;所述第一设备基于所述协同业务请求确定所述多设备协同网络中的第三设备协同处理所述业务;其中,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备。In the first aspect of the implementation of the present application, a method for collaboratively processing a service between devices is first provided, including: a first device receiving a collaborative service request sent by a second device, wherein the collaborative service request is used to represent the first The second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are devices in the multi-device collaborative network, and the multi-device collaborative network includes multiple devices, and the The first device is the master device in the multi-device collaborative network; the first device determines, based on the collaborative service request, that a third device in the multi-device collaborative network processes the service collaboratively; wherein the third device The device is a device other than the second device in the multi-device cooperative network.

在本申请实施的第二方面,还提供了一种设备间协同处理业务的方法,包括:第二设备向第一设备发送协同业务请求,其中,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备;所述第二设备接收所述第一设备指定的协助处理所述业务的第三设备的设备信息;所述第二设备向所述第三设备发送所述业务信息和所述第二设备的特征信息,其中,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备。In a second aspect implemented in the present application, a method for collaboratively processing services between devices is further provided, including: a second device sending a collaborative service request to a first device, wherein the collaborative service request is used to represent the second device The device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are devices in the multi-device collaborative network, the multi-device collaborative network includes multiple devices, and the first device and the second device are devices in the multi-device collaborative network. A device is the master device in the multi-device cooperative network; the second device receives device information of a third device designated by the first device to assist in processing the service; the second device sends the third device to the third device The device sends the service information and the feature information of the second device, wherein the third device is a device other than the second device in the multi-device cooperative network.

在本申请实施的第三方面,还提供了一种设备间协同处理业务的方法,,包括:第三设备接收第一设备发送的协同指令,其中,所述协同指令用于指示所述第三设备协同处理业务,所述业务由所述第一设备基于协同业务请求确定;所述协同业务请求由第二设备向所述第一设备发送,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理的所述业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备;所述第三设备接收所述第二设备的业务协助请求,并执行所述业务。In a third aspect implemented in this application, a method for cooperatively processing a service between devices is further provided, including: a third device receiving a cooperative instruction sent by a first device, wherein the cooperative instruction is used to instruct the third device The devices cooperatively process a service, the service is determined by the first device based on a cooperative service request; the cooperative service request is sent by the second device to the first device, and the cooperative service request is used to characterize the second device Request the service for collaborative processing from other devices in the multi-device collaborative network; the first device and the second device are devices in the multi-device collaborative network, and the multi-device collaborative network includes multiple devices, and the The first device is a master device in the multi-device cooperative network, and the third device is a device other than the second device in the multi-device cooperative network; the third device receives the second device Device requests for business assistance and executes the business.

在本申请实施的第四方面,还提供了一种设备间协同处理业务的方法,包括:网络侧设备接收第一设备上报的注册请求消息,其中,所述注册请求消息中携带中包括以下至少之一的特征信息:其他设备的标识信息、所述其他设备所具备的能力、所述其他设备的运行状态;所述网络侧设备在多设备协同网络中共享所述注册请求消息中携带的特征信息;其中,所述网络侧设备为所述多设备协同网络中各个设备对应的服务器;所述网络侧设备接收第三设备同步的所述多设备协同网络的环境特征信息、待协同处理的业务的特征信息、第二设备的特征信息和所述第三设备的特征信息;其中,所述多设备协同网络的环境特征信息包括该环境下的网络信息。In a fourth aspect implemented by the present application, a method for collaboratively processing services between devices is further provided, including: the network side device receives a registration request message reported by the first device, wherein the registration request message carries at least the following: One of the feature information: the identification information of the other device, the capabilities of the other device, and the operating status of the other device; the network-side device shares the features carried in the registration request message in the multi-device collaborative network information; wherein, the network-side device is a server corresponding to each device in the multi-device collaborative network; the network-side device receives the environmental feature information of the multi-device collaborative network synchronized by the third device, and the services to be collaboratively processed The feature information of the second device, the feature information of the third device, and the feature information of the third device; wherein, the environment feature information of the multi-device collaborative network includes the network information in the environment.

在本申请实施的第五方面,还提供了一种设备间协同处理业务的系统,包括:第一设备、第二设备、第三设备和网络侧设备;其中,所述第一设备用于实现第一方面所述的方法步骤;所述第二设备用于实现第一方面所述的方法步骤;所述第三设备用于实现第二方面所述的方法步骤;所述网络侧设备用于实现第三方面所述的方法步骤。In a fifth aspect of the implementation of the present application, a system for collaboratively processing services between devices is also provided, including: a first device, a second device, a third device, and a network-side device; wherein the first device is used to implement The method steps of the first aspect; the second device is used to implement the method steps of the first aspect; the third device is used to implement the method steps of the second aspect; the network side device is used to The method steps described in the third aspect are implemented.

在本申请实施的第六方面,还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的程序时,实现第一方面所述的方法步骤,或实现第二方面所述的方法步骤,或实现第三方面所述的方法步骤,或实现第四方面所述的方法步骤。In a sixth aspect of the implementation of the present application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; For storing computer programs; the processor is used to implement the method steps described in the first aspect, or the method steps described in the second aspect, or the method steps described in the third aspect when executing the program stored in the memory. , or implement the method steps described in the fourth aspect.

在本申请实施的第七方面,还提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现第一方面所述的方法步骤,或实现第二方面所述的方法步骤,或实现第三方面所述的方法步骤,或实现第四方面所述的方法步骤。In a seventh aspect of the implementation of the present application, a computer-readable storage medium is also provided, on which a computer program is stored, characterized in that, when the program is executed by a processor, the method steps described in the first aspect are implemented or implemented The method steps described in the second aspect, or the method steps described in the third aspect, or the method steps described in the fourth aspect.

本申请实施例中,在第二设备需要向多设备协同网络中其他设备请求协同处理业务的情况下,第二设备可以向主设备,即第一设备发送协同业务请求,进而该第一设备可以确定多设备协同网络中的第三设备协同处理业务,从而保证第二设备的业务能够被第三设备系统执行,在具体应用场景中,如果第二设备出现故障,则可以向第一设备发送协同业务请求,进而由第一设备确定第三设备来执行出现故障的第二设备待执行的业务,从而保证了业务的正常执行,从而解决了现有技术中在执行业务的设备出现故障后无法请求其他设备协同作业以保障业务正常执行的技术问题。In this embodiment of the present application, when the second device needs to request a collaborative processing service from other devices in the multi-device collaborative network, the second device may send a collaborative service request to the primary device, that is, the first device, and then the first device may It is determined that the third device in the multi-device collaborative network processes the service collaboratively, so as to ensure that the service of the second device can be executed by the third device system. In a specific application scenario, if the second device fails, the first device can send a collaborative Service request, and then the first device determines the third device to execute the service to be executed by the faulty second device, thereby ensuring the normal execution of the service, thus solving the problem that the device that executes the service cannot request the service after failure in the prior art. The technical problem of cooperating with other equipment to ensure the normal execution of the business.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that are required to be used in the description of the embodiments or the prior art.

图1为本申请实施例中设备间协同处理业务的方法流程图之一;FIG. 1 is one of the flowcharts of a method for collaboratively processing services between devices in an embodiment of the application;

图2为本申请实施例中设备间协同处理业务的方法流程图之二;FIG. 2 is the second flowchart of a method for collaboratively processing services between devices in an embodiment of the present application;

图3为本申请实施例中设备间协同处理业务的方法流程图之三;FIG. 3 is the third flowchart of a method for collaboratively processing services between devices in an embodiment of the application;

图4为本申请实施例中设备间协同处理业务的方法流程图之四;FIG. 4 is the fourth flowchart of a method for collaboratively processing services between devices in an embodiment of the present application;

图5为本申请实施例中设备间协同处理业务的方法流程图之五;FIG. 5 is a fifth flowchart of a method for collaboratively processing services between devices in an embodiment of the present application;

图6为本申请实施例中设备间协同处理业务的示意图之一;FIG. 6 is one of the schematic diagrams of collaboratively processing services between devices in an embodiment of the present application;

图7为本申请实施例中设备间协同处理业务的示意图之二;FIG. 7 is the second schematic diagram of the collaborative processing service between devices in the embodiment of the application;

图8为本申请实施例中设备间协同处理业务的装置结构示意图之一;8 is one of the schematic structural diagrams of an apparatus for collaboratively processing services between devices in an embodiment of the present application;

图9为本申请实施例中设备间协同处理业务的装置结构示意图之二;FIG. 9 is a second schematic structural diagram of an apparatus for collaboratively processing services between devices in an embodiment of the present application;

图10为本申请实施例中设备间协同处理业务的装置结构示意图之三;FIG. 10 is a third schematic structural diagram of an apparatus for collaboratively processing services between devices in an embodiment of the application;

图11为本申请实施例中设备间协同处理业务的装置结构示意图之四;FIG. 11 is a fourth schematic structural diagram of an apparatus for collaboratively processing services between devices in an embodiment of the application;

图12为本申请实施例中电子设备的结构示意图。FIG. 12 is a schematic structural diagram of an electronic device in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述地实施例是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

在后续的描述中,使用用于表示元件的诸如“模块”、“单元”的后缀仅为了有利于本申请的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。In the following description, suffixes such as "module" and "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meaning per se. Therefore, "module" and "component" can be used interchangeably.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。本申请实施例提供了一种设备间协同处理业务的方法,如图1所示,该方法包括以下步骤:The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. An embodiment of the present application provides a method for collaboratively processing services between devices. As shown in FIG. 1 , the method includes the following steps:

步骤102:第一设备接收第二设备发送的协同业务请求,其中,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备;Step 102: The first device receives the collaborative service request sent by the second device, wherein the collaborative service request is used to represent that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are multi-device The devices in the collaborative network, the multi-device collaborative network includes multiple devices, and the first device is the master device in the multi-device collaborative network;

其中,需要说明的是,本申请实施例中的多设备系统网络至少包括一个网络系统,该网络系统可以是窄带网络、宽带网络或其他网络。另外,在本申请实施例中第二设备发送协同业务请求的原因包括但不限于第二设备电量低、第二设备联网失败、第二设备网络繁忙、第二设备不支持处理待协同处理的业务;第二设备发送异常请求和待协同处理的业务的途径包括但不限于蓝牙、Wi-Fi等连接方式;向多设备协同网络中其他设备请求协同处理的业务可以称之为待协同处理的业务,该业务进一步可以包括业务类型、序号。It should be noted that the multi-device system network in this embodiment of the present application includes at least one network system, and the network system may be a narrowband network, a broadband network, or other networks. In addition, in this embodiment of the present application, the reasons for the second device to send the coordinated service request include but are not limited to low battery power of the second device, failure of the second device to connect to the Internet, busy network of the second device, and the second device does not support processing the service to be collaboratively processed. ; The ways for the second device to send abnormal requests and services to be collaboratively processed include but are not limited to connection methods such as Bluetooth and Wi-Fi; services that request collaborative processing from other devices in the multi-device collaborative network can be called services to be collaboratively processed , the service may further include service type and sequence number.

步骤104:第一设备基于协同业务请求确定多设备协同网络中的第三设备协同处理业务;其中,第三设备为多设备协同网络中除第二设备之外的设备。Step 104: The first device determines, based on the collaborative service request, a third device in the multi-device collaborative network to collaboratively process the service; wherein the third device is a device other than the second device in the multi-device collaborative network.

通过本申请实施例的上述步骤102至步骤104,在第二设备需要向多设备协同网络中其他设备请求协同处理业务的情况下,第二设备可以向主设备,即第一设备发送协同业务请求,进而该第一设备可以确定多设备协同网络中的第三设备协同处理业务,从而保证第二设备的业务能够被第三设备系统执行,在具体应用场景中,如果第二设备出现故障,则可以向第一设备发送协同业务请求,进而由第一设备确定第三设备来执行出现故障的第二设备待执行的业务,从而保证了业务的正常执行,从而解决了现有技术中在执行业务的设备出现故障后无法请求其他设备协同作业以保障业务正常执行的技术问题。Through the above steps 102 to 104 in this embodiment of the present application, when the second device needs to request a collaborative processing service from other devices in the multi-device collaborative network, the second device can send a collaborative service request to the primary device, that is, the first device. , and then the first device can determine that the third device in the multi-device collaborative network processes the service cooperatively, so as to ensure that the service of the second device can be executed by the third device system. In a specific application scenario, if the second device fails, then A collaborative service request can be sent to the first device, and then the first device determines the third device to execute the service to be executed by the faulty second device, thereby ensuring the normal execution of the service, thereby solving the problem of executing the service in the prior art. The technical problem that other devices cannot be requested to cooperate with each other to ensure the normal execution of the business after the failure of one of the devices.

需要说明的是,该第二设备向多设备协同网络中其他设备请求协同处理业务也可以是第二设备。It should be noted that the second device may also be the second device that requests the collaborative processing service from other devices in the multi-device collaborative network.

在本申请实施例的可选实施方式中,本申请步骤102中涉及到的第一设备为多设备协同网络中的主设备,通过以下至少之一的方式确定第一设备为主设备:In an optional implementation of this embodiment of the present application, the first device involved in step 102 of the present application is a master device in a multi-device collaborative network, and the first device is determined to be the master device by at least one of the following methods:

1),在第一设备开机之后未收到多设备协同网络中其他设备发送的广播信息的情况下,确定第一设备为主设备;其中,第一设备在成为主设备之后,向多设备协同网络中的其他设备发送第一广播信息,第一广播信息用于表征第一设备为主设备;1), in the case that the first device does not receive broadcast information sent by other devices in the multi-device coordination network after the first device is turned on, determine that the first device is the master device; wherein, after the first device becomes the master device, it sends the multi-device collaboration to the situation. Other devices in the network send first broadcast information, where the first broadcast information is used to characterize the first device as the master device;

其中,多设备协同网络中的设备在开机后将发送广播信息,第一设备开机之后未收到多设备协同网络中其他设备发送的广播信息说明第一设备为多设备协同网络中第一个开机的设备;第一广播信息是指第一设备被确定为主设备后,第一设备将向多设备协同网络中的其他设备发送第一设备成为主设备的广播,后续开机的具备主设备条件的其它设备将接收到该广播并不再请求成为主设备。Among them, the devices in the multi-device collaborative network will send broadcast information after booting up, and the first device does not receive broadcast information sent by other devices in the multi-device collaborative network after booting, indicating that the first device is the first in the multi-device collaborative network to boot. The first broadcast information means that after the first device is determined to be the master device, the first device will send a broadcast that the first device becomes the master device to other devices in the multi-device collaborative network, and the devices that meet the master device conditions will be turned on later. The other devices will receive the broadcast and no longer request to become the master device.

2),预先指定第一设备为主设备。2), pre-designate the first device as the master device.

其中,在当前设备有多个,且用户只有一个时则可以由用户预先指定任意一个具备主设备条件的第一设备为主设备;在当前设备有多个,且用户有多个的情况下,可以由多个用户协商指定主设备。Among them, when there are multiple current devices and there is only one user, the user can pre-designate any first device with the master device condition as the master device; when there are multiple current devices and multiple users, The designation of the master device can be negotiated by multiple users.

当多设备协同网络中的第一设备满足以上1)至2)两项中的一项或以上时,可以确定第一设备作为多设备协同网络中的主设备。When the first device in the multi-device cooperative network satisfies one or more of the above items 1) to 2), the first device may be determined as the master device in the multi-device cooperative network.

在本申请实施例的可选实施方式中,在本申请步骤102之前,如图2所示,本申请实施例的方法还可以包括:In an optional implementation of the embodiment of the present application, before step 102 of the present application, as shown in FIG. 2 , the method of the embodiment of the present application may further include:

步骤202:第一设备向多设备协同网络中的其他设备周期性发送第二广播信息,其中,第二广播信息中携带有用于表征第一设备为主设备的信息;Step 202: The first device periodically sends second broadcast information to other devices in the multi-device collaborative network, where the second broadcast information carries information used to characterize the first device as the master device;

其中,第一设备被确定为主设备后,第一设备将向多设备协同网络中的其他设备发送第一设备成为主设备的广播,后续开机的具备主设备条件的其它设备将接收到该广播并不再请求成为主设备。Wherein, after the first device is determined to be the master device, the first device will send a broadcast that the first device becomes the master device to other devices in the multi-device collaboration network, and other devices that are subsequently powered on with the master device conditions will receive the broadcast. and no longer request to be the master device.

步骤204:第一设备接收其他设备发起的注册请求消息,其中,注册请求消息中包括以下至少之一的特征信息:其他设备的标识信息、其他设备所具备的能力、其他设备的运行状态;Step 204: The first device receives a registration request message initiated by other devices, wherein the registration request message includes at least one of the following feature information: identification information of other devices, capabilities of other devices, and operating states of other devices;

其中,其他设备发起的注册请求消息的途径包括蓝牙、Wi-Fi;其他设备的标识信息包括设备名称、设备类型;其他设备所具备的能力包括可处理业务的类型;其他设备的运行状态包括业务状态、网络状态、电量状态。Among them, the way of the registration request message initiated by other devices includes Bluetooth and Wi-Fi; the identification information of other devices includes device name and device type; the capabilities of other devices include the types of services that can be processed; the operating status of other devices includes services Status, network status, battery status.

步骤206:第一设备向多设备协同网络中的第一服务器上报注册请求消息中所携带的特征信息,其中,第一服务器将接收到的特征信息同步到第二服务器。Step 206: The first device reports the feature information carried in the registration request message to the first server in the multi-device collaboration network, where the first server synchronizes the received feature information to the second server.

其中,不同的设备可以对应不同的服务器,不同的服务器可以是同一网络中的服务器也可以是不同网络中的服务器,即第一服务器和第二服务器可以为同一网络中的服务器,第一服务器和第二服务器也可以不同网络中的服务器。可见,在本申请实施例中的主设备具有收集其他设备的特征信息,并向服务器同步该特征信息的能力,基于此,也具有后续主设备确定其他设备协同处理业务的能力。Wherein, different devices may correspond to different servers, and different servers may be servers in the same network or servers in different networks, that is, the first server and the second server may be servers in the same network, the first server and the The second server may also be a different server in the network. It can be seen that the master device in the embodiment of the present application has the capability of collecting feature information of other devices and synchronizing the feature information to the server. Based on this, the master device also has the capability of determining other devices to process services cooperatively.

在本申请实施例的可选实施方式中,本申请实施例提供的设备间协同处理的方法,还可以进一步包括:在第一设备检测到自身异常的情况下,第一设备确定第四设备为主设备,其中,第四设备为多设备协同网络中除第一设备之外的设备。In an optional implementation manner of the embodiment of the present application, the method for collaborative processing between devices provided by the embodiment of the present application may further include: when the first device detects that it is abnormal, the first device determines that the fourth device is A master device, wherein the fourth device is a device other than the first device in the multi-device cooperative network.

其中,第一设备检测到自身异常是指第一设备不再具备主设备能力,即需要调整当前主设备;第四设备为多设备协同网络中具备主设备能力的其它设备;第一设备广播异常信息并指定第四设备为主设备。也就是说,在本申请实施例中,如果主设备出现异常,则可以主动将主设备调整为其他设备,保证后续协同间协同处理的正常执行。The fact that the first device detects that it is abnormal means that the first device no longer has the capability of the master device, that is, the current master device needs to be adjusted; the fourth device is another device that has the capability of the master device in the multi-device collaborative network; the first device broadcasts an abnormality information and designate the fourth device as the master device. That is to say, in the embodiment of the present application, if the master device is abnormal, the master device can be actively adjusted to another device, so as to ensure the normal execution of subsequent inter-coordination collaborative processing.

本申请实施例提供的设备间协同处理的方法,对于本申请实施例中涉及到的104中涉及到的第一设备基于协同业务请求确定多设备协同网络中的第三设备协同处理业务,进一步可以包括:In the method for collaborative processing between devices provided by the embodiments of the present application, for the first device involved in 104 involved in the embodiments of the present application to determine the collaborative processing service of the third device in the multi-device collaborative network based on the collaborative service request, it may further be possible to include:

步骤11,第一设备从多设备协同网络中确定具备协同处理第二设备所请求业务能力的设备;Step 11, the first device determines from the multi-device collaborative network a device capable of collaboratively processing the service requested by the second device;

步骤12,第一设备从具备协同处理第二设备所请求业务能力的设备中选择第三设备;Step 12, the first device selects a third device from the devices capable of co-processing the service requested by the second device;

步骤13,第一设备向第三设备发送协同指令,其中,协同指令用于指示第三设备协同处理业务。Step 13: The first device sends a coordination instruction to the third device, where the coordination instruction is used to instruct the third device to coordinately process the service.

通过上述步骤11至步骤13可知,第一设备作为主设备,在接收到第二设备的协同业务请求后,可以从当前设备确定出能够处理第二设备所请求的业务的第三设备,在确定后向该第三设备发送协同指令以指示第三设备协同处理业务,从而实现了多设备之间的业务协同处理,保证了第二设备的业务的正常执行。As can be seen from the above steps 11 to 13, the first device, as the master device, can determine from the current device a third device capable of processing the service requested by the second device after receiving the collaborative service request from the second device. Then, a coordination instruction is sent to the third device to instruct the third device to coordinately process the service, thereby realizing the coordinated processing of the service among multiple devices and ensuring the normal execution of the service of the second device.

上面图1是从第一设备侧对本申请进行解释说明,下面将从第二设备侧对本申请实施例提供的设备间协同处理的方法进行解释说明,如图3所示,该方法包括:The above FIG. 1 explains the present application from the first device side. Next, the method for inter-device collaborative processing provided by the embodiment of the present application is explained from the second device side. As shown in FIG. 3 , the method includes:

步骤302:第二设备向第一设备发送协同业务请求,其中,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备;Step 302: The second device sends a collaborative service request to the first device, wherein the collaborative service request is used to indicate that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are multi-device collaborative The devices in the network, the multi-device collaborative network includes multiple devices, and the first device is the master device in the multi-device collaborative network;

在具体示例中,第二设备发送协同业务请求的原因可以包括第二设备电量低导致无法执行当前业务、第二设备联网失败导致无法执行当前业务、第二设备网络繁忙导致无法执行当前、第二设备不支持处理待协同处理的业务;第二设备发送协同业务请求的方式可以蓝牙、Wi-F或其他方式。In a specific example, the reason why the second device sends the coordinated service request may include that the second device cannot execute the current service due to low power, the second device fails to connect to the Internet and therefore cannot execute the current service, the second device The device does not support processing the service to be collaboratively processed; the manner in which the second device sends the collaborative service request may be Bluetooth, Wi-F, or other manners.

步骤304:第二设备接收第一设备指定的协助处理业务的第三设备的设备信息。Step 304: The second device receives the device information of the third device designated by the first device to assist in processing the service.

其中,在通知第二设备协助处理业务的第三设备的设备信息后,该第二设备则能够将当前待协助处理的业务信息发送给第三设备,能够准备找到协助处理的设备。Wherein, after notifying the second device of the device information of the third device that assists in processing the service, the second device can send the current service information to be assisted in processing to the third device, and can prepare to find the device that assists in processing.

步骤306:第二设备向第三设备发送业务信息和第二设备的特征信息,其中,第三设备为多设备协同网络中除第二设备之外的设备。Step 306: The second device sends service information and feature information of the second device to the third device, where the third device is a device other than the second device in the multi-device collaborative network.

通过上述步骤302至步骤306,第二设备向第一设备发送协同业务请求后,可以接收多设备协同网络中的第一设备确定的第三设备的设备信息,该第三设备是能够协助处理第二设备当前无法处理的业务的设备,从而实现了多设备件业务协同处理的方式,保证了多设备协同网络中业务能够及时的执行。Through the above steps 302 to 306, after the second device sends the collaborative service request to the first device, it can receive the device information of the third device determined by the first device in the multi-device collaborative network, and the third device can assist in processing the first device. The second device is a device for services that cannot be processed by the current device, thereby realizing the collaborative processing method of multi-device services, ensuring that services in the multi-device collaborative network can be executed in time.

在本申请实施例的可选实施方式下,对于上述步骤302中涉及到的第二设备向第一设备发送协同业务请求的方式,进一步可以是:在满足预设条件的情况下,第二设备向第一设备发送协同业务请求;其中,预设条件包括以下至少之一:第二设备处于异常状态、第二设备处于网络繁忙的状态、第二设备不支持执行待协同处理的业务。In an optional implementation manner of this embodiment of the present application, the manner in which the second device sends a collaborative service request to the first device involved in the foregoing step 302 may further be: under the condition that the preset condition is satisfied, the second device Send a collaborative service request to the first device; wherein the preset conditions include at least one of the following: the second device is in an abnormal state, the second device is in a busy network state, and the second device does not support executing the service to be collaboratively processed.

可见,在本申请实施例中该第二设备可以在处于异常状态或处于网络繁忙的状态,或不支持执行待协同处理的业务向第一设备发送该协同业务请求,以请求第一设备协同处理该业务,以保证第二设备的业务能够正常执行。It can be seen that, in this embodiment of the present application, the second device may be in an abnormal state or in a busy network state, or may not support the execution of the service to be collaboratively processed, and send the collaborative service request to the first device to request the first device to collaboratively process This service is to ensure that the service of the second device can be executed normally.

在本申请实施例的另一个可选实施方式中,本申请实施例中方法还包括:In another optional implementation manner of the embodiment of the present application, the method in the embodiment of the present application further includes:

步骤308,第二设备接收第三设备发送的确认消息,其中,确认消息用于表征第三设备已协同执行完业务信息所对应的业务。Step 308: The second device receives an acknowledgement message sent by the third device, where the acknowledgement message is used to indicate that the third device has cooperated to execute the service corresponding to the service information.

可见,第二设备在请求其他设备协同处理后,其他设备在完成该业务后会向第二设备发送确认消息,以告知第二设备业务已执行完成,以避免第二设备重复向第一设备发送协同业务请求。It can be seen that after the second device requests other devices to process cooperatively, the other devices will send a confirmation message to the second device after completing the service to inform the second device that the service has been executed, so as to avoid the second device repeatedly sending to the first device. Collaborative business requests.

上面图1是从第一设备侧对本申请进行解释说明,上图3是从第二设备侧对本申请进行解释说明,下面将从第三设备侧对本申请实施例提供的设备间协同处理的方法进行解释说明,如图4所示,该方法包括:Figure 1 above illustrates the application from the first device side, and Figure 3 above illustrates the application from the second device side. The following will describe the inter-device collaborative processing method provided by the embodiments of the present application from the third device side. Explain, as shown in Figure 4, the method includes:

步骤402:第三设备接收第一设备发送的协同指令,其中,协同指令用于指示第三设备协同处理业务,业务由第一设备基于协同业务请求确定;协同业务请求由第二设备向第一设备发送,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理的业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备,第三设备为多设备协同网络中除第二设备之外的设备;Step 402: The third device receives the coordination instruction sent by the first device, wherein the coordination instruction is used to instruct the third device to collaboratively process the service, and the service is determined by the first device based on the coordinated service request; the coordinated service request is sent by the second device to the first device. Sent by the device, the collaborative service request is used to represent the service that the second device requests for collaborative processing from other devices in the multi-device collaborative network; the first device and the second device are devices in the multi-device collaborative network, and the multi-device collaborative network includes multiple devices. , the first device is the master device in the multi-device collaborative network, and the third device is a device other than the second device in the multi-device collaborative network;

步骤404:第三设备接收第二设备的业务协助请求,并执行业务。Step 404: The third device receives the service assistance request from the second device, and executes the service.

可见,多设备协同网络中的第三设备可以接收第一设备的协同指令,即表明第三设备具备可以协同处理其他设备业务的能力,因此,在接收第二设备的业务协助请求后可以执行第二设备无法执行的业务,以实现多设备间协同处理业务的方式,保证了业务的正常执行。It can be seen that the third device in the multi-device coordination network can receive the coordination instruction of the first device, which means that the third device has the ability to collaboratively process services of other devices. Therefore, after receiving the service assistance request of the second device, it can execute the first For the services that cannot be executed by the two devices, the normal execution of the services is ensured by realizing the collaborative processing of services among multiple devices.

在本申请实施的可选实施方式中,对于上述步骤404中涉及到的第三设备接收第二设备的业务协助请求,并执行业务的方式,进一步可以包括:In an optional implementation manner of the present application, the manner in which the third device involved in the foregoing step 404 receives the service assistance request from the second device and executes the service may further include:

步骤21,第三设备接收第二设备发送的业务协助请求,其中,业务协助请求中携带有业务和第二设备的特征信息;Step 21, the third device receives the service assistance request sent by the second device, wherein the service assistance request carries the service and feature information of the second device;

步骤22,第三设备向第三服务器同步多设备协同网络的环境特征信息、业务的特征信息、第二设备的特征信息和第三设备的特征信息;其中,多设备协同网络的环境特征信息包括该环境下的网络信息;Step 22, the third device synchronizes the environmental feature information of the multi-device collaborative network, the feature information of the service, the feature information of the second device and the feature information of the third device to the third server; wherein, the environmental feature information of the multi-device collaborative network includes: network information in that environment;

步骤23,在第三服务器向多设备协同网络中的其他服务器同步接收到的信息后,第三设备协同执行业务。Step 23, after the third server synchronizes the received information with other servers in the multi-device coordination network, the third device performs the service in coordination.

通过上述步骤21至步骤23可知,在第三设备接收到第一设备发送的协同指令后,会接收到的第二设备发送的业务协助请求,并将写到的相应的特征信息同步到第三服务器,并在第三服务器在多设备协同网络中的其他服务器同步接收到的信息后,为第三设备营造了可以执行第二设备业务的环境,则第三设备可以协同执行第二设备所请求的业务。As can be seen from the above steps 21 to 23, after the third device receives the coordination instruction sent by the first device, it will receive the service assistance request sent by the second device, and synchronize the written corresponding feature information to the third device. server, and after the third server synchronizes the information received by other servers in the multi-device collaboration network, and creates an environment for the third device to execute the service of the second device, the third device can collaboratively execute the request of the second device. Business.

下面将从网络侧对本申请实施例中的方法进行解释说明,如图5所示,该方法包括:The method in this embodiment of the present application will be explained below from the network side. As shown in FIG. 5 , the method includes:

步骤502,网络侧设备接收第一设备上报的注册请求消息,其中,注册请求消息中携带中包括以下至少之一的特征信息:其他设备的标识信息、其他设备所具备的能力、其他设备的运行状态;Step 502, the network-side device receives the registration request message reported by the first device, wherein the registration request message carries at least one of the following feature information: identification information of other devices, capabilities of other devices, operation of other devices state;

步骤504,网络侧设备在多设备协同网络中共享注册请求消息中携带的特征信息;其中,网络侧设备为多设备协同网络中各个设备对应的服务器;Step 504, the network-side device shares the feature information carried in the registration request message in the multi-device collaborative network; wherein, the network-side device is a server corresponding to each device in the multi-device collaborative network;

步骤506,网络侧设备接收第三设备同步的多设备协同网络的环境特征信息、待协同处理的业务的特征信息、第二设备的特征信息和第三设备的特征信息;其中,多设备协同网络的环境特征信息包括该环境下的网络信息。Step 506, the network side device receives the environmental feature information of the multi-device collaborative network synchronized by the third device, the feature information of the service to be collaboratively processed, the feature information of the second device and the feature information of the third device; wherein, the multi-device collaborative network The environmental characteristic information of the 10000 includes the network information in this environment.

在本申请中网络侧设备可以是设备所对应的服务器,例如第一设备对应的第一服务器或第三设备对应的第三服务器等,具体可以根据实际需求进行相应的选择。In this application, the network side device may be a server corresponding to the device, for example, a first server corresponding to the first device or a third server corresponding to a third device, etc., which may be selected according to actual needs.

本申请实施例提供的设备间协同处理的方法在一具体实施例中,多设备协同网络中的设备有:宽带智能终端A、纯窄带终端B、执法记录仪终端C、多模终端D、智能手环E,设备间协同处理的流程如图6所示,说明如下:In a specific embodiment of the method for collaborative processing between devices provided by the embodiment of the present application, the devices in the multi-device collaborative network include: a broadband intelligent terminal A, a pure narrowband terminal B, a law enforcement recorder terminal C, a multi-mode terminal D, a smart Band E, the process of collaborative processing between devices is shown in Figure 6, and the description is as follows:

在该具体实施例中,宽带智能终端A为主设备H,具备对当前多设备协同网络中的其它设备进行协同管理的能力;所有设备通过蓝牙、Wi-Fi等方式广播设备的标识信息、设备所具备的能力、设备的运行状态;当用户所佩戴的任何一个设备出现无法完成本次业务时,主设备H可以指定一个其它设备协同完成本次业务。In this specific embodiment, the broadband intelligent terminal A is the master device H, which has the ability to coordinately manage other devices in the current multi-device collaborative network; The capability and the running state of the device; when any device worn by the user fails to complete the service, the master device H can designate another device to complete the service in coordination.

基于此,当设备D出现异常,需要用到设备E的硬件资源时,具体需要用到设备E的人机操作、文件或者数据等,由主设备H进行协同处理,具体协同流程如下:Based on this, when the device D is abnormal and needs to use the hardware resources of the device E, the human-machine operation, files or data of the device E needs to be used, and the master device H performs cooperative processing. The specific collaborative process is as follows:

设备D通过蓝牙、Wi-Fi等方式周期性广播异常请求和待协同处理的业务广播给到主设备H,直到主设备H分配协助完成本次任务的设备E;Device D periodically broadcasts abnormal requests and services to be coordinated to master device H through Bluetooth, Wi-Fi, etc., until master device H allocates device E to assist in completing this task;

设备D将待协同处理的业务信息与设备D的标识信息发送给设备E,设备E在自身网络中执行设备D的待协同处理的业务,执行过程中向服务器上报多设备协同网络的环境特征信息、待协同处理的业务、设备D的标识信息和设备E的标识信息;其中待协同处理的业务包括业务类型、序号;Device D sends the service information to be collaboratively processed and the identification information of device D to device E. Device E executes the service to be collaboratively processed by device D in its own network, and reports the environmental feature information of the multi-device collaborative network to the server during the execution process. , the business to be collaboratively processed, the identification information of device D and the identification information of device E; wherein the business to be collaboratively processed includes business type and sequence number;

设备D的待协同处理的业务通过设备E的协助,业务顺利处理完成,无需设备D增加额外操作;The business to be collaboratively processed by device D is assisted by device E, and the business is successfully processed without requiring additional operations by device D;

本申请实施例提供的设备间协同处理的方法在另一具体实施例中,用户当前使用设备如下:智能手机设备A、纯窄带终端B、DMR窄带-手环设备K、执法记录仪设备L,基于图7,设备间协同运行流程包括:首先,各个设备开机运行,设备A第一个开机成功成为主设备H,主设备H将多设备协同网络中的所有设备的标识信息及多设备协同网络的环境特征信息上报给到服务器,并由服务器实现在不同网络服务器间的数据同步;进而,各个设备状态良好,各自完成业务;In another specific embodiment of the method for collaborative processing between devices provided by the embodiment of the present application, the devices currently used by the user are as follows: a smart phone device A, a pure narrowband terminal B, a DMR narrowband-wristband device K, and a law enforcement recorder device L, Based on FIG. 7 , the collaborative operation process between devices includes: first, each device starts up and runs, device A is the first to successfully turn on and becomes the master device H, and the master device H stores the identification information of all devices in the multi-device collaborative network and the multi-device collaborative network. The environmental characteristic information of the device is reported to the server, and the server realizes the data synchronization between different network servers; further, each device is in good condition and completes the business separately;

其中,当设备有设备间协同处理需求时,根据设备是需要硬件资源协同还是网络资源协同,需要说明的是,设备需要硬件资源协同表明设备当前所具有的硬件资源无法处理业务,具体可以是设备电量低或者是不支持处理待协同处理的业务,即该设备需要硬件资源协同与上述第二设备发送协同业务请求的原因中的第二设备电量低或第二设备不支持处理待协同处理的业务相对应。而设备需要网络资源协同表明当前设备所使用的网络无法支持当前业务的处理,例如网络连接失败、网络繁忙等,这与上述第二设备发送协同业务请求的原因中的第二设备联网失败或第二设备网络繁忙相对应。下面将在具体实例中进行解释说明:Among them, when the device has the need for inter-device collaborative processing, it is based on whether the device needs hardware resource collaboration or network resource collaboration. It should be noted that the fact that the device needs hardware resource collaboration indicates that the hardware resources currently possessed by the device cannot process services. Specifically, the device can be The battery is low or does not support processing the service to be collaboratively processed, that is, the device needs hardware resources to cooperate with the above-mentioned second device to send a collaborative service request. Corresponding. The fact that the device needs network resource coordination indicates that the network used by the current device cannot support the processing of the current service, such as a network connection failure, a busy network, etc., which is related to the failure of the second device to connect to the network or the second device in the reason for the second device to send the coordinated service request. The network of the two devices is correspondingly busy. The following will explain in specific examples:

(1)设备需要硬件资源类协同:(1) The device requires hardware resource class coordination:

设备K不具备人机交互界面,即设备K的硬件资源不支持处理待协同处理的业务,因此,当设备K需要发送短信时,用户可以通过主设备H进行人机交互操作,也就是说,当前设备A即是主设备也可以是协同处理设备K业务的协同设备,将操作后的数据发送给设备K,设备K收到数据信息后,在其所在网络完成数据发送任务;The device K does not have a human-computer interaction interface, that is, the hardware resources of the device K do not support the processing of services to be collaboratively processed. Therefore, when the device K needs to send a short message, the user can perform human-computer interaction operations through the main device H, that is, The current device A is either the master device or the cooperating device that cooperates with the service of the device K, and sends the data after the operation to the device K. After the device K receives the data information, it completes the data sending task on the network where it is located;

(2)设备需要网络资源协同:(2) The device needs network resource coordination:

当设备L出现网络异常时,向主设备H发送异常请求,此时主设备H通过自身所在网络将异常请求上报给服务器,服务器对数据进行同步之后,通过主设备H来完成与设备L的待协同处理的业务信息交互;同时,当设备L待协同处理的业务请求,将待协同处理的业务发送至主设备H,由主设备H指定当前环境下网络资源最优的设备来协助设备L完成任务;服务器在收到待协同处理的业务时,可以通过对多设备协同网络的环境特征信息、设备K的标识信息和设备L的标识信息进行识别,从而在不同网络服务器间完成数据同步。When the device L has a network abnormality, it sends an abnormal request to the main device H. At this time, the main device H reports the abnormal request to the server through its own network. After the server synchronizes the data, the main device H completes the waiting period with the device L. At the same time, when the device L requests a service to be collaboratively processed, it sends the service to be collaboratively processed to the main device H, and the main device H designates the device with the best network resources in the current environment to assist the device L to complete the process. Task; when the server receives the service to be collaboratively processed, it can identify the environmental feature information of the multi-device collaborative network, the identification information of device K and the identification information of device L, thereby completing data synchronization between different network servers.

可见,本申请实施例所提供的设备间协同处理的方法可以在多设备协同网络中调动多设备协同处理业务,实现多设备下的网络资源智能协同,提高网络资源利用率,而且提升了多设备下对异常情况的容错能力,提供了更好的用户体验,进一步多设备下的硬件资源智能辅助,也能提升设备间硬件资源复用价值。It can be seen that the method for collaborative processing between devices provided by the embodiments of the present application can mobilize multi-device collaborative processing services in a multi-device collaborative network, realize intelligent collaboration of network resources under multiple devices, improve network resource utilization, and improve multi-device collaborative processing services. The fault-tolerance capability for abnormal situations provides a better user experience, and further intelligent assistance of hardware resources under multiple devices can also improve the value of hardware resource reuse between devices.

对应于上述图1中的设备间协同处理业务的方法,本申请实施例还提供了这一种设备间协同处理业务的装置,该装置应用于第一设备侧,如图8所示,该装置包括:Corresponding to the method for co-processing services between devices in the above-mentioned FIG. 1 , an embodiment of the present application also provides an apparatus for co-processing services between devices, which is applied to the first device side. As shown in FIG. 8 , the device include:

第一接收模块82,用于接收第二设备发送的协同业务请求,其中,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备;The first receiving module 82 is configured to receive a collaborative service request sent by the second device, wherein the collaborative service request is used to represent that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are: A device in a multi-device collaborative network, where the multi-device collaborative network includes multiple devices, and the first device is the master device in the multi-device collaborative network;

第一确定模块84,用于基于协同业务请求确定多设备协同网络中的第三设备协同处理业务;其中,第三设备为多设备协同网络中除第二设备之外的设备。The first determining module 84 is configured to determine, based on the collaborative service request, a third device in the multi-device collaborative network to collaboratively process the service; wherein the third device is a device other than the second device in the multi-device collaborative network.

可选地,在本申请实施例中可以通过以下方式确定第一设备为主设备包括:Optionally, in this embodiment of the present application, it may be determined that the first device is the master device in the following manner:

1)在第一设备开机之后未收到多设备协同网络中其他设备发送的广播信息的情况下,确定第一设备为主设备;其中,第一设备在成为主设备之后,向多设备协同网络中的其他设备发送第一广播信息,第一广播信息用于表征第一设备为主设备;或,1) In the case that the first device does not receive broadcast information sent by other devices in the multi-device collaborative network after the first device is turned on, determine that the first device is the master device; wherein, after the first device becomes the master device, to the multi-device collaborative network. The other devices in send the first broadcast information, and the first broadcast information is used to characterize the first device as the master device; or,

2)预先指定第一设备为主设备。2) Pre-designate the first device as the master device.

可选地,本申请实施例中的装置还可以包括:Optionally, the apparatus in this embodiment of the present application may further include:

第一发送模块,用于在接收第二设备发送的协同业务请求之前,向多设备协同网络中的其他设备周期性发送第二广播信息,其中,第二广播信息中携带有用于表征第一设备为主设备的信息;The first sending module is configured to periodically send second broadcast information to other devices in the multi-device collaborative network before receiving the collaborative service request sent by the second device, wherein the second broadcast information carries information for characterizing the first device Information about the host device;

第二接收模块,用于接收其他设备发起的注册请求消息,其中,注册请求消息中包括以下至少之一的特征信息:其他设备的标识信息、其他设备所具备的能力、其他设备的运行状态;The second receiving module is configured to receive a registration request message initiated by other devices, wherein the registration request message includes at least one of the following feature information: identification information of other devices, capabilities of other devices, and operating states of other devices;

上报模块,用于向多设备协同网络中的第一服务器上报注册请求消息中所携带的特征信息,其中,第一服务器将接收到的特征信息同步到第二服务器。The reporting module is configured to report the feature information carried in the registration request message to the first server in the multi-device collaboration network, wherein the first server synchronizes the received feature information to the second server.

可选地,本申请实施例中的装置还可以包括:第二确定模块,用于在第一设备检测到自身异常的情况下,确定第四设备为主设备,其中,第四设备为多设备协同网络中除第一设备之外的设备。Optionally, the apparatus in this embodiment of the present application may further include: a second determination module, configured to determine that the fourth device is the master device when the first device detects that it is abnormal, where the fourth device is a multi-device A device other than the first device in the collaborative network.

可选地,本申请实施例中的第一确定模块82进一步可以包括:确定单元,用于从多设备协同网络中确定具备协同处理第二设备所请求业务能力的设备;选择单元,用于从具备协同处理第二设备所请求业务能力的设备中选择第三设备;第一发送单元,用于向第三设备发送协同指令,其中,协同指令用于指示第三设备协同处理业务。Optionally, the first determining module 82 in this embodiment of the present application may further include: a determining unit, configured to determine, from the multi-device collaborative network, a device capable of cooperatively processing the service requested by the second device; a selecting unit, configured to select from A third device is selected from the devices capable of cooperatively processing the service requested by the second device; the first sending unit is configured to send a cooperative instruction to the third device, wherein the cooperative instruction is used to instruct the third device to cooperatively process the service.

对应于上述图3中的设备间协同处理业务的方法,本申请实施例还提供了这一种设备间协同处理业务的装置,该装置应用于第二设备侧,如图9所示,该装置包括:Corresponding to the method for collaboratively processing services between devices in the above-mentioned FIG. 3 , the embodiment of the present application also provides a device for collaboratively processing services between devices, and the device is applied to the second device side. As shown in FIG. 9 , the device include:

第二发送模块92,用于向第一设备发送协同业务请求,其中,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备;The second sending module 92 is configured to send a collaborative service request to the first device, wherein the collaborative service request is used to represent that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device are multi-device A device in the device coordination network, the multi-device coordination network includes multiple devices, and the first device is the master device in the multi-device coordination network;

第三接收模块94,用于接收第一设备指定的协助处理业务的第三设备的设备信息;A third receiving module 94, configured to receive device information of a third device designated by the first device to assist in processing services;

第三发送模块96,用于向第三设备发送业务信息和第二设备的特征信息,其中,第三设备为多设备协同网络中除第二设备之外的设备。The third sending module 96 is configured to send the service information and the feature information of the second device to the third device, where the third device is a device other than the second device in the multi-device cooperative network.

可选地,本申请实施例中的第二发送模块92进一步可以包括:第二发送单元,用于在满足预设条件的情况下,向第一设备发送协同业务请求;其中,预设条件包括以下至少之一:第二设备处于异常状态、第二设备处于网络繁忙的状态、第二设备不支持执行待协同处理的业务。Optionally, the second sending module 92 in this embodiment of the present application may further include: a second sending unit, configured to send a collaborative service request to the first device when a preset condition is met; wherein the preset condition includes At least one of the following: the second device is in an abnormal state, the second device is in a network busy state, and the second device does not support executing the service to be cooperatively processed.

可选地,本申请实施例中的装置进一步可以包括:第四接收模块,用于接收第三设备发送的确认消息,其中,确认消息用于表征第三设备已协同执行完业务信息所对应的业务。Optionally, the apparatus in this embodiment of the present application may further include: a fourth receiving module, configured to receive a confirmation message sent by the third device, where the confirmation message is used to indicate that the third device has cooperated to execute the corresponding service information. business.

对应于上述图4中的设备间协同处理业务的方法,本申请实施例还提供了这一种设备间协同处理业务的装置,该装置应用于第三设备侧,如图10所示,该装置包括:Corresponding to the method for co-processing services between devices in the above-mentioned FIG. 4 , an embodiment of the present application also provides an apparatus for co-processing services between devices, which is applied to the third device side. As shown in FIG. 10 , the device include:

第五接收模块1002,用于接收第一设备发送的协同指令,其中,协同指令用于指示第三设备协同处理业务,业务由第一设备基于协同业务请求确定;协同业务请求由第二设备向第一设备发送,协同业务请求用于表征第二设备向多设备协同网络中其他设备请求协同处理的业务;第一设备和第二设备为多设备协同网络中的设备,多设备协同网络包括多个设备,第一设备为多设备协同网络中的主设备,第三设备为多设备协同网络中除第二设备之外的设备;The fifth receiving module 1002 is configured to receive a collaborative instruction sent by the first device, wherein the collaborative instruction is used to instruct the third device to collaboratively process the service, and the service is determined by the first device based on the collaborative service request; the collaborative service request is sent by the second device to the request. Sent by the first device, the collaborative service request is used to represent the service that the second device requests for collaborative processing from other devices in the multi-device collaborative network; the first device and the second device are devices in the multi-device collaborative network, and the multi-device collaborative network includes multiple devices. devices, the first device is the master device in the multi-device collaborative network, and the third device is a device other than the second device in the multi-device collaborative network;

处理模块1004,用于接收第二设备的业务协助请求,并执行业务。The processing module 1004 is configured to receive a service assistance request from the second device, and execute the service.

可选地,本申请实施例中的处理模块1004进一步可以包括:接收单元,用于接收第二设备发送的业务协助请求,其中,业务协助请求中携带有业务和第二设备的特征信息;同步单元,用于向第三服务器同步多设备协同网络的环境特征信息、业务的特征信息、第二设备的特征信息和第三设备的特征信息;其中,多设备协同网络的环境特征信息包括该环境下的网络信息;处理单元,用于在第三服务器向多设备协同网络中的其他服务器同步接收到的信息后,协同执行业务。Optionally, the processing module 1004 in this embodiment of the present application may further include: a receiving unit, configured to receive a service assistance request sent by the second device, where the service assistance request carries service and feature information of the second device; synchronization a unit for synchronizing the environmental feature information of the multi-device collaborative network, the service feature information, the second device's feature information and the third device's feature information to the third server; wherein, the environmental feature information of the multi-device collaborative network includes the environment The network information under the multi-device cooperation network; the processing unit is used for cooperatively executing the service after the third server synchronizes the received information with other servers in the multi-device cooperative network.

对应于上述图5中的设备间协同处理业务的方法,本申请实施例还提供了这一种设备间协同处理业务的装置,该装置应用于网络侧设备,如图11所示,该装置包括:Corresponding to the method for co-processing services between devices in the above-mentioned FIG. 5 , an embodiment of the present application also provides an apparatus for co-processing services between devices, which is applied to network-side devices. As shown in FIG. 11 , the device includes: :

第六接收模块1102,用于接收第一设备上报的注册请求消息,其中,注册请求消息中携带中包括以下至少之一的特征信息:其他设备的标识信息、其他设备所具备的能力、其他设备的运行状态;The sixth receiving module 1102 is configured to receive a registration request message reported by the first device, wherein the registration request message carries at least one of the following feature information: identification information of other devices, capabilities of other devices, and other features. operating status;

共享模块1104,用于在多设备协同网络中共享注册请求消息中携带的特征信息;其中,网络侧设备为多设备协同网络中各个设备对应的服务器;A sharing module 1104, configured to share the feature information carried in the registration request message in the multi-device collaborative network; wherein, the network-side device is a server corresponding to each device in the multi-device collaborative network;

第七接收模块1106,用于接收第三设备同步的多设备协同网络的环境特征信息、待协同处理的业务的特征信息、第二设备的特征信息和第三设备的特征信息;其中,多设备协同网络的环境特征信息包括该环境下的网络信息。The seventh receiving module 1106 is configured to receive the environmental feature information of the multi-device collaborative network synchronized by the third device, the feature information of the service to be collaboratively processed, the feature information of the second device, and the feature information of the third device; The environmental characteristic information of the cooperative network includes the network information in the environment.

本申请实施例还提供了一种电子设备,如图12所示,包括处理器1201、通信接口1202、存储器1203和通信总线1204,其中,处理器1201,通信接口1202,存储器1203通过通信总线1204完成相互间的通信,An embodiment of the present application also provides an electronic device, as shown in FIG. 12 , including a processor 1201 , a communication interface 1202 , a memory 1203 and a communication bus 1204 , wherein the processor 1201 , the communication interface 1202 , and the memory 1203 pass through the communication bus 1204 complete communication with each other,

存储器1203,用于存放计算机程序;The memory 1203 is used to store computer programs;

处理器1201,用于执行存储器1203上所存放的程序时,实现图1中的方法步骤,其所起到的作用与图1中的方法步骤类似,在此不再赘述。The processor 1201 is configured to implement the method steps in FIG. 1 when executing the program stored in the memory 1203 , and its functions are similar to the method steps in FIG. 1 , which will not be repeated here.

上述终端提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,简称PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned by the above terminal may be a Peripheral Component Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA for short) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 12, but it does not mean that there is only one bus or one type of bus.

通信接口用于上述终端与其他设备之间的通信。The communication interface is used for communication between the above-mentioned terminal and other devices.

存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; may also be a digital signal processor (Digital Signal Processing, referred to as DSP) , Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

在本申请提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的设备间协同处理业务的方法。In yet another embodiment provided by the present application, a computer-readable storage medium is also provided, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute any one of the foregoing embodiments. The method for collaboratively processing services between devices.

在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的设备间协同处理业务的方法。In yet another embodiment provided by the present application, a computer program product including instructions is also provided, which, when running on a computer, enables the computer to execute the method for collaboratively processing services between devices described in any of the foregoing embodiments .

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application are included in the protection scope of this application.

Claims (14)

1.一种设备间协同处理业务的方法,其特征在于,包括:1. A method for collaboratively processing services between devices, comprising: 第一设备接收第二设备发送的协同业务请求,其中,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备;The first device receives the collaborative service request sent by the second device, wherein the collaborative service request is used to represent that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; The second device is a device in the multi-device collaborative network, the multi-device collaborative network includes multiple devices, and the first device is the master device in the multi-device collaborative network; 所述第一设备基于所述协同业务请求确定所述多设备协同网络中的第三设备协同处理所述业务;其中,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备。The first device determines, based on the collaborative service request, that a third device in the multi-device collaborative network processes the service cooperatively; wherein, the third device is the second device in the multi-device collaborative network except the second device other equipment. 2.根据权利要求1所述的方法,其特征在于,确定所述第一设备为主设备包括:2. The method according to claim 1, wherein determining that the first device is a master device comprises: 在所述第一设备开机之后未收到所述多设备协同网络中其他设备发送的广播信息的情况下,确定所述第一设备为所述主设备;其中,所述第一设备在成为所述主设备之后,向所述多设备协同网络中的其他设备发送第一广播信息,所述第一广播信息用于表征所述第一设备为所述主设备;或,In the case that the first device does not receive broadcast information sent by other devices in the multi-device cooperative network after the first device is turned on, determine that the first device is the master device; wherein the first device becomes the master device After the master device, send first broadcast information to other devices in the multi-device collaborative network, where the first broadcast information is used to characterize the first device as the master device; or, 预先指定所述第一设备为所述主设备。The first device is pre-designated as the master device. 3.根据权利要求1所述的方法,其特征在于,在第一设备接收第二设备发送的协同业务请求之前,所述方法还包括:3. The method according to claim 1, wherein before the first device receives the collaborative service request sent by the second device, the method further comprises: 所述第一设备向所述多设备协同网络中的其他设备周期性发送第二广播信息,其中,所述第二广播信息中携带有用于表征所述第一设备为主设备的信息;The first device periodically sends second broadcast information to other devices in the multi-device collaborative network, where the second broadcast information carries information used to characterize the first device as a master device; 所述第一设备接收所述其他设备发起的注册请求消息,其中,所述注册请求消息中包括以下至少之一的特征信息:所述其他设备的标识信息、所述其他设备所具备的能力、所述其他设备的运行状态;The first device receives a registration request message initiated by the other device, wherein the registration request message includes at least one of the following feature information: identification information of the other device, capabilities of the other device, the operating status of the other equipment; 所述第一设备向所述多设备协同网络中的第一服务器上报所述注册请求消息中所携带的特征信息,其中,所述第一服务器将接收到的所述特征信息同步到第二服务器。The first device reports the feature information carried in the registration request message to the first server in the multi-device collaboration network, where the first server synchronizes the received feature information to the second server . 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 在所述第一设备检测到自身异常的情况下,所述第一设备确定第四设备为所述主设备,其中,所述第四设备为所述多设备协同网络中除所述第一设备之外的设备。In the case that the first device detects that it is abnormal, the first device determines that a fourth device is the master device, where the fourth device is the first device in the multi-device cooperative network except the first device other equipment. 5.根据权利要求1所述的方法,其特征在于,所述第一设备基于所述协同业务请求确定所述多设备协同网络中的第三设备协同处理所述业务,包括:5 . The method according to claim 1 , wherein determining, by the first device, based on the coordinated service request, that a third device in the multi-device coordinated network processes the service cooperatively, comprising: 6 . 所述第一设备从所述多设备协同网络中确定具备协同处理所述第二设备所请求业务能力的设备;The first device determines, from the multi-device cooperative network, a device capable of cooperatively processing the service requested by the second device; 所述第一设备从具备协同处理所述第二设备所请求业务能力的设备中选择所述第三设备;The first device selects the third device from the devices that have the capability of cooperatively processing the service requested by the second device; 所述第一设备向所述第三设备发送协同指令,其中,所述协同指令用于指示所述第三设备协同处理所述业务。The first device sends a coordination instruction to the third device, where the coordination instruction is used to instruct the third device to coordinately process the service. 6.一种设备间协同处理业务的方法,其特征在于,包括:6. A method for collaboratively processing services between devices, comprising: 第二设备向第一设备发送协同业务请求,其中,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备;The second device sends a collaborative service request to the first device, where the collaborative service request is used to represent that the second device requests a collaborative processing service from other devices in the multi-device collaborative network; the first device and the second device The device is a device in the multi-device collaborative network, the multi-device collaborative network includes multiple devices, and the first device is a master device in the multi-device collaborative network; 所述第二设备接收所述第一设备指定的协助处理所述业务的第三设备的设备信息;receiving, by the second device, device information of a third device designated by the first device to assist in processing the service; 所述第二设备向所述第三设备发送所述业务信息和所述第二设备的特征信息,其中,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备。The second device sends the service information and the feature information of the second device to the third device, where the third device is a device other than the second device in the multi-device collaborative network. equipment. 7.根据权利要求6所述的方法,其特征在于,所述第二设备向第一设备发送协同业务请求,包括:7. The method according to claim 6, wherein the second device sends a collaborative service request to the first device, comprising: 在满足预设条件的情况下,所述第二设备向第一设备发送协同业务请求;其中,所述预设条件包括以下至少之一:所述第二设备处于异常状态、所述第二设备处于网络繁忙的状态、所述第二设备不支持执行待协同处理的业务。When a preset condition is met, the second device sends a collaborative service request to the first device; wherein the preset condition includes at least one of the following: the second device is in an abnormal state, the second device In a network busy state, the second device does not support executing the service to be cooperatively processed. 8.根据权利要求6所述的方法,其特征在于,所述方法还包括:8. The method according to claim 6, wherein the method further comprises: 所述第二设备接收所述第三设备发送的确认消息,其中,所述确认消息用于表征所述第三设备已协同执行完所述业务信息所对应的业务。The second device receives an acknowledgement message sent by the third device, where the acknowledgement message is used to indicate that the third device has cooperated to execute the service corresponding to the service information. 9.一种设备间协同处理业务的方法,其特征在于,包括:9. A method for collaboratively processing services between devices, comprising: 第三设备接收第一设备发送的协同指令,其中,所述协同指令用于指示所述第三设备协同处理业务,所述业务由所述第一设备基于协同业务请求确定;所述协同业务请求由第二设备向所述第一设备发送,所述协同业务请求用于表征所述第二设备向多设备协同网络中其他设备请求协同处理的所述业务;所述第一设备和所述第二设备为所述多设备协同网络中的设备,所述多设备协同网络包括多个设备,所述第一设备为所述多设备协同网络中的主设备,所述第三设备为所述多设备协同网络中除所述第二设备之外的设备;The third device receives the coordination instruction sent by the first device, wherein the coordination instruction is used to instruct the third device to coordinately process a service, and the service is determined by the first device based on the coordinated service request; the coordinated service request Sent by the second device to the first device, the coordinated service request is used to represent the service that the second device requests for coordinated processing from other devices in the multi-device coordinated network; the first device and the first device The second device is a device in the multi-device collaborative network, the multi-device collaborative network includes multiple devices, the first device is the master device in the multi-device collaborative network, and the third device is the multi-device collaborative network. The device cooperates with devices other than the second device in the network; 所述第三设备接收所述第二设备的业务协助请求,并执行所述业务。The third device receives the service assistance request from the second device, and executes the service. 10.根据权利要求9所述的方法,其特征在于,所述第三设备接收所述第二设备的业务协助请求,并执行所述业务包括:10. The method according to claim 9, wherein the third device receives a service assistance request from the second device, and executing the service comprises: 所述第三设备接收所述第二设备发送的业务协助请求,其中,所述业务协助请求中携带有业务和所述第二设备的特征信息;receiving, by the third device, a service assistance request sent by the second device, wherein the service assistance request carries service and feature information of the second device; 所述第三设备向第三服务器同步所述多设备协同网络的环境特征信息、所述业务的特征信息、所述第二设备的特征信息和所述第三设备的特征信息;其中,所述多设备协同网络的环境特征信息包括该环境下的网络信息;The third device synchronizes with the third server the environmental feature information of the multi-device collaborative network, the feature information of the service, the feature information of the second device, and the feature information of the third device; wherein the The environmental feature information of the multi-device collaborative network includes the network information in the environment; 在所述第三服务器向所述多设备协同网络中的其他服务器同步接收到的信息后,所述第三设备协同执行所述业务。After the third server synchronizes the received information with other servers in the multi-device cooperation network, the third device cooperates to execute the service. 11.一种设备间协同处理业务的方法,其特征在于,包括:11. A method for collaboratively processing services between devices, comprising: 网络侧设备接收第一设备上报的注册请求消息,其中,所述注册请求消息中携带中包括以下至少之一的特征信息:其他设备的标识信息、所述其他设备所具备的能力、所述其他设备的运行状态;The network side device receives the registration request message reported by the first device, wherein the registration request message carries at least one of the following feature information: identification information of other devices, capabilities of the other devices, and other features. the operating status of the equipment; 所述网络侧设备在多设备协同网络中共享所述注册请求消息中携带的特征信息;其中,所述网络侧设备为所述多设备协同网络中各个设备对应的服务器;The network-side device shares the feature information carried in the registration request message in the multi-device collaborative network; wherein, the network-side device is a server corresponding to each device in the multi-device collaborative network; 所述网络侧设备接收第三设备同步的所述多设备协同网络的环境特征信息、待协同处理的业务的特征信息、第二设备的特征信息和所述第三设备的特征信息;其中,所述多设备协同网络的环境特征信息包括该环境下的网络信息。The network-side device receives the environmental feature information of the multi-device collaborative network, the feature information of the service to be collaboratively processed, the feature information of the second device, and the feature information of the third device synchronized by the third device; The environmental feature information of the multi-device collaborative network includes network information in the environment. 12.一种设备间协同处理业务的系统,其特征在于,包括:第一设备、第二设备、第三设备和网络侧设备;其中,所述第一设备用于实现权利要求1至5中任一所述的方法步骤;所述第二设备用于实现权利要求6至8中任一所述的方法步骤;所述第三设备用于实现权利要求9或10所述的方法步骤;所述网络侧设备用于实现权利要求11所述的方法步骤。12. A system for collaboratively processing services between devices, comprising: a first device, a second device, a third device, and a network-side device; wherein the first device is used to implement claims 1 to 5 any of the method steps; the second device is used to implement the method steps of any one of claims 6 to 8; the third device is used to implement the method steps of claims 9 or 10; the The network side device is used to implement the method steps of claim 11 . 13.一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;13. An electronic device, characterized in that it comprises a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; 存储器,用于存放计算机程序;memory for storing computer programs; 处理器,用于执行存储器上所存放的程序时,实现权利要求1-5任一所述的方法步骤,或实现权利要求6至8中任一所述的方法步骤,或实现权利要求9或10所述的方法步骤,或实现权利要求11所述的方法步骤。The processor, when executing the program stored in the memory, implements the method steps described in any one of claims 1-5, or realizes the method steps described in any one of claims 6 to 8, or realizes claim 9 or 10, or implement the method steps of claim 11. 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-5任一所述的方法步骤,或实现权利要求6至8中任一所述的方法步骤,或实现权利要求9或10所述的方法步骤,或实现权利要求11所述的方法步骤。14. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method steps described in any one of claims 1-5 are implemented, or any one of the method steps in claims 6-8 is implemented. Any of the method steps described, or the method steps described in claim 9 or 10 are implemented, or the method steps described in claim 11 are realized.
CN202210292941.1A 2022-03-23 2022-03-23 Method and system for collaboratively processing business between devices Pending CN114726711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210292941.1A CN114726711A (en) 2022-03-23 2022-03-23 Method and system for collaboratively processing business between devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210292941.1A CN114726711A (en) 2022-03-23 2022-03-23 Method and system for collaboratively processing business between devices

Publications (1)

Publication Number Publication Date
CN114726711A true CN114726711A (en) 2022-07-08

Family

ID=82238867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210292941.1A Pending CN114726711A (en) 2022-03-23 2022-03-23 Method and system for collaboratively processing business between devices

Country Status (1)

Country Link
CN (1) CN114726711A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116679998A (en) * 2022-10-26 2023-09-01 荣耀终端有限公司 Multi-device cooperative conflict processing method and electronic device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005176345A (en) * 2003-11-20 2005-06-30 Matsushita Electric Ind Co Ltd Cooperation control device, cooperation control method, and service cooperation system
JP2010250686A (en) * 2009-04-17 2010-11-04 Sharp Corp Electronic apparatus, collaboration system, control method, control program, and recording medium
CN102461342A (en) * 2009-06-25 2012-05-16 皇家飞利浦电子股份有限公司 Home automation system and method for controlling same
CN102833324A (en) * 2012-08-14 2012-12-19 中兴通讯股份有限公司 Service collaborative implementation method and device
CN103391228A (en) * 2012-05-10 2013-11-13 中兴通讯股份有限公司 Method and system for networking personal network devices
CN104602178A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Terminal equipment and method for multiplexing terminal equipment to multiple cooperative groups
WO2017045622A1 (en) * 2015-09-18 2017-03-23 深圳前海达闼科技有限公司 Method of requesting help by device and responding to device help request, and device
WO2018072085A1 (en) * 2016-10-18 2018-04-26 中兴通讯股份有限公司 Multi-device collaborative operation method and devices, and computer storage medium
US20180338273A1 (en) * 2017-05-19 2018-11-22 Realtek Semiconductor Corporation Network master device and network communication method for realizing cooperative service set
CN109842508A (en) * 2017-11-27 2019-06-04 华为技术有限公司 The method that multiple terminals cooperates, terminal device and multiple terminals cooperative system
CN112188548A (en) * 2020-09-09 2021-01-05 中国联合网络通信集团有限公司 Service processing method and device
CN112752048A (en) * 2019-10-31 2021-05-04 华为技术有限公司 Cooperative work method, device, storage medium and cooperative system
CN113840260A (en) * 2021-09-09 2021-12-24 海能达通信股份有限公司 Method, terminal, communication system and storage medium for implementing broadband and narrowband services
WO2022007908A1 (en) * 2020-07-09 2022-01-13 华为技术有限公司 Method for service collaboration between network element devices, and network element device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005176345A (en) * 2003-11-20 2005-06-30 Matsushita Electric Ind Co Ltd Cooperation control device, cooperation control method, and service cooperation system
JP2010250686A (en) * 2009-04-17 2010-11-04 Sharp Corp Electronic apparatus, collaboration system, control method, control program, and recording medium
CN102461342A (en) * 2009-06-25 2012-05-16 皇家飞利浦电子股份有限公司 Home automation system and method for controlling same
CN103391228A (en) * 2012-05-10 2013-11-13 中兴通讯股份有限公司 Method and system for networking personal network devices
CN102833324A (en) * 2012-08-14 2012-12-19 中兴通讯股份有限公司 Service collaborative implementation method and device
CN104602178A (en) * 2013-10-30 2015-05-06 中兴通讯股份有限公司 Terminal equipment and method for multiplexing terminal equipment to multiple cooperative groups
WO2017045622A1 (en) * 2015-09-18 2017-03-23 深圳前海达闼科技有限公司 Method of requesting help by device and responding to device help request, and device
WO2018072085A1 (en) * 2016-10-18 2018-04-26 中兴通讯股份有限公司 Multi-device collaborative operation method and devices, and computer storage medium
US20180338273A1 (en) * 2017-05-19 2018-11-22 Realtek Semiconductor Corporation Network master device and network communication method for realizing cooperative service set
CN109842508A (en) * 2017-11-27 2019-06-04 华为技术有限公司 The method that multiple terminals cooperates, terminal device and multiple terminals cooperative system
CN112752048A (en) * 2019-10-31 2021-05-04 华为技术有限公司 Cooperative work method, device, storage medium and cooperative system
WO2022007908A1 (en) * 2020-07-09 2022-01-13 华为技术有限公司 Method for service collaboration between network element devices, and network element device
CN112188548A (en) * 2020-09-09 2021-01-05 中国联合网络通信集团有限公司 Service processing method and device
CN113840260A (en) * 2021-09-09 2021-12-24 海能达通信股份有限公司 Method, terminal, communication system and storage medium for implementing broadband and narrowband services

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHENG ZHAN: "Efficient video transimission in D2D assissted mobile cloud networks", 《CHINA COMMUNICATIONS》, vol. 13, no. 8, pages 74 - 83 *
张小奕: "移动视频中协调分发和性能优化方法的研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116679998A (en) * 2022-10-26 2023-09-01 荣耀终端有限公司 Multi-device cooperative conflict processing method and electronic device

Similar Documents

Publication Publication Date Title
JP6001099B2 (en) System and method for performing a peer-to-peer connection
CN114338650B (en) File transmission method, device, electronic equipment and readable storage medium
CN110381042B (en) Graceful restart service method, device, medium and electronic equipment
JP2018501669A (en) Information transmission method, apparatus and device
CN114138500B (en) Resource scheduling system and method
WO2020258782A1 (en) Data transmission method applicable to bluetooth card reader, and electronic apparatus
CN109144677B (en) Keep-alive process method and device for android system
CN114726711A (en) Method and system for collaboratively processing business between devices
US10887403B2 (en) Method for managing connections for data communications
CN113973126B (en) Communication method and device between vehicle terminal systems, electronic equipment and medium
CN115454616A (en) Service resource allocation method and device, electronic equipment and storage medium
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN111475230B (en) Application function configuration method and device and electronic equipment
CN110233791B (en) Data deduplication method and device
CN111511041B (en) Remote connection method and device
CN116599796A (en) Gateway, gateway hot upgrading method and system
CN116880870A (en) An SDK update method, device and electronic equipment
CN113420275B (en) Data connection processing method, related device and computer program product
CN114064324A (en) Inter-process communication method, device, equipment and computer readable storage medium
WO2014094315A1 (en) Method, apparatus and device for processing service in system upgrade process
CN115843073A (en) Network slice selection method, mobile management function entity and terminal
CN111258739A (en) Server process updating method, device, server and medium
CN114327542B (en) Service equipment updating method and device, electronic equipment and storage medium
CN115643294A (en) Vehicle control method, apparatus, system, and storage medium
CN113873029B (en) Cryptographic service monitoring method, server, cryptographic machine, system, and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220708

RJ01 Rejection of invention patent application after publication