CN104780216B - A kind of equipment of no internet connection uploads data to the method and system of Internet Server - Google Patents
A kind of equipment of no internet connection uploads data to the method and system of Internet Server Download PDFInfo
- Publication number
- CN104780216B CN104780216B CN201510197979.0A CN201510197979A CN104780216B CN 104780216 B CN104780216 B CN 104780216B CN 201510197979 A CN201510197979 A CN 201510197979A CN 104780216 B CN104780216 B CN 104780216B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- mobile terminal
- internet
- data
- module
- 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
Links
Abstract
The invention discloses the method and system that a kind of equipment of no internet connection uploads data to Internet Server, this method includes the following steps:Mobile terminal is connect by attachment device with electronic equipment, and obtains the related data of electronic equipment;Judge whether mobile terminal currently can access internet, upload to related data in the server on internet by internet if it can access internet;Otherwise, the related data of acquisition is stored in being locally stored in module of mobile terminal, after mobile terminal accesses internet, related data is uploaded to by internet in the server on internet.The present invention is not limited, and take full advantage of itself bluetooth of electronic equipment or Wi Fi functions by factors such as geographical location, working environments, effectively controls implementation cost.
Description
Technical field
The present invention relates to data communication fields, and in particular to a kind of equipment of no internet connection uploads data to internet
The method and system of server.
Background technology
With the development of Internet of Things and big data analysis in IT industry, more and more electronic equipments need to be acquired
The important data such as data, operation data and fault message are uploaded on the server of internet, for carrying out Macro or mass analysis.
In order to reach this purpose, it is necessary to these electronic equipments have network function, are connectable to internet, but in reality
Not all electronic equipment all has a network function, for example, some electronic equipments due to hardware condition limits, cost and
The factors such as environment can not be directly connected to internet without having network function, and its gathered data, operation data and failure are believed
The important data such as breath are urgently uploaded on Internet Server again, carry out data analysis, so being badly in need of solving to connect without internet
What is connect sets electronics for the problem of uploading data to Internet Server.
At present, the method that the electronic equipment for solving no internet connection uploads data to Internet Server mainly has following
Several schemes:
(1) increase network communication module on existing electronic equipment, electronic equipment accesses mutual by network communication module
Networking, and directly data are uploaded on Internet Server.This method is limited in that:On the one hand it can increase electronic equipment
Cost, on the other hand, this method can not be suitable for all occasions, such as:Due to the limitation of environment or other factors, one
Under a little special occasions, internet can not be accessed electronic equipment is even if with network communication module (as remote districts do not interconnect
Net access service).
(2) it is connected on electronic equipment by means such as serial ports using PC (personal computer, personal computer)
Data are obtained, then Internet Server is uploaded data to by PC.This method needs PC and electronic equipment to establish connection, so needing
PC and electronic equipment are inconvenient to use apart from close or use long range connecting line;
(3) electronic equipment built-in storage apparatus, and by data buffer storage to local storage, PC is used in a suitable case
It reads data and uploads to Internet Server.This method increases local storage due to needing, and increases cost, and
For fixed large scale equipment, since its movement is inconvenient, it is not too much applicable in the program.
In view of this, be badly in need of providing a kind of scheme, under conditions of low cost is ensured, not by electronic equipment geographical location,
Environment and the limitation of volume size realize the electronic equipment of no internet connection, by its gathered data, operation data and failure
The important data such as information are uploaded on the server of internet.
Invention content
The technical problems to be solved by the invention be ensure low cost under conditions of, not by electronic equipment geographical location,
Environment and the limitation of volume size realize that no internet connection electronic equipments safety quickly uploads data to interconnection online server
The problem of.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is to provide a kind of setting for no internet connection
The standby method for uploading data to Internet Server, includes the following steps:
The first step, mobile terminal are connect by attachment device with electronic equipment, and obtain the related data of electronic equipment;
Second step judges whether mobile terminal currently can access internet, and the 5th step is performed if it can access internet;
Otherwise, third step is performed;
The related data of acquisition is stored in and is locally stored in module by third step, mobile terminal, and disconnection and electronic equipment
Connection;
Mobile terminal is accessed internet by the 4th step;
5th step uploads to related data in the server on internet by internet.
In the above-mentioned methods, realize that there are two types of modes for the first step:
First way is the electronic equipment of built-in second bluetooth or Wi-Fi module and built-in first bluetooth or Wi-Fi moulds
The mobile terminal of block is directly connected to, and obtains the related data of electronic equipment;
The second way is that electronic equipment connects gateway adapter by the first built-in communication module, and gateway adapter is again
It is connect by built-in third bluetooth matched with mobile terminal or Wi-Fi module with mobile terminal, realizes electronic equipment with moving
Dynamic terminal connection, and obtain the related data of electronic equipment.
In the above-mentioned methods, first communication module is wire communication module or wireless communication module;
Wire communication module is serial ports, EIB agreements, KNX agreements or LonWorks agreements;
Wireless communication module is RF radio frequencies, Zigbee protocol or Z-Wave agreements.
In the above-mentioned methods, realize the first way of the first step including following rapid:
Step A111, electronic equipment starts;
Step A112, electronic equipment is connected to according to preconfigured service set and password on Wi-Fi routers,
Wi-Fi routers distribute an IP address and port for the electronic equipment automatically;
Step A113, electronic equipment adds in mDNS multicasts, opens related service, listening port, publication related service;
Step A114, mobile terminal is wirelessly connected to the same Wi-Fi routers for having accessed electronic equipment
On, and mDNS multicasts are added in, using the corresponding electronic equipment of service discovery is found, later, the acquisition for mobile terminal electronic equipment
IP address and port;
Step A115, mobile terminal is connected to IP address and the port of electronic equipment, and establishes the socket connections of tcp;
Step A116, mobile terminal sends inquiry or control message to specific electronic equipment, and the electronic equipment is to movement
Terminal sends out instruction and is parsed, and is fed back or gathered data is returned to mobile terminal.
In the above-mentioned methods, realize that the second way of the first step includes the following steps:
Step A121, electronic equipment is connected to gateway adapter using serial ports, and gateway adapter is the electronic equipment automatically
A port is distributed, and establishes the title of electronic equipment and the list of port;
Step A122, mobile terminal is connect by built-in the first bluetooth of short distance or Wi-Fi module with gateway adapter;
Step A123, mobile terminal is sent to the control of specific electronic equipment set or query messages to gateway adapter, the control
The title of corresponding electronic equipment is carried in system or query messages;
Step A124, gateway adapter forwards control or query messages to electricity according to the list of electronic device names and port
Sub- equipment;
Step A125, electronic equipment parses control or query messages and sends gathered data or feedback data and is adapted to gateway
Device;
Step A126, gateway adapter forwards gathered data or feedback data to mobile terminal.
The present invention also provides the system that a kind of equipment of no internet connection uploads data to Internet Server, including
Mobile terminal and attachment device with internet, the mobile terminal are equipped with the first bluetooth or Wi-Fi module, institute
It states the gathered data on the electronic equipment that the first bluetooth or Wi-Fi module are connected by attachment device acquisition without internet, run
Data and fault message, and by these data in real time or asynchronous upload to the server on internet.
In above system, the mobile terminal built-in memory module, when the mobile terminal can not in acquisition data
When being connect with internet, related data is cached in the memory module;After mobile terminal connection internet connection,
The server related data of caching being uploaded to again on internet.
In above system, the second bluetooth or Wi-Fi on the electronic equipment that the attachment device is connected for no internet
Module, second bluetooth or Wi-Fi module match with first bluetooth or Wi-Fi module.
In above system, the first communication module on electronic equipment that the attachment device is connected by no internet, net
Adapter composition is closed, the gateway adapter is provided with the second communication module and third bluetooth or Wi-Fi module;Described second
Communication module is identical with the first communication module, the third bluetooth or Wi-Fi module and first bluetooth or Wi-Fi moulds
Block matches.
In above system, first communication module is wire communication module or wireless communication module;
Wire communication module is serial ports, EIB agreements, KNX agreements or LonWorks agreements;
Wireless communication module is RF radio frequencies, Zigbee protocol or Z-Wave agreements.
The present invention solves large-scale or is inconvenient to move, has no internet using the portability of mobile terminal
Electronic equipment related data upload Internet Server the problem of, not only so that data upload not by geographical location,
The limitation of the factors such as working environment, and the stronger processing of mobile terminal and storage capacity can cache a large amount of data, and
Connection quickly uploads data in the case of internet;Meanwhile it using short-range transmission techniques such as bluetooth or Wi-Fi, makes full use of
Itself bluetooth of electronic equipment or Wi-Fi functions, and under the premise of electronic equipment does not increase internet communication module, realize
With the connection of mobile terminal.
Although the present invention passes through increase when electronic equipment itself does not have bluetooth or Wi-Fi when short-distance transmissions function
Gateway adapter connect mobile terminal, but since multiple electronic equipments can be with a public gateway adapter so that increase
Add cost is made thinner, effectively control the implementation cost of the program.
Description of the drawings
Fig. 1 is that the system that a kind of equipment of no internet connection provided by the invention uploads data to Internet Server is shown
It is intended to;
Fig. 2 is the first specific embodiment schematic diagram of system shown in FIG. 1;
Fig. 3 is second of specific embodiment schematic diagram of system shown in FIG. 1;
Fig. 4 is that a kind of equipment of no internet connection provided by the invention uploads data to the method stream of Internet Server
Cheng Tu;
Fig. 5 is the first realization method flow chart of the first step in method provided by the invention;
Fig. 6 is second of realization method flow chart of the first step in method provided by the invention.
Specific embodiment
Technical solution for a better understanding of the present invention simply introduces the present invention first in this embodiment
Some involved technical terms.
(1)、Wi-Fi。
Wi-Fi (Wireless-Fidelity, Wireless Fidelity) be one kind can by PC, handheld device (such as pad,
Mobile phone) etc. the technology that wirelessly interconnects of terminals, at present, most of mobile equipment is all built-in with Wi-Fi module;It needs
It should be noted that:Built-in Wi-Fi module, does not guarantee that and possesses internet.
(2), bluetooth.
Bluetooth is the wireless technology of holding equipment short haul connection (in general 10m) a kind of, can be in mobile phone, PDA, nothing
Line earphone, laptop, etc. wireless messages exchange is carried out between electronic equipments;" bluetooth " technology of utilization can effectively simplify
Communication between mobile communication terminal device can also simplify the communication between terminal device and internet (Internet), from
And data transmission is made to become more rapid efficient.Bluetooth is supported using distributed network structure and fast frequency hopping and short packet technology
Point-to-point and point-to-multipoint delivery is operated in 2.4GHzISM (i.e. industry, science, medicine) frequency range of global general-use, data rate
Full duplex transmission is realized for 1Mbps, and using time division duplex transmission scheme.At present, most of mobile terminal and some electricity
Sub- equipment is all built-in with bluetooth module.
(3)、ZigBee。
ZigBee (purple peak) is the low-power consumption LAN protocol based on IEEE802.15.4 standards, Zigbee protocol from it is lower to
Upper respectively physical layer (PHY), MAC layer (MAC), transport layer (TL), network layer (NWK), application layer (APL) etc.,
Wherein, physical layer and MAC layer follow the regulation of IEEE802.15.4 standards.It is provided according to international standard, ZigBee
The wireless network protocol of low speed short-distance transmission;Its main feature is that closely, low complex degree, self-organizing, low-power consumption and low data speed
Rate;It is mainly suitable for automatically controlling and remote control field, various equipment can be embedded in;In short, ZigBee technology is a kind of
Cheap, short distance, the wireless communication technique of low-power consumption.Today there is also many electronic equipments to be built-in with ZigBee module.
(4) gateway adapter.
Gateway adapter is an interface convertor, mobile equipment can by the gateway adapter of built-in same protocol with
It is connected, and gateway adapter can distribute IP address and port for the electronic equipment of access automatically.
(5)mDNS。
MDNS (multicast DNS, multicast DNS) does not have DNS (Domain Name using 5353 ports in Intranet
System, domain name system) server when, just will appear this multicast information.MDNS is mainly realized in no legacy DNS server
In the case of the host in LAN is made mutually to find and communicate.
A kind of equipment of no internet connection provided by the invention uploads data to the method and system of Internet Server,
Utilize short-distance transmissions module or the serial ports and no internet electronic such as Wi-Fi, the bluetooth built in mobile equipment (mobile phone, PAD)
Equipment connects, and obtains related data, and then when mobile equipment can surf the Internet, the data got are uploaded to internet indirectly
Server.Electronic equipment in the present invention program need not increase internet communication module, at low cost and not by geographical location, work
The limitation of the factors such as environment.The present invention is described in detail with specific embodiment with reference to the accompanying drawings of the specification.
As shown in Figure 1, a kind of equipment of no internet connection provided by the invention uploads data to Internet Server
System, including portable mobile termianl 10 and attachment device 20 with function of surfing the Net, mobile terminal 10 be equipped with the first bluetooth or
Wi-Fi module 11.The first bluetooth or Wi-Fi module 11 on mobile terminal 10 obtain no internet by attachment device 20 first
The data such as gathered data, operation data and fault message on the electronic equipment 30 of connection, then portable mobile termianl 10
Be connected on internet, then by these data in real time or asynchronous upload to the server on internet.It specifically can be according to no interconnection
The characteristics of netting the electronic equipment of connection is realized using following two embodiments.
Specific embodiment 1.
The scene that specific embodiment 1 is directed to is:The electronic equipment 30 of no internet connection is built-in with short distance communication
Second bluetooth or Wi-Fi module, and the second bluetooth or Wi-Fi module and the first bluetooth on mobile terminal 10 (such as mobile phone, PAD)
Or Wi-Fi is identical.
As shown in Fig. 2, by taking the electronic equipment 30 that no internet connects is built-in with Wi-Fi module as an example, in the specific implementation
In mode, attachment device 20 is connected by no internet on electronic equipment 30 Wi-Fi module and Wi-Fi routers 21 form.
Mobile terminal 10 (such as mobile phone, PAD) is equally built-in with short distance Wi-Fi module, in order to mobile terminal 10 and electricity
Short distance communication module in sub- equipment 30 is distinguished, in the present solution, the short distance Wi-Fi module on mobile terminal 10 claims
For the first Wi-Fi module 11, the short distance Wi-Fi module on electronic equipment 30 is known as the second Wi-Fi module 31.
The method that mobile terminal 10 obtains the related data on electronic equipment 30 by Wi-Fi technology is as follows:
Mobile terminal 10 and electronic equipment 30 access Wi- by the first Wi-Fi module 11 and the second Wi-Fi module 31 respectively
Fi routers 21 need to input corresponding Wi-FiSSID and password are authenticated when accessing Wi-Fi routers 21;
Electronic equipment 30 is linked into after Wi-Fi routers 21 and distributes an IP address automatically by Wi-Fi routers 21, then
Electronic equipment 30 adds in mDNS multicasts, opens related service, listening port, publication related service;
After mobile terminal 10 accesses Wi-Fi routers 21, mDNS multicasts are also added in, using finding service discovery electronic equipment
30, and obtain IP address and the port of the electronic equipment 30;
The socket that mobile terminal 10 establishes tcp by connecting the IP address of the electronic equipment 30 with port is connected;
Mobile terminal 10 to specific electronic equipment 30 electronic equipment of data or control (need obtain) send inquiry or
Control message, which sends out instruction to mobile terminal 10 and parses, and is fed back or return to gathered data
To mobile terminal 10, so as to which mobile terminal 10 be made to obtain gathered data, operation data and the fault message of the electronic equipment 30
Etc. data.
It should be noted that:Electronic equipment 30 can be multiple in above system, be respectively connected to Wi-Fi routers 21, Wi-
The title (ID number) of all electronic equipments and the list of IP address distributed automatically can be established on Fi routers 21.It needs to obtain certain
During the related data of one electronic equipment, inquiry that mobile terminal 10 is sent out or the name that the electronic equipment can be carried in control message
Claim (ID number).
Specific embodiment 2.
The scene that specific embodiment 2 is directed to is:The electronic equipment 30 of no internet connection does not have bluetooth or Wi-Fi moulds
Block, but with the first communication module, which only carries out data transmission, and can be wire communication module, including serial ports
(such as RS232, RS422, RS485), Ethernet (IEEE802.3), EIB (Electrical Installation Bus, electricity
Gas installation bus) agreement, KNX agreements and LonWorks agreements etc.;May be wireless communication module, including RF radio frequencies (such as
RF433, RF315), Zigbee protocol (IEEE 802.15.4) and Z-Wave agreements etc..
As shown in figure 3, in this scene, first on electronic equipment 30 that attachment device 20 is connected by no internet is led to
News module 32, gateway adapter 22 form;Gateway adapter 22 is equipped with point second communication identical with the first communication module 32
Module 222 and with the first bluetooth or 11 matched second bluetooth of Wi-Fi module or Wi-Fi module 221.
By the first communication module for for serial ports, in this specific embodiment, attachment device 20 is connected by no internet
Electronic equipment 30 on serial ports, gateway adapter 22 forms.
The method that mobile terminal 10 obtains the related data on electronic equipment 30 by Serial Communication is as follows:
Electronic equipment 30 is connected to gateway adapter 22 by serial ports 32, and gateway adapter 22 is the electronic equipment 30 automatically
A port is distributed, and establishes the title (ID number) of electronic equipment and the list of port;
Mobile terminal 10 is connected to gateway adapter 22 using the first bluetooth of short distance or Wi-Fi module 11;
Mobile terminal 10 sends the control to specific electronic equipment set (electronic equipment for needing acquisition data or control) or looks into
Message is ask to gateway adapter 22, the title (ID number) of corresponding electronic equipment 30 is carried in the control or query messages;
According to electronic device names (ID number) port list, the control or look into that gateway adapter 22 sends out mobile terminal 10
It askes message and is transmitted to corresponding electronic equipment 30;
The instruction that the electronic equipment 30 sends out mobile terminal 10 parses, and feeds back to gateway adapter 22 or will adopt
Collection data return to gateway adapter 22;
The feedback information of the electronic equipment 30 or gathered data are transmitted to mobile terminal 10 by gateway adapter 22, so as to make
Mobile terminal 10 obtains gathered data, operation data and fault message of the electronic equipment 30 etc..
Although gateway adapter 22 is needed to be indirectly connected in present embodiment, due to multiple electronic equipments
It can be made thinner with a public gateway adapter, increased cost, ensure that the low cost of the program.
Based on above system, the present invention also provides a kind of equipment of no internet connection to upload data to Internet Server
Method, as shown in figure 4, this method includes the following steps:
The first step, mobile terminal are connect using attachment device with electronic equipment, and obtain the related data of electronic equipment, this
A little related datas include:Gathered data, operation data and fault message of electronic equipment etc.;
Second step judges whether mobile terminal can currently access internet (such as 2G, 3G or 4G network), if mobile whole
End can currently access internet and then perform the 5th step;Otherwise, third step is performed;
The related data for getting electronic equipment is stored in and is locally stored in module, and disconnects by third step, mobile terminal
With the connection of electronic equipment;
Mobile terminal is accessed internet by the 4th step;
The related data of electronic equipment is uploaded to the server on internet by the 5th step, mobile terminal by internet
On.
In the first step of the method for the present invention, mobile terminal is established by attachment device and electronic equipment and connected, and obtain
There are two types of modes for the related data of electronic equipment:
The electronic equipment that first way is directed to the connection of no internet is built-in with short distance bluetooth or Wi-Fi module
Situation, such case, mobile terminal can be directly connected to electronic equipment by bluetooth or Wi-Fi technology, and is obtained electronics and set
Standby related data, as shown in figure 5, specifically including following steps:
Step A111, electronic equipment starts;
Step A112, electronic equipment is according to preconfigured Wi-Fi SSID (Service Set Identifier, service
Set identifier) and password be connected on Wi-Fi routers, after electronic equipment and Wi-Fi router successful connections, Wi-Fi routers
Automatically an IP address and port are distributed for the electronic equipment;
Step A113, electronic equipment adds in mDNS (multicast Domain Name System, multicast domain name system)
Multicast opens related service, listening port, publication related service;
Step A114, mobile terminal is wirelessly connected to the same Wi-Fi routers for having accessed electronic equipment
On, and mDNS multicasts are added in, using the corresponding electronic equipment of service discovery is found, later, the acquisition for mobile terminal electronic equipment
IP address and port;
Step A115, mobile terminal is connected to IP address and the port of electronic equipment, and establishes the socket connections of tcp;
Step A116, mobile terminal sends to specific electronic equipment (electronic equipment for needing acquisition data or control) and looks into
It askes or control message, the electronic equipment sends out instruction to mobile terminal and parse, and fed back or return to gathered data
To mobile terminal.
The electronic equipment that the second way is directed to no internet connection does not have bluetooth or Wi-Fi module, but has
There is a kind of situation of first communication module, which only carries out data transmission, and can be wire communication module, including string
Mouth, Ethernet agreements, EIB agreements, KNX agreements and LonWorks agreements etc.;It may be wireless communication module, penetrated including RF
Frequently, Zigbee protocol and Z-Wave agreements etc., such case, electronic equipment connect gateway by the first communication module first and are adapted to
Device, gateway adapter connect mobile terminal by built-in third bluetooth or Wi-Fi module again, realize electronic equipment with movement eventually
End connection, and obtain related data.
As shown in fig. 6, by the first communication module for serial ports, to specifically include following steps:
Step A121, electronic equipment is connected to gateway adapter using serial ports, and gateway adapter is the electronic equipment automatically
Distribute a port, and establish the title (ID number) of electronic equipment and the list of port, gateway adapter with for movement
The third bluetooth or Wi-Fi module of terminal connection;
Step A122, mobile terminal is connect by the first built-in bluetooth or Wi-Fi module with gateway adapter;
Step A123, mobile terminal sends the control to specific electronic equipment set (electronic equipment for needing acquisition data or control)
System or query messages carry the title (ID number) of corresponding electronic equipment to gateway adapter in the control or query messages;
Step A124, gateway adapter disappears according to electronic device names (ID number) and the list forwarding control or inquiry of port
Cease electronic equipment;
Step A125, electronic equipment parses control or query messages and sends gathered data or feedback data and is adapted to gateway
Device;
Step A126, gateway adapter forwards gathered data or feedback data to mobile terminal.
The present invention is interacted using portable mobile terminal and electronic equipment and is obtained data, and take full advantage of electronics
Equipment has Wi-Fi or bluetooth module in itself, realizes the connection with mobile terminal, is increased without cost;When electronic equipment in itself
Without Wi-Fi or during bluetooth, while it is desirable to gateway adapter is indirectly connected with, but since multiple electronic equipments can be with
As soon as public gateway adapter, increased cost are made thinner, the low cost of the invention ensure that.
Referring back to Fig. 1, in of the invention, memory module 12 is also built-in on mobile terminal 10, when mobile terminal is obtaining number
When can not be connect immediately with internet after, related data can be cached in memory module;It is mutual in mobile terminal connection
It networks after connecting, then the related data of caching is uploaded to the server on internet, realize the related data of electronic equipment
Real-time and asynchronous upload.
Scheme provided by the present invention using mobile terminal due to acquiring electronic device data so that in gatherer process not
It is constrained again by electronic equipment installation site and environment, and can ensure safety and the integrality of data, be electronic equipment
The manufacturer of user or electronic equipment provides important data foundation.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God 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 (3)
1. a kind of method that equipment of no internet connection uploads data to Internet Server, which is characterized in that including following
Step:
The first step, mobile terminal are connect by attachment device with electronic equipment, and obtain the related data of electronic equipment;
Second step judges whether mobile terminal currently can access internet, and the 5th step is performed if it can access internet;It is no
Then, third step is performed;
The related data of acquisition is stored in and is locally stored in module by third step, mobile terminal, and disconnects the company with electronic equipment
It connects;
Mobile terminal is accessed internet by the 4th step;
5th step uploads to related data in the server on internet by internet;
Wherein:The electronic equipment of built-in second Wi-Fi module and the mobile terminal of built-in first Wi-Fi module are directly connected to, and
The related data of electronic equipment is obtained, including following rapid:
Step A111, electronic equipment starts;
Step A112, electronic equipment is connected to according to preconfigured service set and password on Wi-Fi routers, Wi-Fi
Router distributes an IP address and port for the electronic equipment automatically;
Step A113, electronic equipment adds in mDNS multicasts, opens related service, listening port, publication related service;
Step A114, mobile terminal is wirelessly connected on the same Wi-Fi routers for having accessed electronic equipment, and
MDNS multicasts are added in, using the corresponding electronic equipment of service discovery is found, later, the IP of the acquisition for mobile terminal electronic equipment
Location and port;
Step A115, mobile terminal is connected to IP address and the port of electronic equipment, and establishes the socket connections of tcp;
Step A116, mobile terminal sends inquiry or control message to specific electronic equipment, and the electronic equipment is to mobile terminal
It sends out instruction to be parsed, and is fed back or gathered data is returned into mobile terminal.
2. the system that a kind of equipment of no internet connection uploads data to Internet Server, which is characterized in that including having
The mobile terminal and attachment device of internet, the mobile terminal are equipped with the first Wi-Fi module, the first Wi-
Gathered data, operation data and the failure on electronic equipment that Fi modules are connected by attachment device acquisition without internet are believed
Breath, and by these data in real time or asynchronous upload to the server on internet;
The second Wi-Fi module on the electronic equipment that the attachment device is connected for no internet, second Wi-Fi module with
First Wi-Fi module matches connection, and obtains the related data of electronic equipment, including following rapid:
Step A111, electronic equipment starts;
Step A112, electronic equipment is connected to according to preconfigured service set and password on Wi-Fi routers, Wi-Fi
Router distributes an IP address and port for the electronic equipment automatically;
Step A113, electronic equipment adds in mDNS multicasts, opens related service, listening port, publication related service;
Step A114, mobile terminal is wirelessly connected on the same Wi-Fi routers for having accessed electronic equipment, and
MDNS multicasts are added in, using the corresponding electronic equipment of service discovery is found, later, the IP of the acquisition for mobile terminal electronic equipment
Location and port;
Step A115, mobile terminal is connected to IP address and the port of electronic equipment, and establishes the socket connections of tcp;
Step A116, mobile terminal sends inquiry or control message to specific electronic equipment, and the electronic equipment is to mobile terminal
It sends out instruction to be parsed, and is fed back or gathered data is returned into mobile terminal.
3. system as claimed in claim 2, which is characterized in that the mobile terminal built-in memory module, when described mobile whole
Related data is cached in the memory module by end when acquisition data can not be connect with internet;Described mobile whole
It holds after connecting internet connection, then the related data of caching is uploaded to the server on internet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510197979.0A CN104780216B (en) | 2015-04-23 | 2015-04-23 | A kind of equipment of no internet connection uploads data to the method and system of Internet Server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510197979.0A CN104780216B (en) | 2015-04-23 | 2015-04-23 | A kind of equipment of no internet connection uploads data to the method and system of Internet Server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104780216A CN104780216A (en) | 2015-07-15 |
CN104780216B true CN104780216B (en) | 2018-06-26 |
Family
ID=53621450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510197979.0A Active CN104780216B (en) | 2015-04-23 | 2015-04-23 | A kind of equipment of no internet connection uploads data to the method and system of Internet Server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104780216B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105006131A (en) * | 2015-07-30 | 2015-10-28 | 中铁工程装备集团有限公司 | Shield-tunneling-machine wireless data collecting system based on mobile phone |
CN109323526A (en) * | 2017-07-31 | 2019-02-12 | 合肥美的智能科技有限公司 | Intelligent refrigerator report hinders method, apparatus and refrigerator |
JP2020092405A (en) * | 2018-12-06 | 2020-06-11 | 芯光飛株式会社 | Wireless communication control device and wireless communication control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202077067U (en) * | 2011-03-25 | 2011-12-14 | 深圳市新元素医疗技术开发有限公司 | Follow-up system for patients |
CN102594698A (en) * | 2012-03-12 | 2012-07-18 | 中国人民解放军总参谋部第六十三研究所 | DTN asynchronous routing algorithm based on node position projection |
CN202699118U (en) * | 2012-05-22 | 2013-01-30 | 深圳市新元素医疗技术开发有限公司 | Remote wireless obesity monitor system |
CN103139937A (en) * | 2013-03-12 | 2013-06-05 | 山东科技大学 | Crop disease and pest information real-time collection and interactive service technology and system based on mobile terminal |
CN103426283A (en) * | 2013-08-08 | 2013-12-04 | 北京中科希望软件股份有限公司 | Temperature and humidity data transmission system based on wifi communication technology |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741663A (en) * | 2008-11-10 | 2010-06-16 | 索尼株式会社 | Information processing apparatus, information processing system, information processing method, and program |
CN101427916B (en) * | 2008-12-05 | 2012-02-22 | 张锦景 | Movable network terminating unit and method for monitoring electric physiological data and pathological image |
CN103957451A (en) * | 2014-05-09 | 2014-07-30 | 杭州智屏科技有限公司 | Multi-screen interaction achievement method based on multicast technology |
-
2015
- 2015-04-23 CN CN201510197979.0A patent/CN104780216B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202077067U (en) * | 2011-03-25 | 2011-12-14 | 深圳市新元素医疗技术开发有限公司 | Follow-up system for patients |
CN102594698A (en) * | 2012-03-12 | 2012-07-18 | 中国人民解放军总参谋部第六十三研究所 | DTN asynchronous routing algorithm based on node position projection |
CN202699118U (en) * | 2012-05-22 | 2013-01-30 | 深圳市新元素医疗技术开发有限公司 | Remote wireless obesity monitor system |
CN103139937A (en) * | 2013-03-12 | 2013-06-05 | 山东科技大学 | Crop disease and pest information real-time collection and interactive service technology and system based on mobile terminal |
CN103426283A (en) * | 2013-08-08 | 2013-12-04 | 北京中科希望软件股份有限公司 | Temperature and humidity data transmission system based on wifi communication technology |
Also Published As
Publication number | Publication date |
---|---|
CN104780216A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101582895B (en) | EPA-based embedded industrial wireless WIA-PA gateway | |
CN105163364A (en) | Intelligent device WiFi connection system and intelligent device WiFi connection method based on intelligent gateway | |
CN104468291B (en) | The method and apparatus of WiFi module communication | |
KR101995546B1 (en) | Method and apparatus for discovering wireless devices | |
CN101807945A (en) | Wireless data transmission system and data transmission method utilizing same | |
CN102612033B (en) | Mobile phone with thin wireless access point and communication method for mobile phone | |
CN104780216B (en) | A kind of equipment of no internet connection uploads data to the method and system of Internet Server | |
CN102946447A (en) | Long-distance data transmission system and long-distance data transmission method of commercial plant | |
Gazis et al. | Wireless sensor networking, automation technologies and machine to machine developments on the path to the internet of things | |
CN102868769A (en) | Real-time bi-directional data transmission system of Internet of things and Internet | |
CN104640122A (en) | Wireless networking method of router and trunk equipment | |
Parmar et al. | IoT: Networking technologies and research challenges | |
CN202617367U (en) | Wireless transmission module | |
Ni et al. | Implementation of wireless gateway for smart home | |
WO2011116598A1 (en) | Method and system for achieving management of gateway | |
CN102843434B (en) | A kind of equipment room shares method, the Apparatus and system of content | |
CN106161500A (en) | The communication module of a kind of remote wireless control electric equipment and control method | |
CN106533934A (en) | Border gateway applicable to all interconnected manufacturing networks | |
Sheng et al. | Surfing the internet-of-things: Lightweight access and control ofwireless sensor networks using industrial low power protocols | |
CN202183765U (en) | Wireless data transmission system based on soft AP (Access Point) technology | |
CN111787431B (en) | Centralized meter reading system of dual-mode networking communication technology and implementation method thereof | |
CN109413120A (en) | A kind of communication means and device, electronic equipment and server | |
CN103647693A (en) | Virtual network based system and method for achieving remote data transmission of GNSS (Global Navigation Satellite System) receiver | |
CN206894676U (en) | A kind of things-internet gateway realized 6LowPAN and mutually changed with multi-protocols | |
CN103987017B (en) | A kind of method and system for being used to set up service access in a wlan |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |