CN102325156A - Communication system for transmitting simulation data - Google Patents

Communication system for transmitting simulation data Download PDF

Info

Publication number
CN102325156A
CN102325156A CN201110197203A CN201110197203A CN102325156A CN 102325156 A CN102325156 A CN 102325156A CN 201110197203 A CN201110197203 A CN 201110197203A CN 201110197203 A CN201110197203 A CN 201110197203A CN 102325156 A CN102325156 A CN 102325156A
Authority
CN
China
Prior art keywords
data
module
client
communication
simulation
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
CN201110197203A
Other languages
Chinese (zh)
Other versions
CN102325156B (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.)
Beijing Union University
Original Assignee
Beijing Union 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 Beijing Union University filed Critical Beijing Union University
Priority to CN 201110197203 priority Critical patent/CN102325156B/en
Publication of CN102325156A publication Critical patent/CN102325156A/en
Application granted granted Critical
Publication of CN102325156B publication Critical patent/CN102325156B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a communication system for transmitting simulation data, which comprises a plurality of clients and a server. The server comprises a monitoring module, a data state recognition module, a non-state-data receiving module, a sate data receiving module, a communication sub-process module and a simulation service processing module. The clients transmit data to the server, the server transmits the received data to the monitoring module and the monitoring module detects the data; if the clients are valid clients, the data are transmitted to the data state recognition module; otherwise, the data are returned back to the clients; the data state recognition module analyzes the data, if the data are non-state-data, the data are transmitted to a shared data exchange area through the non-state-data receiving module; and if the data are state data, the communication sub-process module is enabled through the state data receiving module, the data are processed in the simulation service processing module, a processing result is transmitted to the shared data exchange area and a simulation result is transmitted to the clients through a communication sub-process. The communication system for transmitting the simulation data can be widely used in the communication system for simulation data transmission in the test control field.

Description

A kind of communication system that transmits emulated data
Technical field
The present invention relates to a kind of communication system, particularly about a kind of communication system that transmits emulated data in the TT&C system that is applicable to.
Background technology
The communication system of the communication system of measurement and control area and common local area network (LAN) or wide area network is distinguished to some extent; At first the client of measurement and control area can be foreseen and can control; Secondly the communication system of measurement and control area has certain requirement to real-time; The smaller measuring and control data of data volume particularly generally has higher requirement to response speed such as the transmission of data such as temperature, pressure, flow.Continuous development along with measurement and control area; The function that TT&C system is realized is also more and more stronger; In order to improve the reliability of TT&C system; In TT&C system, generally all increased the copying to controlling object or actuator, the adding of copying has also proposed specific (special) requirements to communication system in the TT&C system.
General ALPURCOM does not have the data mode recognition function when carrying out transfer of data; Communication system does not know that which data is status datas in transfer of data; Which data is non-status datas, and the work of data mode identification is generally transferred to the higher one-level of communication system and gone to handle.When adopting ALPURCOM to carry out transfer of data, for adaptive state data and non-status data, various communications protocols is often adopted in communication.Sometimes for simplified communication system then all becomes single data mode to all data modes, if but all be converted into non-status data to all data and can reduce communication system functionality; If all be converted into the expense that status data can increase communication system to all data, increase the burden of communication system deal with data, make the communication efficiency step-down.And general universal communication system do not include targetedly process control and function for monitoring, and process control and the work of keeping watch on are often transferred to other system and accomplished, and this has increased the complexity of whole system.
The emphasis of measurement and control area communication system data communication is to guarantee safety of data and integrality, and the efficient of measuring and control data order and emulated data command process is more stressed in the data communication between client and the server end.Handling emulation command has the character and the comparison consumption of natural resource of exclusive resource, and need avoid simulation process to be disturbed by other process as far as possible, especially when each client individual process uses the calculation services resource.When transient state line fault appearred in communication system, client possibly can't be asked service of simulation once more, because at this moment the sign of client is by record; Because each client's individual process uses the characteristic of calculation services resource; Server end possibly think that same client carried out secondary request, thus the request of refusal client, and server end possibly wait for that also client receives replying of emulated data; This client has got into the infinite wait state, can't communicate by letter with server end.
Summary of the invention
To the problems referred to above; The purpose of this invention is to provide a kind of employing isomorphism response mode and carry out data communication, and have the communication system that TT&C system transmits emulated data that is used for of data identification function, data integrity and fail safe measuring ability, overtime timing prompting function and external progress startup and function for monitoring.
For realizing above-mentioned purpose, the present invention takes following technical scheme: a kind of communication system that transmits emulated data is characterized in that: it comprises a plurality of client end and a server end; Said server end comprises a monitor module, a data mode identification module, a non-status data receiver module, a status data receiver module, a communicator process module and a service of simulation processing module; Said monitor module comprises an integrity detection module, a fail safe detection module and an external progress monitor module; Said client sends measuring and control data or emulated data arrives said server end; Said server end sends to said monitor module with the data that receive, and said monitor module carries out integrity detection and fail safe detection through said integrity detection module in it and fail safe detection module to data successively; If client is a legitimate client, then send to said data mode identification module to data; Otherwise get back to said client; Said data mode identification module is resolved data, if to obtain be non-status data in identification, then through said non-status data receiver module data is passed to the shared data exchange area, accomplishes the communication of measuring and control data; If the data that identification obtains are status datas; Then start said communicator process module through said status data receiver module; Getting into said service of simulation processing module handles data; And result sent into the shared data exchange area, and by the communicator process simulation result is sent to said client, accomplish the communication of emulated data.
Said client is provided with the timer of control and said server end call duration time, and said server end is provided with a timer that is used to keep watch on the client communication time, and another timer that time of implementation of simulation process is controlled.
The form that data transmit adopts the four-tuple data: STATE, ID, CMD and XML; Said four-tuple data are encapsulated in " { } " braces with the form of key-value pair; Content according to STATE is divided into status data and non-status data with the data of communicating by letter; Non-status data is handled by a total communication process, and status data is then handled with the mode of the single process of every client.
Whether said integrity detection module matees through said four-tuple " { } " braces is carried out integrity detection.
The present invention is owing to take above technical scheme; It has the following advantages: 1, the present invention since adopt the data mode identification module according to STATE to the status data and the non-status data that will transmit discern; Make the corresponding different service processes of different client side request, thereby taken into account service response speed and served the function that is provided.2, the present invention is owing to adopt safety detection module can guarantee that each client individual process uses calculation services resource, so that the service of simulation process can repeatedly not move, thereby guaranteed the quality and the response time of service of simulation.3, the present invention is owing to adopt the external progress monitor module; For data communication and external progress provide an initiatively interface of supervisory control simulation process; So that communication system can trigger simulation process, understand service of simulation process ruuning situation, and in time obtain the result of service of simulation.4, the present invention can effectively solve the problem of communication infinite wait owing to be provided with timer.5, the present invention adopts the communication handshake mode that four-tuple data format and isomorphism are replied; Command response mode and the work of data extract in the communication process have greatly been simplified; And the expression mode of the XML item of data has not only made things convenient for the processing of data value, has also strengthened the extensibility of data representation simultaneously.6, the data of four-tuple of the present invention are encapsulated in " { } " braces with the form of key-value pair; Owing to there are many methods can directly handle the tabulation of above-mentioned form; Table data type among JSON standard or the PYTHON for example; So can simplify the data processing of communication, through mating braces, also simplify the processing procedure of ultra-long data simultaneously to transmitting ultra-long data easily.Therefore, the present invention can be widely used in the communication system of measurement and control area transmission emulated data.
Description of drawings
Fig. 1 is the general structure sketch map of communication system of the present invention;
Fig. 2 is the flow chart of data processing figure of client and server end of the present invention;
Fig. 3 is a security verification flow chart of the present invention;
Fig. 4 is establishment communicator process of the present invention and command analysis flow chart;
Fig. 5 is an emulation command process chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is carried out detailed description.
As shown in Figure 1, communication system of the present invention comprises a plurality of client end 1 and a server end 2.
Server end 2 of the present invention comprises the non-status data receiver module of a monitor module 3, a data mode identification module 4, one 5, a status data receiver module 6, a communicator process module 7 and a service of simulation processing module 8.Wherein, monitor module 3 comprises an integrity detection module 31, a fail safe detection module 32 and an external progress monitor module 33.
In order to guarantee that 2 correct communications are connected client 1 with server end; Communication system of the present invention at first will be connected setting with the initialization that server end 2 carries out data to client 1 before data communication is initiated; The initialization connection is provided with after the completion; Client 1 sends measuring and control data according to real needs or emulated data arrives server end 2, and after server end 2 received data, the integrity detection module 31 of monitor module 3 was accomplished data integrities and detected.If the braces of data is unmatched, then get into the data decryptor state, whether have new data arrives, if the braces of data matees, then send to fail safe detection module 32 to data and carry out the fail safe detection, and extract the command entry of data if checking.After detection learns that client 1 is legitimate client; Data mode identification module 4 receives data and then the command entry STATE of data is resolved afterwards; Come the state of judgment data according to STATE; If judge and to learn and be non-status data then send to non-status data receiver module 5 to non-status data and directly the data that receive are passed to the shared data exchange area that other application system is taken out measuring and control data from shared cache area, thereby the communication of completion measuring and control data; If judge and learn it is status data; Then send status data to status data receiver module 6; Start communicator process module 7, get into 8 pairs of data of service of simulation processing module and handle, get into external progress monitor module 33 simultaneously to keep watch on the running status of simulation process.The communicator process can be taken out the simulation process result from sharing data area after artificial tasks is accomplished, and sends to client 1 then, thereby accomplishes the communication of emulated data.
In the foregoing description, communication system of the present invention also is provided with three timers 9,10,11, and one of them timer 9 is arranged on client 1; Can the response time of server end 2 be provided with; Whether with the communicating by letter of server end 2 overtime, if do not receive the response of server end 2 for a long time, then timer 9 shows overtime if being responsible for supervision; Then client 1 compulsory withdrawal is to the infinite wait of the data processed result of server end 2, and client 1 resends data command requests.Two other timer 10,11 is arranged on server end 2; Whether one of them timer 10 is used to keep watch on overtime with communicating by letter of client 1, and another one timer 11 is responsible for the ruuning situation of the external progress of monitor server ends 2, mainly is that the time of implementation to simulation process is provided with; If simulation process long-play; Then timer 11 demonstrations are overtime, and server end 2 stops long artificial tasks running time by force, and finishes the operation of external progress by force.
As shown in Figure 2, further specify the transfer of data and the processing procedure of client 1 and server end 2 below, its detailed process is:
1, the transfer of data of client 1 and processing procedure are:
1) 1 pair of data of client are carried out initialization connection setting
Client 1 is accomplished data acquisition and processing (DAP) and is sent communications command as required; Before initiating data communication, at first to carry out initialization and connect setting; Initiate initial connection request; The purpose that initialization connect to be provided with is that convenient and underlying protocol are set up and got in touch and for underlying protocol indicates the destination and the port of data, and it is for matching relevant parameters with server end 2 that the present invention carries out the initialization purpose of connecting, for the transmission and the reception of data sets corresponding data buffer area; Because underlying protocol and operating system is different, can selects diverse ways to carry out initialization and connect setting.
Because the present invention is pointed transfer of data; Therefore be defined as non-status data to measuring and control data and be a data definition relevant status data with emulation; Correspondingly; The present invention is provided with measuring and control data buffer area and emulated data buffer area, and the measuring and control data buffer area is used for the sending and receiving measuring and control data, and the emulated data buffer area is used for the sending and receiving emulated data.The size of measuring and control data buffer area is fixed; Because measuring and control data type and quantity are fixed basically; And the emulated data buffer area is a kind of dynamic exchange buffer area; When data are excessive, can with the partial simulation data map in non-volatile memory medium, in solid disk or hard disk, can guarantee to receive or send ultra-long data like this.The emulated data buffer area is in charge of by the communicator process; Each communicator process all has to one's name proprietary emulated data buffer area; Client 1 will be made regular check on the state of data buffer area; When sending the process of after data buffer area is filled up trigger data being sent, and after receiving data buffer area and filling up, can trigger the process of reception data.
The order that definition of data of the present invention carries out the initialization connection is:
{STATE:″...″,ID:″...″,CMD:″beginConnect″,XML:″...″},
Being interpreted as of the four-tuple that it is corresponding:
{ state tag: " ... ", sign: " ... ", order: " initialization connection ", data: " ... " }.
The present invention is connected to embodiment with measuring and control data and data are carried out the order that initialization connects is:
STATE: " 0 ", ID: " measuring control point 1 ", CMD: " beginConnect ", XML: "<nodes><node id=" measuring control point 1 "><temperature>315<temperature><unit>Celsius</unit></node></nodes>",
In the order that above-mentioned initialization connects, STATE representes the state of data, and wherein 0 representes non-status data, and 1 is expressed as status data, is 0 here and is non-status data; ID representes customer ID; Its effect is similar to user name; But can also comprise client's character and positional information sometimes, CMD representes communications command, beginConnect order expression initialization bind command; XML representes data item, and the temperature of the data representation measuring control point 1 of back XML form is 315 degrees centigrade.
Connect for the initialization of emulated data and only when client 1 starts, to trigger operation and once get final product; Because server end 2 can be registered this client and keep this client's connection; So this client need not send the initialization bind command once more as long as the emulation buffer area completely just can be communicated by letter with the server end communication system at any time.
2) the relevant communications command of client 1 checking
Initialization is provided with after the completion to data; Whether the relevant non-status data order that client 1 beginning authentication server end 2 is beamed back or the form of status data order be correct; Mainly be to verify whether the each item in the four-tuple data format matees; Because the explanation for the biography data is to define through the daughter element among the XML, because XML's is descriptive very strong, server end has the schema corresponding with command entry (formal definition) again; Schema is definition and the explanation to the XML data format, thus can more easily verify the data format that passes whether correct.
3) data are sent and are received
When client 1 and server end 2 accomplish initialization be connected be provided with after; When the transmission data buffer zone is full; Then send to server end 2 to the data of data buffer zone; 3 pairs of data receptions of monitor module situation is monitored, and judges whether the non-status data handled, and whether the response of monitoring the artificial tasks of server end 2 simultaneously arrives.Therefore these two asynchronous execution of snoop procedure can not be affected with other process of guaranteeing client 1.
When monitor module 3 listens to server end 2 when data arrives is arranged; Server end 2 carries out Data Receiving, and the data handshakes between client 1 and the server end 2 is the mode that adopts isomorphism to reply, and preceding 3 that promptly send four-tuple in the data with reception is consistent; Whether isomorphism is meant whether the main key of packet is all identical to data; Wherein main key is meant preceding 3 keys in the data list, then belongs to error status when sending when being non-isomorphism with the packet that receives, if make a mistake then mistake is handled; If do not make a mistake then the data among the XML are transferred to other application process handle; The data communication process of whole client 1 is accomplished, measuring control point 1 in the foregoing description for example, and send orders the form of pairing reception packet that following form should be arranged:
STATE: " 0 ", ID: " measuring control point 1 ", CMD: " send ", XML: " ... " ....
Rearmost ellipsis is represented other of packet; The data format of four-tuple can also be expanded except 4 conventional keys; Different command can have different expansion keys, promptly can be extended to the n tuple, and other in the n tuple plays the effect of subsidiary communications or auxiliary data description.This extended mode not only can be applied to the definition of Data Receiving packet, the definition that also can be used for sending packet, and this mechanism has strengthened the extensibility and the adaptability of whole communication system.
2, the transfer of data of server end 2 and processing procedure are:
1) verifies whether the data that receive are complete
After 1 pair of data initialization connection of the similar client of completion is provided with; Client 1 is sent to server end 2 with measuring and control data or emulated data; Server end 2 is accomplished Data Receiving, and when monitor module 3 had listened to data arrives, integrity detection module 31 was accomplished the data integrity verification; Verify whether received data format is correct, and its detailed process is following:
At first the packet that receives being carried out character handles; Remove unwanted communication and use control character; And some ESC is reverted to original meaning judge whether braces matees; If do not match then get into the Data Receiving listening state, monitor whether new data are arranged, if Data Matching then send to 32 pairs of data of fail safe detection module to data and carry out fail safe and detect.
In the foregoing description,, data adopt the braces method of matching when being sent or receive, because the data that need send or receive sometimes are longer; In a packet, fail to lay down; Need cut long data, be packaged into many bag data and send respectively and receive, the braces pairing is meant transmission or the reception to long data; The quantity of " { " quantity equals right side " } " if in left side; Can think then that packet sends or receive to finish, with the integrality of the listings format that guarantees packet, if in original transmission data, have braces then need when sending, be other character to the braces escape.
2) verify whether the data that receive are validated users
If verification msg is complete; Then whether legal to the request of landing of fail safe detection module 32 checking clients 1 transfer of data; The integrality of non-status data and status data and the process of security verification are basically identicals; The present invention is embodiment description status safety of data proof procedure with the status data, and its process is following:
As shown in Figure 3, whether checking client 1 is legal, verifies just whether the ID in the four-tuple data registers, if do not have registration or the identifying code of client 1 undesirable then be regarded as illegitimate client.When receiving packet, be after the validated user if confirm client 1, the command entry (key assignments of CMD) that extracts in the packet judges whether it is logging request; If logging request; Then whether this user of inspection logins in the login registration table, if logined then send the refusal login response, if client 1 is first login; Then in log, register, then change other command entry over to if not the request of landing and handle client-side information.Communication mode of the present invention is each client's one process mode, does not allow the client repeatedly to login, owing to log institute information recorded amount is simplified very much, so be placed in the internal memory to improve login client's verifying speed.
In the foregoing description; The identifying code of client 1 and the ID of client write in the database in advance; Identifying code just uses in the initialization connection procedure; Write in the XML key assignments, the form of database can be various ways such as relevant database, XML file, text, and it mainly acts on is to preserve customer information.The maintenance of database can't help communication system and is responsible for, and is responsible for by application system, and communication system is that the retrieval request of application system keeps interface.
3) establishment and startup communicator process
Data mode identification module 4 is non-state type data or state type data according to the situation judgment data of four-tuple STATE key.Learn and be non-state type data then directly send to non-status data receiver module 5 thereby the data that receive are passed to the communication that measuring and control data is accomplished in the shared data exchange area if judge.If judge to learn it is the state type data, state type data reception module 6 accepting state data start communicator process module 7, start service of simulation processing module 8, accomplish the command process of artificial tasks.
Whether as shown in Figure 4, the present invention can retrieve the communication process effort scale according to customer ID, found with the client communication process of judging current request.If set up then create the communication request that a new process is come customer in response end 1, create and accomplish the above-mentioned process of back startup, turn back to the Data Receiving listening state then,
Communicator process module 7 mainly is to monitor not have status data to arrive; Each subprocess all corresponding a certain concrete client; Start the communicator process if there is status data to arrive, receive the command entry in data and the resolution data bag, forward corresponding emulation command processing procedure then to; To handle simulation result at last and send to client 1, get into listening state subsequently once more.Each communicator process is operation independently all, does not disturb mutually, has so also guaranteed the independence of data.Forced termination bind command, communication process detect mistake, these three kinds of situation of response timeout then stop the communicator process if send in client 1.
In the foregoing description, in fact the data communication of server end 2 relies on a plurality of communication processs, and the process that can initiate or found other communication process is called total communication process, and this process also is responsible for the communication of non-status data.Because the relative emulated data quantity of measuring and control data of client 1 is more; Can greatly reduce the traffic load of server end with the stateless communication of this similar master-slave mode, and the more characteristics of the one-way communication of measuring and control data guarantee that this mode can not reduce the allomeric function of TT&C system.Other communication process is also relatively closer to the relation of total communication process; Monitoring to receiving data is responsible for by total communication process; Total communication process can partly be transferred the monitor function that receives data to founded by it communicator process after other processes of founding; Can set up a designated lane for the communication of status data like this, can be transferred to client quickly, satisfy the requirement of some emulation real-time with the result who guarantees emulated data to a certain client.
4) emulation command is handled, accomplished artificial tasks
As shown in Figure 5, the present invention is the process that instance explanation emulated data is handled with the minimum command set of accomplishing the fundamental simulation task.Service of simulation processing module 8 starts simulation process; Obtain simulation parameter from the simulation process sharing data area, the operation simulation process is after artificial tasks is accomplished; Obtain simulation result from the simulation process sharing data area; Accomplish artificial tasks, simultaneously ID is deleted from effort scale, so that client can start new simulation process once more.In the simulation process running, external progress monitor module 33 is kept watch on simulation process, if timer 11 shows that simulation process are overtime, forced termination simulation process then makes the also mandatory termination of corresponding communication process.
The present invention is the digital data communication process of embodiment client 1 and server end 2 with the communication process of a non-status data and the communication process of status data respectively.
The communication process of non-status data:
Client 1 is sent the initialization connection order is set:
{ STATE: " 0 ", ID: " measuring control point 1 ", CMD, " beginConnect ", XML: " password " }
Server end 1 sends the initialization connection order is set:
{ STATE: " 0 ", ID: " measuring control point 1 ", CMD, " beginConnect ", XML: " pass " }
Client 1 is sent measuring and control data:
Figure BDA0000075784620000081
Server end 2 receives measuring and control data:
{ STATE: " 0 ", ID: " measuring control point 1 ", CMD, " send ", XML: " recieved " }
The communication process of status data:
Client 1 is sent the initialization connection order is set:
{ STATE: " 1 ", ID: " emulation terminal 2 ", CMD, " beginConnect ", XML: " password " }
Server end 2 sends the initialization connection order is set:
{ STATE: " 1 ", ID: " emulation terminal 2 ", CMD, " beginConnect ", XML: " pass " }
Client 1 is sent the emulated data order:
Figure BDA0000075784620000082
Server end 2 starts emulated data to be handled:
Figure BDA0000075784620000083
Figure BDA0000075784620000091
In the foregoing description, emulation command comprises saveScene, restoreScene and s imulate, and its implication is respectively: preserve simulated environment, recover simulated environment and start simulation process.Simulated environment is meant the emulated data of client 1 input; Emulated data is the Mathematical Modeling and the parameter of some physical objecies often; Can also use this model for ease, use the saveScene order can it be kept in the database, in needs, use the restoreScene order can it be recovered; The simulate order can start simulation process, and the result of emulation is sent to client 1.Simulate order and other command process modes are maximum is not both asynchronism; The asynchronous execution of other command procedure right and wrong; Mainly be because simulation process is longer; For other services request of customer in response end 1 as early as possible, after starting emulation, should return communication process immediately, and then regularly keep watch on service of simulation and whether finish.Take out simulation result if artificial tasks finishes from shared cache area, send to client 1 then.The another one advantage of asynchronous starting simulation process is that the coupling of communication process and simulation process is very little, and both are only through the shared cache area swap data.So the Simulation Application process of different vendor can combine the composition system with this communication system at an easy rate.
In sum; The present invention is employed in the single upper layer communication agreement through the data state is discerned; The communication of non-status data adopts the mode of common share communication process to realize; After sign off, return listening state immediately, this mode is fit to the more situation of measuring and control data very much, and server end 2 needn't keep connecting and state information for every kind of measuring and control data; And the communication of status data adopts the mode of creating i.e. maintenance to realize; Finishing of single communication can't make process destroy, and the communication process of just creating is also keeping, though this method consumes resources; But improve the response speed of communication, this is very important when real-time simulation.
Above-mentioned each embodiment only is used to explain the present invention; Wherein the structure of each parts and implementation method all can change to some extent; On the basis of technical scheme of the present invention; All improvement and equivalents of individual steps and proportioning being carried out according to the principle of the invention all should not got rid of outside protection scope of the present invention.

Claims (4)

1. communication system that transmits emulated data, it is characterized in that: it comprises a plurality of client end and a server end; Said server end comprises a monitor module, a data mode identification module, a non-status data receiver module, a status data receiver module, a communicator process module and a service of simulation processing module; Said monitor module comprises an integrity detection module, a fail safe detection module and an external progress monitor module;
Said client sends measuring and control data or emulated data arrives said server end; Said server end sends to said monitor module with the data that receive, and said monitor module carries out integrity detection and fail safe detection through said integrity detection module in it and fail safe detection module to data successively;
If client is a legitimate client, then send to said data mode identification module to data; Otherwise get back to said client;
Said data mode identification module is resolved data, if to obtain be non-status data in identification, then through said non-status data receiver module data is passed to the shared data exchange area, accomplishes the communication of measuring and control data; If the data that identification obtains are status datas; Then start said communicator process module through said status data receiver module; Getting into said service of simulation processing module handles data; And result sent into the shared data exchange area, and by the communicator process simulation result is sent to said client, accomplish the communication of emulated data.
2. a kind of communication system that transmits emulated data as claimed in claim 1; It is characterized in that: said client is provided with the timer of control and said server end call duration time; Said server end is provided with a timer that is used to keep watch on the client communication time, and another timer that time of implementation of simulation process is controlled.
3. according to claim 1 or claim 2 a kind of communication system that transmits emulated data; It is characterized in that: the form that data transmit adopts the four-tuple data: STATE, ID, CMD and XML; Said four-tuple data are encapsulated in " { } " braces with the form of key-value pair; Content according to STATE is divided into status data and non-status data with the data of communicating by letter, and non-status data is handled by a total communication process, and status data is then handled with the mode of the single process of every client.
4. a kind of communication system that transmits emulated data as claimed in claim 3 is characterized in that: whether said integrity detection module matees through said four-tuple " { } " braces is carried out integrity detection.
CN 201110197203 2011-07-14 2011-07-14 Communication system for transmitting simulation data Expired - Fee Related CN102325156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110197203 CN102325156B (en) 2011-07-14 2011-07-14 Communication system for transmitting simulation data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110197203 CN102325156B (en) 2011-07-14 2011-07-14 Communication system for transmitting simulation data

Publications (2)

Publication Number Publication Date
CN102325156A true CN102325156A (en) 2012-01-18
CN102325156B CN102325156B (en) 2013-10-16

Family

ID=45452825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110197203 Expired - Fee Related CN102325156B (en) 2011-07-14 2011-07-14 Communication system for transmitting simulation data

Country Status (1)

Country Link
CN (1) CN102325156B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106247A (en) * 2012-12-31 2013-05-15 普天新能源有限责任公司 Data dump method and system
CN104253837A (en) * 2013-06-27 2014-12-31 核工业西南物理研究院 Synchronous communication method of heterogeneous platforms for high-precision real-time control
CN108319704A (en) * 2018-02-05 2018-07-24 北京中关村科金技术有限公司 A kind of method, apparatus, equipment and the storage medium of analysis data
CN108614444A (en) * 2018-06-13 2018-10-02 北京天时前程自动化工程技术有限公司 The visual evaluating method and system of heat station system operating status
CN108873863A (en) * 2018-06-28 2018-11-23 中车株洲电力机车有限公司 Transmission method, system and the multi-locomotive instructed between a kind of locomotive

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036871A1 (en) * 2001-08-15 2003-02-20 Fuller David W. System and method for online specification of measurement hardware
CN101114160A (en) * 2006-07-28 2008-01-30 艾默生过程管理电力和水力解决方案有限公司 Real-time synchronized control and simulation within a process plant
WO2010113160A1 (en) * 2009-03-31 2010-10-07 Yubitech Technologies Ltd. A method and system for emulating desktop software applications in a mobile communication network
CN101872176A (en) * 2010-06-08 2010-10-27 中国农业大学 Method and system for generating measurement and control software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036871A1 (en) * 2001-08-15 2003-02-20 Fuller David W. System and method for online specification of measurement hardware
CN101114160A (en) * 2006-07-28 2008-01-30 艾默生过程管理电力和水力解决方案有限公司 Real-time synchronized control and simulation within a process plant
WO2010113160A1 (en) * 2009-03-31 2010-10-07 Yubitech Technologies Ltd. A method and system for emulating desktop software applications in a mobile communication network
CN101872176A (en) * 2010-06-08 2010-10-27 中国农业大学 Method and system for generating measurement and control software

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱墨等: "基于LabVIEW同步控制的数据采集监控仿真平台", 《计算机仿真》, vol. 23, no. 2, 28 February 2006 (2006-02-28), pages 176 - 179 *
杨永安等: "一种半实物卫星通用测控仿真平台设计与实现", 《飞行器测控学报》, vol. 27, no. 1, 29 February 2008 (2008-02-29), pages 14 - 17 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106247A (en) * 2012-12-31 2013-05-15 普天新能源有限责任公司 Data dump method and system
CN104253837A (en) * 2013-06-27 2014-12-31 核工业西南物理研究院 Synchronous communication method of heterogeneous platforms for high-precision real-time control
CN108319704A (en) * 2018-02-05 2018-07-24 北京中关村科金技术有限公司 A kind of method, apparatus, equipment and the storage medium of analysis data
CN108614444A (en) * 2018-06-13 2018-10-02 北京天时前程自动化工程技术有限公司 The visual evaluating method and system of heat station system operating status
CN108873863A (en) * 2018-06-28 2018-11-23 中车株洲电力机车有限公司 Transmission method, system and the multi-locomotive instructed between a kind of locomotive
CN108873863B (en) * 2018-06-28 2021-06-04 中车株洲电力机车有限公司 Method and system for transmitting locomotive-to-locomotive instruction and multi-locomotive

Also Published As

Publication number Publication date
CN102325156B (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN102325156B (en) Communication system for transmitting simulation data
CN107211001A (en) Forced gate flow is acted on behalf of for input-bound device
WO2003005263A1 (en) Communication system using communication network and communication method
US20100042988A1 (en) Installation Management using Virtual Machines
WO2017143928A1 (en) Data transmission method, virtual machine, and host server
WO2010019000A3 (en) Method and system for providing input in home network using upnp
CN108833578B (en) Method and related equipment for duplex communication based on FIFO named pipeline
US10594768B2 (en) Method and apparatus of performing remote command dispatching
CN104079571A (en) Method and device for recognizing Android simulator
CN106773749A (en) Internet of things equipment control method, control end and system
CN102647465B (en) File transfer protocol (FTP) data transmission method and device applied in stack system
CN102136964B (en) Website testing method and system
CN104079624A (en) Message access layer framework based on service and implementing method thereof
US20220131960A1 (en) Methods and devices in a blockchain network
CN103534973B (en) A kind of methods, devices and systems reducing transmission control layer confirmation message
CN114615082A (en) System and method for simulating TCP duplex safety communication by using forward and reverse network gates
CN104850518A (en) Method for remotely logging in computer
US9853832B2 (en) Wireless ethernet network controlling method and wireless ethernet network system
CN105471718A (en) Realization method of full duplex message queue
CN109167809B (en) Internet of things platform docking data transmission format processing method
CN106330971A (en) Authentication method, server and system based on stateless service
CN112118284A (en) Gateway device-oriented http data request method, device and medium
WO2016015614A1 (en) Ciphertext sending method, ciphertext transmission method, mobile terminal and communication base station
CN108400985B (en) Method for realizing precise detection hijacking of HTTPS (hypertext transfer protocol secure) request
CN101662410A (en) Tri-element authentification expandable method based on tunneling technique and system thereof

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131016

Termination date: 20140714

EXPY Termination of patent right or utility model