CN109451044B - Configuration method between broadcasting devices - Google Patents

Configuration method between broadcasting devices Download PDF

Info

Publication number
CN109451044B
CN109451044B CN201811514667.8A CN201811514667A CN109451044B CN 109451044 B CN109451044 B CN 109451044B CN 201811514667 A CN201811514667 A CN 201811514667A CN 109451044 B CN109451044 B CN 109451044B
Authority
CN
China
Prior art keywords
equipment
service system
cloud
service
system information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811514667.8A
Other languages
Chinese (zh)
Other versions
CN109451044A (en
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.)
Hunan Comtom Electronic Technology Co ltd
Original Assignee
Hunan Comtom Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Comtom Electronic Technology Co ltd filed Critical Hunan Comtom Electronic Technology Co ltd
Priority to CN201811514667.8A priority Critical patent/CN109451044B/en
Publication of CN109451044A publication Critical patent/CN109451044A/en
Application granted granted Critical
Publication of CN109451044B publication Critical patent/CN109451044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The invention discloses a configuration method among broadcasting devices, which is characterized in that the method is executed by a cloud communication system comprising a device, a device cloud and a service system, wherein the device cloud is used as a third-party system except the device and the service system, stores information of all the devices and the service system, and issues the information of the service system to the device when the device is connected or the service system is updated, so that the device can be directly configured by operating the device cloud when the device acquires a communication address of the service system or the communication address of the service system is changed, and the device does not need to be locally configured.

Description

Configuration method between broadcasting devices
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for configuring broadcasting devices.
Background
All broadcasting systems in the market at present belong to engineering broadcasting systems, broadcasting equipment and a management system form an independent system, and the broadcasting equipment is operated and managed by the system to which the broadcasting equipment belongs. The main problems with this broadcast system setup are: all the devices are directly connected with the management system, so that after the management system required to be connected is determined, all the devices need to write the addresses or connection modes of the management system required to be connected into the devices through manual configuration, and the devices can be connected to the management system correctly.
In the prior art, the NAT traversal method has the problems that the service system or the third-party system still needs to notify the device to perform NAT connection, and NAT traversal cannot be performed in many cases; and an open port mapping mode, when the device network changes, the device needs to be configured manually, especially in a more complex network environment, the configuration is more complex, and the security is also reduced because the port is open.
Disclosure of Invention
In order to solve the technical problems, the invention provides a configuration method between broadcasting devices, which stores all information of the devices and the service system by providing a device cloud as a third-party system except the devices and the service system, and transmits the information of the service system to the devices when the devices are connected or the service system is updated. When the equipment acquires the communication address of the service system or the communication address of the service system is changed, the operation can be carried out through the equipment cloud without carrying out local configuration on the equipment.
The technical scheme adopted by the invention is as follows: a configuration method between broadcasting devices is executed by a cloud communication system comprising devices, a device cloud and a service system; the method specifically comprises the following steps:
step 1, after equipment is started, connecting to an equipment cloud according to a known equipment cloud domain name and a known port;
step 2, the equipment cloud queries a database according to the serial number of the equipment, acquires service system information to be configured by the equipment, and issues the service system information to the equipment;
and 3, after receiving the service system information to be configured, the equipment connects the target service system according to the service system information.
Further, before the step 1, a registration process of service system data is further included, which specifically includes the following steps:
s1, the service system sends a registration request containing service system information to the device cloud;
s2, after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and determines whether to issue configuration to the device according to the judgment result;
preferably, the step S1 specifically includes: when the service system is started, according to a known equipment cloud domain name, sending a registration request containing system information to the equipment cloud, and calling an equipment cloud API (application program interface) to register service system information; the service system information comprises a service system name, a communication address and a port.
Preferably, the step S2 specifically includes: after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and stores the service system information if the service system information does not exist; if the service system information already exists and the service system information is unchanged, ignoring the request; and if the service information already exists and is updated, issuing the configuration to the equipment.
Further, an API (application programming interface) of the equipment cloud adopts an http protocol and follows a Restful interface; the communication address is IP or domain name.
Further, the method further includes a process of directly configuring the device by the device cloud, which specifically includes: an operator configures a service system to which the equipment belongs through an equipment cloud interface, and stores the configuration in the database; the operator can configure each device individually or in batch by setting rules.
Further, the device accesses the device cloud through at least one of a wired network, a cellular mobile network or WiFi; the equipment and the equipment cloud adopt MQTT protocol communication;
preferably, the device cloud specifically includes a front-end management system and a device communication service module, and the front-end management system includes: one or more of a background Web management service module, a core service module, a database server, a cache service module, a message queue service module, an API service module, a registry module, an authority module, and a gateway service module.
According to the configuration method between the broadcasting devices, the device cloud is provided to serve as a third-party system outside the device and the service system, information of all the devices and the service system is stored, and the service system information is sent to the devices when the devices are connected or the service system is updated. The method and the device enable the equipment to operate through the equipment cloud without local configuration of the equipment when the equipment acquires the communication address of the service system or the communication address of the service system changes, meanwhile, the equipment configuration does not need to configure each piece of equipment independently, batch configuration can be issued through the equipment cloud, and even if the equipment cloud changes in the using process, the equipment cloud can be dynamically adjusted.
Drawings
Fig. 1 shows a flow chart of a configuration method between broadcasting devices of the present invention;
fig. 2 is a block diagram showing a configuration of a cloud communication system that performs the configuration method between broadcasting devices of the present invention.
Detailed Description
The present invention preferably provides a configuration method between broadcasting devices, and as shown in fig. 1, an execution flow of a specific configuration method preferred by the present invention is shown;
optionally, the method is performed by a cloud communication system including the device, the device cloud, and the business system as shown in fig. 2.
The equipment is an entity product connected to the internet, can communicate through the internet, receives an instruction and completes a specified function.
The device cloud only has a unique entity on the Internet, is deployed on the Internet, has an Internet fixed IP address and can be accessed through an Internet domain name.
The service system refers to a management system of the device, and the device can be managed and operated through the service system to complete a predetermined function.
More specifically, as shown in fig. 1, the method for configuring broadcasting devices specifically includes the following steps:
step 1, after equipment is started, connecting to an equipment cloud according to a known equipment cloud domain name and a known port;
the device can be connected with the device cloud in a wired network, 4G or Wifi mode; the equipment cloud and the equipment are communicated by adopting an MQTT protocol, the MQTT protocol is based on a TCP/IP protocol, and long TCP connection is adopted; the connection parameters are as follows: { "sn": sequence number "}; optionally, the 4G network is also replaced by other networks such as 2G and 3G in the cellular mobile network, which is not limited herein; the MQTT protocol between the device and the device cloud may also be replaced with other communication protocols such as XMPP, HTTP, and the like according to actual needs, which is not limited here.
Specifically, after the device is connected to the internet, the device is connected to the cloud device communication service through the cloud domain name, and the cloud device communication service sends a message to the message queue to notify the device of being online.
Step 2, the equipment cloud queries a database according to the serial number of the equipment, acquires service system information to be configured by the equipment, and issues the service system information to the equipment;
specifically, the device cloud core service acquires a device on-line notification from the message queue, and queries the configuration relationship between the device and the service system in the database according to the device serial number in the notification.
The issued service system information includes a service system communication address and a port number, and the specific configuration parameters are as follows: { "host": communication address (IP or domain name) "," port ": communication port number }.
And 3, after receiving the service system information to be configured, the equipment connects the target service system according to the service system information.
Further, before the step 1, a registration process of service system data is further included, which specifically includes the following steps:
s1, the service system sends a registration request containing service system information to the device cloud;
s2, after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and determines whether to issue configuration to the device according to the judgment result;
preferably, the step S1 specifically includes: when the service system is started, according to a known equipment cloud domain name, sending a registration request containing system information to the equipment cloud, and calling an equipment cloud API (application program interface) to register service system information; the service system information includes a service system name, a communication address and a port, and preferably, a registration interface for registering a request in a specific execution process: [ post ] http:// hostname/system/register, parameter structure: the name, the host, the communication address, the port and the communication port number.
Preferably, the step S2 specifically includes: after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and stores the service system information if the service system information does not exist; if the service system information already exists and the service system information is unchanged, ignoring the request; and if the service information already exists and is updated, issuing the configuration to the equipment.
Further, the method further includes a process of directly configuring the device by the device cloud, which specifically includes: an operator configures a service system to which the equipment belongs through an equipment cloud interface, and stores the configuration in the database; the operator can configure each device individually or in batch by setting rules. The method specifically comprises the following steps: and the user configures the equipment to the registered service system through the equipment cloud Web page.
Compared with the prior art which adopts an NAT penetration mode and an open port mapping mode, the configuration method among the broadcasting devices can realize that the device configuration does not need to be carried out on each device independently, can carry out batch configuration and issue through the device cloud, and can also carry out dynamic adjustment through the device cloud even if the device cloud is changed in the using process; secondly, whether the equipment is in an intranet or an extranet, operation and maintenance operations such as upgrading and debugging can be initiated through the equipment cloud without passing through a service system or connecting to equipment intranet operation; in addition, the problem of low security of the open port mapping mode can be effectively solved. Meanwhile, the technical problems that production and stock or business system change is unfavorable and cost is too high in the prior art are solved.
Preferably, in a cloud communication system for executing the configuration method of the present invention, the device cloud specifically includes a front-end management system and a device communication service module, where the front-end management system includes: one or more of a background Web management service module, a core service module, a database server, a cache service module, a message queue service module, an API service module, a registry module, an authority module, and a gateway service module.
The system comprises a background Web management service and a core service, wherein the background Web management service is used for processing user operation, and the core service is used for processing core service;
the equipment communication service is used for processing communication with equipment and ensuring the safety and reliability of the communication with the equipment. The equipment communication service and the management system communicate with each other in a mode of interface calling and message queue, all messages from the equipment communication service to the management system pass through the message queue, and all messages from the management system to the equipment communication service pass through the mode of interface calling. The core service is used for data and business logic processing; the API service provides a calling interface to the business system.
Optionally, the device may access the internet through a wired network, a 4G or WiFi manner, and the service system may be any system accessible by the device, which is not specifically limited herein;
preferably, when the service system is initialized, the service system reads the system configuration, acquires the communication address (domain name or IP) and port of the system, and calls the cloud API interface of the device to register the service system; and the equipment cloud receives the registration of the service system, firstly authenticates the service system, and records the name, the communication address and the port of the service system after the authentication is passed. The API interface has a plurality of implementation modes, a plurality of protocols and self-definition; the device cloud adopts an http protocol interface and follows the Restful style. Registration interface http:// api/v1/system/registry, registration parameters: service system token (generated by authentication interface), communication address and port.
Although the invention has been described above with reference to various embodiments, it should be understood that many changes and modifications may be made without departing from the scope of the invention. It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention. The above examples are to be construed as merely illustrative and not limitative of the remainder of the disclosure. After reading the description of the invention, the skilled person can make various changes or modifications to the invention, and these equivalent changes and modifications also fall into the scope of the invention defined by the claims.

Claims (1)

1. A configuration method between broadcasting devices is characterized in that the method is executed by a cloud communication system comprising devices, a device cloud and a service system; the method specifically comprises the following steps:
step 1, after the equipment is started, connecting the equipment to an equipment cloud according to a known equipment cloud domain name and a known port, wherein the equipment is connected to the equipment cloud in a wired network or cellular mobile network or Wifi mode; the equipment cloud and the equipment are communicated by adopting an MQTT protocol, the MQTT protocol is based on a TCP/IP protocol, TCP long connection is adopted, the equipment is connected to an equipment cloud equipment communication service through an equipment cloud domain name after being accessed to the Internet, and the equipment communication service sends a message to a message queue to inform the equipment of being online;
step 2, the equipment cloud queries a database according to the equipment serial number, acquires the service system information to be configured by the equipment, and issues the service system information to the equipment, the equipment cloud core service acquires an equipment on-line notification from a message queue, and queries the configuration relationship between the equipment and the service system in the database according to the equipment serial number in the notification;
step 3, after receiving the service system information to be configured, the equipment connects the target service system according to the service system information;
before the step 1, a registration process of service system data is also included, which specifically includes the following steps:
s1, the service system sends a registration request containing service system information to the device cloud;
s2, after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and determines whether to issue configuration to the device according to the judgment result;
the step S1 specifically includes: when the service system is started, according to a known equipment cloud domain name, sending a registration request containing service system information to the equipment cloud, and calling an equipment cloud API (application program interface) to register the service system information; the service system information comprises a service system name, a communication address and a port;
the step S2 specifically includes: after receiving the registration request, the device cloud queries a database, judges whether the service system information exists in the database, and stores the service system information if the service system information does not exist; if the service system information already exists and the service system information is unchanged, ignoring the request; if the service system information already exists and is updated, the configuration is issued to the equipment;
the method further comprises a process of directly configuring the equipment by the equipment cloud, which specifically comprises the following steps: an operator configures a service system to which the equipment belongs through an equipment cloud interface, and stores the configuration in the database; the user configures the equipment to the registered service system through the equipment cloud Web page;
an API (application programming interface) of the equipment cloud adopts an http (hyper text transport protocol) protocol and follows a Restful interface; the communication address is an IP or a domain name;
when the service system is initialized, reading system configuration, acquiring a communication address and a port of the system, calling an equipment cloud API (application program interface) and registering the service system; the method comprises the steps that the equipment cloud receives service system registration, firstly, the service system is authenticated, and after the authentication is passed, the name, the communication address and the port of the service system are recorded;
the device cloud specifically includes front end management system and device communication service module, front end management system includes: one or more of a background Web management service module, a core service module, a database server, a cache service module, a message queue service module, an API service module, a registration center module, an authorization center module and a gateway service module; the system comprises a background Web management service module, a core service module and a background Web management service module, wherein the background Web management service module is used for processing user operation, and the core service module is used for processing core services; the equipment communication service module is used for processing communication with equipment, the equipment communication service module is communicated with the front-end management system in a message queue mode through interface calling, all messages from the equipment communication service module to the front-end management system pass through the message queue, all messages from the front-end management system to the equipment communication service module pass through the interface calling mode, and the core service module is used for data and service logic processing; the API service module provides a calling interface for the business system.
CN201811514667.8A 2018-12-12 2018-12-12 Configuration method between broadcasting devices Active CN109451044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811514667.8A CN109451044B (en) 2018-12-12 2018-12-12 Configuration method between broadcasting devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811514667.8A CN109451044B (en) 2018-12-12 2018-12-12 Configuration method between broadcasting devices

Publications (2)

Publication Number Publication Date
CN109451044A CN109451044A (en) 2019-03-08
CN109451044B true CN109451044B (en) 2021-09-21

Family

ID=65557616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811514667.8A Active CN109451044B (en) 2018-12-12 2018-12-12 Configuration method between broadcasting devices

Country Status (1)

Country Link
CN (1) CN109451044B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426871A (en) * 2013-08-29 2015-03-18 中兴通讯股份有限公司 Method and device for realizing remote calling
CN105657060A (en) * 2016-03-17 2016-06-08 深圳市楚邦智能技术有限公司 Intelligent equipment cloud platform management system
CN105991313A (en) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 Management method of home network equipment and network management system
CN106302590A (en) * 2015-05-28 2017-01-04 上海汽车集团股份有限公司 Cloud platform
CN107203719A (en) * 2016-03-18 2017-09-26 上海有云信息技术有限公司 A kind of management platform of software definition safety
CN108270855A (en) * 2018-01-15 2018-07-10 司中明 A kind of method of platform of internet of things access device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9143568B2 (en) * 2012-12-18 2015-09-22 Microsoft Technology Licensing, Llc. Peer-to-peer sharing of cloud-based content
US9203820B2 (en) * 2013-03-15 2015-12-01 Airwatch Llc Application program as key for authorizing access to resources

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426871A (en) * 2013-08-29 2015-03-18 中兴通讯股份有限公司 Method and device for realizing remote calling
CN105991313A (en) * 2015-01-30 2016-10-05 中兴通讯股份有限公司 Management method of home network equipment and network management system
CN106302590A (en) * 2015-05-28 2017-01-04 上海汽车集团股份有限公司 Cloud platform
CN105657060A (en) * 2016-03-17 2016-06-08 深圳市楚邦智能技术有限公司 Intelligent equipment cloud platform management system
CN107203719A (en) * 2016-03-18 2017-09-26 上海有云信息技术有限公司 A kind of management platform of software definition safety
CN108270855A (en) * 2018-01-15 2018-07-10 司中明 A kind of method of platform of internet of things access device

Also Published As

Publication number Publication date
CN109451044A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN104506510B (en) Method and device for equipment authentication and authentication service system
EP1566939B1 (en) Media streaming home network system and method for operating the same
CN112217771B (en) Data forwarding method and data forwarding device based on tenant information
US10200299B2 (en) Method and system for directing user between captive and open domains
TWI334714B (en) Discovery method for network devices
US20150324152A1 (en) Network Printing System and Printing Method
US8543674B2 (en) Configuration of routers for DHCP service requests
CN104303454B (en) Method of the certification to the access mandate of the specific resources in wireless communication system
EP2842285A1 (en) Migration of a security policy of a virtual machine
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
JP2009100064A (en) Communication method and communication system for wireless lan
CN103327008A (en) HTTP reorienting method and HTTP reorienting device
CN107995321A (en) A kind of VPN client acts on behalf of the method and device of DNS
CN107579833B (en) Method and device for speeding up private line user
CN102263837B (en) A kind of domain name system DNS analysis method and device
US20160323415A1 (en) Requesting web pages and content rating information
WO2022214019A1 (en) Method and apparatus for deploying network device, and device, system and storage medium
WO2019009263A1 (en) Apparatus and method for remotely managing devices, and program therefor
US20050188063A1 (en) Modifying a DHCP configuration for one system according to a request from another system
CN107911496A (en) A kind of VPN service terminal acts on behalf of the method and device of DNS
CN109617723B (en) Cloud communication system of broadcasting equipment
CN109672744A (en) A kind of image fort machine method and system of user's unaware
WO2013185696A2 (en) Data processing method and device
KR101395830B1 (en) Session checking system via proxy and checkhing method thereof
CN109451044B (en) Configuration method between broadcasting devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A configuration method between broadcast equipment

Effective date of registration: 20221230

Granted publication date: 20210921

Pledgee: Agricultural Bank of China Limited Changsha Furong District Sub-branch

Pledgor: HUNAN COMTOM ELECTRONIC TECHNOLOGY CO.,LTD.

Registration number: Y2022980029886