CN101668039A - WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard - Google Patents

WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard Download PDF

Info

Publication number
CN101668039A
CN101668039A CN200910144758A CN200910144758A CN101668039A CN 101668039 A CN101668039 A CN 101668039A CN 200910144758 A CN200910144758 A CN 200910144758A CN 200910144758 A CN200910144758 A CN 200910144758A CN 101668039 A CN101668039 A CN 101668039A
Authority
CN
China
Prior art keywords
electronic
chess
chessboard
entity
wifi
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
Application number
CN200910144758A
Other languages
Chinese (zh)
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.)
SUZHOU YIGAO TECHNOLOGY Co Ltd
Original Assignee
SUZHOU YIGAO TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU YIGAO TECHNOLOGY Co Ltd filed Critical SUZHOU YIGAO TECHNOLOGY Co Ltd
Priority to CN200910144758A priority Critical patent/CN101668039A/en
Publication of CN101668039A publication Critical patent/CN101668039A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a WiFi-based network communication system of an entitative electronic chessboard, comprising a game server and at least one entitative electronic chessboard terminal. The gameserver is connected with an Internet; the entitative electronic chessboard terminal comprises an entitative electronic chessboard, a microprocessor, a WiFi module, a storer, a power module and an antenna; the microprocessor is used for monitoring the state of the entitative electronic chessboard and sending and receiving the chess piece moving command; the WiFi module is communicated with the gameserver through a wireless local area network (WLAN) and the Internet; and the storer is used for storing data and program. The invention also discloses a WiFi-based network communication method of the entitative electronic chessboard. The wireless communication of the entitative electronic chessboard with the game server is realized through the WLAN. The invention can realize the wireless local chess playing and the wireless remote chess playing in any region covered by the WLAN.

Description

Network communicating system and method based on the entity electronic chessboard of WiFi
Technical field
The present invention relates to a kind of network communications technology field, relate in particular to technology, be used for the network system and the method for communicating by letter between entity electronic chessboard and the game server based on WiFi.
Background technology
Quintet game and go all have long history in China, are to be subjected to popular leisure developmental game deeply.At present, people can get together usually, by entity chessboard surface opposite play chess.Along with the raising of networks development and living standards of the people, people begin to attempt playing chess on computers.Also there have been some entity electronic chessboards at present on the market, communicated, carried out operations such as storage, chessboard discs by wired mode and computer or game server.
Current various entity electronic chessboard, such as the electronic Chinese chess chessboard, the electronic chess chessboard, electric go chessboards etc. all can only be realized wired connection with computer or game server, connected mode has: RS-232 serial ports, USB or netting twine etc.Reported the situation of 2008 Nanjing of China chess grandmaster invitational tournaments in the 4th edition " electronic chess-plate allows global chess fan enjoy to the full " literary composition of " Science and Technology Daily " on December 18th, 2008, state-of-the-art in the world DGT electronic chess-plate is adopted in this match, the electronic chip of induction all is housed in its chessboard and the chess piece, connect Electronic clock for chess tournament, with cable the chessboard of all match usefulness is concatenated into computer interface, makes that per step chess of chess player is live automatically to the whole world by network in real time.
Owing to be wired connection, make the application of entity electronic chessboard be subjected to the restriction of space length.Numerous entity electronic chessboards does not possess the ability of telecommunication at present, and this certainly will weaken the development of chess culture at universal and entity electronic chessboard among the people greatly.
On the other hand, along with the continuous development and the maturation of current wireless technology, WiFi (WirelessFidelity, Wireless Fidelity) technology is applied in all trades and professions as a most popular technology of current wireless domain.It uses the communication of TCP standard, and technology maturation is reliable, and transmission rate is fast, and various supporting network electronic chessboard terminals are very abundant, and user's acceptance level is the highest, and used frequency range need not permission, and freely use in the whole world, is the preferred option of regional wireless telecommunications.Therefore, we consider to utilize existing WLAN (Wireless LAN, WLAN (wireless local area network)) Internet resources from a kind of method with entity electronic chessboard and the integration of WiFi mechanics of communication, each entity electronic chessboard wireless connections are got up, promote its more extensive and application more easily.
Summary of the invention
The technical problem to be solved in the present invention is: network communicating system and method that a kind of entity electronic chessboard based on WiFi is provided, the user is played chess on entity electronic chessboard, and the wireless network by WLAN communicates with the game server that is connected Internet simultaneously.Both sides play chess on entity electronic chessboard separately, or one side on the entity chessboard, play chess, the mode of playing chess that the opposing party plays chess on computers, being communicated with game server by wireless mode carries out long-rangely playing chess, simultaneously, this chessboard can realize that also this locality plays chess, and the process of will playing chess is stored to game server by wireless network transmissions, also can carry out discs to entity electronic chessboard by wireless network transmissions.
The technical scheme of network communicating system that the present invention is based on the entity electronic chessboard of WiFi is: comprise the WAP (wireless access point) 3 that the game server 1 that links to each other with Internet network 4 links to each other with wlan network 2, also comprise at least one entity electronic chessboard terminal 5, described entity electronic chessboard terminal 5 comprises electronic chess-plate entity 6, be used to monitor electronic chess-plate state and transmission, receive the microprocessor 7 of row chess instruction, be used for the WiFi module 8 that communicates by wlan network 2 and Internet network 4 with game server 1, be used to store the memory 9 of data and program, power module 10 and antenna 11, microprocessor 7 links to each other respectively with WiFi module 8 with electronic chess-plate entity 6, and antenna 11 links to each other with WiFi module 8.
The more detailed technical scheme of the network communicating system of entity electronic chessboard of the present invention is:
Described electronic chess-plate entity 6 can be: electronic Chinese chess chessboard, electronic chess chessboard, electric go chessboard, electronics quintet game chessboard and electronic Chinese checkers chessboard.
Described game server 1 is an all-purpose computer, the both sides' that can realize and play chess data communication.
Described WiFi module 8 adopts the CG-WIFI-1000 chip.
The invention allows for the method for the network service of this entity electronic chessboard based on WiFi, may further comprise the steps:
(1) state information of microprocessor 7 monitoring electronic chess-plate entities 6 arrives WiFi module 8 with related data transmission;
(2) WiFi module 8 transfers to WAP (wireless access point) 3 by antenna 11 with data wireless, inserts wlan network 2, and is sent to Internet network 4;
(3) data are sent to game server 1 by Internet network 4;
(4) state information of 1 pair of entity electronic chessboard 6 of game server is analyzed, is handled and stores, and sends we's capable chess data to the other side;
(5) the other side that plays chess sends capable chess and instructs to game server 1;
(6) game server 1 generates the control command of chessboard, transmits data by Internet, and enters wlan network 2 by the interface of Internet and WLAN;
(7) signal sends by WAP (wireless access point) 3, and antenna 11 receives, and enters WiFi module 8;
(8) WiFi module 8 is sent to microprocessor 7 with data;
(9) microprocessor 7 control command of will being correlated with sends to our electronic chess-plate entity.
Advantage of the present invention is:
1. reduced chess and played chess, can have the place of wlan network to realize any for the restriction of space length;
2. can be used for this locality and play chess, the both sides that play chess play chess on same entity photoelectric chessboard, the process of utilizing computer record to play chess, convenient study, research and memory in the future;
3. can be used for long-rangely playing chess, the both sides that play chess play chess on different separately entity electronic chessboards, and perhaps a side plays chess on entity electronic chessboard, and a side plays chess on computers, crosses wireless wlan network with a square tube of entity electronic chessboard and realizes communicating by letter with the other side;
4.WLAN the network technology maturation, user's acceptance level is very high, and various supporting network electronic chessboard terminal is very abundant, makes the entity electronic chessboard stable work in work, and user's selection is various;
5.WLAN network does not need the frequency permission, and the whole world is free, helps the generally popularization of entity electronic chessboard radio communication.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described:
Fig. 1 is the network communicating system structural representation of entity electronic chessboard in the embodiments of the invention;
Fig. 2 is the structured flowchart of entity electronic chessboard terminal in the embodiments of the invention;
Fig. 3 be in the embodiments of the invention WiFi module from being dynamically connected the flow chart of network;
Fig. 4 is the workflow diagram of game server in the embodiments of the invention.
Wherein: 1 game server; The 2WLAN network; 3 WAP (wireless access point); The 4Internet network; 5 entity electronic chessboard terminals; 6 electronic chess-plate entities; 7 microprocessors; The 8WiFi module; 9 memories; 10 power modules; 11 antennas.
Embodiment
Embodiment: the network communicating system of the entity electronic chessboard of embodiments of the invention as shown in Figure 1, comprise the WAP (wireless access point) 3 that the game server 1 that links to each other with Internet network 4 links to each other with wlan network 2, also comprise at least one entity electronic chessboard terminal 5, described entity electronic chessboard terminal 5 comprises electronic chess-plate entity 6, be used to monitor electronic chess-plate state and transmission, receive the microprocessor 7 of row chess instruction, be used for the WiFi module 8 that communicates by wlan network 2 and Internet network 4 with game server 1, be used to store the memory 9 of data and program, power module 10 and antenna 11.Antenna 11 links to each other with WiFi module 8.Wherein, the electronic chess-plate entity can be electronic Chinese chess chessboard, electronic chess chessboard, electric go chessboard, electronics quintet game chessboard and electronic Chinese checkers chessboard, has had this type of electronic chess-plate entity in the market.
Microprocessor 7 is used to monitor the state of electronic chess-plate and sends the instruction of row chess, and an end links to each other with electronic chess-plate entity 6, receives the data message that the electronic chess-plate entity transmission is come, and data are exported to WiFi module 8 through serial ports.Microprocessor 7 comprises following function:
(1.1) to WiFi module transmitting control commands;
(1.2) receive and resolve the message that the WiFi module sends;
(1.3) be provided with and inquire about WiFi modules configured parameter;
(1.4) fit into the transfer of data of every trade chess with game server end software.
The WiFi module is transferred to data in the wlan network 2 by antenna wireless, and the interface by wlan network and Internet network, is transferred in the Internet network 4.
In the present embodiment, adopting model is the WiFi module of CG-WIFI-1000, this module has SOC chip (System on a Chip, system level chip), the cost performance height, stable performance, built-in WiFi protocol stack and serial ports host-host protocol comprise that ground, TX send, Rx receives and 4 ports of 5V power supply.The WiFi module has automatically and manual two kinds of networking patterns are selected for the user, in the present embodiment, adopts automatic networking pattern.Fig. 3 is the flow chart of WiFi module from the wlan network that is dynamically connected, and comprises step:
(2.1) WiFi electrification reset;
(2.2) scanning objective network;
(2.3) with the parameter comparison of scanning result and network settings,, return step 2, if coupling continues step 4 if do not mate;
(2.4) linking objective network;
(2.5) if the success of linking objective network has then connected wlan network, if the linking objective network failure then returns step 2 and rescans network.
Wherein, the parameter of network settings comprises:
1. the BSSID of objective network (Basic Service Set Identifier, BSSID), i.e. the MAC of the AP of objective network (Media Access Control, medium access control) address, each AP has unique MAC Address, to distinguish heterogeneous networks;
2. the channel number of objective network;
3. the SSID of objective network (Service Set Identifier, service set identifier), also be ESSID, be used for distinguishing different networks, SSID is broadcast out by AP usually, say that simply SSID is exactly the title of a local area network (LAN), only be set to the computer ability mutual communication of the value of the identical SSID of title;
4. Device IP, i.e. the IP address of WiFi module;
5. the IP address of game server;
6. the port numbers of game server.
The maximum 7 groups of basic parameters of the WiFi module support of present embodiment are provided with, and can connect 7 objective networks at most.In current region, there is under the situation more than an objective network WiFi module first available network that will be dynamically connected certainly.In use, the user only needs disposable when using first at least one group of basic parameter to be set.Afterwards, the WiFi module can be behind each electrification reset the automatic scan network, if detect the objective network that sets then connect automatically, and send the networking success message at the successful connection rear line, the user can the normal transmission data after receiving this message.Under automatic networking pattern, module energy automatic scan objective network, broken string can reconnect automatically, need not any intervention of user.When connection failure, network disconnected or rescan into objective network, the WiFi module can reconnect automatically.When the AP of objective network has closed or WiFi module when having left the AP signal coverage areas, the WiFi module can enter the automatic scan state, up to scanning available network once more.
Under the networking state, the WiFi module is transmitted the valid data that receive automatically between UART user interface (Universal Asynchronous Receiver/Transmitter, universal asynchronous reception/dispensing device) and radio network interface.Be provided with according to the user, the WiFi module is supported the network data transmission of RAW/UDP/TCP/ (raw data format/User Datagram Protocol User Datagram Protoco (UDP)/TransmissionControl Protocol transmission control protocol), and data link layer can be carried out the data forwarding of UDP message form.When the link layer of WiFi module uses the UDP mode, IP address of equipment, server ip address and service port number information all must meet the setting of ICP/IP protocol regulation, if server is positioned at different subnets with the WiFi module, also subnet mask and gateway need be set, otherwise can't communicates by letter.
Game server 1 links to each other with Internet 4, obtains data message from Internet network 4, we's capable chess data is analyzed, is handled and store, and communicate with the other side that plays chess.Game server can only be the all-purpose computer that an energy and the both sides that play chess carry out data communication.
The connection of game server and Internet network, wireless access point AP 3 is connected with wlan network 2, and being connected of wlan network and Internet all is prior art, the workflow of game server as shown in Figure 4, when beginning, waits for game server the connection of WiFi module, if do not receive connection request, then continue to wait for; If receive connection request, then set up Socket and connect (socket connection).During under normal circumstances not unusual the generation, game server directly reads the chessboard state information, and information is stored, analyzed and handles, concurrent chess instruction or the control command of seeing off.If unusual generation is arranged, or do not receive for a long time when capable chess instructs, will inquire the WiFi module responds, and wait-for-response, then then read the chessboard state information if receive response, if do not receive response yet, then continue inquiry WiFi module responds state.
Connecting by game server with two entity electronic chessboard terminal A and B is example, may further comprise the steps:
(3.1) connection request of entity electronic chessboard terminal A transmission and server;
(3.2) entity electronic chessboard terminal A and server connect;
(3.3) entity electronic chessboard terminal A connects to server requests and entity electronic chessboard terminal B;
(3.4) server sends the request of connecting to entity electronic chessboard terminal B, comprises the address of A;
(3.5) entity electronic chessboard terminal B agreement or refusal and electronic chess-plate terminal A connect;
(3.6) server is to the information of electronic chess-plate terminal A feedback electronic chess-plate terminal B transmission;
(3.7) if both agree to connect, electronic chess-plate terminal A or B send the data that comprise partner address to server;
(3.8) server sends the data that comprise partner address to electronic chess-plate terminal A or B;
(3.9) if certain side will disconnect connection, then send the request of disconnection to server, contain the address information of A and B;
(3.10) server is received the disconnection request that a certain side sends, and disconnects being connected of A and B.
Electronic chess-plate and once communicating by letter of server may further comprise the steps in the network communication method of this entity electronic chessboard based on WiFi:
(1) state information of microprocessor 7 monitoring electronic chess-plate entities 6 arrives WiFi module 8 with related data transmission;
(2) WiFi module 8 transfers to WAP (wireless access point) 3 by antenna 11 with data wireless, inserts wlan network 2, and is sent to Internet network 4;
(3) data are sent to game server 1 by Internet network 4;
(4) state information of 1 pair of entity electronic chessboard 6 of game server is analyzed, is handled and stores, and sends we's capable chess data to the other side;
(5) the other side that plays chess sends capable chess and instructs to game server 1;
(6) game server 1 generates the control command of chessboard, transmits data by Internet, and enters wlan network 2 by the interface of Internet and WLAN;
(7) signal sends by WAP (wireless access point) 3, and antenna 11 receives, and enters WiFi module 8;
(8) WiFi module 8 is sent to microprocessor 7 with data;
(9) microprocessor 7 control command of will being correlated with sends to our electronic chess-plate entity.
Wherein, play chess for the strange land, the other side that plays chess can be the same with we, realizes wireless communication by the other side's another electronic chess-plate terminal and game server, also can carry out wire communication by traditional electronic chess-plate, perhaps directly plays chess on computers.In addition, the both sides that play chess can realize on same electronic chess-plate that also this locality plays chess, and the wireless communication mode by based on WLAN realizes storage on game server.For the electronic chess-plate that can on chessboard, realize discs, also can data be turned back to entity electronic chessboard and realize discs by communication.
The above only is the preferred embodiments of the present invention, can not limit scope of the invention process with this, and all simple conversion of doing according to claim of the present invention and description all should still belong to the protection range that the present invention covers.

Claims (5)

1. network communicating system based on the entity electronic chessboard of WiFi, comprise the WAP (wireless access point) (3) that the game server (1) that links to each other with Internet network (4) links to each other with wlan network (2), it is characterized in that: also comprise at least one entity electronic chessboard terminal (5), described entity electronic chessboard terminal (5) comprises electronic chess-plate entity (6), be used to monitor electronic chess-plate state and transmission, receive the microprocessor (7) of row chess instruction, be used for the WiFi module (8) that communicates by wlan network (2) and Internet network (4) with game server (1), be used to store the memory (9) of data and program, power module (10) and antenna (11), microprocessor (7) links to each other respectively with WiFi module (8) with electronic chess-plate entity (6), and antenna (11) links to each other with WiFi module (8).
2. according to the network communicating system based on the entity electronic chessboard of WiFi described in the claim 1, it is characterized in that: described electronic chess-plate entity (6) can be: electronic Chinese chess chessboard, electronic chess chessboard, electric go chessboard, electronics quintet game chessboard and electronic Chinese checkers chessboard.
3. according to the network communicating system based on the entity electronic chessboard of WiFi described in the claim 1, it is characterized in that: described game server (1) is an all-purpose computer, the both sides' that can realize and play chess data communication.
4. according to the network communicating system based on the entity electronic chessboard of WiFi described in the claim 1, it is characterized in that: described WiFi module (8) adopts the CG-WIFI-1000 chip.
5. method based on the network service of the entity electronic chessboard of WiFi is characterized in that may further comprise the steps:
(1) state information of microprocessor (7) monitoring electronic chess-plate entity (6) arrives WiFi module (8) with related data transmission;
(2) WiFi module (8) transfers to WAP (wireless access point) (3) by antenna (11) with data wireless, inserts wlan network (2), and is sent to Internet network (4);
(3) data are sent to game server (1) by Internet network (4);
(4) game server (1) is analyzed, is handled and store the state information of entity electronic chessboard (6), sends we's capable chess data to the other side;
(5) the other side that plays chess sends capable chess and instructs to game server (1);
(6) game server (1) generates the control command of chessboard, transmits data by Internet, and advances wlan network (2) by the interface of Internet and WLAN;
(7) signal sends by WAP (wireless access point) (3), and antenna (11) receives, and enters WiFi module (8);
(8) WiFi module (8) is sent to microprocessor (7) with data;
(9) microprocessor (7) control command of will being correlated with sends to our electronic chess-plate entity.
CN200910144758A 2009-08-28 2009-08-28 WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard Pending CN101668039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910144758A CN101668039A (en) 2009-08-28 2009-08-28 WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910144758A CN101668039A (en) 2009-08-28 2009-08-28 WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard

Publications (1)

Publication Number Publication Date
CN101668039A true CN101668039A (en) 2010-03-10

Family

ID=41804479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910144758A Pending CN101668039A (en) 2009-08-28 2009-08-28 WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard

Country Status (1)

Country Link
CN (1) CN101668039A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104174160A (en) * 2014-09-15 2014-12-03 周闻庆 Electronic chess and card machine and system
CN105893037A (en) * 2016-03-31 2016-08-24 湖南快玩网络科技有限公司 Software implementation method for space gobang
CN110370255A (en) * 2019-06-25 2019-10-25 绍兴文理学院 Game system under helping the elderly based on the detection of automatic chessboard
CN110394805A (en) * 2019-06-25 2019-11-01 绍兴文理学院 Game system under helping the elderly based on robotic arm

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104174160A (en) * 2014-09-15 2014-12-03 周闻庆 Electronic chess and card machine and system
CN105893037A (en) * 2016-03-31 2016-08-24 湖南快玩网络科技有限公司 Software implementation method for space gobang
CN110370255A (en) * 2019-06-25 2019-10-25 绍兴文理学院 Game system under helping the elderly based on the detection of automatic chessboard
CN110394805A (en) * 2019-06-25 2019-11-01 绍兴文理学院 Game system under helping the elderly based on robotic arm

Similar Documents

Publication Publication Date Title
CN104221467B (en) Wireless telecom equipment and the method for forming reciprocity (P2P) wireless connection in equipment room
CN101807945B (en) Wireless data transmission system and data transmission method utilizing same
CN102201846B (en) Wireless data transmission system and method based on soft AP (access point) technology
CN101820668B (en) A kind of WAP method of work and WAP
US9402326B2 (en) Fixed relocatable wireless device
WO2013086993A1 (en) Method for transmitting data between terminals and terminal
CN201278593Y (en) Multi-mode wireless data card
CN101931629A (en) Method and system for playing television program at mobile terminal and digital television receiving terminal
CN102882938A (en) Data share method and mobile terminal
CN101916106A (en) Thing internet-based intelligent home control system
CN201839302U (en) Intelligent home control system based on Internet of things (IOT)
US20150038084A1 (en) Reduced radiation mobile phone usage via a combined wired and a wireless communication system based on roaming hot backup
CN105101055A (en) File transfer method and intelligent equipment
CN101668039A (en) WiFi-based network communication system and WiFi-based network communication method of entitative electronic chessboard
CA2723657C (en) Router collaboration
CN110324790A (en) A kind of method for connecting network, node device, network system and storage medium
CN101860495A (en) Gateway for integrating mobile communication and power line communication
CN102348198A (en) Wireless terminal and remote parameter setting method thereof
CN101656730A (en) Communication device, communication system, communication method and program
CN202183765U (en) Wireless data transmission system based on soft AP (Access Point) technology
CN201479383U (en) Network communication system for entity electronic chessboard based on WiFi
CN202551353U (en) Wireless unvarnished transmission terminal device and wireless system equipped therewith
CN207802394U (en) Mifi equipment
CN103167509A (en) Wireless local area network signal extension equipment and method
CN201717893U (en) Wireless remote data transmission device adaptive to three 3G communication protocols

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100310