CN109639696A - A kind of format conversion method applied to internet of things data communication - Google Patents
A kind of format conversion method applied to internet of things data communication Download PDFInfo
- Publication number
- CN109639696A CN109639696A CN201811576855.3A CN201811576855A CN109639696A CN 109639696 A CN109639696 A CN 109639696A CN 201811576855 A CN201811576855 A CN 201811576855A CN 109639696 A CN109639696 A CN 109639696A
- Authority
- CN
- China
- Prior art keywords
- server
- internet
- client
- data communication
- method applied
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Abstract
The present invention relates to a kind of format conversion methods applied to internet of things data communication, comprising: and it establishes and the server-side of WebService Communications service is provided, the server-side connection cloud platform and each client;Arrange simple object access protocol between server-side and client, both sides realize the interaction of information using the message of WebService format and by simple object access protocol, and server-side formats the data transmitted between client and cloud platform.Compared with prior art, the present invention realizes the conversion of the communication data structure between each platform by json technology, compatibility is strong, applied widely using the server-side of WebService Communications service is provided.
Description
Technical field
The present invention relates to data processing fields, more particularly, to a kind of format conversion side applied to internet of things data communication
Method.
Background technique
With flourishing for technology of Internet of things, all it is widely applied in fields such as family, hotel, office buildings.
In such a case, what many traditional equipment factory commercial cities were very urgent can pass through the knot of Internet of Things and Internet technology
It closes, completes to be changed in quality from original hardware vendor at for intelligent hardware vendor.Initial, this manufacturer is often by building
The cloud platform of oneself realizes the combination of Internet of Things and internet.But over time, in the industry of entire net networking
The state being their respective businesses is formd, the structure of the data communication of each family is all different, and causing oneself equipment can only pass through
Oneself system controls.For a user, it is equivalent to me and buys one product often it is necessary to load a set of corresponding control system
System, this is clearly that user is unacceptable.
In order to solve this problem, the superbusiness of some country, such as: Ali, Tencent, millet, Jingdone district, they take
A bigger cloud platform is built, provides a public interface for all size type manufacturer, to realize standardization, unitized
Management, on condition that all manufacturers develop all in accordance with the rule of their formulation.It is such the disadvantage is that: one, many producers
It will be restrained by these superbusiness, producer is very passive;Two, the company of the self-built cloud platform of script, gives up the platform of oneself
It discards;Three, it for the docking problem between some chain-wales, still can not solve.A kind of progress data structure is needed to turn at present
The plug-in unit that changes solves the above problems.
Summary of the invention
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide one kind to be applied to Internet of Things
The format conversion method of data communication.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of format conversion method applied to internet of things data communication, comprising:
It establishes and the server-side of WebService Communications service is provided, the server-side connection cloud platform and each client;
Arrange simple object access protocol between server-side and client, both sides use the message of WebService format
And the interaction of information is realized by simple object access protocol, server-side carries out the data transmitted between client and cloud platform
Format conversion.
Preferably, the server-side states various interfaces to client with simple object access protocol, and client passes through
The interface of server-side statement is called to realize the calling to server end interface.
Preferably, the server-side encapsulates all application logics.
Preferably, the application logic of the server-side encapsulation includes: user identity authentication, data structure definition, data knot
Structure conversion.
Preferably, the server-side is disposed on the application server.
Preferably, the server-side realizes WebService Communications service by JAVA technology.
Compared with prior art, the present invention passes through json technology using the server-side of WebService Communications service is provided
Realize the conversion of the communication data structure between each platform, compatibility is strong, applied widely.
Detailed description of the invention
Fig. 1 is the realization block diagram of the method for the present invention;
Fig. 2 is the flow chart of definition data structure in the present invention;
Fig. 3 is the flow chart of data structure conversion in the present invention.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention
Premised on implemented, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to
Following embodiments.
Embodiment
The application proposes a kind of format conversion method applied to internet of things data communication, comprising:
It establishes and the server-side of WebService Communications service is provided, server-side connects cloud platform and each client, such as Fig. 1
It is shown;
Arrange simple object access protocol (Simple Object Access between server-side and client
Protocol, SOAP), both sides realize the interaction of information, server-side pair using the message of WebService format and by SOAP
The data transmitted between client and cloud platform are formatted by json technology.
In the present embodiment, server-side realizes WebService Communications service by JAVA technology, and all application logics are all
It is encapsulated in the inside.The application logic of server-side encapsulation includes: user identity authentication, data structure definition, data structure conversion.
Server-side states the interface of various acquisition data and interaction, client with simple object access protocol to client
The calling to server end interface is realized by calling the interface of server-side statement.
Client mainly realizes following function:
1) access service end, and to the subscriber identity information of server-side transmission client, obtain the certification of server-side;
2) data structure defined interface is provided the user with.
Realize the key step of this method are as follows:
S1, server-side is disposed on the application server, definition data structure simultaneously configures and externally provides the port of service;
S2, the connection that original cooperative office system is configured in server-side;
S3, deploying client mode, setting use IE6 or more version browser, be arranged server end access address and
Then port starts server-side;
S4, pass through browser access client address, server-side converts the data structure of communication.
As shown in Fig. 2, the process of definition data structure is as follows:
A1, input data structure is defined, wherein including data name, data type, data structure;
A2: defining output data structure, wherein including data name, data type, data structure;
A3: setting output data structure default data value;
A4: verification output data structure is shown;
A5: data structure is saved.
As shown in figure 3, the process of data structure conversion is as follows:
B1, transmitting preprocessed data structure;
B2, judge that data structure whether there is, if so, performing the next step, otherwise process terminates, and returns to error message;
B3, output data structure result is returned.
Claims (6)
1. a kind of format conversion method applied to internet of things data communication characterized by comprising
It establishes and the server-side of WebService Communications service is provided, the server-side connection cloud platform and each client;
Arrange simple object access protocol between server-side and client, both sides use the message of WebService format and lead to
The interaction that simple object access protocol realizes information is crossed, server-side carries out format to the data transmitted between client and cloud platform
Conversion.
2. a kind of format conversion method applied to internet of things data communication according to claim 1, which is characterized in that institute
Server-side is stated with simple object access protocol to state various interfaces to client, client is by calling connecing for server-side statement
Mouthful realize the calling to server end interface.
3. a kind of format conversion method applied to internet of things data communication according to claim 1, which is characterized in that institute
It states server-side and encapsulates all application logics.
4. a kind of format conversion method applied to internet of things data communication according to claim 3, which is characterized in that institute
The application logic for stating server-side encapsulation includes: user identity authentication, data structure definition, data structure conversion.
5. a kind of format conversion method applied to internet of things data communication according to claim 1, which is characterized in that institute
State server-side deployment on the application server.
6. a kind of format conversion method applied to internet of things data communication according to claim 1, which is characterized in that institute
It states server-side and WebService Communications service is realized by JAVA technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811576855.3A CN109639696A (en) | 2018-12-23 | 2018-12-23 | A kind of format conversion method applied to internet of things data communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811576855.3A CN109639696A (en) | 2018-12-23 | 2018-12-23 | A kind of format conversion method applied to internet of things data communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109639696A true CN109639696A (en) | 2019-04-16 |
Family
ID=66076604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811576855.3A Pending CN109639696A (en) | 2018-12-23 | 2018-12-23 | A kind of format conversion method applied to internet of things data communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639696A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024059A (en) * | 2012-12-19 | 2013-04-03 | 北京时代凌宇科技有限公司 | Middleware system of Internet of Things |
CN103428627A (en) * | 2012-05-22 | 2013-12-04 | 中国移动通信集团江苏有限公司 | Method for transferring data in internet of things, internet of things system and corresponding device |
CN104113602A (en) * | 2014-07-30 | 2014-10-22 | 无锡航天飞邻测控技术有限公司 | Object name based Internet of Things device access management system and method |
CN106131205A (en) * | 2016-07-29 | 2016-11-16 | 北京赛佰特科技有限公司 | Big processing data information system and method for Internet of Things |
CN108011959A (en) * | 2017-12-04 | 2018-05-08 | 西安电子科技大学 | A kind of data platform, safety defense monitoring system that Internet of things system is served based on SOA |
US20180176862A1 (en) * | 2016-12-15 | 2018-06-21 | Cable Television Laboratories, Inc. | NORMALIZATION OF DATA ORIGINATING FROM ENDPOINTS WITHIN LOW POWER WIDE AREA NETWORKS (LPWANs) |
-
2018
- 2018-12-23 CN CN201811576855.3A patent/CN109639696A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103428627A (en) * | 2012-05-22 | 2013-12-04 | 中国移动通信集团江苏有限公司 | Method for transferring data in internet of things, internet of things system and corresponding device |
CN103024059A (en) * | 2012-12-19 | 2013-04-03 | 北京时代凌宇科技有限公司 | Middleware system of Internet of Things |
CN104113602A (en) * | 2014-07-30 | 2014-10-22 | 无锡航天飞邻测控技术有限公司 | Object name based Internet of Things device access management system and method |
CN106131205A (en) * | 2016-07-29 | 2016-11-16 | 北京赛佰特科技有限公司 | Big processing data information system and method for Internet of Things |
US20180176862A1 (en) * | 2016-12-15 | 2018-06-21 | Cable Television Laboratories, Inc. | NORMALIZATION OF DATA ORIGINATING FROM ENDPOINTS WITHIN LOW POWER WIDE AREA NETWORKS (LPWANs) |
CN108011959A (en) * | 2017-12-04 | 2018-05-08 | 西安电子科技大学 | A kind of data platform, safety defense monitoring system that Internet of things system is served based on SOA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018147B (en) | Internet of things communication method and system and gateway module | |
CN105159256B (en) | A kind of intelligent home control system based on Web service | |
CN110417783B (en) | Data transmission method and device based on Internet of things, storage medium and terminal | |
CN105763619B (en) | The method and device that client and server-side are communicated | |
CN106533886B (en) | Full-interconnection manufacturing network architecture based on IPv6 protocol and management method | |
US10635436B2 (en) | Compatibility method based on hybrid, adapter, operation device, system and computer-readable storage medium | |
CN103650458A (en) | Transmission method, device and system of media streams | |
CN103747004A (en) | Realizing method of internet of things communication protocol | |
CN101212428A (en) | Home gateway applied in digital home system | |
CN103179133A (en) | Communication method between client side and server based on entity class | |
CN103974111B (en) | By the method, apparatus of the data transfer on intelligent terminal to television terminal | |
CN107133024A (en) | Business management system based on OSGI frameworks | |
CN103297506A (en) | Method and system for controlling household equipment | |
CN102812744A (en) | Inter-working of EFM-OAM and CFM-OAM for mobile backhaul networks | |
CN105915500A (en) | Method, protocol conversion service end and Internet of things terminal for conversion of different Internet of things protocols | |
CN103595712B (en) | A kind of Web authentication method, apparatus and system | |
CN103338267A (en) | SIP and Web service combined value added service platform for mobile intelligent community | |
CN101997721B (en) | A kind of telecommunication network management system, method and accordingly device | |
CN108989157B (en) | Method and device for controlling intelligent equipment | |
CN104509083A (en) | Communication system, method, and program | |
CN108683702A (en) | A kind of driving method of the plug and play of Internet of Things equipment access internet | |
CN103795729A (en) | Unified device control method based on multiple protocols | |
CN102857482B (en) | Based on data transmission method and the system of many service ends | |
CN111740960A (en) | Communication method of Internet of things equipment, Internet of things equipment and storage medium | |
US8856651B2 (en) | Remote user interface cooperative application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |