CN110012083A - A kind of data transmission method, server and data transmission device - Google Patents

A kind of data transmission method, server and data transmission device Download PDF

Info

Publication number
CN110012083A
CN110012083A CN201910234196.3A CN201910234196A CN110012083A CN 110012083 A CN110012083 A CN 110012083A CN 201910234196 A CN201910234196 A CN 201910234196A CN 110012083 A CN110012083 A CN 110012083A
Authority
CN
China
Prior art keywords
equipment
data
server
theme
operation system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910234196.3A
Other languages
Chinese (zh)
Other versions
CN110012083B (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.)
Qingdao Juhaolian Technology Co Ltd
Original Assignee
Qingdao Juhaolian 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 Qingdao Juhaolian Technology Co Ltd filed Critical Qingdao Juhaolian Technology Co Ltd
Priority to CN201910234196.3A priority Critical patent/CN110012083B/en
Publication of CN110012083A publication Critical patent/CN110012083A/en
Application granted granted Critical
Publication of CN110012083B publication Critical patent/CN110012083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

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

Abstract

The present invention relates to internet of things field, in particular to a kind of data transmission method, server and data transmission device, to solve operation system after the data for subscribing to same subject to server by multiple business equipment, operation system can receive multiple duplicate data, the problem of resulting in waste of resources.Server of the embodiment of the present invention receives the data of the first equipment publication;When including queue identity in the theme of the data of the first equipment publication, second equipment of target for being in available mode is chosen from multiple second equipment for subscribing to the subject data;Wherein, queue identity is for indicating that subject data is to be subscribed to by operation system by multiple second equipment;The data that first equipment is issued are sent to the second equipment of target by server, so that the second equipment of target sends the data to the operation system of docking.To which operation system only receives the data of second device forwards, the wasting of resources effectively avoided the problem that.

Description

A kind of data transmission method, server and data transmission device
Technical field
The present invention relates to Internet of Things field of communication technology, in particular to a kind of data transmission method, server and data pass Defeated device.
Background technique
In internet of things field, (Message Queuing Telemetry Transport, message queue telemetering pass MQTT Defeated agreement) it is the news release based on a client-server/subscription transport protocol.MQTT agreement be light weight, it is simple, open It puts and is easily achieved, these features keep its scope of application very extensive, including in constrained environment, such as: machine and machine (M2M) communication and Internet of Things (IoT) communication, and by satellite link communication sensor, once in a while dial Medical Devices, intelligence It is also widely used in energy household and some compact apparatus.
In communication process, there are three types of identity in MQTT agreement: publisher (Publish), server, subscriber (Subscribe);Wherein, the publisher and subscriber of message are clients, and message issuer can be subscriber simultaneously.Such as Shown in Fig. 1, wherein equipment A is publisher, and equipment B and equipment C are subscriber, and equipment B subscribes to theme to server and is The data of " temperature ", equipment C subscribe to the data that theme is " temperature " to server;Equipment A is to server Issuing subject is the data of " temperature ", such as " 15 DEG C of temperature ", then server is by " temperature 15 DEG C " it is pushed to equipment B and equipment C.
In Internet of Things Network Communication, operation system is disposed when needing to acquire some data often through for operation system Business equipment subscribes to the data that the operation system needs to server by business equipment;And in order to avoid only Unreliability caused by a business equipment is disposed, it is multiple for an operation system deployment in current communication construction Business equipment subscribes to the data of same subject by multiple business equipment to server.It is received in server After the data of publisher's publication, the data are pushed to all business equipment for the data for subscribing to this kind of theme, The data received are sent to the operation system of docking after receiving the data of server push by business equipment, Cause to will lead to operation system in this way and receive multiple duplicate data, results in waste of resources.
Summary of the invention
The present invention provides a kind of data transmission method and server, to solve operation system by multiple business After equipment subscribes to the data of same subject to server, operation system can receive multiple duplicate data, result in waste of resources The problem of.
Based on the above issues, in a first aspect, the embodiment of the present invention provides a kind of data transmission method, comprising:
Server receives the data of the first equipment publication;
When including queue identity in the theme of the data of first equipment publication, the server is from subscribing to the master It inscribes and chooses second equipment of target for being in available mode in multiple second equipment of data;Wherein, the queue identity is used In the data for indicating the theme be to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by the server, so that the target Second equipment sends the data to the operation system of docking.
Second aspect, the embodiment of the present invention provide a kind of server, including processing unit, storage unit and Transmit-Receive Unit;
Wherein, the storage unit is stored with program code, when said program code is executed by the processing unit, makes It obtains the processing unit and executes following process:
The data of the first equipment publication are received by the Transmit-Receive Unit;
When including queue identity in the theme of the data of first equipment publication, from the more of the subscription subject data Second equipment of target for being in available mode is chosen in a second equipment;Wherein, the queue identity is for indicating described The data of theme are to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by the Transmit-Receive Unit, so that institute State the operation system that the second equipment of target sends the data to docking.
The third aspect, the embodiment of the present invention provide a kind of data transmission device, comprising:
Receiving module, for receiving the data of the first equipment publication;
Module is obtained, when for including queue identity in the theme for the data that first equipment is issued, from subscription institute It states and chooses second equipment of target for being in available mode in multiple second equipment of subject data;Wherein, the queue mark The data known for indicating the theme are to be subscribed to by operation system by multiple second equipment;
Sending module, the data for issuing first equipment are sent to second equipment of target, so that described The second equipment of target sends the data to the operation system of docking.
Fourth aspect, the embodiment of the present invention provide a kind of computer can storage medium, be stored thereon with computer program, journey It realizes when sequence is executed by processor such as the step of above-mentioned first aspect the method.
Since server of the embodiment of the present invention includes queue identity in the theme of data for receiving the publication of the first equipment When, the data that the first equipment is issued are sent to the target of select from multiple second equipment one in available mode the The data that first equipment is issued only are sent to second equipment of target, the data that the second equipment of target will receive by two equipment It is transmitted to the operation system of docking, so that operation system only receives the data of second device forwards, the money effectively avoided The problem of source wastes.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of communication construction in background technique;
Fig. 2 is the structural schematic diagram of the first communication construction of the embodiment of the present invention;
Fig. 3 is the method schematic diagram that client of the embodiment of the present invention accesses access platform;
Fig. 4 is the structural schematic diagram of second of embodiment communication construction of the invention;
Fig. 5 is the flow chart of data transmission method of the embodiment of the present invention;
Fig. 6 is the entire flow figure of data transmission method of the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server of the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of data transmission device of the embodiment of the present invention.
Specific embodiment
In the communication construction of the embodiment of the present invention include multiple client, by load-balanced server, MQTT server and The access platform and operation system of multiple business equipment compositions.Connection relationship such as Fig. 2 institute of specific communication construction Show.
In implementation, client passes through domain name access access platform;Specifically, client and access platform establish connection it Before, client obtains the IP address of access platform by name server.Name server refers to the IP address that client returns The request of client is transmitted to MQTT clothes by load-balanced server by the address of the load-balanced server into access platform Business device.The realization of business equipment is docked with MQTT server and the two-way of operation system;Wherein, business equipment and business It is communicated between system by http (hypertext transfer protocol, hypertext transfer protocol).
Specifically, client when accessing access platform, is communicated by calling SDK interface to realize with access platform.Such as Fig. 3 It is shown, it is assumed that client includes smart television, intelligent refrigerator, intelligent washing machine, intelligent electric lamp, intelligent switch etc., wherein intelligence (Application Programming Interface, application program are compiled by API for TV, intelligent refrigerator, intelligent washing machine Journey interface) call SDK to access access platform, then intelligent electric lamp, intelligent switch are visited by intelligent gateway by API Calls SDK Ask access platform;Wherein, it is communicated between the interface of SDK and access platform based on MQTT.
A kind of optional communication construction, as shown in figure 4, including the first equipment, server, operation system and and business At least two second equipment of system docking.In the communication construction, the first equipment is made as data publication equipment, the second equipment For data subscription equipment;Operation system is industry for the ease of data needed for operation system acquisition for acquiring required data It is engaged at least two second equipment of system deployment, the second equipment is to data needed for server subscribing service system.For example, business system System needs to acquire equipment operating temperature, then at least two second equipment subscribe to the number that theme (topic) is " temperature " to server According to.
First equipment issues data to server, and the theme of publication data is carried in the upstream data of publication;Service Device issues the theme of data according to the first equipment after the data for receiving the publication of the first equipment, and judging whether there is subscription should Second equipment of the data of theme;For example, then server will receive when the theme of the data of the first equipment publication is " temperature " To theme be " temperature " data-pushing to the second equipment, the data that the theme received is " temperature " are sent out by the second equipment Give the operation system of docking.But based on current MQTT agreement, since at least two second equipment have subscribed the theme For the data of " temperature ", then server can set the data-pushing that the theme that the first equipment is issued is " temperature " to all second It is standby, and the data that the theme received is " temperature " can be sent to operation system by each second equipment, so as to cause industry Business system receives multiple identical data.
Based on the above issues, the embodiment of the present invention proposes a solution, is modified by the field to theme, real Shi Zhong can increase queue identity in subject field;
Wherein, which indicates that the data of the theme are to be subscribed to by operation system by multiple second equipment.
A kind of optional embodiment is to increase " queue " mark in topic field.
For example, operation system subscribes to data to server when needing to acquire data, through multiple second equipment;Specifically , multiple second equipment are sent to server subscribes to message, carries the theme for subscribing to data in the subscription message, and in the master Increase queue identity in topic;
When first equipment issues upstream data to server, it is also desirable to carry the theme of upstream data, also, also on this Increase queue identity in the theme of row data;
Server determine the first equipment publication data theme it is identical as the theme for the data that the second equipment is subscribed to when, The data-pushing that server issues the first equipment gives the second equipment;
What needs to be explained here is that when including queue identity in the theme for the data that the second equipment is subscribed to, then, only When also including the queue identity in the theme of the data of the first equipment publication, server determines the data of the first equipment publication Theme is identical as the theme for the data that the second equipment is subscribed to.
As shown in figure 5, a kind of data transmission method of the embodiment of the present invention, comprising:
Step 501, server receive the data of the first equipment publication;
Step 502, when including queue identity in the theme of the data of first equipment publication, the server is from ordering It reads and chooses second equipment of target for being in available mode in multiple second equipment of the subject data;Wherein, the team Data of the column mark for indicating the theme are to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by step 503, the server, so that Second equipment of target sends the data to the operation system of docking.
It should be noted that server receives the data of different first equipment publications, and the data that the first equipment is issued It is stored respectively according to theme;For example, the data that the theme that server receiving device A is sent is topic1, and receive and set The data that the theme that standby B is sent is topic2.
Server in the embodiment of the present invention is the server for supporting MQTT, and can referred to as " be acted on behalf of ", or "Broker";Second equipment is the business equipment docked with operation system.
In addition, the embodiment of the present invention also provides the mode that optional second equipment of one kind subscribes to data to server:
The server receives the subscription message that the operation system is sent by multiple second equipment;According to the subscription Message determines the theme for the data that the multiple second equipment is subscribed to;Wherein, the master for the data that the multiple second equipment is subscribed to It inscribes identical.
Need to acquire the type of data, the theme for the data that the second equipment of configuration needs to subscribe to according to operation system;
For example, operation system needs to acquire the remaining capacity of equipment, then configure what the second equipment needed to subscribe to server The theme of data is " remaining capacity ".
It should be noted that the embodiment of the present invention is acquired the type of data by technical staff according to operation system, it is second The theme for the data that device configuration needs to subscribe to.
Since the embodiment of the present invention is that operation system disposes multiple second equipment, multiple second for operation system deployment are set It is standby to be required to service subscription data, and the topic of data that multiple second equipment are subscribed to server is identical, compares in this way When disposing second equipment for operation system, the second equipment fault due to deployment, no normal direction operation system can be avoided The problem of sending the data of the first equipment publication.
A kind of optional embodiment is, when multiple second equipment subscribe to data to server, in the theme for subscribing to data Middle addition queue identity.
For the data issuing process of the first equipment:
First equipment sends data to server;
After the data for receiving the transmission of the first equipment, multiple the second of the detection subscription subject data set server Standby state determines the second equipment that available mode is in the multiple second equipment, generates and is in available mode by described The second equipment composition list;
That is, the theme for the data that the second equipment for including in list is subscribed to, with the data of the first equipment publication Theme is identical;
What needs to be explained here is that server finds process by service registration, the shape of each second equipment can determine State, therefore, server can determine the second equipment in available mode.
When including queue identity in theme, server chooses second equipment of target from list, and server is by the The data of one equipment publication are sent to the second equipment of target;
When not including queue identity in theme, the data that first equipment is issued are sent to the list by server Each of the second equipment.
It should be noted that when operation system subscribes to the data of a certain theme by multiple second equipment, according to business system The type and user demand of system are pre-configured in the theme that multiple second equipment are subscribed to whether carry queue identity;And the Whether the type of theme of data of one equipment publication carries queue identity in the theme of the data, this be also to be set according to first Being pre-configured in standby is determining.
Below with reference to a specific embodiment, illustrate the method for data of embodiment of the present invention transmission.
It is assumed to be operation system and disposes three the second equipment, respectively equipment 1, equipment 2, equipment 3.
The present invention implements data transmission method overall flow figure as shown in Figure 6.
Step 601, the second equipment send to server subscribe to message respectively, wherein subscribe in message comprising needing to subscribe to The themes of data be topic1;
That is, equipment 1, equipment 2, equipment 3 are sent to server respectively subscribes to message.
The theme that step 602, server store the data that each second equipment is subscribed to is topic1.
Step 603, the first equipment issue data to server, and the theme of data is topic1.
Step 604, server obtain the second equipment in available mode that the Data subject subscribed to is topic1, generate The list being made of the second equipment in available mode;
Include in the list that server generates: equipment 1, equipment 2, equipment 3;
Whether step 605, server judge comprising queue identity in topic1, if so, step 606 is executed, if it is not, executing Step 609;
Step 606, server choose the second equipment of target from list;
Assuming that the second equipment of target chosen is equipment 1.
The data-pushing that step 607, server issue the first equipment is to equipment 1.
The data received are sent to operation system by step 608, equipment 1.
Step 609, server give the data-pushing that the first equipment is issued to each second equipment;
That is, the data-pushing that server issues the first equipment is to equipment 1, equipment 2, equipment 3.
The data received are sent to operation system respectively by step 610, each second equipment.
Based on the same inventive concept, a kind of server is additionally provided in the embodiment of the present invention, since server solution is asked The principle of topic is similar to the method that data of the embodiment of the present invention are transmitted, therefore the implementation of the server may refer to the reality of method It applies, overlaps will not be repeated.
It should be noted that server allowed protocol provided in an embodiment of the present invention includes: ac-mqtt, ac-mqtt- Business, mqtt SDK etc..
As shown in fig. 7, a kind of server of the embodiment of the present invention, including processing unit 701, storage unit 702 and transmitting-receiving are single Member 703;
Wherein, the storage unit 702 is stored with program code, when said program code is held by the processing unit 701 When row, so that the processing unit 701 executes following process:
The data of the first equipment publication are received by the Transmit-Receive Unit 703;
When including queue identity in the theme of the data of first equipment publication, from the more of the subscription subject data Second equipment of target for being in available mode is chosen in a second equipment;Wherein, the queue identity is for indicating described The data of theme are to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by the Transmit-Receive Unit 703, with Second equipment of target is set to send the data to the operation system of docking.
Optionally, the processing unit 701 is also used to:
Before the data for receiving the publication of the first equipment, receives the operation system and ordered by what multiple second equipment were sent Read message;The theme for the data that each second equipment is subscribed to is determined according to the subscription message;Wherein, the multiple second equipment The theme of the data of subscription is identical.
Optionally, the processing unit 701 is specifically used for:
The state of multiple second equipment of the data of the theme is subscribed in detection;It determines and is in the multiple second equipment Second equipment of available mode generates the first list being made of second equipment in available mode;From described first The second equipment of target is chosen in list.
Optionally, the processing unit 701 is also used to:
When not including queue identity in the theme of the data of first equipment publication, determine by subscribing to the number of topics According to the second equipment composition second list;
The data that first equipment is issued are sent to the second equipment of each of described second list, so that described every The data received are sent to the operation system of docking by a second equipment.
Optionally, the server is the server for supporting MQTT;
First equipment and second equipment are the equipment for supporting MQTT.
As shown in figure 8, a kind of data transmission device of the embodiment of the present invention, comprising:
Receiving module 801, for receiving the data of the first equipment publication;
Module 802 is obtained, when for including queue identity in the theme for the data that first equipment is issued, from subscription Second equipment of target for being in available mode is chosen in multiple second equipment of the subject data;Wherein, the queue The data identified for indicating the theme are to be subscribed to by operation system by multiple second equipment;
Sending module 803, the data for issuing first equipment are sent to second equipment of target, so that institute State the operation system that the second equipment of target sends the data to docking.
Optionally, the receiving module 801 is also used to:
Before the data for receiving the publication of the first equipment, receives the operation system and ordered by what multiple second equipment were sent Read message;The theme for the data that each second equipment is subscribed to is determined according to the subscription message;Wherein, the multiple second equipment The theme of the data of subscription is identical.
Optionally, the acquisition module 802 is specifically used for:
The state of multiple second equipment of the data of the theme is subscribed in detection;It determines and is in the multiple second equipment Second equipment of available mode generates the first list being made of second equipment in available mode;From described first The second equipment of target is chosen in list.
Optionally, when not including queue identity in the theme of the data of first equipment publication, the acquisition module 802 are also used to: determining the second list being made of the second equipment for subscribing to the subject data;
The sending module 803 is also used to: the data that first equipment is issued are sent in the second list Each second equipment, so that the data received are sent to the operation system of docking by each second equipment.
The embodiment of the present invention also provide a kind of computer can storage medium, be stored thereon with computer program, feature exists In realization is such as the step of above-mentioned either method when the program is executed by processor.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product Figure and/or flow chart describe the application.It should be understood that can realize that block diagram and or flow chart is shown by computer program instructions The combination of the block of a block and block diagram and or flow chart diagram for figure.These computer program instructions can be supplied to logical With computer, the processor of special purpose computer and/or other programmable data processing units, to generate machine, so that via meter The instruction that calculation machine processor and/or other programmable data processing units execute creates for realizing block diagram and or flow chart block In specified function action method.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer usable or the shape of the computer program product on computer readable storage medium Formula has the computer realized in the medium usable or computer readable program code, to be made by instruction execution system It is used with or in conjunction with instruction execution system.In the present context, computer can be used or computer-readable medium can be with It is arbitrary medium, may include, stores, communicates, transmits or transmit program, is made by instruction execution system, device or equipment With, or instruction execution system, device or equipment is combined to use.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of data transmission method, which is characterized in that this method comprises:
Server receives the data of the first equipment publication;
When including queue identity in the theme of the data of first equipment publication, the server is from subscribing to the number of topics According to multiple second equipment in choose one be in available mode the second equipment of target;Wherein, the queue identity is used for table The data for showing the theme are to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by the server, so that the target second Equipment sends the data to the operation system of docking.
2. the method as described in claim 1, which is characterized in that the server receive the first equipment publication data it Before, further includes:
The server receives the subscription message that the operation system is sent by multiple second equipment;
The server determines the theme of the data of each second equipment subscription according to the subscription message;Wherein, the multiple The theme for the data that second equipment is subscribed to is identical.
3. the method as described in claim 1, which is characterized in that the server is from subscribing to multiple the second of the subject data Second equipment of target for being in available mode is chosen in equipment, comprising:
The state of multiple second equipment of the subject data is subscribed in the server detection;
The server determines the second equipment that available mode is in the multiple second equipment, generates by described in available The list of the second equipment composition of state;
The server chooses the second equipment of target from the list.
4. the method as described in claim 1, which is characterized in that this method further include:
When not including queue identity in the theme of the data of first equipment publication, the server is determined as described in subscribing to The list of the second equipment composition of subject data;
The data that first equipment is issued are sent to the second equipment of each of described list by the server, so that described The data received are sent to the operation system of docking by each second equipment.
5. such as the described in any item methods of Claims 1 to 4, which is characterized in that the server is to support message queue telemetering The server of transport protocol MQTT;
First equipment and second equipment are the equipment for supporting MQTT.
6. a kind of server, which is characterized in that including processing unit, storage unit and Transmit-Receive Unit;
Wherein, the storage unit is stored with program code, when said program code is executed by the processing unit, so that institute It states processing unit and executes following process:
The data of the first equipment publication are received by the Transmit-Receive Unit;
When including queue identity in the theme of the data of first equipment publication, from subscribing to multiple the of the subject data Second equipment of target for being in available mode is chosen in two equipment;Wherein, the queue identity is for indicating the theme Data be to be subscribed to by operation system by multiple second equipment;
The data that first equipment is issued are sent to second equipment of target by the Transmit-Receive Unit, so that the mesh Mark the operation system that the second equipment sends the data to docking.
7. server as claimed in claim 6, which is characterized in that the processing unit is also used to:
Before the data for receiving the publication of the first equipment, receives the operation system and disappeared by the subscription that multiple second equipment are sent Breath;The theme for the data that each second equipment is subscribed to is determined according to the subscription message;Wherein, the multiple second equipment is subscribed to Data theme it is identical.
8. server as claimed in claim 6, which is characterized in that the processing unit is specifically used for:
The state of multiple second equipment of the subject data is subscribed in detection;It determines in the multiple second equipment in available shape Second equipment of state generates the first list being made of second equipment in available mode;From the first list Choose the second equipment of target.
9. server as claimed in claim 6, which is characterized in that the processing unit is also used to:
When not including queue identity in the theme of the data of first equipment publication, determine by subscribing to the subject data The second list of second equipment composition;
The data that first equipment is issued are sent to the second equipment of each of described second list, so that described each the The data received are sent to the operation system of docking by two equipment.
10. a kind of data transmission device characterized by comprising
Receiving module, for receiving the data of the first equipment publication;
Module is obtained, when for including queue identity in the theme for the data that first equipment is issued, from the subscription master It inscribes and chooses second equipment of target for being in available mode in multiple second equipment of data;Wherein, the queue identity is used In the data for indicating the theme be to be subscribed to by operation system by multiple second equipment;
Sending module, the data for issuing first equipment are sent to second equipment of target, so that the target Second equipment sends the data to the operation system of docking.
CN201910234196.3A 2019-03-26 2019-03-26 Data transmission method, server and data transmission device Active CN110012083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910234196.3A CN110012083B (en) 2019-03-26 2019-03-26 Data transmission method, server and data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234196.3A CN110012083B (en) 2019-03-26 2019-03-26 Data transmission method, server and data transmission device

Publications (2)

Publication Number Publication Date
CN110012083A true CN110012083A (en) 2019-07-12
CN110012083B CN110012083B (en) 2022-07-01

Family

ID=67168231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910234196.3A Active CN110012083B (en) 2019-03-26 2019-03-26 Data transmission method, server and data transmission device

Country Status (1)

Country Link
CN (1) CN110012083B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405021A (en) * 2020-03-10 2020-07-10 中国建设银行股份有限公司 Data transmission method, device, equipment and storage medium of peer-to-peer node
CN111464598A (en) * 2020-03-19 2020-07-28 中国人民财产保险股份有限公司 Data pushing method and device
CN111669716A (en) * 2020-04-30 2020-09-15 杭州涂鸦信息技术有限公司 Communication method and communication system of network interphone
CN112751916A (en) * 2020-12-28 2021-05-04 中国科学院软件研究所 Data publishing-subscribing method and system for micro-service governance
CN112929437A (en) * 2021-02-05 2021-06-08 中国石油大学(北京) Data transmission system, method and device based on Internet of things MQTT technical framework
CN115314332A (en) * 2022-07-11 2022-11-08 青岛海尔科技有限公司 Method and device for setting equipment theme, storage medium and electronic device
CN116112568A (en) * 2023-02-17 2023-05-12 四川科道芯国智能技术股份有限公司 Distributed connection management uplink message receiving system based on message queue

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043396A (en) * 2006-06-15 2007-09-26 华为技术有限公司 Method for establishing subscribe communication and method for subscribing user events
US20120173610A1 (en) * 2011-01-05 2012-07-05 Darryl Neil Bleau Message Push Notification Client Improvements For Multi-User Devices
CN103209213A (en) * 2013-03-27 2013-07-17 北京京东尚科信息技术有限公司 Data transmission method and system for data subscription
CN103746897A (en) * 2013-12-20 2014-04-23 华为技术有限公司 Devices, method and system for notifying user state
CN103905471A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Social network information push method, server and social network
CN105553682A (en) * 2015-12-23 2016-05-04 华为技术有限公司 Event notification method and event notification system
CN106130882A (en) * 2016-07-13 2016-11-16 北京百度网讯科技有限公司 For the method and apparatus transmitting message
CN108924183A (en) * 2018-05-31 2018-11-30 北京百度网讯科技有限公司 For handling the method and device of information
CN109151043A (en) * 2018-09-06 2019-01-04 北京赛佰特科技有限公司 Message delivery system based on cloud service

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043396A (en) * 2006-06-15 2007-09-26 华为技术有限公司 Method for establishing subscribe communication and method for subscribing user events
US20120173610A1 (en) * 2011-01-05 2012-07-05 Darryl Neil Bleau Message Push Notification Client Improvements For Multi-User Devices
CN103905471A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Social network information push method, server and social network
CN103209213A (en) * 2013-03-27 2013-07-17 北京京东尚科信息技术有限公司 Data transmission method and system for data subscription
CN103746897A (en) * 2013-12-20 2014-04-23 华为技术有限公司 Devices, method and system for notifying user state
CN105553682A (en) * 2015-12-23 2016-05-04 华为技术有限公司 Event notification method and event notification system
CN106130882A (en) * 2016-07-13 2016-11-16 北京百度网讯科技有限公司 For the method and apparatus transmitting message
CN108924183A (en) * 2018-05-31 2018-11-30 北京百度网讯科技有限公司 For handling the method and device of information
CN109151043A (en) * 2018-09-06 2019-01-04 北京赛佰特科技有限公司 Message delivery system based on cloud service

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
自度君: ""聊聊设计模式(1):发布订阅模式"", 《简书》 *
陈大妹: ""基于MQTT协议的高可用在线客服系统的研究与设计"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405021A (en) * 2020-03-10 2020-07-10 中国建设银行股份有限公司 Data transmission method, device, equipment and storage medium of peer-to-peer node
CN111464598A (en) * 2020-03-19 2020-07-28 中国人民财产保险股份有限公司 Data pushing method and device
CN111669716A (en) * 2020-04-30 2020-09-15 杭州涂鸦信息技术有限公司 Communication method and communication system of network interphone
CN112751916A (en) * 2020-12-28 2021-05-04 中国科学院软件研究所 Data publishing-subscribing method and system for micro-service governance
CN112751916B (en) * 2020-12-28 2022-03-25 中国科学院软件研究所 Data publishing-subscribing method and system for micro-service governance
CN112929437A (en) * 2021-02-05 2021-06-08 中国石油大学(北京) Data transmission system, method and device based on Internet of things MQTT technical framework
CN115314332A (en) * 2022-07-11 2022-11-08 青岛海尔科技有限公司 Method and device for setting equipment theme, storage medium and electronic device
CN116112568A (en) * 2023-02-17 2023-05-12 四川科道芯国智能技术股份有限公司 Distributed connection management uplink message receiving system based on message queue

Also Published As

Publication number Publication date
CN110012083B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN110012083A (en) A kind of data transmission method, server and data transmission device
CN110602254B (en) Method, device and system for realizing load balance
KR102046700B1 (en) Message bus service directory
CN107950038A (en) Subscribe to and notify to carry efficient method and apparatus with clustering service layer for analyzing
EP1713219A1 (en) Communications device and method
US8606908B2 (en) Wake-up server
KR20170028878A (en) Method for processing request messages in wireless communication system, and device for same
RU2008138577A (en) NETWORK SYSTEM
CN104335524A (en) Common web accessible data store for client side page processing
CN109981538A (en) The register method and system of subscription event, the processing method and system for subscribing to event
CN105704001A (en) WeChat server message distribution method and WeChat server message distribution system
US20120158564A1 (en) System and method for account management based on open application programming interface using restful web services
CN106357654B (en) Remote procedure calling method, device and communication system
US10630528B2 (en) Method and apparatus in a web service system
KR101857020B1 (en) Apparatas and method for managing service of providing server in a terminal
JP5517255B2 (en) Service connection control method, control node server and program in a plurality of service node servers
CN111262779A (en) Method, device, server and system for acquiring data in instant messaging
KR20140106138A (en) M2M Exchange Platform for M2M Roaming
US20190068737A1 (en) Message pushing system, client equipment and message pushing method thereof
CN112367383A (en) Service calling method and related equipment
CN102918811A (en) Bidirectional communication system and server apparatus used therein
CN104754545B (en) A kind of own Operational Visit method, apparatus and system
CN111641664A (en) Crawler equipment service request method, device and system
Narayana Srirama MWSMF: A mediation framework for mobile hosts and enterprise on cloud
Singh et al. An efficient asynchronous mobile web service framework

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