CN103313428A - Wi-Fi (wireless fidelity) communication system and Wi-Fi communication method for smartphone and upper computer in computer five-prevention system - Google Patents

Wi-Fi (wireless fidelity) communication system and Wi-Fi communication method for smartphone and upper computer in computer five-prevention system Download PDF

Info

Publication number
CN103313428A
CN103313428A CN2013102391132A CN201310239113A CN103313428A CN 103313428 A CN103313428 A CN 103313428A CN 2013102391132 A CN2013102391132 A CN 2013102391132A CN 201310239113 A CN201310239113 A CN 201310239113A CN 103313428 A CN103313428 A CN 103313428A
Authority
CN
China
Prior art keywords
data
mobile phone
host computer
group
computer
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
CN2013102391132A
Other languages
Chinese (zh)
Other versions
CN103313428B (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.)
Nanjing Post and Telecommunication University
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201310239113.2A priority Critical patent/CN103313428B/en
Publication of CN103313428A publication Critical patent/CN103313428A/en
Application granted granted Critical
Publication of CN103313428B publication Critical patent/CN103313428B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a Wi-Fi (wireless fidelity) communication system and a Wi-Fi communication method for a smartphone and an upper computer in a computer five-prevention system. By the method, communication speed of a computer key and the upper computer in a computer five-prevention locking system is greatly increased. Meanwhile, conventional wired communication methods are limited by wire arrangement conditions, but the problem is solved by wireless communication; system combination becomes more flexible and diverse, and in the short-distance wireless communication field, Wi-Fi wireless communication has the advantages of high transmission speed, wide coverage, low radiation, safety, wide technical prospect and the like. A socket connection of a TCP (transmission control protocol) is established in a system-independent Wi-Fi wireless local area network by the upper computer and the smartphone, corresponding operations like packing and sending as well as receiving and unpacking on data are completed through supporting stipulations of the Wi-Fi communication system, and efficient transmission of corresponding library files and other data in a power system is completed.

Description

Smart mobile phone and host computer Wi-Fi communication system and method in the micro_computer five_proof
Technical field
The present invention relates to the field of wireless communications in the micro_computer five_proof locking, particularly smart mobile phone and host computer Wi-Fi communication system and method in a kind of micro_computer five_proof.
Background technology
For the safe and stable operation that makes electric power system can fully be ensured and various operating accidents be taken precautions against in possible trouble, not only to strengthen the means of operational management, meanwhile also to cause sufficient attention to electric power " five is anti-" work.Along with the develop rapidly of computer technology in the industry-by-industry field, revolutionary transformation also will take place in " five is anti-" of electric power.
Electric power " five anti-" block sytem, wherein five anti-ly specifically refer to prevent the on-load branch, close isolating switch; Prevent the mistake branch, close circuit breaker; Prevent band point extension (closing) earth connection (earthed switch); Prevent mistakenly entering charged chamber; Prevent from being with ground wire (earthed switch) to send electricity, just prevent from being with earth connection (earthed switch) to close circuit breaker (isolating switch).Microcomputer technology just has been introduced into the anti-misoperation locking field as far back as the nineties in 20th century.
Error proof locking system of microcomputer does not generally directly adopt the auxiliary contact of field apparatus, because wiring is simple, realize anti-misoperation locking by anti-error locking system microcomputer software rule base and on-the-spot lockset, shutting device to prevent mistakes in microcomputer is a kind of employing computer technology, is used for the device that high voltage switchgear prevents electric misoperation.Along with updating and upgrade in recent years, shutting device to prevent mistakes in microcomputer is day by day ripe, and extensively is extended among the electric power system.Error proof locking system of microcomputer has promoted the transformation by secondary locked loop five-defence block rule base in the computer effectively under the help of related software, thereby impels the digitlization of anti-misoperation locking can be able to quick realization.Generally speaking, error proof locking system of microcomputer can solve the various anti-error functions that can not realize in the past or be difficult to realize, this means that also electric equipment anti-misoperation locking technology has obtained qualitative leap simultaneously.
" five anti-" of microcomputer based on computer technology, thereby is a kind of device that prevents electric misoperation on the high voltage switchgear that is applied in, and mainly is made of function element such as main frame, computer key, mechanical coding lock, imitation screen, electric coding locks.And the present invention can solve top problem well.
Summary of the invention
The object of the invention be to propose a kind of with smart mobile phone as the Wi-Fi communication technology and method between computer key and the host computer, provide smart mobile phone in the micro_computer five_proof system with the communication plan of host computer.
The technical solution adopted for the present invention to solve the technical problems is: the present invention proposes smart mobile phone and host computer Wi-Fi communication system and method in a kind of micro_computer five_proof, in the micro_computer five_proof block sytem, set up the Wi-Fi wireless communication system between described at least one smart mobile phone and the host computer, and supporting communication protocol proposed, finish adaptive between the equipment, communication handshake, and realize that host computer downloads and smart mobile phone returns to the data of host computer to the data of smart mobile phone.Smart mobile phone and host computer Wi-Fi communication system are formed as shown in Figure 1.
The computer key that uses in the micro_computer five_proof block sytem mostly is the customized embedded system device at present, adopt the serial communication mode, smart mobile phone Comparatively speaking, numerous advantages such as have that uniform specification is easily obtained, intelligent degree height, real-time Communication for Power Network, man-machine interface close friend, extendable functions are abundant.The application of Wi-Fi radio communication makes the communication performance of system that very big lifting has been arranged especially.Wi-Fi is the wireless network technology of IEEE definition, be a kind of can be with PC, handheld device terminals such as (as Pad, mobile phones) with the interconnected technology of wireless mode.The abbreviation of the former Wireless Fidelity before this of Wi-Fi, the English full name of Wi-Fi is wireless fidelity.Because the frequency range of Wi-Fi worldwide need not any telecom operation license, so the WLAN wireless device provides operable in the world wide, the wireless air interface that expense is extremely cheap and data bandwidth is high.Along with appearance and the ripe development of short-distance wireless communication technologies such as Wi-Fi and bluetooth, radio communication progressively replaces connecting line, and in daily life and industrial production, its widespread usage will be brought huge change to conventional communication mode.
The Wi-Fi communications applications comprises as follows at described smart mobile phone as the advantage in the micro_computer five_proof block sytem of computer key:
1, radio communication need not to consider wiring problem, not limited by wiring condition, and it is more flexible that system is constituted;
2, the Wi-Fi communication coverage is wider, and common Bluetooth communication coverage is about 10m, and the about 95m of the indoor range of receiving of common Wi-Fi, it is big that state-of-the-art technology product range of receiving is also wanted, and penetration capacity is also strengthening.
3, the Wi-Fi transmission speed is very fast, can reach 11mbps, meets the industrial information demands of applications.
4, healthy and safe, the transmitting power of IEEE802.11 regulation can not surpass 100 milliwatts, about 60~70 milliwatts of actual emission power, and also the wireless network occupation mode is not direct contact human body, should be perfectly safe.
5, the Wi-Fi technology is still at high speed development, in a series of new standards such as the 802.11n of IEEE, 802.11w, 802.11v, 802.11k to bandwidth, signal, power consumption, safety is melted net, individual service, mobility, client is comprehensive have been carried out improving significantly and perfect.
Based on above advantage, the present invention is incorporated into the communication of electric power micro_computer five_proof block sytem with the Wi-Fi Radio Transmission Technology, has realized computer key and host computer bidirectional data transfers rapidly and efficiently by design of communications scheme and supporting stipulations.
Method flow:
As shown in Figure 1, the present invention proposes the method for smart mobile phone and host computer Wi-Fi communication system in a kind of micro_computer five_proof, and it comprises the steps:
Step 1: the configuration wireless access points, adopt the wireless router with independent constructing local network function;
Step 2: host computer search also is connected on the wireless router in the step 1;
Step 3: in the Wi-Fi wireless network that mobile phone access step 2 host computer has inserted;
Step 4: the socket that sets up based on Transmission Control Protocol between mobile phone and the host computer is connected;
Step 5: host computer (mobile phone) transfers data to mobile phone (host computer);
1. host computer (mobile phone) communicates with mobile phone (host computer) and shakes hands, and whether inquiry mobile phone (host computer) carries out the acceptance preparation.
2. host computer (mobile phone) is if receive the replying state that is ready to accept of mobile phone (host computer), data are packed by supporting communication protocol and sends.If confiscate the replying state that is ready to accept, host computer (mobile phone) is in the obstruction wait state.
3. mobile phone end (host computer) unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone (host computer) sent to all correct affirmation instructions that receives of these group data of host computer (mobile phone).
4. host computer (mobile phone) receives that the current group of data that mobile phone (host computer) is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance.
Step 6: judgment data correct back mobile phone (host computer) is stored to local data base with data;
Step 7: after host computer (mobile phone) sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.
Host computer, computer key and the wireless access accessing points that configures are formed the Wi-Fi communication system;
Host computer can be personal computer, enterprise computer working group; Computer key is the intelligent terminal that possesses the Wi-Fi module, comprises smart mobile phone, PDA; Wireless access points can be that wireless router or other have the AP of wireless access function is provided equipment.
The library file of the electric power system that the present invention is transmitted all carries out the data packing by described system support stipulations; The stipulations concrete form is: communication handshake and END instruction are 22 bytes; In the library file data that send, equipment library, logical base are 22 bytes, and state repository is 21 bytes; Replying instruction all is 4 bytes.
Communication protocol one frame data format is:
0EBH,090H,COM,data1,data2,……,datan,CHKS
Wherein EB90 is synchronous head; COM: command number; CHKS: verification and.
This moment data to amount to the 18(state repository be 17) individual byte.Wherein data1, data2 are 16 byte datas of the current back element addresses when depositing, notice that this action does not comprise the beginning side-play amount address of each database, the start address that is each database is 0001H, namely the 1st group of data are 0001H, second group of data is 0002H, the 3rd group of data are 0003H, and the rest may be inferred.Have only data1 to use as counting in the state repository data, heel 16 byte datas are so amount to 21 bytes; The data communication process of system of the present invention comprises the steps:
Step 1: mobile phone is linked in the good wireless access points of system configuration;
Step 2: the socket that sets up based on Transmission Control Protocol between mobile phone and the host computer is connected;
Step 3: host computer (mobile phone) transfers data to mobile phone (host computer);
1. host computer (mobile phone) communicates with mobile phone and shakes hands, and whether inquiry mobile phone (host computer) carries out the acceptance preparation.
2. host computer (mobile phone) is if receive the replying state that is ready to accept of mobile phone, data are packed by supporting communication protocol and sends.If confiscate the replying state that is ready to accept, host computer (mobile phone) is in the obstruction wait state.
3. mobile phone end (host computer) unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone (host computer) sent to all correct affirmation instructions that receives of these group data of host computer (mobile phone).
4. host computer (mobile phone) receives that the current group of data that mobile phone is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance.
Step 4: the correct back of judgment data data receiver is stored to local data base with data;
Step 5: after transmitting terminal sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.
As shown in Figure 2, smart mobile phone and host computer Wi-Fi communication system and method in a kind of five-defence block, it comprises the steps:
1, access point (Access Point, configuration AP)
Wireless access points, or claim " bridger ", it mainly plays the part of the bridge of wireless stations and wired local area network in medium access control layer MAC.This programme adopts wireless router to realize, based on the specific (special) requirements in the electric power system, use can independent constructing local network function wireless router, the radio broadcasting of open wireless router, DynamicHost arrange agreement (Dynamic Host Configuration Protocol, DHCP) function arranges routing parameter according to actual needs.
2, host computer is connected into access point
Host computer adopts wireless or wired mode to be connected into wireless network router under the system.
3, download data to mobile phone by host computer
The data of host computer are downloaded to mobile phone, adopt the C/S(client/server) pattern, the concrete operations step is as follows:
1) set up socket communication: mobile phone is connected into the Wi-Fi wireless network, and mobile phone is monitored assigned ip and port as server, and host computer connects as client-requested, and the socket that host computer and mobile phone are set up based on TCP/IP communicates to connect.
2) communication handshake: whether host computer inquiry mobile phone is ready to receive data, and mobile phone is not if be ready to, and host computer continues inquiry; If mobile phone is replied for ready for, host computer is pressed the communication protocol packing with data and is sent one by one.
Stipulations: communication handshake and END instruction are 22 bytes; In the library file data that send, equipment library, logical base are 22 bytes, and state repository is 21 bytes; Replying instruction all is 4 bytes.
As shown in Figure 3, communication protocol one frame data format:
0EBH,090H,COM,data1,data2,……,datan,CHKS
Wherein EB90 is synchronous head; COM: command number; CHKS: verification and.
This moment data to amount to the 18(state repository be 17) individual byte.Wherein data1, data2 are 16 byte datas of the current back element addresses when depositing, notice that this action does not comprise the beginning side-play amount address of each database, the start address that is each database is 0001H, namely the 1st group of data are 0001H, second group of data is 0002H, the 3rd group of data are 0003H, and the rest may be inferred.Have only data1 to use as counting in the state repository data, heel 16 byte datas are so amount to 21 bytes.Below enumerate several command number examples:
1. COM=012H: equipment library data.PC orders notification controller to begin the receiving equipment database data with this.
Equipment library transmits and finishes, and then sends the finish command;
2. COM=011H: logical base data.PC orders notification controller to begin the receiving equipment database data with this.
Logical base transmits and finishes, and then sends the finish command;
3. COM=023H: send than the time data.This moment, data1, data2 were meaningless, from data3 to data9, be respectively second (00-59), divide (00-59), the time (00-23), week (1-7,7=day), day (1-31 notes consistent with the moon), month (1-12) and year (00-99) data (being binary-coded decimal).
4. COM=01FH: the end data database data sends order, and 18 bytes of data are any, usually complete " 0 ", that is: EB 90 1F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9A
5. receiving terminal is replied instruction, and length is 4 bytes:
A. receive correct: COM=055H, that is: 0EBH, 090H, 055H, 0D0H, CHKS
B. receive mistake: COM=0AAH, that is: 0EBH, 090H, 0AAH, 025H, CHKS
More detailed orders function correspondence table are seen Fig. 4.
3) data are downloaded: the mobile phone termination receives that data unpack, according to synchronous head, verification and judgment data correctness, some data are formed the data group, the reception that all need receive the mobile phone answer after every group of data (every group contains the data strip number and can adjust according to actual needs) send is correctly confirmed, then continue to send next group, otherwise retransmit last one group, every group of data have three times (can adjust according to the actual requirements) to retransmit chance.Mobile phone is stored to local data base with data behind the correct judgment.
4) download end: host computer sends END instruction after sending all data, and host computer, each self closing socket of mobile phone end connect, and finish communication.
4, return data to host computer by mobile phone
Mobile phone passback data still adopt C/S model to host computer, and the concrete operations step is as follows:
1) set up socket communication: mobile phone is connected into the Wi-Fi wireless network, and mobile phone is monitored assigned ip and port as server, and host computer connects as client-requested, and the socket that host computer and mobile phone are set up based on TCP/IP communicates to connect.
2) communication handshake: whether mobile phone inquiry host computer is ready to receive data, and mobile phone is not if be ready to, and host computer continues inquiry; If host computer is replied for ready for, the mobile phone machine is pressed the communication protocol packing with data and is sent one by one.
3) data passback: host computer receives data and unpacks, according to synchronous head, verification and judgment data correctness, some data are formed the data group, the reception that all need receive the host computer answer after every group of data (every group contains the data strip number and can adjust according to actual needs) send is correctly confirmed, then continue to send next group, otherwise retransmit last one group, every group of data have three times (can adjust according to the actual requirements) to retransmit chance.Host computer is stored to this locality with data behind the correct judgment.
4) passback finishes: mobile phone sends END instruction after sending all data, and host computer, each self closing socket of mobile phone connect, and finish communication.
Beneficial effect:
1, the invention enables wireless penetration that communicating by letter between host computer and the computer key possessed the Wi-Fi technology, cover a series of characteristics such as wide, that speed is fast.
2, advantage of the present invention more and more highlights, and meets power fail safe system towards the requirement of intelligent, networking, modernization development.
Description of drawings
Fig. 1 is smart mobile phone and host computer Wi-Fi communication system composition diagram.
Fig. 2 is smart mobile phone and host computer Wi-Fi communication flow diagram.
Fig. 3 is smart mobile phone and host computer Wi-Fi communication system communication protocol one frame data format schematic diagram.
Fig. 4 number introduces schematic diagram for smart mobile phone and host computer Wi-Fi communication system communication protocol function.
Embodiment
Below in conjunction with Figure of description the technical program is described further.
The block diagram of system of the present invention as shown in Figure 1, host computer is connected into access point by network interface card (comprising wireless network card), the access point here adopts wireless router, the wireless chip of smart mobile phone and WAP (wireless access point) composition Wi-Fi communication system.Be connected into the Wi-Fi Hotspot of WLAN (wireless local area network) by smart mobile phone, set up socket and be connected between host computer and mobile phone, the supporting communication protocol by ICP/IP protocol and this programme carries out data communication.
Smart mobile phone and host computer WI-FI communication means in the micro_computer five_proof that this method proposes, concrete enforcement is divided into following steps:
Step 1: configuration wireless access points.The present invention adopts wireless router, and concrete steps have:
1. open wireless router radio broadcasting arranges broadcasting ID and safe key.
2. open the DHCP function, relevant parameter is set according to actual needs.
Step 2: host computer search also is connected on the wireless router in the step 1.
The present invention chooses the wireless router that can independently set up local area network (LAN), and host computer is connected on this router by wired or wireless mode.
Step 3: host computer is downloaded to the data of mobile phone.
1. mobile phone searching and be connected into the good Wi-Fi wireless network of system configuration.
2. mobile phone is monitored as the socket server, and host computer sends connection request as client, and the socket that sets up based on Transmission Control Protocol between host computer and the mobile phone is connected.
3. host computer and mobile phone communicate and shake hands, and whether the inquiry mobile phone is ready to accept data.
4. host computer is if receive the replying state that is ready to accept of mobile phone, data are packed by supporting communication protocol and sends.If confiscate the replying state that is ready to accept, host computer is in the obstruction wait state.
5. the mobile phone termination unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone sent to all correct affirmation instructions that receives of these group data of host computer.
6. host computer receives that the current group of data that mobile phone is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance.
7. mobile phone is stored to the data in mobile phone storehouse with data behind the correct judgment.
8. after host computer sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.
Step 4: mobile phone is to the data passback of host computer.
1. mobile phone searching and be connected into the good Wi-Fi wireless network of system configuration.
2. mobile phone is monitored as the socket server, and host computer sends connection request as client, and the socket that sets up based on Transmission Control Protocol between host computer and the mobile phone is connected.
3. mobile phone and host computer communicate and shake hands, and whether the inquiry host computer is ready to accept data.
4. mobile phone is if receive the replying state that is ready to accept of host computer, data are packed by supporting communication protocol and sends.If confiscate the replying state that is ready to accept, mobile phone is in the obstruction wait state.
5. host computer unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone sent to all correct affirmation instructions that receives of these group data of host computer.
6. mobile phone receives that the current group of data that the host computer machine is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance.
7. host computer is stored to this locality with data behind the correct judgment.
8. after mobile phone sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.

Claims (4)

1. smart mobile phone and host computer Wi-Fi communication system and method in the micro_computer five_proof is characterized in that described method comprises the steps:
Step 1: the configuration wireless access points, adopt the wireless router with independent constructing local network function;
Step 2: host computer search also is connected on the wireless router in the step 1;
Step 3: in the Wi-Fi wireless network that mobile phone access step 2 host computer has inserted;
Step 4: the socket that sets up based on Transmission Control Protocol between mobile phone and the host computer is connected;
Step 5: host computer (mobile phone) transfers data to mobile phone (host computer);
1. host computer (mobile phone) communicates with mobile phone (host computer) and shakes hands, and whether inquiry mobile phone (host computer) carries out the acceptance preparation;
2. host computer (mobile phone) is if receive the replying state that is ready to accept of mobile phone (host computer), data are packed by supporting communication protocol and sends; If confiscate the replying state that is ready to accept, host computer (mobile phone) is in the obstruction wait state;
3. mobile phone end (host computer) unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone (host computer) sent to all correct receptions of these group data of host computer (mobile phone)
Affirmation instruction;
3. host computer (mobile phone) receives that the current group of data that mobile phone (host computer) is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance;
Step 6: judgment data correct back mobile phone (host computer) is stored to local data base with data;
Step 7: after host computer (mobile phone) sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.
2. smart mobile phone and host computer Wi-Fi communication system and method in a kind of micro_computer five_proof according to claim 1 is characterized in that: host computer, computer key and the wireless access accessing points composition Wi-Fi communication system that configures;
Host computer is personal computer, enterprise computer working group; Computer key is the intelligent terminal that possesses the Wi-Fi module, comprises smart mobile phone, PDA; Wireless access points can be that wireless router or other have the AP of wireless access function is provided equipment.
3. smart mobile phone and host computer Wi-Fi communication system and method in a kind of micro_computer five_proof according to claim 1 is characterized in that: the library file of the electric power system of transmitting all carries out the data packing by described system support stipulations; The stipulations concrete form is: communication handshake and END instruction are 22 bytes; In the library file data that send, equipment library, logical base are 22 bytes, and state repository is 21 bytes; Replying instruction all is 4 bytes;
Communication protocol one frame data format is:
0EBH,090H,COM,data1,data2,……,datan,CHKS
Wherein EB90 is synchronous head; COM: command number; CHKS: verification and;
This moment data to amount to the 18(state repository be 17) individual byte; Wherein data1, data2 are 16 byte datas of the current back element addresses when depositing, notice that this action does not comprise the beginning side-play amount address of each database, the start address that is each database is 0001H, namely the 1st group of data are 0001H, second group of data is 0002H, the 3rd group of data are 0003H, and the rest may be inferred; Have only data1 to use as counting in the state repository data, heel 16 byte datas are so amount to 21 bytes.
4. smart mobile phone and host computer WI-FI communication system and method in a kind of micro_computer five_proof according to claim 1 is characterized in that the data communication process of described system comprises the steps:
Step 1: mobile phone is linked in the good wireless access points of system configuration;
Step 2: the socket that sets up based on Transmission Control Protocol between mobile phone and the host computer is connected;
Step 3: host computer (mobile phone) transfers data to mobile phone (host computer);
1. host computer (mobile phone) communicates with mobile phone (host computer) and shakes hands, and whether inquiry mobile phone (host computer) carries out the acceptance preparation;
2. host computer (mobile phone) is if receive the replying state that is ready to accept of mobile phone (host computer), data are packed by supporting communication protocol and sends; If confiscate the replying state that is ready to accept, host computer (mobile phone) is in the obstruction wait state;
3. mobile phone end (host computer) unpacks analysis after receiving data accordingly, from synchronous head, verification and analysis data correctness, some data are formed the data group, after one group of data (every group contains the data strip number and can adjust according to actual needs) all received correctly, mobile phone (host computer) sent to all correct affirmation instructions that receives of these group data of host computer (mobile phone);
4. host computer (mobile phone) receives that the current group of data that mobile phone (host computer) is replied receive correct affirmation, then continues to send next group, otherwise retransmits last one group, and every group of data have three times (can adjust according to the actual requirements) to retransmit chance;
Step 4: the correct back of judgment data data receiver is stored to local data base with data;
Step 5: after transmitting terminal sends current total data, send an END instruction, each self closing socket of mobile phone and host computer is connected sign off.
CN201310239113.2A 2013-06-17 2013-06-17 Smart mobile phone and host computer Wi-Fi communication system and method in micro_computer five_proof Expired - Fee Related CN103313428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310239113.2A CN103313428B (en) 2013-06-17 2013-06-17 Smart mobile phone and host computer Wi-Fi communication system and method in micro_computer five_proof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310239113.2A CN103313428B (en) 2013-06-17 2013-06-17 Smart mobile phone and host computer Wi-Fi communication system and method in micro_computer five_proof

Publications (2)

Publication Number Publication Date
CN103313428A true CN103313428A (en) 2013-09-18
CN103313428B CN103313428B (en) 2016-09-28

Family

ID=49138082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310239113.2A Expired - Fee Related CN103313428B (en) 2013-06-17 2013-06-17 Smart mobile phone and host computer Wi-Fi communication system and method in micro_computer five_proof

Country Status (1)

Country Link
CN (1) CN103313428B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090792A (en) * 2014-07-03 2014-10-08 电子科技大学 Method for dynamically loading logical files in broadband access network
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system
CN107135225A (en) * 2017-05-12 2017-09-05 郑州云海信息技术有限公司 Wireless autonomous authentication method between a kind of server multiple management unit
CN108400969A (en) * 2018-01-17 2018-08-14 中国地质大学(武汉) A kind of striding equipment, cross-platform safe login method
CN109587155A (en) * 2018-12-14 2019-04-05 浙江大学 A kind of wireless vehicle brake test macro to ensure information safety

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256906A (en) * 2007-03-01 2008-09-03 珠海市共创有限公司 Electric operating ticket synthetic anti-mistaken closedown system and operation method
CN101692585A (en) * 2009-10-16 2010-04-07 国电南京自动化股份有限公司 Anti-operation locking system of transformation substation automatic system
CN202929724U (en) * 2012-12-05 2013-05-08 上海谷元电气科技有限公司 Offline control system for intelligent well lock for protective well lid

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256906A (en) * 2007-03-01 2008-09-03 珠海市共创有限公司 Electric operating ticket synthetic anti-mistaken closedown system and operation method
CN101692585A (en) * 2009-10-16 2010-04-07 国电南京自动化股份有限公司 Anti-operation locking system of transformation substation automatic system
CN202929724U (en) * 2012-12-05 2013-05-08 上海谷元电气科技有限公司 Offline control system for intelligent well lock for protective well lid

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090792A (en) * 2014-07-03 2014-10-08 电子科技大学 Method for dynamically loading logical files in broadband access network
CN104090792B (en) * 2014-07-03 2017-07-28 电子科技大学 The dynamic loading method of logical file in a kind of broadband access network
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system
CN107135225A (en) * 2017-05-12 2017-09-05 郑州云海信息技术有限公司 Wireless autonomous authentication method between a kind of server multiple management unit
CN108400969A (en) * 2018-01-17 2018-08-14 中国地质大学(武汉) A kind of striding equipment, cross-platform safe login method
CN109587155A (en) * 2018-12-14 2019-04-05 浙江大学 A kind of wireless vehicle brake test macro to ensure information safety
CN109587155B (en) * 2018-12-14 2020-06-16 浙江大学 Wireless vehicle brake test system for guaranteeing information safety

Also Published As

Publication number Publication date
CN103313428B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN103384367B (en) Equipment searching method
CN103313428A (en) Wi-Fi (wireless fidelity) communication system and Wi-Fi communication method for smartphone and upper computer in computer five-prevention system
CN102355390A (en) Intelligent home system
US20160132029A1 (en) Method for configuring and controlling smart home products
CN102508473A (en) Intelligent home control system, method and device
CN107508875A (en) A kind of data transmission method, system, unmanned plane and device
CN102946648A (en) Intelligent terminal system of wireless gateway and automatic control method of intelligent terminal system
CN102118719B (en) Mobile intelligent information service system, adaptation converting device and method
CN106355873B (en) Internet of things intelligent traffic gateway and system thereof
CN103489298A (en) Multi-protocol wireless meter reading device
CN103379528A (en) Board self-adaptation parameter configuration method, BBU, base station and base station subsystem (BSS)
CN104125662A (en) Wireless access point centralized management device and method
CN102033517A (en) Software upgrading method and equipment for environmental monitoring unit
CN203984450U (en) Intelligent domestic gateway
CN102300236B (en) Method, device and system for remotely maintaining remote radio unit (RRU)
CN106131331B (en) A kind of method, apparatus and system that multiple smart machines are uniformly controlled
CN205071238U (en) Eoc wireless terminal software upgrade system
CN103763676A (en) Communication method and equipment between AP and AC
CN101340630B (en) Model number automatic recognition method for mobile information terminal
CN102984204B (en) A kind of method and mobile intelligent terminal obtaining application program
CN108322935A (en) A kind of region wireless location system and its method based on smart mobile phone
CN111800767B (en) System and method for realizing OTA upgrading of terminal product based on BNEP Bluetooth
CN104735660A (en) WIFI access authentication method and system and terminals
CN102413488A (en) Information exchange method and equipment in auto driver test system
CN206743262U (en) Turret clock system based on the communication time service of NB IOT Internet of Things

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130918

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: NANJING University OF POSTS AND TELECOMMUNICATIONS

Contract record no.: 2016320000214

Denomination of invention: Wi-Fi (wireless fidelity) communication system and Wi-Fi communication method for smartphone and upper computer in computer five-prevention system

Granted publication date: 20160928

License type: Common License

Record date: 20161117

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
EC01 Cancellation of recordation of patent licensing contract

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: NANJING University OF POSTS AND TELECOMMUNICATIONS

Contract record no.: 2016320000214

Date of cancellation: 20180116

EC01 Cancellation of recordation of patent licensing contract
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160928