[go: up one dir, main page]

WO2020062048A1 - Method for transmitting update data, content delivery network node and data update system - Google Patents

Method for transmitting update data, content delivery network node and data update system Download PDF

Info

Publication number
WO2020062048A1
WO2020062048A1 PCT/CN2018/108385 CN2018108385W WO2020062048A1 WO 2020062048 A1 WO2020062048 A1 WO 2020062048A1 CN 2018108385 W CN2018108385 W CN 2018108385W WO 2020062048 A1 WO2020062048 A1 WO 2020062048A1
Authority
WO
WIPO (PCT)
Prior art keywords
update
data
edge
request
model
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.)
Ceased
Application number
PCT/CN2018/108385
Other languages
French (fr)
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.)
Siemens AG
Siemens Corp
Original Assignee
Siemens AG
Siemens Corp
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 Siemens AG, Siemens Corp filed Critical Siemens AG
Priority to PCT/CN2018/108385 priority Critical patent/WO2020062048A1/en
Publication of WO2020062048A1 publication Critical patent/WO2020062048A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Definitions

  • This application relates to the field of data updating. Specifically, the present application relates to a method for sending updated data, a content distribution network node, and a data update system.
  • Cloud-based IoT systems inevitably require remote updates and device management.
  • the conventional method is to centrally manage the device on the cloud server side.
  • the device needs to update the firmware or software
  • the device downloads the required data from the cloud server, and the cloud server controls the process of device update.
  • the cloud server or cloud platform will bear excessive pressure to provide services for a large number of devices, which will decrease when the network quality between the edge device and the cloud server is not good. Data transfer speed.
  • IoT devices made by the same manufacturer to share the same network, firmware, or software, the task of remotely updating these devices is usually separate.
  • the embodiments of the present application provide a method for sending updated data, a content distribution network node device, and a data update system, so as to at least solve the problem of high data transmission pressure between the cloud server and the edge device when remotely updating the edge device in the prior art.
  • a method for sending updated data including: receiving a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; receiving and updating at least one edge according to the hardware information and data versions Receiving device update data; receiving an update request to update at least one edge device; receiving a device context of the edge device; generating a device-to-device communication model based on the update request and the device context, the device-to-device communication model including the connection relationship of the edge device to be updated; Distribute the device-to-device communication model to the source synchronization device in the edge device to be updated.
  • the source synchronization device is determined from the edge device to be updated according to the connection relationship; receive a data request to send updated data to the source synchronization device, and a data request
  • the receiver is determined according to the connection relationship; and the update data is sent to the source synchronization device according to the data request.
  • a device capability model is received periodically from a device.
  • the status information of the edge device is continuously updated to ensure that the update data required by the edge device is provided.
  • receiving the update data for updating at least one edge device further includes: sending a data request for the update data to the database according to the hardware information and the data version, the database includes the update data, and receiving the update data sent from the database .
  • a method for updating a device including: receiving a device-to-device communication model, and the device-to-device communication model is generated according to a device context of an edge device and an update request for updating the edge device, wherein
  • the device-to-device communication model includes the connection relationship of the edge devices; the update order of the edge devices is determined according to the connection relationship, and the sending device that sends the update data that updates the edge devices to the edge devices, the sending device is another edge device or a content distribution network node; Send a data request for update data to the sending device according to the update order; receive the update data from the sending device; and deploy the update data on the edge device.
  • the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • the method further includes: generating a device capability model, the device capability model including hardware information and data versions of the edge device; and sending the device capability model to the content distribution network node, wherein the update data is based on the edge The hardware information and data version of the device are determined.
  • a content distribution network node device including: a model receiving unit configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; data receiving A unit configured to receive update data for updating at least one edge device according to hardware information and a data version; an update request receiving unit configured to receive update requests for updating at least one edge device; a context receiving unit configured to receive an edge device's Device context; a model generation unit configured to generate a device-to-device communication model according to an update request and a device context, and the device-to-device communication model includes connection relationships of edge devices to be updated; a model distribution unit to distribute the device-to-device communication model to The source synchronization device in the edge device to be updated.
  • the source synchronization device is determined from the edge device to be updated according to the connection relationship; the synchronization request receiving unit is configured to receive a data request for sending updated data to the source synchronization device.
  • the receiver is determined according to the connection relationship; and updating the distribution unit configured to transmit the update data to a data request to the source synchronous device.
  • an edge device including: a receiving unit configured to receive a device-to-device communication model, and the device-to-device communication model is based on a device context of the edge device and an update request to update the edge device Generated, where the device-to-device communication model includes the connection relationship of the edge device; the communication model execution unit is configured to determine the update order of the edge device according to the connection relationship and send the update data that updates the edge device to the sending device of the edge device, sending The device is another edge device or a content distribution network node; the update request sending unit is configured to send a data request for the update data to the sending device according to the update order; the update data receiving unit is configured to receive the update data from the sending device; and A data deployment unit configured to deploy updated data on an edge device.
  • a receiving unit configured to receive a device-to-device communication model, and the device-to-device communication model is based on a device context of the edge device and an update request to update the edge device Generated, where the device-to-device communication
  • the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • the edge device further includes: a device capability model generating unit configured to generate a device capability model, the device capability model including hardware information and data versions of the edge device; and a device capability model sending unit configured to To send a device capability model to a content distribution network node, where the update data is determined based on the hardware information and data version of the edge device.
  • a data update system including: at least one edge device; a remote update center configured to manage updates of the edge device; a database configured to store data for updating the edge device; and
  • the content distribution network node device includes: a model receiving unit configured to receive a device capability model, the device capability model including hardware information and a data version of at least one edge device; and a data receiving unit configured to receive an update according to the hardware information and the data version Update data of at least one edge device; an update request receiving unit configured to receive an update request to update at least one edge device; a context receiving unit configured to receive a device context of the edge device; a model generating unit configured to receive the update request according to the update request Generate a device-to-device communication model with the device context.
  • the device-to-device communication model includes the connection relationship of the edge device to be updated.
  • the model distribution unit distributes the device-to-device communication model to the source synchronization device in the edge device to be updated.
  • the synchronization device is determined from the edge device to be updated according to the connection relationship;
  • the synchronization request receiving unit is configured to receive a data request for sending update data to the source synchronization device, and the receiver of the data request is determined according to the connection relationship;
  • the update The distribution unit is configured to send the update data to the source synchronization device according to the data request.
  • the edge device includes: a receiving unit configured to receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of the edge device and an update request to update the edge device, wherein,
  • the device-to-device communication model includes the connection relationship of the edge devices;
  • the communication model execution unit is configured to determine the update order of the edge devices according to the connection relationship and to send the update data that updates the edge device to the sending device of the edge device, and the sending device is another edge device Or a content distribution network node; an update request sending unit configured to send a data request for update data to a sending device according to an update sequence; an update data receiving unit configured to receive update data from the sending device; and a data deployment unit, Configured to deploy updated data on edge devices.
  • the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • a storage medium is also provided, and the storage medium includes a stored program, wherein, when the program runs, the device where the storage medium is located is controlled to execute any of the foregoing methods.
  • a processor is further provided.
  • the processor is configured to run a program, and the method executes any of the foregoing methods when the program is run.
  • a terminal including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs include a method for performing any of the above.
  • a computer program product is also provided.
  • the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor The method of performing any of the above.
  • the technical solution of the present application is implemented in the form of a program to alleviate the pressure of data transmission when updating edge devices in the Internet of Things.
  • a technical solution for sensing a device context and automatically generating a device-to-device communication model, and adopting a content distribution network for distributed remote updating of a large number of IoT devices in order to solve at least the data between the cloud server and the edge device
  • the technical problem of high transmission pressure realizes the technical effects of distributed transmission and control data communication, reducing the bandwidth usage of cloud servers and improving the update speed of edge devices.
  • FIG. 1 is a schematic diagram of a data update system according to an embodiment of the present application.
  • FIG. 2 is a block diagram of a content distribution network node device according to an embodiment of the present application.
  • FIG. 3 is a block diagram of an edge device according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for updating a device according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a device-to-device communication model according to an exemplary embodiment of the present application.
  • FIG. 7 is a schematic diagram of data interaction in a data update system according to an exemplary embodiment of the present application.
  • FIG. 8 is a schematic diagram of an interaction between a content distribution node and a source device according to an exemplary embodiment of the present application
  • FIG. 9 is a schematic diagram of an interaction between a source device and a target device according to an exemplary embodiment of the present application.
  • Event generation and triggering module
  • the update request receiving unit The update request receiving unit.
  • the context receiving unit The context receiving unit.
  • the communication model execution unit The communication model execution unit.
  • FIG. 1 is a schematic diagram of a data update system according to an embodiment of the present application.
  • a data update system 1 according to an embodiment of the present application includes: at least one edge device 50, a remote update center 10, a database 70, and a content distribution network node device 30.
  • the remote update center 10 is configured to manage updates of the edge device 50.
  • the remote update center 10 is used for remote update management and event generation and triggering.
  • the remote update center 10 provides a user interface to the user, and the user can interact with it to manage devices and updates. The user can decide which firmware / software to update which device.
  • the remote update center 10 generates update events and information, and sends a notification to the content distribution network node device 30.
  • the database 70 is configured to store data that updates the edge device 50. Specifically, the database 70 provides a synchronization service of firmware and software for requesting, inserting, uploading, and downloading firmware and software.
  • the content distribution network node device 30 includes a model receiving unit 301 configured to receive a device capability model.
  • the device capability model includes hardware information and data versions of at least one edge device 50.
  • the model receiving unit 301 can receive the device capability model of the edge device 50.
  • the edge device 50 includes: a receiving unit 501 configured to receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of the edge device 50 and an update request to update the edge device
  • the device-to-device communication model includes the connection relationship of the edge device 50
  • the communication model execution unit 503 is configured to determine the update order of the edge device and send the update data updating the edge device 50 to the sending device of the edge device 50 according to the connection relationship.
  • the sending device is another edge device 50 or a content distribution network node 30; the update request sending unit 505 is configured to send a data request for update data to the sending device according to the update order; the update data receiving unit 509 is configured to send The device receives the update data; and a data deployment unit configured to deploy the update data on the edge device 50.
  • the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • FIG. 2 is a block diagram of a content distribution network node device according to an embodiment of the present application.
  • the content distribution network node device 30 according to the embodiment of the present application includes a model receiving unit 301 configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device.
  • the data receiving unit 303 is configured to receive update data that updates at least one edge device according to the hardware information and the data version.
  • the update request receiving unit 305 is configured to receive an update request to update at least one edge device.
  • the context receiving unit 307 is configured to receive a device context of an edge device.
  • the model generating unit 309 is configured to generate a device-to-device communication model according to an update request and a device context, and the device-to-device communication model includes a connection relationship of an edge device to be updated.
  • the model distribution unit 311 distributes the device-to-device communication model to the source synchronization device in the edge device to be updated, and the source synchronization device is determined from the edge device to be updated according to the connection relationship.
  • the synchronization request receiving unit 313 is configured to receive a data request for sending update data to a source synchronization device, and a receiver of the data request is determined according to a connection relationship.
  • the update distribution unit 315 is configured to send the update data to the source synchronization device according to the data request.
  • FIG. 3 is a block diagram of an edge device according to an embodiment of the present application.
  • the edge device 50 according to the embodiment of the present application includes: a receiving unit 501 configured to receive a device-to-device communication model.
  • the device-to-device communication model is based on the device context of the edge device and an update request to update the edge device.
  • the sending device is another edge device or a content distribution network node.
  • the communication model execution unit 503 analyzes the device-to-device communication model and makes a decision on the update order of the edge device 50, such as where the edge device 50 itself is in the update sequence, and from Which device receives what update data; the update request sending unit 505 is configured to send a data request for the update data to the sending device according to the update order; the update data receiving unit 507 is configured to receive the update data from the sending device, such as from content distribution Network Festival The point or other edge device 50 receives the update data; and the data deployment unit 509 is configured to deploy the update data on the edge device 50, for example, install updated firmware, software, or an application runtime to run the application on the edge device 50 .
  • the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • the edge device 50 further includes: a device capability model generating unit 511 configured to generate a device capability model, the device capability model including hardware information and data versions of the edge device; and a device capability model sending unit 513 Is configured to send the device capability model to the content distribution network node, and the device capability model sending unit 513 periodically sends the device capability model to the content distribution network node, where the update data is determined according to the hardware information and data version of the edge device. In this way, the state of the edge device is kept finer to provide the correct updates.
  • FIG. 7 is a schematic diagram of data interaction in a data update system according to an exemplary embodiment of the present application.
  • the cloud platform of the cloud layer includes a remote update center 10 and a database 70.
  • the database 70 stores firmware FW and software SW required for the update, and may also include other system data.
  • the middle layer-the content distribution network layer includes a DNS server, a content distribution network node device 30-1, and a content distribution network node device 30-2. Only two content distribution network node devices are shown here.
  • the content distribution network node device 30-1 represents the content distribution network node device in the first city
  • the content distribution network node device 30-2 represents the content distribution network node device in the second city.
  • Each edge device (field device) 50-1 to 50-6 is arranged in the bottom layer-field device layer. These edge devices are only exemplarily shown in this example, and there may be more or fewer edge devices according to the actual system environment.
  • the edge devices 50-1, 50-2, and 50-3 are field devices, such as various production equipment, instruments, terminals, and the like, which are set in factories in the first city.
  • the edge devices 50-4, 50-5, and 50-6 are field devices installed in a factory in a second city.
  • the interactive process of updating the firmware and software is shown in the interactive processes 91 to 96 in FIG. 7.
  • the edge device 50-1 sends a device context report to the content distribution network node device 30-1 in the first city, which includes a device capability model (interaction process 91), and the content distribution network
  • the node device 30-1 synchronizes the firmware FW / software SW determined according to the device capability model from the database 70 (interaction process 92).
  • the remote update center 10 sends an update trigger event (interaction process 93) to the content distribution network node device 30-1.
  • the update trigger event may be sent according to a user operation.
  • the content distribution network node device 30-1 will The device communication model is distributed to the various edge devices involved in the update (interaction process 94).
  • the edge device 50-1 analyzes the device-to-device communication model and determines itself as the source device, that is, the device that receives the firmware FW / software SW from the content distribution network node device 30-1, and the edge device 50-1 distributes the content
  • the network node device 30-1 requests to receive the firmware FW / software SW, and the content distribution network node device 30-1 sends the firmware FW / software SW to the edge device 50-1 (interaction process 95).
  • the edge device 50-1 uses the received firmware FW / software SW to perform the update operation.
  • Firmware FW / software SW can be passed between edge devices for updates.
  • the edge device 50-1 can send the firmware FW / software SW to other edge devices 50-2 (interaction process 96), or the edge device 50-3 can send the firmware FW / software SW to other edge devices 50-2 (edge devices
  • the firmware FW / software SW can also be transmitted between each other to update the firmware and software of other edge devices.
  • the content distribution network node device 30-2 in the second city it can send the firmware FW / software SW to the edge device 50-4, and the edge device 50-4 can further send the firmware FW / software SW to other edge devices. 50-5 and edge device 50-6 to update firmware and software.
  • FIG. 8 is a schematic diagram of an interaction between a content distribution node and a source device according to an exemplary embodiment of the present application. As shown in FIG. 8, it shows a process in which the edge device 50-1 as a source device obtains firmware / software from the content distribution network node device 30-1 and updates it.
  • the device capability model and context report module 50-1a of the edge device 50-1 sends the device context report, including the device capability model and device context, to the device content acquisition module 30-1c of the content distribution network node device 30-1 in the first city (Interaction Process 91).
  • the content synchronization and cache module 30-1b of the content distribution network node device 30-1 synchronizes the firmware FW / software SW determined according to the device capability model from the database 70 (interaction process 92).
  • the remote update center 10 sends an update trigger event (interaction process 93 in FIG. 7) to the content distribution network node device 30-1, which is specifically divided into an interaction process 93-1 and an interaction process 93-2.
  • the remote update management module 101 in the remote update center 10 generates an update status and sends it to the event generation and triggering module 103 (interaction process 93-1), and the event generation and triggering module 103 distributes events of the nodes of the network node device 30-1 to the content
  • the receiver 30-1a sends an update trigger event (interaction process 93-2).
  • the content distribution network node device 30-1 distributes the device-to-device communication model generated according to the device context to each edge device involved in the update. In this example, the edge device 50-1 is shown (interaction process 94).
  • the device-to-device communication model generation and notification module 30-1d After the event receiver 30-1a of the node receives the update trigger event of the edge device, the device-to-device communication model generation and notification module 30-1d starts to generate the device-to-device communication model (interaction process 94-1).
  • the device-to-device communication model generation and notification module 30-1d interacts with the device content acquisition module 30-1c to analyze the device context (interaction process 94-2), and generates a device-to-device communication model (interaction process 94-3), and sends the device To the device communication model to the event receiver 50-1b of the edge device (interaction process 94-4).
  • the device-to-device communication model execution module 50-1c executes the device-to-device communication model (interaction process 95-1), the content synchronization and caching module 50-1d from the content synchronization and caching module 30-1b of the content distribution network node device 30-1 Update the data synchronously, for example, firmware / software (interaction process 95-2), and the firmware / software deployment module 50-1e of the edge device 50-1 deploys the updated data (interaction process 95-3).
  • FIG. 9 is a schematic diagram of an interaction between a source device and a target device according to an exemplary embodiment of the present application. As shown in FIG. 9, some modules of the content distribution network node device 30-1, an edge device 50-1 as a source device, and an edge device 50-2 as a target device are shown. In the exemplary embodiment according to the present application, the edge device 50-2 as the target device can communicate with the edge device 50-1 as the source device to perform firmware / software update, which will be described in detail below.
  • the device-to-device communication model is sent to the event receiver 50-1b of the edge device 50-1 (interaction process 94-4), the device-to-device communication model execution module 50-1c executes the device-to-device communication model (interaction process 95-1), the content synchronization and cache module 50-1d from the content synchronization and content synchronization of the network node device 30-1
  • the cache module 30-1b updates the data synchronously (interaction process 95-2), and the firmware / software deployment module 50-1e of the edge device 50-1 deploys the updated data outside the edge device 50-1 (interaction process 95-3).
  • the device-to-device communication model generation and notification module 30-1d of the content distribution network node device 30-1 also sends the device-to-device communication model to the event receiver 50-2b of the edge device 50-2 as the target device (interaction process 96- 1), the device-to-device communication model execution module 50-2c of the edge device 50-2 executes the device-to-device communication model (interaction process 96-2), and uses the content synchronization and cache module 50-2d -1 content synchronization and caching module 1d synchronizes the update content, such as firmware / software (interaction process 96-3), and the firmware / software deployment module 50-2e of the edge device 50-2 deploys updated data on the edge device 50-2 (interaction process 97).
  • the edge device as the target device does not need to obtain update data from the content distribution network node, and can obtain update data from other edge devices for update operations.
  • FIG. 4 is a flowchart of a method for sending update data according to an embodiment of the present application.
  • the method for sending updated data according to an embodiment of the present application includes: Step S101: Receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device.
  • the information included in the device capability model is hardware information such as CPU information, memory information, firmware information, application information, and updated data of the synchronization status of the device such as firmware version, synchronization process, application version and its synchronization status.
  • Other examples of information included in the device capability model are: device name, IP address, CPU usage, memory usage, whether to allow device synchronization, and so on.
  • step S103 is performed to receive update data for updating at least one edge device according to the hardware information and the data version.
  • the update data is data that updates data such as firmware, software, and applications, such as updating its version to a new version.
  • step S105 is performed to receive an update request to update at least one edge device.
  • the update request is made by a user, for example, to trigger an event of updating the device.
  • step S107 is performed to receive the device context of the edge device.
  • the device context (device context) reflects the environment and connection relationship where the device is located.
  • step S109 is performed to generate a device-to-device communication model according to the update request and the device context.
  • the device-to-device communication model includes the connection relationship of the edge device to be updated.
  • step S111 is performed to distribute the device-to-device communication model to the source synchronization device in the edge device to be updated.
  • the source synchronization device is determined from the edge device to be updated according to the connection relationship. For example, the source synchronization device is determined according to the optimized resource utilization mode. Sending update data to the source synchronization device and then sending it to other devices will optimize the utilization of communication resources, improve data transmission speed, and ease the cloud server. The pressure to transfer data to a large number of edge devices.
  • step S113 is performed to receive a data request for sending updated data to the source synchronization device. The receiver of the data request is determined according to the connection relationship.
  • the source synchronization device sends a data request to the content distribution node, which is determined according to the connection relationship to optimize the data transmission rate.
  • step S115 is performed to send the update data to the source synchronization device according to the data request. In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.
  • a device capability model is received periodically from a device.
  • the status information of the edge device is continuously updated to ensure that the update data required by the edge device is provided.
  • receiving update data for updating at least one edge device further includes: sending a data request for update data to a database according to the hardware information and the data version, the database including the update data, and receiving the update data sent from the database . In this way, the update data corresponding to the edge device is requested.
  • FIG. 5 is a flowchart of a method for updating a device according to an embodiment of the present application.
  • a method for updating a device according to an embodiment of the present application includes: Step S201: Receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of an edge device and an update request to update the edge device.
  • the device-to-device communication model includes the connection relationship of edge devices.
  • step S203 is performed to determine the update order of the edge device and the sending device that sends the update data of the updated edge device to the edge device according to the connection relationship.
  • the sending device is another edge device or a content distribution network node.
  • step S205 is performed to send a data request for update data to the sending device according to the update order.
  • step S207 is performed to receive the update data from the transmitting device.
  • step S209 is performed to deploy the update data on the edge device. In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.
  • the method further includes: Step S211, generating a device capability model, where the device capability model includes hardware information and data versions of the edge device. And step S213, sending the device capability model to the content distribution network node, where the update data is determined according to the hardware information and data version of the edge device. For a specific edge device, determine the updated firmware, software, and applications that the edge device requires. In this way, the state of the edge device is kept finer to provide the correct updates.
  • the content distribution network node 30 analyzes the device context received from the edge device 50 and generates a device-to-device communication model.
  • the goal of the device-to-device communication model is to optimize resource utilization. For example, if two edge devices 50 are in the same network, the two edge devices 50 may update firmware or software with each other, and the update process may be parallel. When considering resource allocation, resource consumption in the edge device 50 may also be considered.
  • the device-to-device communication model will be sent to all edge devices 50 to be updated after generation.
  • An example of a device-to-device communication model is also provided according to an exemplary embodiment of the present application.
  • FIG. 6 is a schematic diagram of a device-to-device communication model according to an exemplary embodiment of the present application. As shown in FIG.
  • the content distribution network node 30 distributes the application 1 and the application 2 to the edge device 50 a, and distributes the application 3 and the application 4 to the edge device 50 b.
  • the edge device 50 a and the edge device 50 b may use the slave content.
  • the application program sent by the distribution network node 30 is updated.
  • the edge device 50a can send the application 1 to the edge device 50b, the application 2 to the edge device 50c, and the edge device 50b can send the application 3 to the edge device 50c.
  • the application 4 is sent to the edge device 50d, and the edge device 50c can send the application 2 to the edge device 50d, and each edge device can pass the application in any of these ways to implement the update.
  • the edge device After receiving the device-to-device communication model, the edge device will determine the order of updating firmware and software. First, the data of the updated firmware and software is transmitted to the content distribution network node 30. The edge device can receive the update data from the content distribution network node. Or you can receive updated data from other edge devices. For example, if the edge device 50a has the application 1, if the network connection quality between the edge device 50a and the edge device 50b is high, the edge device 50b can obtain the application 1 from the edge device 50a.
  • a storage medium is also provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the foregoing method.
  • a processor is further provided.
  • the processor is configured to run a program, and the method is executed when the program is run.
  • a terminal including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs are included to perform the above method.
  • a computer program product is also provided.
  • the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor Perform the above method.
  • the technical solution of the present application is implemented in the form of a program to alleviate the pressure of data transmission when updating edge devices in the Internet of Things.
  • the technical solution of this application adopts distributed transmission and control, which can reduce the traffic and bandwidth occupancy of the cloud server side, and automatically generate the communication model of the content distribution network nodes and devices.
  • the remote update is more efficient and optimized, and achieves scalability Management of a large number of edge devices without increasing the load on the cloud server side.
  • the disclosed technical content can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit or module is only a logical function division.
  • there may be another division manner such as multiple units or modules or components. It can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be electrical or other forms.
  • the units or modules described as separate components may or may not be physically separated, and the components displayed as units or modules may or may not be physical units or modules, which may be located in one place, or may be distributed to On multiple network elements or modules. Some or all of the units or modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit or module in each embodiment of the present application may be integrated into one processing unit or module, or each unit or module may exist separately physically, or two or more units or modules may be integrated into one Unit or module.
  • the above-mentioned integrated unit or module can be implemented in the form of hardware or in the form of software functional unit or module.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the aforementioned storage media include: U disks, Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disks, magnetic disks, or optical disks, and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application relates to a method for transmitting update data, a content delivery network node and a data update system. The method for transmitting update data comprises: receiving a device capability model, the device capability model comprising hardware information and the data version of at least one edge device; according to the hardware information and the data version, receiving update data for updating the at least one edge device; receiving an update request for updating the least one edge device; receiving a device context of the edge device; generating a device-to-device communication model according to the update request and the device context; delivering the device-to-device communication model to a source synchronization device in the edge device to be updated; receiving a data request for transmitting the update data to the source synchronization device; and transmitting the update data to the source synchronization device according to the data request. The present application optimizes the delivery of update data by means of the content delivery network and device-to-device communication.

Description

发送更新数据的方法、内容分发网络节点和数据更新系统Method for sending updated data, content distribution network node and data updating system 技术领域Technical field

本申请涉及数据更新领域。具体地,本申请涉及发送更新数据的方法、内容分发网络节点和数据更新系统。This application relates to the field of data updating. Specifically, the present application relates to a method for sending updated data, a content distribution network node, and a data update system.

背景技术Background technique

基于云的物联网系统中不可避免地需要远程更新并进行设备管理。常规的方法是在云服务器端对设备进行中心化管理,当设备需要更新固件或者软件时,设备从云服务器下载需要的数据,并且云服务器会控制设备更新的过程。在这种更新过程中,如果面对大量要更新的设备,云服务器或云平台将承担为大量设备提供服务的过大的压力,当边缘设备与云服务器之间的网络质量不好时会降低数据传输速度。虽然相同厂商生产的物联网设备有可能共享相同的网络、固件或软件,但是这些设备的远程更新的任务通常是分开的。Cloud-based IoT systems inevitably require remote updates and device management. The conventional method is to centrally manage the device on the cloud server side. When the device needs to update the firmware or software, the device downloads the required data from the cloud server, and the cloud server controls the process of device update. During this update process, if there are a large number of devices to be updated, the cloud server or cloud platform will bear excessive pressure to provide services for a large number of devices, which will decrease when the network quality between the edge device and the cloud server is not good. Data transfer speed. Although it is possible for IoT devices made by the same manufacturer to share the same network, firmware, or software, the task of remotely updating these devices is usually separate.

发明内容Summary of the Invention

本申请实施例提供了发送更新数据的方法、内容分发网络节点设备和数据更新系统,以至少解决现有技术中对边缘设备进行远程更新时云服务器和边缘设备之间数据传输压力大的问题。The embodiments of the present application provide a method for sending updated data, a content distribution network node device, and a data update system, so as to at least solve the problem of high data transmission pressure between the cloud server and the edge device when remotely updating the edge device in the prior art.

根据本申请实施例的一个方面,提供了发送更新数据的方法,包括:接收设备能力模型,设备能力模型包括至少一个边缘设备的硬件信息和数据版本;根据硬件信息和数据版本接收更新至少一个边缘设备的更新数据;接收更新至少一个边缘设备的更新请求;接收边缘设备的设备上下文;根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备的连接关系;将设备到设备通信模型分发到要更新的边缘设备中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备中确定的;接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的;以及根据数据请求将更新数据发送到源同步设备。According to an aspect of the embodiment of the present application, a method for sending updated data is provided, including: receiving a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; receiving and updating at least one edge according to the hardware information and data versions Receiving device update data; receiving an update request to update at least one edge device; receiving a device context of the edge device; generating a device-to-device communication model based on the update request and the device context, the device-to-device communication model including the connection relationship of the edge device to be updated; Distribute the device-to-device communication model to the source synchronization device in the edge device to be updated. The source synchronization device is determined from the edge device to be updated according to the connection relationship; receive a data request to send updated data to the source synchronization device, and a data request The receiver is determined according to the connection relationship; and the update data is sent to the source synchronization device according to the data request.

以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边缘设备传输更新数据的压力。In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请的示例性实施例,设备能力模型是周期性地从设备接收的。According to an exemplary embodiment of the present application, a device capability model is received periodically from a device.

以这样的方式,持续更新边缘设备的状态信息,保证提供边缘设备需要的更新数据。In this way, the status information of the edge device is continuously updated to ensure that the update data required by the edge device is provided.

根据本申请的示例性实施例,接收更新至少一个边缘设备的更新数据还包括:根据硬件信息和数据版本向数据库发送对更新数据的数据请求,数据库包括更新数据,以及接收从数据库发送的更新数据。According to an exemplary embodiment of the present application, receiving the update data for updating at least one edge device further includes: sending a data request for the update data to the database according to the hardware information and the data version, the database includes the update data, and receiving the update data sent from the database .

以这样的方式,请求边缘设备对应的更新数据。In this way, the update data corresponding to the edge device is requested.

根据本申请实施例的另一方面,还提供了更新设备的方法,包括:接收设备到设备通信模型,设备到设备通信模型是根据边缘设备的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备的连接关系;根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备的更新数据到边缘设备的发送设备,发送设备是其他边缘设备或者是内容分发网络节点;根据更新顺序向发送设备发送对更新数据的数据请求;从发送设备接收更新数据;以及在边缘设备上部署更新数据。According to another aspect of the embodiments of the present application, a method for updating a device is further provided, including: receiving a device-to-device communication model, and the device-to-device communication model is generated according to a device context of an edge device and an update request for updating the edge device, wherein The device-to-device communication model includes the connection relationship of the edge devices; the update order of the edge devices is determined according to the connection relationship, and the sending device that sends the update data that updates the edge devices to the edge devices, the sending device is another edge device or a content distribution network node; Send a data request for update data to the sending device according to the update order; receive the update data from the sending device; and deploy the update data on the edge device.

以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请的示例性实施例,该方法还包括:生成设备能力模型,设备能力模型包括边缘设备的硬件信息和数据版本;以及发送设备能力模型到内容分发网络节点,其中,更新数据是根据边缘设备的硬件信息和数据版本确定的。According to an exemplary embodiment of the present application, the method further includes: generating a device capability model, the device capability model including hardware information and data versions of the edge device; and sending the device capability model to the content distribution network node, wherein the update data is based on the edge The hardware information and data version of the device are determined.

以这样的方式,保持边缘设备的状态持续更细以提供正确的更新。In this way, the state of the edge device is kept finer to provide the correct updates.

根据本申请实施例的另一方面,还提供了内容分发网络节点设备,包括:模型接收单元,被配置为接收设备能力模型,设备能力模型包括至少一个边缘设备的硬件信息和数据版本;数据接收单元,被配置为根据硬件信息和数据版本接收更新至少一个边缘设备的更新数据;更新请求接收单元,被配置为接收更新至少一个边缘设备的更新请求;上下文接收单元,被配置为接收边缘设备的设备上下文;模型生成单元,被配置为根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备的连接关系;模型分发单元,将设备到设备通信模型分发到要更新的边缘设备中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备中确定的;同步请求接收单元,被配置为接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的;以及更新分发单元,被配置为根据数据请求将更新数据发送到源同步设备。According to another aspect of the embodiments of the present application, a content distribution network node device is further provided, including: a model receiving unit configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; data receiving A unit configured to receive update data for updating at least one edge device according to hardware information and a data version; an update request receiving unit configured to receive update requests for updating at least one edge device; a context receiving unit configured to receive an edge device's Device context; a model generation unit configured to generate a device-to-device communication model according to an update request and a device context, and the device-to-device communication model includes connection relationships of edge devices to be updated; a model distribution unit to distribute the device-to-device communication model to The source synchronization device in the edge device to be updated. The source synchronization device is determined from the edge device to be updated according to the connection relationship; the synchronization request receiving unit is configured to receive a data request for sending updated data to the source synchronization device. The receiver is determined according to the connection relationship; and updating the distribution unit configured to transmit the update data to a data request to the source synchronous device.

以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边缘设备传输更新数据的压力。In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请实施例的另一方面,还提供了边缘设备,包括:接收单元,被配置为接收设备到设备通信模型,设备到设备通信模型是根据边缘设备的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备的连接关系;通信模型执行单元,被配置为根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备的更新数据到边缘设备的发送设备,发送设备是其他边缘设备或者是内容分发网络节点;更新请求发送单元,被配置为根据更新顺序向发送设备发送对更新数据的数据请求;更新数据接收单元,被配置为从发送设备接收更新数据;以及数据部署单元,被配置为在边缘设备上部署更新数据。According to another aspect of the embodiments of the present application, an edge device is further provided, including: a receiving unit configured to receive a device-to-device communication model, and the device-to-device communication model is based on a device context of the edge device and an update request to update the edge device Generated, where the device-to-device communication model includes the connection relationship of the edge device; the communication model execution unit is configured to determine the update order of the edge device according to the connection relationship and send the update data that updates the edge device to the sending device of the edge device, sending The device is another edge device or a content distribution network node; the update request sending unit is configured to send a data request for the update data to the sending device according to the update order; the update data receiving unit is configured to receive the update data from the sending device; and A data deployment unit configured to deploy updated data on an edge device.

以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请的示例性实施例,边缘设备还包括:设备能力模型生成单元,被配置为生成设备能力模型,设备能力模型包括边缘设备的硬件信息和数据版本;以及设备能力模型发送单元,被配置为发送设备能力模型到内容分发网络节点,其中,更新数据是根据边缘设备的硬件信息和数据版本确定的。According to an exemplary embodiment of the present application, the edge device further includes: a device capability model generating unit configured to generate a device capability model, the device capability model including hardware information and data versions of the edge device; and a device capability model sending unit configured to To send a device capability model to a content distribution network node, where the update data is determined based on the hardware information and data version of the edge device.

以这样的方式,保持边缘设备的状态持续更细以提供正确的更新。In this way, the state of the edge device is kept finer to provide the correct updates.

根据本申请实施例的另一方面,还提供了数据更新系统,包括:至少一个边缘设备;远程更新中心,被配置为管理边缘设备的更新;数据库,被配置为存储更新边缘设备的数据;以及内容分发网络节点设备,包括:模型接收单元,被配置为接收设备能力模型,设备能力模型包括至少一个边缘设备的硬件信息和数据版本;数据接收单元,被配置为根据硬件信息和数据版本接收更新至少一个边缘设备的更新数据;更新请求接收单元,被配置为接收更新至少一个边缘设备的更新请求;上下文接收单元,被配置为接收边缘设备的设备上下文;模型生成单元,被配置为根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备的连接关系;模型分发单元,将设备到设备通信模型分发到要更新的边缘设备中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备中确定的;同步请求接收单元,被配置为接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的;以及更新分发单元,被配置为根据数据请求将更新数据发送到源同步设备。According to another aspect of the embodiments of the present application, a data update system is further provided, including: at least one edge device; a remote update center configured to manage updates of the edge device; a database configured to store data for updating the edge device; and The content distribution network node device includes: a model receiving unit configured to receive a device capability model, the device capability model including hardware information and a data version of at least one edge device; and a data receiving unit configured to receive an update according to the hardware information and the data version Update data of at least one edge device; an update request receiving unit configured to receive an update request to update at least one edge device; a context receiving unit configured to receive a device context of the edge device; a model generating unit configured to receive the update request according to the update request Generate a device-to-device communication model with the device context. The device-to-device communication model includes the connection relationship of the edge device to be updated. The model distribution unit distributes the device-to-device communication model to the source synchronization device in the edge device to be updated. The synchronization device is determined from the edge device to be updated according to the connection relationship; the synchronization request receiving unit is configured to receive a data request for sending update data to the source synchronization device, and the receiver of the data request is determined according to the connection relationship; and the update The distribution unit is configured to send the update data to the source synchronization device according to the data request.

以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边缘设备传输更新数据的压力。In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请的示例性实施例,边缘设备包括:接收单元,被配置为接收设备到设备通信模型,设备到设备通信模型是根据边缘设备的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备的连接关系;通信模型执行单元,被配置为根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备的更新数据到边缘设备的发送设备,发送设备是其他边缘设备或者是内容分发网络节点;更新请求发送单元,被配置为根据更新顺序向发送设备发送对更新数据的数据请求;更新数据接收单元,被配置为从发送设备接收更新数据;以及数据部署单元,被配置为在边缘设备上部署更新数据。According to an exemplary embodiment of the present application, the edge device includes: a receiving unit configured to receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of the edge device and an update request to update the edge device, wherein, The device-to-device communication model includes the connection relationship of the edge devices; the communication model execution unit is configured to determine the update order of the edge devices according to the connection relationship and to send the update data that updates the edge device to the sending device of the edge device, and the sending device is another edge device Or a content distribution network node; an update request sending unit configured to send a data request for update data to a sending device according to an update sequence; an update data receiving unit configured to receive update data from the sending device; and a data deployment unit, Configured to deploy updated data on edge devices.

以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请实施例的另一方面,还提供了存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述任意一项的方法。According to another aspect of the embodiments of the present application, a storage medium is also provided, and the storage medium includes a stored program, wherein, when the program runs, the device where the storage medium is located is controlled to execute any of the foregoing methods.

根据本申请实施例的另一方面,还提供了处理器,处理器用于运行程序,其中,程序运行时执行上述任意一项的方法。According to another aspect of the embodiments of the present application, a processor is further provided. The processor is configured to run a program, and the method executes any of the foregoing methods when the program is run.

根据本申请实施例的另一方面,还提供了终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,一个或多个程序被存储在存储器中,并且被配置为由一个或多个处理器执行,一个或多个程序包括用于执行上述任意一项的方法。According to another aspect of the embodiments of the present application, a terminal is further provided, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs include a method for performing any of the above.

根据本申请实施例的另一方面,还提供了计算机程序产品,计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行上述任一项的方法。According to another aspect of the embodiments of the present application, a computer program product is also provided. The computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor The method of performing any of the above.

以这样的方式,以程序的形式实施本申请的技术方案,缓解物联网中更新边缘设备时面临的数据传输压力。In this way, the technical solution of the present application is implemented in the form of a program to alleviate the pressure of data transmission when updating edge devices in the Internet of Things.

在本申请实施例中,提供了感知设备上下文并自动生成设备到设备通信模型,并采用内容分发网络进行分布式远程更新大量物联网设备的技术方案,以至少解决云服务器与边缘设备之间数据传输压力大的技术问题,实现了分布式传输和控制数据通信,降低云服务器带宽占用率并提升边缘设备更新速度的技术效果。In the embodiment of the present application, a technical solution is provided for sensing a device context and automatically generating a device-to-device communication model, and adopting a content distribution network for distributed remote updating of a large number of IoT devices in order to solve at least the data between the cloud server and the edge device The technical problem of high transmission pressure realizes the technical effects of distributed transmission and control data communication, reducing the bandwidth usage of cloud servers and improving the update speed of edge devices.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments of the present application and the description thereof are used to explain the present application, and do not constitute an improper limitation on the present application. In the drawings:

图1是根据本申请实施例的数据更新系统的示意图FIG. 1 is a schematic diagram of a data update system according to an embodiment of the present application.

图2是根据本申请实施例的内容分发网络节点设备的框图;2 is a block diagram of a content distribution network node device according to an embodiment of the present application;

图3是根据本申请实施例的边缘设备的框图;3 is a block diagram of an edge device according to an embodiment of the present application;

图4是根据本申请实施例的发送更新数据的方法的流程图;4 is a flowchart of a method for sending update data according to an embodiment of the present application;

图5是根据本申请实施例的更新设备的方法的流程图;5 is a flowchart of a method for updating a device according to an embodiment of the present application;

图6是根据本申请示例性实施例的设备到设备通信模型的示意图;6 is a schematic diagram of a device-to-device communication model according to an exemplary embodiment of the present application;

图7是根据本申请示例性实施例的数据更新系统中数据交互的示意图;7 is a schematic diagram of data interaction in a data update system according to an exemplary embodiment of the present application;

图8是根据本申请示例性实施例的内容分发节点与源设备之间的交互的示意图;8 is a schematic diagram of an interaction between a content distribution node and a source device according to an exemplary embodiment of the present application;

图9是根据本申请示例性实施例的源设备与目标设备之间的交互的示意图。FIG. 9 is a schematic diagram of an interaction between a source device and a target device according to an exemplary embodiment of the present application.

附图标号说明:BRIEF DESCRIPTION OF THE DRAWINGS

1,数据更新系统;1. Data update system;

10,远程更新中心;10. Remote update center;

101,远程更新管理模块;101. Remote update management module;

103,事件生成和触发模块;103. Event generation and triggering module;

30,内容分发网络节点设备;30. Content distribution network node device;

301,模型接收单元;301, a model receiving unit;

303,数据接收单元;303: Data receiving unit;

305,更新请求接收单元;305. The update request receiving unit.

307,上下文接收单元;307. The context receiving unit.

309,模型生成单元;309: Model generation unit;

311,模型分发单元;311, a model distribution unit;

313,同步请求接收单元;313: The synchronization request receiving unit;

315,更新分发单元;315: Update the distribution unit.

50、50a、50b、50c、50d,边缘设备,50, 50a, 50b, 50c, 50d, edge devices,

501,接收单元;501, a receiving unit;

503,通信模型执行单元;503. The communication model execution unit.

505,更新请求发送单元;505. An update request sending unit.

507,更新数据接收单元;507: Update the data receiving unit.

509,数据部署单元;509, a data deployment unit;

511,设备能力模型生成单元;511: Equipment capability model generation unit;

513,设备能力模型发送单元;513, a device capability model sending unit;

70,数据库;70, the database;

S101~S115,步骤;S101-S115, steps;

S201~S213,步骤;S201-S213, steps;

FW,固件;FW, firmware;

SW,软件;SW, software;

30-1、30-2,内容分发网络节点设备;30-1, 30-2, content distribution network node equipment;

50-1~50-6,边缘设备;50-1 ~ 50-6, edge equipment;

91~96,交互过程。91 ~ 96, interactive process.

30-1a,节点的事件接收器;30-1a, the event receiver of the node;

30-1b,内容同步和缓存模块;30-1b, content synchronization and cache module;

30-1c,设备内容获知模块;30-1c, device content learning module;

30-1d,设备到设备通信模型生成和通知模块;30-1d, device-to-device communication model generation and notification module;

50-1a、50-2a,设备能力模型和上下文报告模块;50-1a, 50-2a, equipment capability model and context report module;

50-1b、50-2b,边缘设备的事件接收器;50-1b, 50-2b, event receivers for edge devices;

50-1c、50-2c,设备到设备通信模型执行模块;50-1c, 50-2c, device-to-device communication model execution module;

50-1d、50-2d,内容同步和缓存模块;50-1d, 50-2d, content synchronization and cache module;

50-1e、50-2e,固件/软件部署模块。50-1e, 50-2e, firmware / software deployment module.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only Examples are part of this application, but not all examples. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts should fall within the protection scope of this application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块或单元。It should be noted that the terms “first” and “second” in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so used may be interchanged where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. Furthermore, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or modules or units need not be limited to clearly listed Those steps or modules or units may include other steps or modules or units not explicitly listed or inherent to these processes, methods, products, or equipment.

根据本申请实施例,提供了数据更新系统。图1是根据本申请实施例的数据更新系统的示意图。如图1所示,根据本申请实施例的数据更新系统1包括:至少一个边缘设备50、远程更新中心10、数据库70以及内容分发网络节点设备30。远程更新中心10被配置为管理边缘设备50的更新。具体地,远程更新中心10用于远程更新管理和事件生成和触发。关于远程更新管理,远程更新中心10向用户提供用户接口,用户可以与其交互来管理设备和更新。用户可以决定用哪个固件/软件更新哪个设备。关于时间生成和触发,远程更新中心10生成更新事件和信息,并向内容分发网络节点设备30发送通知。数据库70被配置为存储更新边缘设备50的数据。具体地,数据库70提供固件、软件的同步服务,用于固件、软件的请求、插入、上传和下载。内容分发网络节点设备30包括:模型接收单元301,被配置为接收设备能力模型,设备能力模型包括至少一个边缘设备50的硬件信息和数据版本,模型接收单元301能够接收边缘设备50的设备能力模型,并且动态更新、组织并存储边缘设备50的上下文(环境),并且也为模型生成单元309提供分析;数据接收单元303,被配置为根据硬件信息和数据版本接收更新至少一个边缘设备50的更新数据,用于同步内容和缓存;更新请求接收单元305,被配置为接收更新至少一个边缘设备50的更新请求,例如接收更新事 件和信息;上下文接收单元307,被配置为接收边缘设备50的设备上下文;模型生成单元309,被配置为根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备50的连接关系;模型分发单元311,将设备到设备通信模型分发到要更新的边缘设备50中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备50中确定的;同步请求接收单元313,被配置为接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的;以及更新分发单元315,被配置为根据数据请求将更新数据发送到源同步设备。以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边缘设备传输更新数据的压力。According to an embodiment of the present application, a data update system is provided. FIG. 1 is a schematic diagram of a data update system according to an embodiment of the present application. As shown in FIG. 1, a data update system 1 according to an embodiment of the present application includes: at least one edge device 50, a remote update center 10, a database 70, and a content distribution network node device 30. The remote update center 10 is configured to manage updates of the edge device 50. Specifically, the remote update center 10 is used for remote update management and event generation and triggering. Regarding remote update management, the remote update center 10 provides a user interface to the user, and the user can interact with it to manage devices and updates. The user can decide which firmware / software to update which device. Regarding time generation and triggering, the remote update center 10 generates update events and information, and sends a notification to the content distribution network node device 30. The database 70 is configured to store data that updates the edge device 50. Specifically, the database 70 provides a synchronization service of firmware and software for requesting, inserting, uploading, and downloading firmware and software. The content distribution network node device 30 includes a model receiving unit 301 configured to receive a device capability model. The device capability model includes hardware information and data versions of at least one edge device 50. The model receiving unit 301 can receive the device capability model of the edge device 50. And dynamically update, organize, and store the context (environment) of the edge device 50, and also provide analysis for the model generation unit 309; the data receiving unit 303 is configured to receive updates that update at least one edge device 50 according to the hardware information and data version Data for synchronizing content and cache; an update request receiving unit 305 configured to receive an update request to update at least one edge device 50, such as receiving update events and information; a context receiving unit 307 configured to receive a device of the edge device 50 Context; a model generation unit 309 configured to generate a device-to-device communication model according to an update request and a device context, and the device-to-device communication model includes a connection relationship of an edge device 50 to be updated; and a model distribution unit 311 to convert the device-to-device communication model Distribute to The source synchronization device in the updated edge device 50 is determined from the edge device 50 to be updated according to the connection relationship; the synchronization request receiving unit 313 is configured to receive a data request for sending updated data to the source synchronization device, The receiver of the data request is determined according to the connection relationship; and the update distribution unit 315 is configured to send the update data to the source synchronization device according to the data request. In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请的示例性实施例,边缘设备50包括:接收单元501,被配置为接收设备到设备通信模型,设备到设备通信模型是根据边缘设备50的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备50的连接关系;通信模型执行单元503,被配置为根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备50的更新数据到边缘设备50的发送设备,发送设备是其他边缘设备50或者是内容分发网络节点30;更新请求发送单元505,被配置为根据更新顺序向发送设备发送对更新数据的数据请求;更新数据接收单元509,被配置为从发送设备接收更新数据;以及数据部署单元,被配置为在边缘设备50上部署更新数据。以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。According to an exemplary embodiment of the present application, the edge device 50 includes: a receiving unit 501 configured to receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of the edge device 50 and an update request to update the edge device Wherein, the device-to-device communication model includes the connection relationship of the edge device 50; the communication model execution unit 503 is configured to determine the update order of the edge device and send the update data updating the edge device 50 to the sending device of the edge device 50 according to the connection relationship. The sending device is another edge device 50 or a content distribution network node 30; the update request sending unit 505 is configured to send a data request for update data to the sending device according to the update order; the update data receiving unit 509 is configured to send The device receives the update data; and a data deployment unit configured to deploy the update data on the edge device 50. In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请实施例的另一个实施例,还提供了内容分发网络节点设备30。图2是根据本申请实施例的内容分发网络节点设备的框图。如图2所示,根据本申请实施例的内容分发网络节点设备30包括:模型接收单元301,被配置为接收设备能力模型,设备能力模型包括至少一个边缘设备的硬件信息和数据版本。数据接收单元303,被配置为根据硬件信息和数据版本接收更新至少一个边缘设备的更新数据。更新请求接收单元305,被配置为接收更新至少一个边缘设备的更新请求。上下文接收单元307,被配置为接收边缘设备的设备上下文。模型生成单元309,被配置为根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备的连接关系。模型分发单元311,将设备到设备通信模型分发到要更新的边缘设备中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备中确定的。同步请求接收单元313,被配置为接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的。以及更新分发单元315,被配置为根据数据请求将更新数据发送到源同步设备。以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边 缘设备传输更新数据的压力。According to another embodiment of the embodiments of the present application, a content distribution network node device 30 is also provided. FIG. 2 is a block diagram of a content distribution network node device according to an embodiment of the present application. As shown in FIG. 2, the content distribution network node device 30 according to the embodiment of the present application includes a model receiving unit 301 configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device. The data receiving unit 303 is configured to receive update data that updates at least one edge device according to the hardware information and the data version. The update request receiving unit 305 is configured to receive an update request to update at least one edge device. The context receiving unit 307 is configured to receive a device context of an edge device. The model generating unit 309 is configured to generate a device-to-device communication model according to an update request and a device context, and the device-to-device communication model includes a connection relationship of an edge device to be updated. The model distribution unit 311 distributes the device-to-device communication model to the source synchronization device in the edge device to be updated, and the source synchronization device is determined from the edge device to be updated according to the connection relationship. The synchronization request receiving unit 313 is configured to receive a data request for sending update data to a source synchronization device, and a receiver of the data request is determined according to a connection relationship. And the update distribution unit 315 is configured to send the update data to the source synchronization device according to the data request. In this way, receiving update data for updating the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请实施例,还提供了边缘设备。图3是根据本申请实施例的边缘设备的框图。如图3所示,根据本申请实施例的边缘设备50包括:接收单元501,被配置为接收设备到设备通信模型,设备到设备通信模型是根据边缘设备的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备的连接关系;通信模型执行单元503,被配置为根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备的更新数据到边缘设备的发送设备,发送设备是其他边缘设备或者是内容分发网络节点,通信模型执行单元503分析设备到设备通信模型,做出边缘设备50的更新顺序的决定,例如边缘设备50本身处于更新序列的哪个位置,以及从哪个设备接收什么更新数据;更新请求发送单元505,被配置为根据更新顺序向发送设备发送对更新数据的数据请求;更新数据接收单元507,被配置为从发送设备接收更新数据,例如从内容分发网络节点或者其他边缘设备50接收更新数据;以及数据部署单元509,被配置为在边缘设备50上部署更新数据,例如,在边缘设备50上安装更新的固件、软件,或者应用程序运行时间运行应用程序。以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。According to an embodiment of the present application, an edge device is also provided. FIG. 3 is a block diagram of an edge device according to an embodiment of the present application. As shown in FIG. 3, the edge device 50 according to the embodiment of the present application includes: a receiving unit 501 configured to receive a device-to-device communication model. The device-to-device communication model is based on the device context of the edge device and an update request to update the edge device. Generated, wherein the device-to-device communication model includes the connection relationship of the edge devices; the communication model execution unit 503 is configured to determine the update order of the edge devices according to the connection relationship and send the update data to update the edge device to the sending device of the edge device, The sending device is another edge device or a content distribution network node. The communication model execution unit 503 analyzes the device-to-device communication model and makes a decision on the update order of the edge device 50, such as where the edge device 50 itself is in the update sequence, and from Which device receives what update data; the update request sending unit 505 is configured to send a data request for the update data to the sending device according to the update order; the update data receiving unit 507 is configured to receive the update data from the sending device, such as from content distribution Network Festival The point or other edge device 50 receives the update data; and the data deployment unit 509 is configured to deploy the update data on the edge device 50, for example, install updated firmware, software, or an application runtime to run the application on the edge device 50 . In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请的示例性实施例,边缘设备还50包括:设备能力模型生成单元511,被配置为生成设备能力模型,设备能力模型包括边缘设备的硬件信息和数据版本;以及设备能力模型发送单元513,被配置为发送设备能力模型到内容分发网络节点,设备能力模型发送单元513周期性地向内容分发网络节点发送设备能力模型,其中,更新数据是根据边缘设备的硬件信息和数据版本确定的。以这样的方式,保持边缘设备的状态持续更细以提供正确的更新。According to the exemplary embodiment of the present application, the edge device 50 further includes: a device capability model generating unit 511 configured to generate a device capability model, the device capability model including hardware information and data versions of the edge device; and a device capability model sending unit 513 Is configured to send the device capability model to the content distribution network node, and the device capability model sending unit 513 periodically sends the device capability model to the content distribution network node, where the update data is determined according to the hardware information and data version of the edge device. In this way, the state of the edge device is kept finer to provide the correct updates.

根据本申请示例性实施例示出在更新系统中数据交互的方式。图7是根据本申请示例性实施例的数据更新系统中数据交互的示意图,图7中以从上至下分为云层、内容分发网络层和现场设备层的架构示出系统的设备之间的数据交互。在云层的云平台处包括远程更新中心10和数据库70,数据库70中存储更新所需的固件FW和软件SW,也可以包括其他系统数据。在中间层-内容分发网络层包括DNS服务器,内容分发网络节点设备30-1和内容分发网络节点设备30-2,在此仅示出两个内容分发网络节点设备,根据实际系统环境可以存在更多内容分发网络节点设备。例如,内容分发网络节点设备30-1代表第一城市的内容分发网络节点设备,内容分发网络节点设备30-2代表第二城市的内容分发网络节点设备。在底层-现场设备层布置有各个边缘设备(现场设备)50-1~50-6,本示例中仅示例性示出这些边缘设备,根据实际系统环境可以存在更多或更少边缘设备。例如,边缘设备50-1、50-2和50-3是设置在第一城市的工厂 中的现场设备,例如各种生产设备、仪器、终端等等。边缘设备50-4、50-5和50-6是设置在第二城市的工厂中的现场设备。An exemplary embodiment according to the present application shows a manner of data interaction in an update system. FIG. 7 is a schematic diagram of data interaction in a data update system according to an exemplary embodiment of the present application. In FIG. 7, an architecture divided into a cloud layer, a content distribution network layer, and a field device layer is shown from top to bottom. Data interaction. The cloud platform of the cloud layer includes a remote update center 10 and a database 70. The database 70 stores firmware FW and software SW required for the update, and may also include other system data. In the middle layer-the content distribution network layer includes a DNS server, a content distribution network node device 30-1, and a content distribution network node device 30-2. Only two content distribution network node devices are shown here. Depending on the actual system environment, there may be more Multi-content distribution network node device. For example, the content distribution network node device 30-1 represents the content distribution network node device in the first city, and the content distribution network node device 30-2 represents the content distribution network node device in the second city. Each edge device (field device) 50-1 to 50-6 is arranged in the bottom layer-field device layer. These edge devices are only exemplarily shown in this example, and there may be more or fewer edge devices according to the actual system environment. For example, the edge devices 50-1, 50-2, and 50-3 are field devices, such as various production equipment, instruments, terminals, and the like, which are set in factories in the first city. The edge devices 50-4, 50-5, and 50-6 are field devices installed in a factory in a second city.

更新固件、软件的交互过程如图7中的交互过程91~96所示。以第一城市的工厂中的边缘设备为例,边缘设备50-1向第一城市的内容分发网络节点设备30-1发送设备上下文报告,其中包括设备能力模型(交互过程91),内容分发网络节点设备30-1从数据库70同步根据设备能力模型确定的固件FW/软件SW(交互过程92)。远程更新中心10向内容分发网络节点设备30-1发送更新触发事件(交互过程93),更新触发事件可以是根据用户操作发送的,内容分发网络节点设备30-1将根据设备上下文生成的设备到设备通信模型分发到涉及更新的各个边缘设备(交互过程94)。在本示例中,边缘设备50-1分析设备到设备通信模型确定其本身为源设备,即从内容分发网络节点设备30-1接收固件FW/软件SW的设备,边缘设备50-1向内容分发网络节点设备30-1请求接收固件FW/软件SW,内容分发网络节点设备30-1将固件FW/软件SW发送到边缘设备50-1(交互过程95)。边缘设备50-1采用接收到的固件FW/软件SW进行更新操作。在边缘设备之间能够传递固件FW/软件SW以进行更新。边缘设备50-1能够将固件FW/软件SW发送到其他边缘设备50-2(交互过程96),或者通过边缘设备50-3将固件FW/软件SW发送到其他边缘设备50-2(边缘设备之间也能够互相传输固件FW/软件SW),进行其他边缘设备的固件、软件的更新。类似的,对于第二城市的内容分发网络节点设备30-2,它能够将固件FW/软件SW发送到边缘设备50-4,边缘设备50-4能够进一步发送固件FW/软件SW到其他边缘设备50-5和边缘设备50-6,进行固件、软件的更新。The interactive process of updating the firmware and software is shown in the interactive processes 91 to 96 in FIG. 7. Taking the edge device in the factory in the first city as an example, the edge device 50-1 sends a device context report to the content distribution network node device 30-1 in the first city, which includes a device capability model (interaction process 91), and the content distribution network The node device 30-1 synchronizes the firmware FW / software SW determined according to the device capability model from the database 70 (interaction process 92). The remote update center 10 sends an update trigger event (interaction process 93) to the content distribution network node device 30-1. The update trigger event may be sent according to a user operation. The content distribution network node device 30-1 will The device communication model is distributed to the various edge devices involved in the update (interaction process 94). In this example, the edge device 50-1 analyzes the device-to-device communication model and determines itself as the source device, that is, the device that receives the firmware FW / software SW from the content distribution network node device 30-1, and the edge device 50-1 distributes the content The network node device 30-1 requests to receive the firmware FW / software SW, and the content distribution network node device 30-1 sends the firmware FW / software SW to the edge device 50-1 (interaction process 95). The edge device 50-1 uses the received firmware FW / software SW to perform the update operation. Firmware FW / software SW can be passed between edge devices for updates. The edge device 50-1 can send the firmware FW / software SW to other edge devices 50-2 (interaction process 96), or the edge device 50-3 can send the firmware FW / software SW to other edge devices 50-2 (edge devices The firmware FW / software SW can also be transmitted between each other to update the firmware and software of other edge devices. Similarly, for the content distribution network node device 30-2 in the second city, it can send the firmware FW / software SW to the edge device 50-4, and the edge device 50-4 can further send the firmware FW / software SW to other edge devices. 50-5 and edge device 50-6 to update firmware and software.

以下进一步根据本申请示例性实施例示出内容分发节点与源设备之间的交互。图8是根据本申请示例性实施例的内容分发节点与源设备之间的交互的示意图。如图8所示,其示出作为源设备的边缘设备50-1从内容分发网络节点设备30-1获取固件/软件并更新的过程。The following further illustrates the interaction between the content distribution node and the source device according to an exemplary embodiment of the present application. FIG. 8 is a schematic diagram of an interaction between a content distribution node and a source device according to an exemplary embodiment of the present application. As shown in FIG. 8, it shows a process in which the edge device 50-1 as a source device obtains firmware / software from the content distribution network node device 30-1 and updates it.

边缘设备50-1的设备能力模型和上下文报告模块50-1a向第一城市的内容分发网络节点设备30-1的设备内容获知模块30-1c发送设备上下文报告,其中包括设备能力模型和设备上下文(交互过程91)。内容分发网络节点设备30-1的内容同步和缓存模块30-1b从数据库70同步根据设备能力模型确定的固件FW/软件SW(交互过程92)。远程更新中心10向内容分发网络节点设备30-1发送更新触发事件(图7中的交互过程93)具体分为交互过程93-1和交互过程93-2。远程更新中心10中的远程更新管理模块101生成更新状态,发送给事件生成和触发模块103(交互过程93-1),事件生成和触发模块103向内容分发网络节点设备30-1的节点的事件接收器30-1a发送更新触发事件(交互过程93-2)。内容分发网络节点设备30-1将根据设备上下文生成的设备 到设备通信模型分发到各个涉及更新的边缘设备,在本示例中示出边缘设备50-1(交互过程94),该过程可分为交互过程94-1、交互过程94-2、交互过程94-3和交互过程94-4。节点的事件接收器30-1a收到边缘设备的更新触发事件后,设备到设备通信模型生成和通知模块30-1d开始生成设备到设备通信模型(交互过程94-1)。设备到设备通信模型生成和通知模块30-1d与设备内容获知模块30-1c交互从而分析设备上下文(交互过程94-2),并生成设备到设备通信模型(交互过程94-3),发送设备到设备通信模型到边缘设备的事件接收器50-1b(交互过程94-4)。设备到设备通信模型执行模块50-1c执行设备到设备通信模型(交互过程95-1),内容同步和缓存模块50-1d从内容分发网络节点设备30-1的内容同步和缓存模块30-1b同步更新数据,例如固件/软件(交互过程95-2),边缘设备50-1的固件/软件部署模块50-1e部署更新的数据(交互过程95-3)。The device capability model and context report module 50-1a of the edge device 50-1 sends the device context report, including the device capability model and device context, to the device content acquisition module 30-1c of the content distribution network node device 30-1 in the first city (Interaction Process 91). The content synchronization and cache module 30-1b of the content distribution network node device 30-1 synchronizes the firmware FW / software SW determined according to the device capability model from the database 70 (interaction process 92). The remote update center 10 sends an update trigger event (interaction process 93 in FIG. 7) to the content distribution network node device 30-1, which is specifically divided into an interaction process 93-1 and an interaction process 93-2. The remote update management module 101 in the remote update center 10 generates an update status and sends it to the event generation and triggering module 103 (interaction process 93-1), and the event generation and triggering module 103 distributes events of the nodes of the network node device 30-1 to the content The receiver 30-1a sends an update trigger event (interaction process 93-2). The content distribution network node device 30-1 distributes the device-to-device communication model generated according to the device context to each edge device involved in the update. In this example, the edge device 50-1 is shown (interaction process 94). Interactive process 94-1, interactive process 94-2, interactive process 94-3, and interactive process 94-4. After the event receiver 30-1a of the node receives the update trigger event of the edge device, the device-to-device communication model generation and notification module 30-1d starts to generate the device-to-device communication model (interaction process 94-1). The device-to-device communication model generation and notification module 30-1d interacts with the device content acquisition module 30-1c to analyze the device context (interaction process 94-2), and generates a device-to-device communication model (interaction process 94-3), and sends the device To the device communication model to the event receiver 50-1b of the edge device (interaction process 94-4). The device-to-device communication model execution module 50-1c executes the device-to-device communication model (interaction process 95-1), the content synchronization and caching module 50-1d from the content synchronization and caching module 30-1b of the content distribution network node device 30-1 Update the data synchronously, for example, firmware / software (interaction process 95-2), and the firmware / software deployment module 50-1e of the edge device 50-1 deploys the updated data (interaction process 95-3).

根据本申请示例性实施例还示出源设备与目标设备之间的交互。图9是根据本申请示例性实施例的源设备与目标设备之间的交互的示意图。如图9所示,示出内容分发网络节点设备30-1的部分模块、作为源设备的边缘设备50-1和作为目标设备的边缘设备50-2。在根据本申请示例性实施例中,作为目标设备的边缘设备50-2能够与作为源设备的边缘设备50-1通信来进行固件/软件的更新,以下进行详细说明。An exemplary embodiment according to the present application also illustrates interaction between a source device and a target device. FIG. 9 is a schematic diagram of an interaction between a source device and a target device according to an exemplary embodiment of the present application. As shown in FIG. 9, some modules of the content distribution network node device 30-1, an edge device 50-1 as a source device, and an edge device 50-2 as a target device are shown. In the exemplary embodiment according to the present application, the edge device 50-2 as the target device can communicate with the edge device 50-1 as the source device to perform firmware / software update, which will be described in detail below.

除了如图8所示的内容分发网络节点设备30-1的设备到设备通信模型生成和通知模块30-1d发送设备到设备通信模型到边缘设备50-1的事件接收器50-1b(交互过程94-4)、设备到设备通信模型执行模块50-1c执行设备到设备通信模型(交互过程95-1)、内容同步和缓存模块50-1d从内容分发网络节点设备30-1的内容同步和缓存模块30-1b同步更新数据(交互过程95-2)、边缘设备50-1的固件/软件部署模块50-1e在边缘设备50-1部署更新的数据(交互过程95-3)之外,内容分发网络节点设备30-1的设备到设备通信模型生成和通知模块30-1d也发送设备到设备通信模型到作为目标设备的边缘设备50-2的事件接收器50-2b(交互过程96-1),边缘设备50-2的设备到设备通信模型执行模块50-2c执行设备到设备通信模型(交互过程96-2),通过内容同步和缓存模块50-2d从作为源设备的边缘设备50-1的内容同步和缓存模块50-1d同步更新内容,例如固件/软件(交互过程96-3),边缘设备50-2的固件/软件部署模块50-2e在边缘设备50-2部署更新的数据(交互过程97)。以这样的方式,作为目标设备的边缘设备无需从内容分发网络节点获取更新数据,能够从其他边缘设备获取更新数据以进行更新操作。In addition to the content distribution network node device 30-1 device-to-device communication model generation and notification module 30-1d shown in FIG. 8, the device-to-device communication model is sent to the event receiver 50-1b of the edge device 50-1 (interaction process 94-4), the device-to-device communication model execution module 50-1c executes the device-to-device communication model (interaction process 95-1), the content synchronization and cache module 50-1d from the content synchronization and content synchronization of the network node device 30-1 The cache module 30-1b updates the data synchronously (interaction process 95-2), and the firmware / software deployment module 50-1e of the edge device 50-1 deploys the updated data outside the edge device 50-1 (interaction process 95-3). The device-to-device communication model generation and notification module 30-1d of the content distribution network node device 30-1 also sends the device-to-device communication model to the event receiver 50-2b of the edge device 50-2 as the target device (interaction process 96- 1), the device-to-device communication model execution module 50-2c of the edge device 50-2 executes the device-to-device communication model (interaction process 96-2), and uses the content synchronization and cache module 50-2d -1 content synchronization and caching module 1d synchronizes the update content, such as firmware / software (interaction process 96-3), and the firmware / software deployment module 50-2e of the edge device 50-2 deploys updated data on the edge device 50-2 (interaction process 97). In this way, the edge device as the target device does not need to obtain update data from the content distribution network node, and can obtain update data from other edge devices for update operations.

根据本申请实施例,提供了发送更新数据的方法。图4是根据本申请实施例的发送更新数据的方法的流程图。如图4所示,根据本申请实施例的发送更新数据的方法包括:步骤S101,接收设备能力模型,设备能力模型包括至少一个边缘设备的硬件信 息和数据版本。例如,设备能力模型包括的信息是CPU信息、内存信息等的硬件信息、固件信息、应用程序信息和例如固件版本、同步进程、应用程序版本及其同步状态等的设备的同步状态的更新数据。设备能力模型包括的信息的其他示例为:设备名、IP地址、CPU使用率、内存使用率、是否允许设备同步等。接下来进行步骤S103,根据硬件信息和数据版本接收更新至少一个边缘设备的更新数据。更新数据是对固件、软件、应用程序等数据的更新的数据,例如更新其版本为新版。接下来进行步骤S105,接收更新至少一个边缘设备的更新请求。更新请求例如是用户做出的,用来触发更新设备的事件。接下来进行步骤S107,接收边缘设备的设备上下文。设备上下文(device context)反映了设备所在的环境、连接关系。接下来进行步骤S109,根据更新请求和设备上下文生成设备到设备通信模型,设备到设备通信模型包括要更新的边缘设备的连接关系。接下来进行步骤S111,将设备到设备通信模型分发到要更新的边缘设备中的源同步设备,源同步设备是根据连接关系从要更新的边缘设备中确定的。例如,源同步设备是根据优化的资源利用方式确定的,将更新数据先发给该源同步设备,再由其发送给其他设备将会优化通信资源的利用率,提高数据传输速度,缓解云服务器向大量边缘设备传输数据的压力。接下来进行步骤S113,接收发送更新数据到源同步设备的数据请求,数据请求的接收方是根据连接关系确定的。例如,源同步设备发送数据请求给内容分发节点,这是根据连接关系确定的,以优化数据传输速率。接下来进行步骤S115,根据数据请求将更新数据发送到源同步设备。以这样的方式,接收更新边缘设备的更新数据,根据设备到设备通信模型确定源同步设备,将更新数据发送给源同步设备,缓解了从云服务器向边缘设备传输更新数据的压力。According to an embodiment of the present application, a method for sending update data is provided. FIG. 4 is a flowchart of a method for sending update data according to an embodiment of the present application. As shown in FIG. 4, the method for sending updated data according to an embodiment of the present application includes: Step S101: Receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device. For example, the information included in the device capability model is hardware information such as CPU information, memory information, firmware information, application information, and updated data of the synchronization status of the device such as firmware version, synchronization process, application version and its synchronization status. Other examples of information included in the device capability model are: device name, IP address, CPU usage, memory usage, whether to allow device synchronization, and so on. Next, step S103 is performed to receive update data for updating at least one edge device according to the hardware information and the data version. The update data is data that updates data such as firmware, software, and applications, such as updating its version to a new version. Next, step S105 is performed to receive an update request to update at least one edge device. The update request is made by a user, for example, to trigger an event of updating the device. Next, step S107 is performed to receive the device context of the edge device. The device context (device context) reflects the environment and connection relationship where the device is located. Next, step S109 is performed to generate a device-to-device communication model according to the update request and the device context. The device-to-device communication model includes the connection relationship of the edge device to be updated. Next, step S111 is performed to distribute the device-to-device communication model to the source synchronization device in the edge device to be updated. The source synchronization device is determined from the edge device to be updated according to the connection relationship. For example, the source synchronization device is determined according to the optimized resource utilization mode. Sending update data to the source synchronization device and then sending it to other devices will optimize the utilization of communication resources, improve data transmission speed, and ease the cloud server. The pressure to transfer data to a large number of edge devices. Next, step S113 is performed to receive a data request for sending updated data to the source synchronization device. The receiver of the data request is determined according to the connection relationship. For example, the source synchronization device sends a data request to the content distribution node, which is determined according to the connection relationship to optimize the data transmission rate. Next, step S115 is performed to send the update data to the source synchronization device according to the data request. In this way, receiving update data to update the edge device, determining the source synchronization device according to the device-to-device communication model, and sending the update data to the source synchronization device, alleviating the pressure of transmitting update data from the cloud server to the edge device.

根据本申请的示例性实施例,设备能力模型是周期性地从设备接收的。以这样的方式,持续更新边缘设备的状态信息,保证提供边缘设备需要的更新数据。According to an exemplary embodiment of the present application, a device capability model is received periodically from a device. In this way, the status information of the edge device is continuously updated to ensure that the update data required by the edge device is provided.

根据本申请的示例性实施例,接收更新至少一个边缘设备的更新数据还包括:根据硬件信息和数据版本向数据库发送对更新数据的数据请求,数据库包括更新数据,以及接收从数据库发送的更新数据。以这样的方式,请求边缘设备对应的更新数据。According to an exemplary embodiment of the present application, receiving update data for updating at least one edge device further includes: sending a data request for update data to a database according to the hardware information and the data version, the database including the update data, and receiving the update data sent from the database . In this way, the update data corresponding to the edge device is requested.

根据本申请另一实施例,还提供了更新设备的方法。图5是根据本申请实施例的更新设备的方法的流程图。如图5所示,根据本申请实施例的更新设备的方法包括:步骤S201,接收设备到设备通信模型,设备到设备通信模型是根据边缘设备的设备上下文和更新边缘设备的更新请求生成的,其中,设备到设备通信模型包括边缘设备的连接关系。接下来进行步骤S203,根据连接关系确定边缘设备的更新顺序以及发送更新边缘设备的更新数据到边缘设备的发送设备,发送设备是其他边缘设备或者是内容分发网络节点。接下来进行步骤S205,根据更新顺序向发送设备发送对更新数据的数据请求。接下来进行步骤S207,从发送设备接收更新数据。接下来进行步骤S209,在 边缘设备上部署更新数据。以这样的方式,根据设备通信模型,确定发送更新设备的发送设备,向发送设备请求更新数据以更新边缘设备,缓解了云服务器传输数据的压力。According to another embodiment of the present application, a method for updating a device is also provided. FIG. 5 is a flowchart of a method for updating a device according to an embodiment of the present application. As shown in FIG. 5, a method for updating a device according to an embodiment of the present application includes: Step S201: Receive a device-to-device communication model, and the device-to-device communication model is generated according to a device context of an edge device and an update request to update the edge device. The device-to-device communication model includes the connection relationship of edge devices. Next, step S203 is performed to determine the update order of the edge device and the sending device that sends the update data of the updated edge device to the edge device according to the connection relationship. The sending device is another edge device or a content distribution network node. Next, step S205 is performed to send a data request for update data to the sending device according to the update order. Next, step S207 is performed to receive the update data from the transmitting device. Next, step S209 is performed to deploy the update data on the edge device. In this way, according to the device communication model, the sending device that sends the update device is determined, and the sending device is requested to update the data to update the edge device, which relieves the pressure of the cloud server to transmit data.

根据本申请的示例性实施例,该方法还包括:步骤S211,生成设备能力模型,设备能力模型包括边缘设备的硬件信息和数据版本。以及步骤S213,发送设备能力模型到内容分发网络节点,其中,更新数据是根据边缘设备的硬件信息和数据版本确定的。对于具体的边缘设备,确定该边缘设备需要的更新的固件、软件、应用程序。以这样的方式,保持边缘设备的状态持续更细以提供正确的更新。According to an exemplary embodiment of the present application, the method further includes: Step S211, generating a device capability model, where the device capability model includes hardware information and data versions of the edge device. And step S213, sending the device capability model to the content distribution network node, where the update data is determined according to the hardware information and data version of the edge device. For a specific edge device, determine the updated firmware, software, and applications that the edge device requires. In this way, the state of the edge device is kept finer to provide the correct updates.

内容分发网络节点30分析从边缘设备50接收到的设备上下文,生成设备到设备通信模型,设备到设备通信模型的目标是优化资源利用率。例如,如果两个边缘设备50处在相同网络内,那么这两个边缘设备50可以互相更新固件或软件,更新过程可以是并行的。在考虑资源分配时,也可以考虑边缘设备50中的资源消耗。设备到设备通信模型将在生成后被发送到所有要更新的边缘设备50。根据本申请示例性实施例还提供了设备到设备通信模型的示例。图6是根据本申请示例性实施例的设备到设备通信模型的示意图。如图6所示,内容分发网络节点30将应用程序1和应用程序2分发给边缘设备50a,将应用程序3和应用程序4分发给边缘设备50b,边缘设备50a和边缘设备50b可以采用从内容分发网络节点30发送的应用程序进行更新,边缘设备50a能够将应用程序1发送给边缘设备50b、将应用程序2发送给边缘设备50c,边缘设备50b能够将应用程序3发送给边缘设备50c、将应用程序4发送给边缘设备50d,边缘设备50c能够将应用程序2发送给边缘设备50d,每个边缘设备能够以这些方式中的任何方式传递应用程序,以实现更新。边缘设备在接收到设备到设备通信模型后,将决定更新固件、软件的顺序,首先更新的固件、软件的数据被传输到内容分发网络节点30,边缘设备可以从内容分发网络节点接收更新数据,或者可以从其他边缘设备接收更新数据。例如,如果边缘设备50a具有应用程序1,如果边缘设备50a与边缘设备50b之间的网络连接质量高,那么边缘设备50b能够从边缘设备50a获得应用程序1。The content distribution network node 30 analyzes the device context received from the edge device 50 and generates a device-to-device communication model. The goal of the device-to-device communication model is to optimize resource utilization. For example, if two edge devices 50 are in the same network, the two edge devices 50 may update firmware or software with each other, and the update process may be parallel. When considering resource allocation, resource consumption in the edge device 50 may also be considered. The device-to-device communication model will be sent to all edge devices 50 to be updated after generation. An example of a device-to-device communication model is also provided according to an exemplary embodiment of the present application. FIG. 6 is a schematic diagram of a device-to-device communication model according to an exemplary embodiment of the present application. As shown in FIG. 6, the content distribution network node 30 distributes the application 1 and the application 2 to the edge device 50 a, and distributes the application 3 and the application 4 to the edge device 50 b. The edge device 50 a and the edge device 50 b may use the slave content. The application program sent by the distribution network node 30 is updated. The edge device 50a can send the application 1 to the edge device 50b, the application 2 to the edge device 50c, and the edge device 50b can send the application 3 to the edge device 50c. The application 4 is sent to the edge device 50d, and the edge device 50c can send the application 2 to the edge device 50d, and each edge device can pass the application in any of these ways to implement the update. After receiving the device-to-device communication model, the edge device will determine the order of updating firmware and software. First, the data of the updated firmware and software is transmitted to the content distribution network node 30. The edge device can receive the update data from the content distribution network node. Or you can receive updated data from other edge devices. For example, if the edge device 50a has the application 1, if the network connection quality between the edge device 50a and the edge device 50b is high, the edge device 50b can obtain the application 1 from the edge device 50a.

根据本申请实施例的另一方面,还提供了存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述方法。According to another aspect of the embodiments of the present application, a storage medium is also provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the foregoing method.

根据本申请实施例的另一方面,还提供了处理器,处理器用于运行程序,其中,程序运行时执行上述方法。According to another aspect of the embodiments of the present application, a processor is further provided. The processor is configured to run a program, and the method is executed when the program is run.

根据本申请实施例的另一方面,还提供了终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,一个或多个程序被存储在存储器中,并且被配置为 由一个或多个处理器执行,一个或多个程序包括用于执行上述方法。According to another aspect of the embodiments of the present application, a terminal is further provided, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by one or more processors, and one or more programs are included to perform the above method.

根据本申请实施例的另一方面,还提供了计算机程序产品,计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,计算机可执行指令在被执行时使至少一个处理器执行上述方法。According to another aspect of the embodiments of the present application, a computer program product is also provided. The computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor Perform the above method.

以这样的方式,以程序的形式实施本申请的技术方案,缓解物联网中更新边缘设备时面临的数据传输压力。In this way, the technical solution of the present application is implemented in the form of a program to alleviate the pressure of data transmission when updating edge devices in the Internet of Things.

在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments of the present application, the description of each embodiment has its own emphasis. For a part that is not described in detail in an embodiment, reference may be made to the related description of other embodiments.

本申请的技术方案采用分布式传输和控制,能够降低云服务器端的流量和带宽占用率,并且自动生成内容分发网络节点和设备的通信模型,是的远程更新更高效且优化,实现了可扩展性的大量边缘设备的管理,而不增加云服务器端的负载。The technical solution of this application adopts distributed transmission and control, which can reduce the traffic and bandwidth occupancy of the cloud server side, and automatically generate the communication model of the content distribution network nodes and devices. The remote update is more efficient and optimized, and achieves scalability Management of a large number of edge devices without increasing the load on the cloud server side.

在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元或模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit or module is only a logical function division. In actual implementation, there may be another division manner, such as multiple units or modules or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, modules or units, and may be electrical or other forms.

所述作为分离部件说明的单元或模块可以是或者也可以不是物理上分开的,作为单元或模块显示的部件可以是或者也可以不是物理单元或模块,即可以位于一个地方,或者也可以分布到多个网络单元或模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本实施例方案的目的。The units or modules described as separate components may or may not be physically separated, and the components displayed as units or modules may or may not be physical units or modules, which may be located in one place, or may be distributed to On multiple network elements or modules. Some or all of the units or modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元或模块可以集成在一个处理单元或模块中,也可以是各个单元或模块单独物理存在,也可以两个或两个以上单元或模块集成在一个单元或模块中。上述集成的单元或模块既可以采用硬件的形式实现,也可以采用软件功能单元或模块的形式实现。In addition, each functional unit or module in each embodiment of the present application may be integrated into one processing unit or module, or each unit or module may exist separately physically, or two or more units or modules may be integrated into one Unit or module. The above-mentioned integrated unit or module can be implemented in the form of hardware or in the form of software functional unit or module.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only  Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage media include: U disks, Read-Only Memory (ROM), Random Access Memory (RAM), mobile hard disks, magnetic disks, or optical disks, and other media that can store program codes .

以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above is only the preferred implementation of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and retouches can be made. These improvements and retouches also It should be regarded as the protection scope of this application.

Claims (14)

发送更新数据的方法,其特征在于,包括:The method for sending updated data includes: 接收设备能力模型,所述设备能力模型包括至少一个边缘设备的硬件信息和数据版本;Receiving a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; 根据所述硬件信息和数据版本接收更新至少一个所述边缘设备的更新数据;Receiving update data that updates at least one of the edge devices according to the hardware information and the data version; 接收更新至少一个所述边缘设备的更新请求;Receiving an update request to update at least one of the edge devices; 接收所述边缘设备的设备上下文;Receiving a device context of the edge device; 根据所述更新请求和所述设备上下文生成设备到设备通信模型,所述设备到设备通信模型包括要更新的所述边缘设备的连接关系;Generating a device-to-device communication model according to the update request and the device context, where the device-to-device communication model includes a connection relationship of the edge device to be updated; 将所述设备到设备通信模型分发到要更新的所述边缘设备中的源同步设备,所述源同步设备是根据所述连接关系从要更新的所述边缘设备中确定的;Distributing the device-to-device communication model to a source synchronization device in the edge device to be updated, the source synchronization device being determined from the edge device to be updated according to the connection relationship; 接收发送所述更新数据到所述源同步设备的数据请求,所述数据请求的接收方是根据所述连接关系确定的;以及Receiving a data request for sending the update data to the source synchronization device, and a receiver of the data request is determined according to the connection relationship; and 根据所述数据请求将所述更新数据发送到所述源同步设备。Sending the update data to the source synchronization device according to the data request. 根据权利要求1所述的方法,其特征在于,所述设备能力模型是周期性地从所述设备接收的。The method of claim 1, wherein the device capability model is received periodically from the device. 根据权利要求1或2所述的方法,其特征在于,接收更新至少一个所述边缘设备的更新数据还包括:The method according to claim 1 or 2, wherein receiving update data for updating at least one of the edge devices further comprises: 根据所述硬件信息和数据版本向数据库发送对所述更新数据的数据请求,所述数据库包括所述更新数据,以及Sending a data request for the update data to a database according to the hardware information and data version, the database including the update data, and 接收从所述数据库发送的所述更新数据。Receiving the update data sent from the database. 更新设备的方法,其特征在于,包括:The method for updating equipment is characterized by including: 接收设备到设备通信模型,所述设备到设备通信模型是根据边缘设备的设备上下文和更新所述边缘设备的更新请求生成的,其中,所述设备通信模型包括所述边缘设备的连接关系;Receiving a device-to-device communication model that is generated according to a device context of an edge device and an update request to update the edge device, wherein the device communication model includes a connection relationship of the edge device; 根据所述连接关系确定所述边缘设备的更新顺序以及发送更新所述边缘设备 的更新数据到所述边缘设备的发送设备,所述发送设备是其他边缘设备或者是内容分发网络节点;Determining an update sequence of the edge device and sending update data for updating the edge device to a sending device of the edge device according to the connection relationship, where the sending device is another edge device or a content distribution network node; 根据所述更新顺序向所述发送设备发送对所述更新数据的数据请求;Sending a data request for the update data to the sending device according to the update sequence; 从所述发送设备接收所述更新数据;以及Receiving the update data from the transmitting device; and 在所述边缘设备上部署所述更新数据。Deploying the update data on the edge device. 根据权利要求4所述的方法,其特征在于,还包括:The method according to claim 4, further comprising: 生成设备能力模型,所述设备能力模型包括所述边缘设备的硬件信息和数据版本;以及Generating a device capability model that includes hardware information and data versions of the edge devices; and 发送所述设备能力模型到所述内容分发网络节点,其中,所述更新数据是根据所述边缘设备的硬件信息和数据版本确定的。Sending the device capability model to the content distribution network node, wherein the update data is determined according to hardware information and a data version of the edge device. 内容分发网络节点设备(30),其特征在于,包括:The content distribution network node device (30) is characterized in that it includes: 模型接收单元(301),被配置为接收设备能力模型,所述设备能力模型包括至少一个边缘设备的硬件信息和数据版本;The model receiving unit (301) is configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; 数据接收单元(303),被配置为根据所述硬件信息和数据版本接收更新至少一个所述边缘设备的更新数据;A data receiving unit (303) configured to receive update data that updates at least one of the edge devices according to the hardware information and the data version; 更新请求接收单元(305),被配置为接收更新至少一个所述边缘设备的更新请求;An update request receiving unit (305) configured to receive an update request to update at least one of the edge devices; 上下文接收单元(307),被配置为接收所述边缘设备的设备上下文;A context receiving unit (307) configured to receive a device context of the edge device; 模型生成单元(309),被配置为根据所述更新请求和所述设备上下文生成设备到设备通信模型,所述设备到设备通信模型包括要更新的所述边缘设备的连接关系;A model generating unit (309) configured to generate a device-to-device communication model according to the update request and the device context, where the device-to-device communication model includes a connection relationship of the edge device to be updated; 模型分发单元(311),将所述设备到设备通信模型分发到要更新的所述边缘设备中的源同步设备,所述源同步设备是根据所述连接关系从要更新的所述边缘设备中确定的;A model distribution unit (311), which distributes the device-to-device communication model to a source synchronization device in the edge device to be updated, where the source synchronization device is from the edge device to be updated according to the connection relationship definite; 同步请求接收单元(313),被配置为接收发送所述更新数据到所述源同步设备的数据请求,所述数据请求的接收方是根据所述连接关系确定的;以及A synchronization request receiving unit (313) configured to receive a data request for sending the update data to the source synchronization device, and a receiver of the data request is determined according to the connection relationship; and 更新分发单元(315),被配置为根据所述数据请求将所述更新数据发送到所述源同步设备。An update distribution unit (315) is configured to send the update data to the source synchronization device according to the data request. 边缘设备(50),其特征在于,包括:The edge device (50) is characterized in that it includes: 接收单元(501),被配置为接收设备到设备通信模型,所述设备到设备通信模型是根据所述边缘设备的设备上下文和更新所述边缘设备的更新请求生成的,其中,所述设备通信模型包括所述边缘设备的连接关系;The receiving unit (501) is configured to receive a device-to-device communication model, the device-to-device communication model is generated according to a device context of the edge device and an update request to update the edge device, wherein the device communication The model includes a connection relationship of the edge devices; 通信模型执行单元(503),被配置为根据所述连接关系确定所述边缘设备的更新顺序以及发送更新所述边缘设备的更新数据到所述边缘设备的发送设备,所述发送设备是其他边缘设备或者是内容分发网络节点;A communication model execution unit (503) configured to determine an update order of the edge device and send update data to update the edge device to a sending device of the edge device according to the connection relationship, where the sending device is another edge device Device or content distribution network node; 更新请求发送单元(505),被配置为根据所述更新顺序向所述发送设备发送对所述更新数据的数据请求;An update request sending unit (505) configured to send a data request for the update data to the sending device according to the update sequence; 更新数据接收单元(507),被配置为从所述发送设备接收所述更新数据;以及An update data receiving unit (507) configured to receive the update data from the transmitting device; and 数据部署单元(509),被配置为在所述边缘设备上部署所述更新数据。A data deployment unit (509) is configured to deploy the update data on the edge device. 根据权利要求7所述的边缘设备(50),其特征在于,还包括:The edge device (50) according to claim 7, further comprising: 设备能力模型生成单元(511),被配置为生成设备能力模型,所述设备能力模型包括所述边缘设备的硬件信息和数据版本;以及A device capability model generating unit (511) configured to generate a device capability model, the device capability model including hardware information and data versions of the edge devices; and 设备能力模型发送单元(513),被配置为发送所述设备能力模型到所述内容分发网络节点,其中,所述更新数据是根据所述边缘设备的硬件信息和数据版本确定的。A device capability model sending unit (513) is configured to send the device capability model to the content distribution network node, wherein the update data is determined according to hardware information and a data version of the edge device. 数据更新系统(1),其特征在于,包括:A data updating system (1), characterized in that it includes: 至少一个边缘设备(50);At least one edge device (50); 远程更新中心(10),被配置为管理所述边缘设备的更新;A remote update center (10) configured to manage updates of the edge device; 数据库(70),被配置为存储更新所述边缘设备的数据;以及A database (70) configured to store data that updates the edge device; and 内容分发网络节点设备(30),包括:Content distribution network node device (30), including: 模型接收单元(301),被配置为接收设备能力模型,所述设备能力模型包括至少一个边缘设备的硬件信息和数据版本;The model receiving unit (301) is configured to receive a device capability model, where the device capability model includes hardware information and data versions of at least one edge device; 数据接收单元(303),被配置为根据所述硬件信息和数据版本接收更新至少一个所述边缘设备的更新数据;A data receiving unit (303) configured to receive update data that updates at least one of the edge devices according to the hardware information and the data version; 更新请求接收单元(305),被配置为接收更新至少一个所述边缘设备的更新 请求;An update request receiving unit (305) configured to receive an update request to update at least one of the edge devices; 上下文接收单元(307),被配置为接收所述边缘设备的设备上下文;A context receiving unit (307) configured to receive a device context of the edge device; 模型生成单元(309),被配置为根据所述更新请求和所述设备上下文生成设备到设备通信模型,所述设备到设备通信模型包括要更新的所述边缘设备的连接关系;A model generating unit (309) configured to generate a device-to-device communication model according to the update request and the device context, where the device-to-device communication model includes a connection relationship of the edge device to be updated; 模型分发单元(311),将所述设备到设备通信模型分发到要更新的所述边缘设备中的源同步设备,所述源同步设备是根据所述连接关系从要更新的所述边缘设备中确定的;A model distribution unit (311), which distributes the device-to-device communication model to a source synchronization device in the edge device to be updated, where the source synchronization device is from the edge device to be updated according to the connection relationship definite; 同步请求接收单元(313),被配置为接收发送所述更新数据到所述源同步设备的数据请求,所述数据请求的接收方是根据所述连接关系确定的;以及A synchronization request receiving unit (313) configured to receive a data request for sending the update data to the source synchronization device, and a receiver of the data request is determined according to the connection relationship; and 更新分发单元(315),被配置为根据所述数据请求将所述更新数据发送到所述源同步设备。An update distribution unit (315) is configured to send the update data to the source synchronization device according to the data request. 根据权利要求9所述的数据更新系统(1),其特征在于,所述边缘设备(50)包括:The data update system (1) according to claim 9, wherein the edge device (50) comprises: 接收单元(501),被配置为接收设备到设备通信模型,所述设备到设备通信模型是根据所述边缘设备的设备上下文和更新所述边缘设备的更新请求生成的,其中,所述设备通信模型包括所述边缘设备的连接关系;The receiving unit (501) is configured to receive a device-to-device communication model, the device-to-device communication model is generated according to a device context of the edge device and an update request to update the edge device, wherein the device communication The model includes a connection relationship of the edge devices; 通信模型执行单元(503),被配置为根据所述连接关系确定所述边缘设备的更新顺序以及发送更新所述边缘设备的更新数据到所述边缘设备的发送设备,所述发送设备是其他边缘设备或者是内容分发网络节点;A communication model execution unit (503) configured to determine an update order of the edge device and send update data to update the edge device to a sending device of the edge device according to the connection relationship, where the sending device is another edge device Device or content distribution network node; 更新请求发送单元(505),被配置为根据所述更新顺序向所述发送设备发送对所述更新数据的数据请求;An update request sending unit (505) configured to send a data request for the update data to the sending device according to the update sequence; 更新数据接收单元(507),被配置为从所述发送设备接收所述更新数据;以及An update data receiving unit (507) configured to receive the update data from the transmitting device; and 数据部署单元(509),被配置为在所述边缘设备上部署所述更新数据。A data deployment unit (509) is configured to deploy the update data on the edge device. 存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至5中任意一项所述的方法。The storage medium is characterized in that the storage medium includes a stored program, wherein, when the program runs, the device where the storage medium is located is controlled to perform the method according to any one of claims 1 to 5. 处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至5中任意一项所述的方法。A processor, wherein the processor is configured to run a program, and when the program runs, the method according to any one of claims 1 to 5 is executed. 终端,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于执行权利要求1至5中任意一项所述的方法。A terminal includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors Execution, the one or more programs include a method for performing any one of claims 1 to 5. 计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行根据权利要求1至5中任一项所述的方法。A computer program product tangibly stored on a computer-readable medium and including computer-executable instructions that, when executed, cause at least one processor to perform any of claims 1 to 5 The method of one item.
PCT/CN2018/108385 2018-09-28 2018-09-28 Method for transmitting update data, content delivery network node and data update system Ceased WO2020062048A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108385 WO2020062048A1 (en) 2018-09-28 2018-09-28 Method for transmitting update data, content delivery network node and data update system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108385 WO2020062048A1 (en) 2018-09-28 2018-09-28 Method for transmitting update data, content delivery network node and data update system

Publications (1)

Publication Number Publication Date
WO2020062048A1 true WO2020062048A1 (en) 2020-04-02

Family

ID=69950986

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108385 Ceased WO2020062048A1 (en) 2018-09-28 2018-09-28 Method for transmitting update data, content delivery network node and data update system

Country Status (1)

Country Link
WO (1) WO2020062048A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291447A (en) * 2011-08-05 2011-12-21 中国电信股份有限公司 Content distribution network load scheduling method and system
WO2014019287A1 (en) * 2012-08-03 2014-02-06 Beijing Blue I.T. Technologies Co., Ltd System and method for optimizing inter-node communication in content distribution network
CN103971277A (en) * 2013-02-06 2014-08-06 三星电子株式会社 System and method of providing object for service of service provider
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server
CN108011907A (en) * 2016-10-31 2018-05-08 华为技术有限公司 The resource allocation methods and device of adapted telecommunication net

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291447A (en) * 2011-08-05 2011-12-21 中国电信股份有限公司 Content distribution network load scheduling method and system
WO2014019287A1 (en) * 2012-08-03 2014-02-06 Beijing Blue I.T. Technologies Co., Ltd System and method for optimizing inter-node communication in content distribution network
CN103971277A (en) * 2013-02-06 2014-08-06 三星电子株式会社 System and method of providing object for service of service provider
CN108011907A (en) * 2016-10-31 2018-05-08 华为技术有限公司 The resource allocation methods and device of adapted telecommunication net
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server

Similar Documents

Publication Publication Date Title
US10778798B2 (en) Remote service access in a container management system
CN111885122B (en) Remote push method, system, server, computer-readable storage medium
CN111611091B (en) A service calling method, device and medium for a business object
CN101460907B (en) Systems and methods for managing execution of programs
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
WO2022062650A1 (en) Computing device sharing method and apparatus based on kubernetes, and device and storage medium
EP3238096B1 (en) System and method for discovering a lan synchronization candidate for a synchronized content management system
WO2014094468A1 (en) System, method and browser client for enabling browser data synchronization
GB2477092A (en) Selecting virtual machine host servers based on client device location
KR20140075784A (en) Distributed mapping function for large scale media clouds
WO2009095461A1 (en) Method and system of updating a plurality of computers
CN103544285A (en) Data loading method and device
WO2021051747A1 (en) Data update method, system and device, electronic device, and computer storage medium
CN109729115A (en) Realize method, apparatus, the proxy server, terminal device of distributed computing
US9760370B2 (en) Load balancing using predictable state partitioning
CN110324406A (en) A kind of method and cloud service system obtaining business datum
JP5735899B2 (en) Service providing system, file update method, and distributed management apparatus
WO2023184925A1 (en) Load balancer and implementation method therefor, load balancing method, and gateway system
CN119254780A (en) Large model processing method, device, equipment and medium based on distributed cache
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
JP2024514467A (en) Geographically distributed hybrid cloud cluster
JPWO2014020742A1 (en) Load balancing apparatus, information processing system, method and program
WO2020062048A1 (en) Method for transmitting update data, content delivery network node and data update system
JP2019041241A (en) Sorting system
CN115361383A (en) Network command processing method, device, equipment and storage medium

Legal Events

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

Ref document number: 18934874

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18934874

Country of ref document: EP

Kind code of ref document: A1