CN201134820Y - Embedded equipment and network server capable of communication through network server - Google Patents

Embedded equipment and network server capable of communication through network server Download PDF

Info

Publication number
CN201134820Y
CN201134820Y CNU2007201701023U CN200720170102U CN201134820Y CN 201134820 Y CN201134820 Y CN 201134820Y CN U2007201701023 U CNU2007201701023 U CN U2007201701023U CN 200720170102 U CN200720170102 U CN 200720170102U CN 201134820 Y CN201134820 Y CN 201134820Y
Authority
CN
China
Prior art keywords
equipment
webserver
identification number
communication
address
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.)
Expired - Fee Related
Application number
CNU2007201701023U
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.)
Mettler Toledo Changzhou Measurement Technology Ltd
Mettler Toledo Changzhou Precision Instruments Ltd
Mettler Toledo Changzhou Weighing Equipment Co Ltd
Original Assignee
Mettler Toledo Changzhou Measurement Technology Ltd
Mettler Toledo Changzhou Precision Instruments Ltd
Mettler Toledo Changzhou Weighing Equipment 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 Mettler Toledo Changzhou Measurement Technology Ltd, Mettler Toledo Changzhou Precision Instruments Ltd, Mettler Toledo Changzhou Weighing Equipment Co Ltd filed Critical Mettler Toledo Changzhou Measurement Technology Ltd
Priority to CNU2007201701023U priority Critical patent/CN201134820Y/en
Application granted granted Critical
Publication of CN201134820Y publication Critical patent/CN201134820Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The utility model provides an embedded device and a network server which can communicate through network servers, and is connected with the network server and at least one of the other embedded devices through an internet, wherein the device comprises a group-network data requesting device used for sending requests to the network server and used for communicating with the other device, the group-network data requesting device comprises device recognizing numbers of the device and device recognizing numbers of the other device, a device used for receiving responding data from the network server, wherein the responding data comprises the IP address of the other device, and is generated by the network server under the condition that the device recognizing numbers of the device and the device recognizing numbers of the other device are judged to be correct, and a data communication device which is between the device and the other device is started according to the IP address of the other device.

Description

Can be by the embedded device and the webserver of webserver communication
Technical field
The utility model belongs to the networking communication field, is specifically related to a kind of embedded device and webserver by webserver communication.
Background technology
Along with the development of society, between a plurality of embedded devices of different location, often need communication.For example weighing-appliance except trade settlement, also is applied to many new fields, as: batching, packing, check weighing, highway toll meter weigh, retailing is managed or the like.Therefore, between a plurality of equipment and equipment and administrative center need carry out in real time, active data transmission, hope can the remote networking communication.Yet often a plurality of facilities and administration centre distances are far away, not even in a city, so with the means gigantic project of common data wire networking, and the maintenance cost height in the actual use.
Another method is with a plurality of weighing-appliances and management centre computer interconnection by the Internet.Yet the data transmission security of virtual network is not high, might cause data to leak, and perhaps invalid data is invaded.
Equally, other are positioned at the different location, need the embedded device of networking communication also to have such problem.
The utility model content
The purpose of this utility model is to provide a kind of embedded device and webserver by webserver communication, to overcome networking complexity between above-mentioned a plurality of embedded device, the shortcoming of insecure communication.
In order to achieve the above object, the utility model provides a kind of embedded device in first aspect, its with the webserver and at least another embedded device link to each other by the Internet, it is characterized in that described equipment comprises: to the device of webserver transmission request with the networking request msg of described another device talk, described networking request msg comprises the device identification number of described equipment and the device identification number of described another equipment; Reception is from the device of the response data of the webserver, described response data comprises the IP address of another equipment, and wherein said response data is produced under the correct situation of the device identification number of the device identification number of judging described equipment and described another equipment by the webserver; According to the IP address initiation of described another equipment and the device of the data communication between described another equipment.
The utility model provides a kind of webserver in second aspect, it links to each other with the first title equipment and the second equipment by the Internet at least, it is characterized in that the described webserver comprises: receive the device from the networking request msg of the request of first equipment and second device talk, described networking request msg comprises the device identification number of first equipment and the device identification number of second equipment; Judge the device of correctness of the device identification number of the device identification number of first equipment and second equipment; And under correct situation, response data being sent to the device of first equipment, described response data comprises the IP address of second equipment; So that first equipment is according to the IP address initiation of second equipment and the data communication between second equipment.
The utility model provides the communication system that comprises second aspect in the third aspect.
The utility model provides the communication system that comprises first aspect in fourth aspect.
In above technical scheme, preferably adopt device packets, the equipment under the same grouping can carry out the networking communication; Embedded device is weighing-appliance preferably.
Owing to adopted technique scheme, can networking between a plurality of embedded devices of the same user who makes under the multi-user environment in the different location, and carry out safe, reliable, real-time data communication and resource-sharing.This method has characteristics such as networking cost is low, the communication real-time is good, reliability height.
Description of drawings
Below with reference to accompanying drawings specific embodiments of the present utility model is described in detail, wherein:
Fig. 1 is the distributed weighing-appliance network topological diagram based on the Internet according to an embodiment of the present utility model;
Fig. 2 is the device talk program flow diagram according to the embodiment of one of the utility model;
Fig. 3 is the webserver communication monitoring program flow chart according to an embodiment of the present utility model;
Fig. 4 is the network server apparatus condition monitoring program flow diagram according to an embodiment of the present utility model.
Fig. 5 is the system schematic that the utility model is applied to the embodiment of distributed cash register scale system.
Embodiment
Fig. 1 is the distributed weighing-appliance network topological diagram based on the Internet according to an embodiment of the present utility model.
As shown in Figure 1, weighing-appliance 112,114,116, and weighing-appliance 122,124 carries out communication by the Internet and the webserver 10.In a preferred version, HUB11 ' inserts the Internet with weighing-appliance 112,114,116 set backs by ADSL Modem 11.Equally, HUB12 ' inserts the Internet with weighing-appliance 122,124 set backs by ADSLModem12.In another example, each weighing-appliance directly inserts the Internet by ADSL.
Weighing-appliance 112,114,116,122,124 all has been set a unique device identification number.In a preferred version, in advance the device identification number of equipment self, the IP address that is requested the networking equipment identifier and the webserver are write in each equipment.Then, configuration device communication program on each equipment, after the device power in order to finish to the webserver 10 request networkings and with group in other equipment carry out data communication.
In another example, weighing-appliance the 112,114,116,122, the 124th, the equipment in the same grouping, and utilize the unique group number of setting to discern.Then group number is write in each equipment.
The webserver 10 has a fixing public network IP address, and disposes device databases, device talk database, device status data storehouse and network communication management software.
Device databases includes the grouping information of all virtual nets.
The device talk database comprises one and treats the communication tabulation, is divided into the requesting service tabulation and is requested the networking equipment tabulation.
The device status data storehouse comprises the operating state of facility information, customer information and equipment.
The network communication management software comprises communication monitoring program, equipment condition monitoring program.The network communication that the communication monitoring program is responsible for helping weighing-appliance to set up point-to-point according to its communication identifier and access rights, thus make up virtual network.The equipment condition monitoring program helps manufacturer in time to understand the operation conditions of the equipment of selling, and in time safeguards when breaking down.
Each equipment sends the networking request msg to the webserver.The networking request msg comprises the requesting service identifier and is requested the networking equipment identifier.Under the situation of device packets, the networking request msg also comprises the group number that device request adds.
After the webserver receives request msg, judge requesting service identifier and the correctness that is requested the networking equipment identifier.In another scheme, judge the requesting service identifier and be requested networking equipment identifier and the consistency of asking to add group number.Under the correct or consistent situation IP address and the port numbers of requesting service are inserted the device talk database according to device identification number.To draw IP address and the port numbers that is requested networking equipment in the slave unit communication data storehouse then, and send to requesting service.
After requesting service is fetched the IP address and port numbers that is requested networking equipment, and be requested networking equipment and carry out point-to-point communication.
Read online facility information in the device status monitoring program slave unit communication data storehouse on the webserver, then to online equipment transmit status querying command.Receive the slip condition database of updating the equipment after the state information of returning, and will have the information of faulty equipment to send the technical staff and the client of alarm mail announcement, so that faulty equipment is in time safeguarded.
Below in conjunction with flow chart device talk program, webserver communication monitoring program and device status monitoring program are done detailed description.
Fig. 2 is the device talk program flow diagram of embodiment of the present utility model.
As shown in Figure 2, in step 202, after device power started, communication program is the fetch equipment identifier from the internal memory of weighing-appliance.
In step 204, communication program reads webserver IP address and port numbers from weighing-appliance.
In step 206, communication program reads from weighing-appliance and is requested the networking equipment identifier.Under the situation of device packets, read and be requested networking equipment identifier and group number.
In step 208, the data that step 202,206 is read generate request data package.Packet includes the IP address and the port numbers of this source device automatically.
In step 210, webserver IP address and the port numbers read by step 204 send to the webserver with request data package.
In step 212, judge whether to receive that the webserver replys.If not, forward step 210 to, resend request data package; If have, then execution in step 214.
In step 214, from the reply data that receives, obtain the IP address and the port numbers that are requested networking equipment that the webserver returns.
In step 216, whether comprise the not online information of networking equipment that is requested that the webserver returns in the reply data that receives by judgement, all online whether to learn that all are requested networking equipment.If not, execution in step 218; If then execution in step 220.
In step 218, the update request packet, and forward step 210 to.
In step 220, start and the point-to-point communication that is requested networking equipment.At this moment, requesting service be requested networking equipment and form a virtual net.
In step 222, the slave unit port reads network data.
In step 224, judge that whether network data is from equipment in the net.If, execution in step 226; If not, then execution in step 228.
In step 226, carry out data answering at the network data that other equipment in the net send.Then, forward step 222 to.
In step 228, judge that whether network data is from server.If not, forward step 222 to, read network data again; If then execution in step 230.
In step 230, according to the presence querying command Returning equipment presence of webserver transmission; The operating state querying command executing state self diagnosis that sends according to the webserver is then with Returning equipment operating state as a result.Then, forward step 222 to.
Fig. 3 is the webserver communication monitoring program flow chart according to an embodiment of the present utility model.
As shown in Figure 3, in step 302, behind the startup of server, each network port of communication monitoring program scanning monitoring.
In step 304, the communication monitoring program has judged whether that request data package sends to server by the network port.Continue scanning if no, will forward step 302 to; If have, then execution in step 306.
In step 306, request data package is analyzed, in device databases, search the requesting service identifier that whether exists in the packet and be requested the networking equipment identifier; Comprise at packet under the situation of group number, add group number by the request in the packet and find group number in the grouping information in the device databases, with the requesting service identifier in the request data package be requested the networking equipment identifier and contrast with corresponding grouping information in the device databases.
In step 308, through searching, judge requesting service identifier and the correctness that is requested the networking equipment identifier, whether the request msg that promptly draws transmission is legal.Comprise at packet under the situation of group number,, judge the consistency of asking to add group number, requesting service identifier and being requested the networking equipment identifier, promptly draw requesting service and be requested networking equipment whether belong to the group that request adds through contrast.If not, forward step 302 to and rescan; If then execution in step 310.
In step 310, requesting service obtains the authority of networking.And the IP address of requesting service and port numbers inserted in the requesting service tabulation of device talk database according to its identifier.
In step 312, from request data package, obtain the device identification number that is requested networking equipment, insert being requested in the networking equipment tabulation of device talk database.Whether search whether this facility information is arranged according to the device identification number that is requested networking equipment in the requesting service tabulation, it is online to be requested networking equipment with judgement.
In step 314, judge one by one whether be requested networking equipment online.If online, according to step 316; If not online, execution in step 318.
In step 318, the requesting service of announcement, it is temporarily not online to be requested networking equipment.
In step 316, in the requesting service tabulation of device talk database, find IP address and the port numbers that is requested networking equipment, and it is sent to requesting service.Then, execution in step 320.
In step 320, communication monitoring program all devices in the requesting service tabulation of device talk database sends order, checks its real-time presence.
In step 322, according to the state information updating device talk database that returns from each equipment, with the deletion from tabulation of not online equipment.
Then, return step 203.
Fig. 4 is the pie graph and the device status monitoring program flow diagram in device status data storehouse.
Shown in Fig. 4 a, the device status monitoring program regularly reads out plant for information about from manufacturers produce database 4a2, read customer information from sale database 4a4, merges write device slip condition database 4a0.The checkout equipment state and the slip condition database 4a0 that updates the equipment then.
Shown in Fig. 4 b,, read the identifier of online equipment in the device status monitoring program slave unit communication data storehouse in step 402.
In step 404, send the operating state querying command to corresponding apparatus according to the device identification number that reads.
In step 406, reception is replied, according to the operating state of the equipment loopback slip condition database of updating the equipment.
In step 408, the data in the checkout facility slip condition database, whether judgment device has fault.Continue monitoring if no, forward step 402 to; If fault is arranged, then execution in step 410.
In step 410, inquire customer information under the equipment and corresponding techniques attendant information according to device identification number.
In step 412, implementor name, device identification number and concrete fault message are sent alarm mail by customer information and the service technician information that inquires to client and service technician.
Fig. 5 is the system schematic that the utility model is applied to the embodiment of distributed cash register scale system.
As shown in Figure 5, cash register scale 512,514,516, cash register scale 522,524,526 and client general headquarters computer 530 carry out communication by the Internet and the webserver 50.HUB51 ' inserts the Internet with cash register scale 512,514,516 set backs by ADSL Modem51.Equally, HUB52 ' inserts the Internet with cash register scale 522,524,526 set backs by ADSLModem52.Client general headquarters computer 530 inserts the Internet by ADSL Modem53.
Cash register scale the 512,514,516,522,524, the 526th, the cash register equipment of weighing that a kind of retail chain industry is used has the ethernet communication function, and supports by network download merchandise news and upload transaction data.Cash register scale the 512,514,516,522,524, the 526th, the equipment under the same client.In an example, cash register scale 512,514,516 is installed on same branch, and cash register scale 522,524,526 is installed on another branch.
Each cash register scale all has been set device identification number before dispatching from the factory, leave in the nonvolatile storage of equipment self.
Client general headquarters computer 530 is responsible for regularly sending the merchandise news of upgrading and receiving the transaction data that all scales are uploaded to branch cash register scale, carries out financial statistics then.In the present embodiment, client general headquarters computer 530 is as the interior equipment of group and other networking of cash register scale and communication.
After the cash register scale was sold, client general headquarters computer 530 was to special identifier of manufacturer's application, and manufacturer has set a unique group number for the client.The group number that the IP address of the webserver and port numbers, producer are set for the client and the identifier of client general headquarters computer 530 write in each cash register scale then.Simultaneously, the group number that the IP address of the webserver and port numbers, producer are set for the client and all cash register scale identifiers write in the nonvolatile storage of client general headquarters computer 530.
The configuration of the webserver 50 is identical with previous embodiment.
After every cash register scale works on power, its own IP address and port numbers are sent to the webserver, and with client general headquarters computer 530 as being requested networking equipment by webserver requirement networking with it.Client general headquarters computer 530 sends to the webserver with its own IP address and port numbers, and request and the networking of every cash register scale.The IP address and the port numbers of the client general headquarters computer 530 that every cash register scale can return according to the webserver are uploaded transaction data; Client general headquarters computer 530 sends the merchandise news of upgrading according to the IP address and the port numbers of every cash register scale that the webserver returns to every cash register scale.Like this, just constituted the real-time communication network between client general headquarters computer and each the branch cash register scale.
The cash register scale will detect operating state after the start every day, as mainboard working condition, working sensor situation, and printer working condition etc., and send the data to the network communication server with the slip condition database of updating the equipment.Whether the device status monitoring program inspection device slip condition database on the network communication server has fault data, if any fault data, then sends alarm mail immediately to client and manufacturer's service technician.
The technical solution of the utility model is applicable to that also all can insert the embedded device of the Internet except being applied to weighing-appliance, carry out reliable between a plurality of embedded devices, active data transmission.
Obviously, the utility model described here can have many variations, and this variation can not be thought and departs from spirit and scope of the present utility model.Therefore, the change that all it will be apparent to those skilled in the art all is included within the covering scope of these claims.

Claims (13)

1. an embedded device links to each other by the Internet with the webserver and another embedded device, it is characterized in that described embedded device comprises:
To the device of webserver transmission request with the networking request msg of described another device talk, described networking request msg comprises the device identification number of described equipment and the device identification number of described another equipment;
Reception is from the device of the response data of the webserver, described response data comprises the IP address of another equipment, and wherein said response data is produced under the correct situation of the device identification number of the device identification number of judging described equipment and described another equipment by the webserver;
According to the IP address initiation of described another equipment and the device of the data communication between described another equipment.
2. equipment as claimed in claim 1 is characterized in that, receives the presence querying command from the webserver, and the device of Returning equipment presence in response, the presence of this equipment in the communication data storehouse so that the webserver is updated the equipment.
3. equipment as claimed in claim 1, it is characterized in that, comprise the operating state querying command of reception from the webserver, executing state self diagnosis and with result's device of Returning equipment operating state in response, the operating state of this equipment in the slip condition database so that the webserver is updated the equipment.
4. a webserver links to each other with first embedded device and second embedded device by the Internet, it is characterized in that the described webserver comprises:
Reception is from the device of the networking request msg of the request of first equipment and second device talk, and described networking request msg comprises the device identification number of first equipment and the device identification number of second equipment;
Judge the device of correctness of the device identification number of the device identification number of first equipment and second equipment; And under correct situation, response data being sent to the device of first equipment, described response data comprises the IP address of second equipment; So that first equipment is according to the IP address initiation of second equipment and the data communication between second equipment.
5. the webserver as claimed in claim 4, it is characterized in that, described networking request msg comprises group number, first equipment and second equipment belong to the same grouping with this group number, and the device of the correctness of the device identification number of described judgement first equipment and the device identification number of second equipment comprises the conforming device of the device identification number of the device identification number of judging group number, first equipment and second equipment.
6. the webserver as claimed in claim 4 is characterized in that comprising the device talk database, wherein records online facility information, and the described webserver comprises the device of the IP address of first equipment being inserted the device talk database according to device identification number.
7. the webserver as claimed in claim 6 is characterized in that, comprises the IP address of second equipment that obtains in the slave unit communication data storehouse, and it is write the device of response data.
8. the webserver as claimed in claim 6 is characterized in that, comprises that equipment in the device talk database send to check the order of presence, and according to the update the equipment device in communication data storehouse of response.
9. the webserver as claimed in claim 6, it is characterized in that, the webserver comprises the device status data storehouse of record all devices operating state, the webserver comprises equipment transmit status querying command online in the device talk database, and based on the update the equipment device of slip condition database of response.
10. the webserver as claimed in claim 9 is characterized in that comprising when the device status data storehouse showing when faulty equipment is arranged, customer information and/or service technician information under the inquiry faulty equipment, and send the device of alarm mail.
11. the webserver as claimed in claim 4 is characterized in that, described second equipment is one group of embedded device.
12. a communication system is characterized in that comprising the webserver as claimed in claim 4.
13. a communication system is characterized in that comprising embedded device as claimed in claim 1.
CNU2007201701023U 2007-08-08 2007-08-08 Embedded equipment and network server capable of communication through network server Expired - Fee Related CN201134820Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007201701023U CN201134820Y (en) 2007-08-08 2007-08-08 Embedded equipment and network server capable of communication through network server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007201701023U CN201134820Y (en) 2007-08-08 2007-08-08 Embedded equipment and network server capable of communication through network server

Publications (1)

Publication Number Publication Date
CN201134820Y true CN201134820Y (en) 2008-10-15

Family

ID=40063091

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007201701023U Expired - Fee Related CN201134820Y (en) 2007-08-08 2007-08-08 Embedded equipment and network server capable of communication through network server

Country Status (1)

Country Link
CN (1) CN201134820Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761776A (en) * 2014-02-25 2014-04-30 徐州西尼科自动化控制技术有限公司 Road toll-by-weight device working condition monitoring and maintaining system and method
CN112260925A (en) * 2020-09-30 2021-01-22 厦门汉印电子技术有限公司 Electronic scale data transmission method, device, equipment and storage medium of virtual network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761776A (en) * 2014-02-25 2014-04-30 徐州西尼科自动化控制技术有限公司 Road toll-by-weight device working condition monitoring and maintaining system and method
CN112260925A (en) * 2020-09-30 2021-01-22 厦门汉印电子技术有限公司 Electronic scale data transmission method, device, equipment and storage medium of virtual network
CN112260925B (en) * 2020-09-30 2022-04-29 厦门汉印电子技术有限公司 Electronic scale data transmission method, device, equipment and storage medium of virtual network

Similar Documents

Publication Publication Date Title
CN101651707B (en) Method for automatically acquiring user behavior log of network
US6529784B1 (en) Method and apparatus for monitoring computer systems and alerting users of actual or potential system errors
US20160189095A1 (en) System and method for remote management of sale transaction data
CN101141361B (en) Communication method and system between embedded type equipments
CN101174325B (en) Upgrade service system
JP2005520725A (en) Vehicle and vehicle component remote monitoring, configuration, programming and diagnostic system and method
KR20100066468A (en) Method and apparatus for propagating accelerated events in a network management system
US20240297828A1 (en) Network management system, method, and apparatus, and electronic device
JP2005032103A (en) Vending machine management system
CN102195807A (en) Device management apparatus, device management system, information management method, information management program and recording medium storing the program therein
CN110895472A (en) Method and device for identifying service change
CN104202334A (en) Network connection establishing method and device
CN112463661A (en) USB device management system and management method
CN101226394A (en) Automatic monitoring and control of fill levels
CN201134820Y (en) Embedded equipment and network server capable of communication through network server
US8239292B2 (en) Method and apparatus for dealer connectivity
CN110908955A (en) Management system of IO device description file
CN117527568A (en) Data access method and system of data integration platform
US20130060969A1 (en) Automated device integration
CN111125066A (en) Method and device for detecting functions of database audit equipment
CN114006942B (en) Data processing method, system, electronic equipment and storage medium
CN113965447A (en) Online cloud diagnosis method, device, system, equipment and storage medium
KR100374474B1 (en) Game room management support system using internet
KR100307367B1 (en) Centralized management system of electronic switching system centralized automatic message accounting system(ESS CAMA) and method thereof
CN103617718A (en) Water meter reading bill generating method and device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081015

Termination date: 20110808