Existing condition: dell server to a public IP, someone a GPRS module, circuit board a
The required functions: need to complete a web page, the page can display circuit board through GPRS in a transparent transmission of data is passed on to the server, at the same time to the web client to write the values of the circuit board to send incoming values need to be deposited in the SQL database on the server,
Has now completed: circuit board through GPRS module can send data to the server port 7002, at the same time on the server side through port monitoring software found server port can receive these data,
Q: how to display the collected data on the web end? Using asp to achieve? If you need to call some activeX plugin? At the same time, how to GPRS set value sent to the circuit board? When deposited in the display of data can be deposited by connecting database, right?
Just begin to contact this aspect, please everyone a great god can spare a little time to give directions, or to give directions should look at what kind of book, checked for a long time still have no idea, thank you very much!
CodePudding user response:
The simplest: after the server receives the data written to a text file
Then use a HTTP server to share this file, use the browser can display
CodePudding user response:
reference 1st floor shingoscar response: the simplest: after the server receives the data written to a text file Then use a HTTP server to share this file, use the browser can display the I'm not very familiar with this, we should use what software or how to write the data into a text file? And so will not write data to the GPRS? Could you please tell me, CodePudding user response:
The building Lord, I want to ask about, GPRS module data sent to the port, your server is how to accept, what is the data format? I also is this, use the Socket their thanks a simple server, and then using GPRS network to penetrate to transmission of data, but I have no response, the server is couldn't show the transmission of data,,,, QQ: 790234660. The building Lord, plus QQ chat CodePudding user response:
The building Lord, I want to ask about, GPRS module data sent to the port, your server is how to accept, what is the data format? I also is this, use the Socket their thanks a simple server, and then using GPRS network to penetrate to transmission of data, but I have no response, the server is couldn't show the transmission of data,,,, QQ: 790234660. The building Lord, plus QQ chat CodePudding user response:
I know what kind of software or how to write the data into a text file? CodePudding user response:
The building Lord, I see you ask the question, very excited, because I didn't take part in a game, this aspect have no idea, it's convenient for can you give me to give directions to see what information or video, grateful, and this is my QQ1078372210 CodePudding user response:
The refer to the original poster zwl_8911 response: q: how to display the collected data on the web end? Using asp to achieve? If you need to call some activeX plugin? At the same time, how to GPRS set value sent to the circuit board? When deposited in the display of data can be deposited by connecting database, right? Modern browsers basically all natural support websocket, basically don't consider other browsers, and no entanglement old ie browser, and ActiveX technology, it need not according to post a few years ago to design! Web page two-way between the server and instant messaging, your server can reference Fleck (use Nuget install on vs) to write websocket server code, As for communications, signaling format, you must make their own business analysis and design, you have a few kinds of signaling, she does not know it? Client and server may need to transfer 100 command message (you can use the basis of the json format), and how to handle the message according to the type of message flag, actually all by yourself, don't ask for, it is no use, CodePudding user response:
Signaling specification design documents, we can see that two problems: 1. What's your business interface contains data, it is adapt to the need of the front end physical design, for example in 20 different entities can express your application design? Or it is good to five? It can tell you that business, regardless of how the internal implementation, at least from the interface, function, entity, can see out of business! 2. The client is a simple query, or with instant messaging server, this is two kinds of technology of watershed, will only simple queries to know to instant messaging, are not the same designer, when a device of a certain state has changed, it pushed to the server, so you should put your server change state is pushed to the client is subscribed to such news, this is a practical software, if they think is "waiting for the client to repeatedly polling", then you are only doing small office for my own use, only the individual client access software, CodePudding user response:
You can see, the definition between web client and server communication protocol, including the communication sequence and signaling format, this is the key, here don't tangle with no database on the server, with a few questions database, Entangled with usually lower the designers of the database table, and now you are in the design of software, a network with database? Write a communication specification documents, and ensure the ability according to the schedule, this is the blessing, struggle is the underlying database table, CodePudding user response:
You think is the general HTTP requests to go, CodePudding user response:
Can be, but just a short connection, is not a long connection, I have achieved CodePudding user response:
IE8 is to support the above, I've tested, IE8 following support is not too good, it is best not to use, CodePudding user response:
http://blog.csdn.net/downloading_/article/details/73411782 CodePudding user response:
How's the progress of the project? I also have the same demand, can you share the last is how to solve? QQ413226660, add remark when QQ: GPRS Thank you very much! CodePudding user response:
1. Make sure your GPRS module is what protocol, and then determine whether to Aictivex last POST directly on your WebService is ok, CodePudding user response:
Is learning the related content, CodePudding user response:
The building Lord, I do this right now, asp.net to build server, receiving GPRS device pass packets displayed on the page, in the background to take data with the socket I come in, but I don't know how to display data updated at the front desk page, the original poster is how to implement, please give directions, CodePudding user response:
The building Lord said project, after the practical application, there will be many GPRS work at the same time? If there is a lot of concurrent transmission equipment, should be more things to consider, CodePudding user response:
All the GPRS data is stored in the database, and web pages to read database, is the use of the database in transit,,,