[go: up one dir, main page]

CN102043678B - Method and system for realizing real-time communication between soft operating interface system and ultrasonic system - Google Patents

Method and system for realizing real-time communication between soft operating interface system and ultrasonic system Download PDF

Info

Publication number
CN102043678B
CN102043678B CN 201010603105 CN201010603105A CN102043678B CN 102043678 B CN102043678 B CN 102043678B CN 201010603105 CN201010603105 CN 201010603105 CN 201010603105 A CN201010603105 A CN 201010603105A CN 102043678 B CN102043678 B CN 102043678B
Authority
CN
China
Prior art keywords
order
operation interface
soft operation
ultrasonic system
interface system
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.)
Active
Application number
CN 201010603105
Other languages
Chinese (zh)
Other versions
CN102043678A (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.)
Sonoscape Medical Corp
Original Assignee
Sonoscape 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 Sonoscape Co Ltd filed Critical Sonoscape Co Ltd
Priority to CN 201010603105 priority Critical patent/CN102043678B/en
Publication of CN102043678A publication Critical patent/CN102043678A/en
Application granted granted Critical
Publication of CN102043678B publication Critical patent/CN102043678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for realizing the real-time communication between a soft operating interface system and an ultrasonic system. A group of communication protocols are executed between the soft operating interface system and the ultrasonic system sequentially, so that the soft operating interface system and the ultrasonic system can perform the effective real-time communication while the independence of the soft operating interface system and the ultrasonic system is ensured, and the soft operating interface system and the ultrasonic system can be maintained respectively and independently and have the upgrading function respectively, have high expansibility and are low in maintenance cost. The method comprises the following steps of: executing a version matching verification protocol first; after the version matching verification protocol is executed successfully, executing a file data downloading protocol; and after the file data downloading protocol is executed successfully, executing a real-time interactive protocol, wherein the previous step is the basis for the next step, and if the previous step is unsuccessful, the next step is not executed any more.

Description

Realize the method and system of soft operation interface system and ultrasonic system real-time communication
Technical field
The present invention relates to the ultrasonic system technical field, particularly relate to a kind of method and system of realizing soft operation interface system and ultrasonic system real-time communication.Said soft operation interface system is meant and is used for showing the submenu that ultrasonic system is controled and the subsystem of various parameter informations; Comprise touch-screen subsystem, wireless controller, PC terminal etc.; Be different from " the hard guidance panel " that be provided with on the ultrasonic system, said " hard guidance panel " comprises button, knob scrambler, slide block pot etc.
Background technology
Along with science and technology development, the function that ultrasonic system comprises is more and more, and the operation of correlation function and the adjusting of parameter become increasingly complex, and is therefore also increasingly high for the requirement of terminal user's action required technical ability." the hard guidance panel " of traditional ultrasonic system is the man-machine interface of ultrasonic system, generally comprises function button, knob scrambler, slide block pot etc.In recent years; People are studying on some bigger ultrasonic systems and are using " hard guidance panel " and " soft operation interface " simultaneously; " soft operation interface " refers generally to touch-screen subsystem, wireless controller, PC terminal etc., and " hard guidance panel " is used for switching bigger functional module or prompt operation; " soft operation interface " is used for showing submenu and the various parameter information that ultrasonic system is controled, thereby reduces Operating Complexity, improves the quality of display message.
Communication between existing " soft operation interface " system and the ultrasonic system, mainly adopt following two kinds of schemes to realize:
1) two video cards: two video card functions of utilizing PC (personal computer) mainboard to provide; The ultrasonic system basic display unit uses the 1st video card; The display at " soft operation interface " uses the 2nd video card; Host computer system is controlled the displaying contents of basic display unit and " soft operation interface " display simultaneously, and handles the touch-screen input;
2) independent particle system: independently touch-screen subsystem is used in " soft operation interface "; The content of parameter of storage operation submenu and demonstration in advance in the subsystem; Ultrasonic system is connected through serial ports or alternate manner with the touch-screen subsystem, uses the communication of self-defining agreement between.
But some problems that existing scheme exists are: ultrasonic system must possess a kind of particular video frequency output function is arranged; And use two video card technology is to realize the common scheme of this function; Be about to the 2nd video card and be used for the particular video frequency output function; If as " soft operation interface " system, bring difficulty then can for the particular video frequency output function, and some mainboards do not have two video card hardware capabilitys the 2nd video card; In the independent particle system scheme; Ultrasound system functions is when constantly upgrading according to client's demand; " soft operation interface " system software that also needs upgrading coupling simultaneously, and, in ultrasonic system; The user can often add self-defined information, yet these operations are easy to cause and the subsystem information mismatch problem.
Summary of the invention
The object of the invention is exactly in order to overcome above deficiency; A kind of method and system of realizing soft operation interface system and ultrasonic system real-time communication is provided; Realize the real-time communication of soft operation interface system and ultrasonic system, guaranteed the consistance of soft operation interface system and ultrasonic system data and mutual real-time.
Technical scheme of the present invention is:
A kind of method that realizes soft operation interface system and ultrasonic system real-time communication; It is characterized in that; Be included between said soft operation interface system and the ultrasonic system and carry out one group of communications protocol in regular turn, at first carry out guaranteeing both compatible version match indentification protocols according to following steps; After the version match indentification protocol runs succeeded, carry out the file data download protocol that guarantees both data consistencies; After the file data download protocol runs succeeded, carry out guaranteeing that both operate the real-time, interactive agreement of real-time; Previous step is the basis of a back step, and previous step is unsuccessful, and a then back step is no longer carried out; Said soft operation interface system is meant and is used for showing the submenu that ultrasonic system is controled and the subsystem of various parameter informations.
Every kind of agreement in the said communications protocol all comprises the plurality of sub order, and each subcommand comprises 0 or a plurality of additional data.
The subcommand of said version match indentification protocol comprises the self check success command, the version viewing command, and the version information order, edition compatibility order and version are ordered unusually; The additional data of said self check success command comprises the device type information of 4 bytes, and the additional data of said version information order comprises the edition data byte number information and the multibyte protocol version data information of 1 byte.
The subcommand of said file data download protocol comprises the file attribute order, the file content order, and the inspection of document and order, file transmits the order that finishes, and transmits success command and transmits the failure order; The additional data of said file attribute order comprises the document size information of 4 bytes and the blocks of files size information of 2 bytes, and the additional data of said file content order comprises the blocks of files numbering of each 1 byte of head/tail and the blocks of files content information of specified bytes; The additional data of the said inspection of document and order comprises the fixed byte check and the information of 4 bytes.
The subcommand of said real-time, interactive agreement comprises regulates correctly order of parameter command, choice menus order, appointed function order, parameter display command, reception; But said adjusting parameter command is used to identify the parameter information that stepping is regulated, and comprises parameter I D, regulates direction and regulates number of times; Said choice menus order is used to identify selectable menu messages, comprises menu ID; Said appointed function order is used to identify selectable functions of modules, comprises functional identity and state of activation; Said parameter display command is used to identify the parameter value that changes parameter, comprises parameter I D, parameter value byte number and parameter value; The correct order of said reception is used to identify the completion of this communication process, does not comprise additional data.
The implementation of said version match indentification protocol may further comprise the steps:
101. the start of soft operation interface system after the self check success, is constantly sent " self check success " order to ultrasonic system, till receiving " version is checked " order that ultrasonic system is replied; Ultrasonic system sends " version is checked " order to the soft operation interface system after regularly receiving " self check success " order;
102. after the soft operation interface system receives " version is checked " order, send " version information " order to ultrasonic system; After ultrasonic system regularly received " version information " order, whether the version of detection protocol was compatible, if compatible, then mated successfully, sent " edition compatibility " order to the soft operation interface system; Otherwise send " version is unusual " order;
103. the soft operation interface system receives " edition compatibility " order back and sends " receiving correct " order to ultrasonic system, prepares to get into next process; If the soft operation interface system receives " version is unusual " order, send " receiving correct " order to ultrasonic system, sign off and to user prompt " unmatched protocol version please be upgraded "; Ultrasonic system gets into next process after regularly receiving edition compatibility " receive correct " order, if after regularly receiving unusual " receiving correct " order of version, and sign off then.
The implementation of said file data download protocol may further comprise the steps:
201. ultrasonic system sends " file attribute " order to the soft operation interface system; After the soft operation interface system receives " file attribute " order, the resolution file attribute information, and send " transmitting successfully " to ultrasonic system and order; Said resolution file attribute information is meant the file size and the big or small information of each blocks of files that transmits that is received in advance;
202. ultrasonic system is pressed the specified file content size after regularly receiving " transmitting successfully " order, sends " file content " order to the soft operation interface system, transmits the 1st block file content; After the soft operation interface system received " file content " order, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; After ultrasonic system regularly received " transmitting failure " order, the 1st block file content retransferred;
203. after ultrasonic system regularly receives " transmitting successfully " order, send " file content " order to the soft operation interface system again, transmit N block file content, this process lasts till last blocks of files always; If after ultrasonic system regularly received " transmitting failure " order, the lastblock file content retransferred; After the soft operation interface system received N block file content, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; This process lasts till last blocks of files always;
204. after last blocks of files content that regularly receives ultrasonic system " transmits successfully " order, send " inspection of document with " order to the soft operation interface system; After the soft operation interface system receives " inspection of document with " order, compliance test with, if check with correct, sent " transmitting successfully " to ultrasonic system and is ordered; Otherwise send " transmitting failure " order, jump to step 201; The correctness of whole file is confirmed in said compliance test and the check and the comparison that are meant and calculate;
205. after ultrasonic system regularly receives " transmitting successfully " order, send " file transmits and finishes " order, prepare to get into next process to the soft operation interface system; The soft operation interface system is resolved file in download after receiving " file transmits and finishes " order, prepares to carry out next process; Ultrasonic system jumps to step 201 after regularly receiving " transmitting failure " order, retransmits file; Said parsing file in download is meant that the operation interface system need be by the format analysis file, and parsing ultrasonic system need be at the menu content of " soft operation interface " system demonstration and the initial value of parameter.
Said real-time, interactive agreement implementation process may further comprise the steps:
301. the soft operation interface system, receive user input after, convert corresponding " interactive command " into, send to ultrasonic system; Regularly receive " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After ultrasonic system receives " interactive command ", send " receiving correct " order to the soft operation interface system earlier, handle the order that receives then;
302. ultrasonic system according to processing command, obtains corresponding subsequent commands, sends to the soft operation interface system; If need not be mutual with the soft operation interface system, then this communication finishes; If need be mutual with the soft operation interface system, then conversion " interactive command " be sent to the soft operation interface system, regularly receives " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After the soft operation interface system receives " interactive command ", send " receiving correct " order to ultrasonic system earlier, handle the order that receives then.
Said " interactive command " is meant the subcommand of real-time, interactive agreement, comprises regulating correctly order of parameter command, choice menus order, appointed function order, parameter display command, reception; Said " adjusting parameter " and " choice menus " order can only be that the soft operation interface system sends to ultrasonic system; Said " parameter demonstration " order can only be that ultrasonic system sends to the soft operation interface system; Said " appointed function " and " receiving correct " order can two-wayly be sent.
Said timing receives, and is meant that said soft operation interface system or ultrasonic system receive the order that the other side sends by the preset time section, and said preset time section is set at 3 seconds.
A kind of system that realizes soft operation interface system and ultrasonic system real-time communication; It is characterized in that; Comprise: be used between said soft operation interface system and ultrasonic system, carrying out in regular turn the device of one group of communications protocol, comprise: be used at first carrying out the unit that guarantees both compatible version match indentification protocols; After being used for the version match indentification protocol and running succeeded, carry out the unit of the file data download protocol that guarantees both data consistencies; After being used for the file data download protocol and running succeeded, carry out guaranteeing that both operate the unit of the real-time, interactive agreement of real-time; Wherein, previous element is the basis of a back unit, and previous element is carried out unsuccessful, and a then back unit is no longer carried out; Said soft operation interface system is meant and is used for showing the submenu that ultrasonic system is controled and the subsystem of various parameter informations.
Said soft operation interface system comprises touch-screen subsystem, wireless controller or PC terminal.
Said soft operation interface system is independent of outside the ultrasonic system or is included among the ultrasonic system.
Technique effect of the present invention:
The present invention is through carry out one group of communications protocol in regular turn between soft operation interface system and ultrasonic system; Comprise version match indentification protocol, file data download protocol and real-time, interactive agreement; Guaranteed that soft operation interface system and ultrasonic system can carry out effective real-time communication, guaranteed simultaneously independence separately again, both sides are independent maintenance and have upgrade function separately separately; And extendability is strong, and maintenance cost is low.Described version match indentification protocol has guaranteed the soft operation interface system and the ultrasonic system compatibility of different implementations, different connected modes; Described file data download protocol has guaranteed the consistance of soft operation interface system and ultrasonic system data, and described real-time, interactive agreement then can guarantee the interactive real time property of soft operation interface system and ultrasonic system operation.
The soft operation interface system that the present invention adopts each start to download ultrasonic system shows and service data, has guaranteed the consistance and the real-time of soft operation interface system data; Simultaneously, the present invention is the realization and the ultrasonic system decoupling zero of soft operation interface system, avoids dependence that the soft operation interface system realizes, unicity and replaceability not; In addition, the present invention adopts one group of orderly step, is convenient to existence and compatibility that ultrasonic system can be discerned the soft operation interface system automatically.
Description of drawings
Fig. 1 shows the communication process synoptic diagram of " soft operation interface " system and ultrasonic system.
Fig. 2 shows the communications protocol definition synoptic diagram of " soft operation interface " system and ultrasonic system.
Fig. 3 shows the version match indentification protocol implementation synoptic diagram of " soft operation interface " system and ultrasonic system.
Fig. 4 shows the file data download protocol implementation synoptic diagram of " soft operation interface " system and ultrasonic system.
Fig. 5 shows the real-time, interactive protocol implementation synoptic diagram of " soft operation interface " system and ultrasonic system.
Embodiment
Be elaborated below in conjunction with the accompanying drawing specific embodiments of the invention:
In ultrasonic system; A ultrasonic system can be supported multiple " soft operation interface " system; Like touch-screen subsystem, Digiplex or the like, " soft operation interface " system is a kind of possibility, has " plugging and unplugging " function; The connected mode of " soft operation interface " system and ultrasonic system is also varied, like serial ports, PS2, network, USB, wireless or the like.Only if ultrasound system functions bug repairs or great function upgrading; Otherwise less change, whether " soft operation interface " system then should be at interface, connected mode, aspect the apolegamy, and is independent with ultrasonic system; But aspect data consistency and interactive real time property, keep synchronously with ultrasonic system again.
To achieve these goals; The invention provides the method for a kind of realization the " soft operation interface " system and ultrasonic system real-time communication; With reference to figure 1; This method realizes the real-time communication of " soft operation interface " system and ultrasonic system through one group of communications protocol is provided between " soft operation interface " system and ultrasonic system, this group communications protocol comprises following three parts in regular turn:
The version match indentification protocol of " soft operation interface " system and ultrasonic system;
The file data download protocol of " soft operation interface " system and ultrasonic system;
The real-time, interactive agreement of " soft operation interface " system and ultrasonic system.
Above-mentioned three part agreements; Guaranteed that " soft operation interface " system and ultrasonic system can carry out effective real-time communication; A part of agreement implementation is the basis that a part of agreement in back is carried out wherein, and preceding a part of agreement is carried out unsuccessful, and then a part of agreement implementation in back is just no longer carried out.
In order further to realize the purpose of " soft operation interface " system and ultrasonic system real-time communication, must the communications protocol of " soft operation interface " system and ultrasonic system support be defined, concrete definition mode is as shown in Figure 2.This group communications protocol is divided three classes, and is respectively the version match indentification protocol, the file data download protocol, and the real-time, interactive agreement, wherein every kind of agreement all comprises the plurality of sub order, and each subcommand comprises 0 or a plurality of additional data." soft operation interface " system and ultrasonic system are realized protocol contents through supporting these agreements, and through the protocol contents process is handled, accomplish the real-time communication of " soft operation interface " system and ultrasonic system.
The subcommand of version match indentification protocol comprises the self check success command, the version viewing command, and the version information order, edition compatibility order and version are ordered unusually; The additional data of self check success subcommand comprises the device type information of 4 bytes, and the additional data of version information subcommand comprises the edition data byte number information and the multibyte protocol version data information of 1 byte.
The subcommand of file data download protocol comprises the file attribute order, the file content order, and the inspection of document and order, file transmits the order that finishes, and transmits success command and transmits the failure order; The additional data of said file attribute subcommand comprises the document size information of 4 bytes and the blocks of files size information of 2 bytes, and the additional data of said file content subcommand comprises the blocks of files content information of the blocks of files numbering and the specified bytes (by the blocks of files size regulation of 2 bytes) of each 1 byte (being used for authenticating documents block number redundant validation) of head/tail; The additional data of the said inspection of document and subcommand comprises the fixed byte check and the information of 4 bytes.
The subcommand of real-time, interactive agreement comprises regulates correctly order of parameter command, choice menus order, appointed function order, parameter display command, reception.But said adjusting parameter subcommand is used to identify the parameter information that stepping is regulated, and comprises parameter I D, regulates direction and regulates number of times; Said choice menus subcommand is used to identify selectable menu messages, comprises menu ID; Said appointed function subcommand is used to identify selectable functions of modules, comprises functional identity and state of activation; Said parameter shows that subcommand is used to identify the parameter value that changes parameter, comprises parameter I D, parameter value byte number and parameter value; The correct subcommand of affiliated reception is used to identify the completion of this communication process, does not comprise additional data.
After one group of agreement supporting " soft operation interface " system and ultrasonic system was defined, the concrete implementation with regard to each agreement described in detail below.
For effectively carrying out of the real-time communication that guarantees " soft operation interface system " and ultrasonic system; At first between is carried out the version match indentification protocol; The successful execution of version match indentification protocol is the basis of back file data download protocol and real-time, interactive agreement, and the version match indentification protocol is carried out unsuccessful, and then two agreements in back can't be carried out; " soft operation interface " system and ultrasonic system can't carry out real-time communication, and communication process will interrupt.
Version match indentification protocol implementation between " soft operation interface " system and the ultrasonic system, as shown in Figure 3, may further comprise the steps:
101 starts after the success of " soft operation interface " System self-test, are constantly sent " self check success " order to ultrasonic system, till receiving " version is checked " order that ultrasonic system is replied; Ultrasonic system sends " version is checked " order to " soft operation interface " system after regularly receiving " self check success ";
After 102 " soft operation interface " system receives " version is checked " order, send " version information " order to ultrasonic system; After ultrasonic system regularly received " version information ", whether the version of detection protocol was compatible, if compatible, and successful match and send " edition compatibility " order then to " soft operation interface " system; Otherwise send " version is unusual " order;
103 " soft operation interface " system receives " edition compatibility " order back and sends " receiving correct " order to ultrasonic system; Prepare to get into next process; After " if soft operation interface " system receives " version is unusual " order; Send " receiving correct " order to ultrasonic system, sign off and to user prompt " unmatched protocol version please be upgraded "; Ultrasonic system gets into next process after regularly receiving edition compatibility " receive correct " order, if after regularly receiving unusual " receiving correct " order of version, and sign off then.
Wherein the timing in the step 101 and 102 can be made as 3 seconds, did not regularly receive any information, and ultrasonic system will be retransmitted order, and following timing receives same meaning.
Behind " soft operation interface " system boot, constantly send " self check success " message to ultrasonic system, initiatively mutual with ultrasonic system; Ultrasonic system is after detecting " self check success " message, and both sides begin to carry out efficient communication; When ultrasonic system proceeded to step " sign off ", explaining did not have " soft operation interface " system, operation and " soft operation interface " system independence after this starts; " soft operation interface " when system proceeded to " sign off ", to user prompt " unmatched protocol version please be upgraded ", the prompting user version was unusual, need carry out updating operation.
After the version match agreement between " soft operation interface " system and the ultrasonic system runs succeeded, can get into next step agreement implementation process, i.e. the execution of file data download protocol.
The implementation of the file data download protocol between " soft operation interface " system and the ultrasonic system, as shown in Figure 4, comprise following steps:
201 ultrasonic systems send " file attribute " order to " soft operation interface " system; After " soft operation interface " system receives " file attribute " order, the resolution file attribute information, and send " transmitting successfully " to ultrasonic system and order; Said resolution file attribute information is meant the file size and the big or small information of each blocks of files that transmits that is received in advance.
202 ultrasonic systems are pressed the specified file content size after regularly receiving " transmitting successfully " order, send " file content " order to " soft operation interface " system, transmit the 1st block file content; After " soft operation interface " system received " file content " order, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; After ultrasonic system regularly received " transmitting failure " order, the 1st block file content retransferred;
203. after ultrasonic system regularly receives " transmitting successfully " order, send " file content " order to " soft operation interface " system again, transmit the 2nd block file content; If after ultrasonic system regularly received " transmitting failure " order, the 2nd content retransferred; This process lasts till last blocks of files always.After " soft operation interface " system received " file content " order, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; This process lasts till last blocks of files always;
204. after ultrasonic system regularly receives " transmitting successfully " order, send " inspection of document with " order to " soft operation interface " system; After " soft operation interface " system receives " inspection of document with " order, compliance test with, if check with correct, sent " transmitting successfully " to ultrasonic system and is ordered; Otherwise send " transmitting failure " order, jump to step 201; Said compliance test and be meant transmitted a file after, transmit again check with, with the check and the comparison of calculating, to reaffirm the correctness of whole file.If check and incorrect, then the data of whole file are also insincere.
205. after ultrasonic system regularly receives " transmitting successfully " order, send " file transmits and finishes " order, prepare to get into next process to " soft operation interface " system; " soft operation interface system " resolved file in download after receiving " file transmits and finishes " order, prepares to carry out next process; Ultrasonic system jumps to step 201 after regularly receiving " transmitting failure " order, retransmits file; Said parsing file in download is meant that " soft operation interface system " needs to press the format analysis file, and parsing ultrasonic system need be at the menu content of " soft operation interface " system demonstration and the initial value of parameter.
Wherein, " file attribute " in the step 201 ordered, and includes the file total bytes (document size information) of 4 bytes, the byte number (blocks of files size information) that the appointment of 2 bytes transmits, and last block file calculates, and is generally less than specified file piece byte." file content " order in the step 202 and 203 comprises the blocks of files content, the block number of each 1 byte of initial and end." inspection of document with " order in the step 204 comprises the CRC check and (fixed byte check and information) of 4 bytes.
In case ultrasonic system is confirmed " soft operation interface " system and is existed; And protocol edition compatible; The data that just need show and operate in " soft operation interface " system convert a file to, download to " soft operation interface " system; The time delay of transport process, transmission mistake are able to guarantee through modes such as regularly detection, checks.
When the version match indentification protocol between " soft operation interface " system and the ultrasonic system and file data download protocol in regular turn after the successful execution, just can carry out the final step communication, i.e. the real-time, interactive agreement implementation of " soft operation interface " system and ultrasonic system.In the real-time, interactive of " soft operation interface " system and ultrasonic system, according to the demand of ultrasonic system and " soft operation interface " system interaction, the present invention is divided into one group of subcommand with real-time, interactive, comprises following several types:
" adjusting parameter " order: but be used to identify the parameter information that stepping is regulated, comprise parameter I D, regulate direction, regulate number of times;
" choice menus " order: be used to identify selectable menu messages, comprise menu ID;
" appointed function " order: be used to identify selectable functions of modules, comprise functional identity and state of activation;
" parameter demonstration " order: be used to identify the parameter value that changes parameter, comprise parameter I D and parameter value;
" receive correct " and order, be used to identify the completion of this communication process, do not comprise additional data.
Wherein, " adjusting parameter " and " choice menus " order can only be that " soft operation interface " system sends to ultrasonic system." parameter demonstration " order can only be sent to " soft operation interface " system by ultrasonic system, and " appointed function " and " receiving correct " order can two-wayly be sent.
Real-time, interactive agreement implementation process between " soft operation interface " system and the ultrasonic system is as shown in Figure 5, and its execution in step is following:
" 301. soft operation interface " system, receive user input after, convert corresponding " interactive command " into, send to ultrasonic system; Regularly receive " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After ultrasonic system receives " interactive command ", send " receiving correct " order to " soft operation interface " system earlier, handle the order that receives then;
302. ultrasonic system according to processing command, obtains corresponding subsequent commands, sends to " soft operation interface " system; If not need with " soft operation interface " system interaction, then this communication finishes; If need with " soft operation interface " system interaction, then conversion " interactive command " is sent to " soft operation interface " system, regularly receives " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After " soft operation interface " system receives " interactive command ", send " receiving correct " order to ultrasonic system earlier, handle the order that receives then.
Said " interactive command " is meant the subcommand of real-time, interactive agreement, comprises regulating correctly order of parameter command, choice menus order, appointed function order, parameter display command, reception; In step 302, whether carry out mutual with " soft operation interface " system by ultrasonic system decision, some function does not have.
Support " soft operation interface " system and ultrasonic system of said communication protocol, can through serial ports, USB, network, or mode such as wireless connect.Said " soft operation interface " system can be touch-screen subsystem, wireless controller, PC terminal etc.Said " soft operation interface " can be to be independent of ultrasonic system, also can be included in the ultrasonic system.
Should be pointed out that the above embodiment can make those skilled in the art more fully understand the invention, but do not limit the present invention in any way creation.Therefore, although this instructions and embodiment have carried out detailed explanation to the invention,, it will be appreciated by those skilled in the art that still and can make amendment or be equal to replacement the invention; And all do not break away from the technical scheme and the improvement thereof of the spirit and the scope of the invention, and it all is encompassed in the middle of the protection domain of the invention patent.

Claims (13)

1. a method that realizes soft operation interface system and ultrasonic system real-time communication is characterized in that, between said soft operation interface system and ultrasonic system, carries out one group of communications protocol in regular turn, at first carries out to guarantee both compatible version match indentification protocols; After the version match indentification protocol runs succeeded, carry out the file data download protocol that guarantees both data consistencies; After the file data download protocol runs succeeded, carry out guaranteeing that both operate the real-time, interactive agreement of real-time; Previous step is the basis of a back step, and previous step is unsuccessful, and a then back step is no longer carried out; Said soft operation interface system is meant and is used for showing the submenu that ultrasonic system is controled and the subsystem of various parameter informations.
2. the method for realization soft operation interface system according to claim 1 and ultrasonic system real-time communication is characterized in that, every kind of agreement in the said communications protocol all comprises the plurality of sub order, and each subcommand comprises 0 or a plurality of additional data.
3. the method for realization soft operation interface system according to claim 2 and ultrasonic system real-time communication; It is characterized in that the subcommand of said version match indentification protocol comprises the self check success command, the version viewing command; The version information order, edition compatibility order and version are ordered unusually; The additional data of said self check success command comprises the device type information of 4 bytes, and the additional data of said version information order comprises the edition data byte number information and the multibyte protocol version data information of 1 byte.
4. the method for realization soft operation interface system according to claim 2 and ultrasonic system real-time communication; It is characterized in that; The subcommand of said file data download protocol comprises the file attribute order, file content order, the inspection of document and order; File transmits the order that finishes, and transmits success command and transmits the failure order; The additional data of said file attribute order comprises the document size information of 4 bytes and the blocks of files size information of 2 bytes; The additional data of said file content order comprises the blocks of files numbering of each 1 byte of head/tail and the blocks of files content information of specified bytes, and the additional data of the said inspection of document and order comprises the fixed byte check and the information of 4 bytes.
5. the method for realization soft operation interface system according to claim 2 and ultrasonic system real-time communication; It is characterized in that the subcommand of said real-time, interactive agreement comprises regulates correctly order of parameter command, choice menus order, appointed function order, parameter display command, reception; But said adjusting parameter command is used to identify the parameter information that stepping is regulated, and comprises parameter I D, regulates direction and regulates number of times; Said choice menus order is used to identify selectable menu messages, comprises menu ID; Said appointed function order is used to identify selectable functions of modules, comprises functional identity and state of activation; Said parameter display command is used to identify the parameter value that changes parameter, comprises parameter I D, parameter value byte number and parameter value; The correct order of said reception is used to identify the completion of this communication process, does not comprise additional data.
6. the method for realization soft operation interface system according to claim 3 and ultrasonic system real-time communication is characterized in that, the implementation of said version match indentification protocol may further comprise the steps:
101. the start of soft operation interface system after the self check success, is constantly sent " self check success " order to ultrasonic system, till receiving " version is checked " order that ultrasonic system is replied; Ultrasonic system sends " version is checked " order to the soft operation interface system after regularly receiving " self check success " order;
102. after the soft operation interface system receives " version is checked " order, send " version information " order to ultrasonic system; After ultrasonic system regularly received " version information " order, whether the version of detection protocol was compatible, if compatible, then mated successfully, sent " edition compatibility " order to the soft operation interface system; Otherwise send " version is unusual " order;
103. the soft operation interface system receives " edition compatibility " order back and sends " receiving correct " order to ultrasonic system; Prepare to get into next process; After " if soft operation interface " system receives " version is unusual " order; Send " receiving correct " order to ultrasonic system, sign off and to user prompt " unmatched protocol version please be upgraded "; Ultrasonic system gets into next process after regularly receiving edition compatibility " receive correct " order, if after regularly receiving unusual " receiving correct " order of version, and sign off then.
7. the method for realization soft operation interface system according to claim 4 and ultrasonic system real-time communication is characterized in that, the implementation of said file data download protocol may further comprise the steps:
201. ultrasonic system sends " file attribute " order to the soft operation interface system; After the soft operation interface system receives " file attribute " order, the resolution file attribute information, and send " transmitting successfully " to ultrasonic system and order; Said resolution file attribute information is meant the file size and the big or small information of each blocks of files that transmits that is received in advance;
202. ultrasonic system is pressed the specified file content size after regularly receiving " transmitting successfully " order, sends " file content " order to the soft operation interface system, transmits the 1st block file content; After the soft operation interface system received " file content " order, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; After ultrasonic system regularly received " transmitting failure " order, the 1st block file content retransferred;
203. after ultrasonic system regularly receives " transmitting successfully " order, send " file content " order to the soft operation interface system again, transmit N block file content, this process lasts till last blocks of files always; If after ultrasonic system regularly received " transmitting failure " order, the lastblock file content retransferred; After the soft operation interface system received N block file content, checking this document content if this document content is correct, was sent " transmitting successfully " order to ultrasonic system; Otherwise send " transmitting failure " order; This process lasts till last blocks of files always;
204. after last blocks of files content that regularly receives ultrasonic system " transmits successfully " order, send " inspection of document with " order to the soft operation interface system; After the soft operation interface system receives " inspection of document with " order, compliance test with, if check with correct, sent " transmitting successfully " to ultrasonic system and is ordered; Otherwise send " transmitting failure " order, jump to step 201; The correctness of whole file is confirmed in said compliance test and the check and the comparison that are meant and calculate;
205. after ultrasonic system regularly receives " transmitting successfully " order, send " file transmits and finishes " order, prepare to get into next process to the soft operation interface system; The soft operation interface system is resolved file in download after receiving " file transmits and finishes " order, prepares to carry out next process; Ultrasonic system regularly receives and " transmits failure and " after the order, jump to step 201, the repeating transmission file; Said parsing file in download is meant that the soft operation interface system need be by the format analysis file, and parsing ultrasonic system need be at the menu content of " soft operation interface " system demonstration and the initial value of parameter.
8. the method for realization soft operation interface system according to claim 5 and ultrasonic system real-time communication is characterized in that, said real-time, interactive agreement implementation process may further comprise the steps:
301. the soft operation interface system, receive user input after, convert corresponding " interactive command " into, send to ultrasonic system; Regularly receive " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After ultrasonic system receives " interactive command ", send " receiving correct " order to the soft operation interface system earlier, handle the order that receives then;
302. ultrasonic system according to processing command, obtains corresponding subsequent commands, sends to the soft operation interface system; If need not be mutual with the soft operation interface system, then this communication finishes; If need be mutual with the soft operation interface system, then conversion " interactive command " be sent to the soft operation interface system, regularly receives " receiving correct " order then, if regularly receive " receiving correct " order, then this communication finishes; Otherwise retransmit order; After the soft operation interface system receives " interactive command ", send " receiving correct " order to ultrasonic system earlier, handle the order that receives then.
9. the method for realization soft operation interface system according to claim 8 and ultrasonic system real-time communication; It is characterized in that; Said " interactive command " is meant the subcommand of real-time, interactive agreement; Comprise and regulate parameter command, choice menus order, appointed function order, parameter display command, receive correctly order; Said " adjusting parameter " and " choice menus " order can only be that the soft operation interface system sends to ultrasonic system; Said " parameter demonstration " order can only be that ultrasonic system sends to the soft operation interface system; Said " appointed function " and " receiving correct " order can two-wayly be sent.
10. according to the method for one of claim 6 to 9 described realization soft operation interface system and ultrasonic system real-time communication; It is characterized in that; Said timing receives; Be meant that said soft operation interface system or ultrasonic system receive the order that the other side sends by the preset time section, said preset time section is set at 3 seconds.
11. system that realizes soft operation interface system and ultrasonic system real-time communication; It is characterized in that; Comprise: be used between said soft operation interface system and ultrasonic system, carrying out in regular turn the device of one group of communications protocol, comprise: be used at first carrying out the unit that guarantees both compatible version match indentification protocols; After being used for the version match indentification protocol and running succeeded, carry out the unit of the file data download protocol that guarantees both data consistencies; After being used for the file data download protocol and running succeeded, carry out guaranteeing that both operate the unit of the real-time, interactive agreement of real-time; Wherein, previous element is the basis of a back unit, and previous element is carried out unsuccessful, and a then back unit is no longer carried out; Said soft operation interface system is meant and is used for showing the submenu that ultrasonic system is controled and the subsystem of various parameter informations.
12. the system of realization soft operation interface system according to claim 11 and ultrasonic system real-time communication is characterized in that, said soft operation interface system comprises touch-screen subsystem, wireless controller or PC terminal.
13. the system of realization soft operation interface system according to claim 11 and ultrasonic system real-time communication is characterized in that, said soft operation interface system is independent of outside the ultrasonic system or is included among the ultrasonic system.
CN 201010603105 2010-12-23 2010-12-23 Method and system for realizing real-time communication between soft operating interface system and ultrasonic system Active CN102043678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010603105 CN102043678B (en) 2010-12-23 2010-12-23 Method and system for realizing real-time communication between soft operating interface system and ultrasonic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010603105 CN102043678B (en) 2010-12-23 2010-12-23 Method and system for realizing real-time communication between soft operating interface system and ultrasonic system

Publications (2)

Publication Number Publication Date
CN102043678A CN102043678A (en) 2011-05-04
CN102043678B true CN102043678B (en) 2012-05-09

Family

ID=43909831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010603105 Active CN102043678B (en) 2010-12-23 2010-12-23 Method and system for realizing real-time communication between soft operating interface system and ultrasonic system

Country Status (1)

Country Link
CN (1) CN102043678B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231798A (en) * 2019-05-21 2019-09-13 上海航天设备制造总厂有限公司 Communication Interaction Response Mechanism Between Human-Computer Interface and Programmable Logic Controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6440071B1 (en) * 1999-10-18 2002-08-27 Guided Therapy Systems, Inc. Peripheral ultrasound imaging system
CN101040245A (en) * 2004-10-12 2007-09-19 皇家飞利浦电子股份有限公司 Ultrasound touchscreen user interface and display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6440071B1 (en) * 1999-10-18 2002-08-27 Guided Therapy Systems, Inc. Peripheral ultrasound imaging system
CN101040245A (en) * 2004-10-12 2007-09-19 皇家飞利浦电子股份有限公司 Ultrasound touchscreen user interface and display

Also Published As

Publication number Publication date
CN102043678A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
US9398072B2 (en) Virtual media systems, methods and devices
CN102495781B (en) The adjustment method of SOC and debugging system
CN204759403U (en) System based on data pass realization equipment internal module thoroughly and upgrade
CN111752579B (en) Bluetooth terminal upgrading method and device, storage medium and electronic equipment
US11467563B2 (en) Electronic tool and method for copying a plurality of settings from a mechanical tool to another mechanical tool
US10908894B2 (en) Method for upgrading firmware of adapter, mobile terminal, and adapter thereof
CN110111166B (en) Internet of things tax control disk set, billing system and billing method based on Internet of things
CN102237983A (en) File transmission method, transmission device and receiving device for non-frame structure communication system
CN105094877A (en) Method for firmware upgrading, and host side device and system
CN113138779A (en) FPGA (field programmable Gate array) online program updating device and method based on multifunctional interface
CN108027744B (en) Data transmission method and mobile terminal
CN102043678B (en) Method and system for realizing real-time communication between soft operating interface system and ultrasonic system
US9733723B2 (en) Apparatus for remote application of manual signatures to electronic documents
EP2713269B1 (en) Method for updating data card, personal computer and data card
US20170168796A1 (en) Method and electronic apparatus for transferring application program from pc to mobile apparatus
CN100353323C (en) Remote data download of mobile communication terminal, and PC synchronizing method and device
CN111787378B (en) Software upgrading method applied to remote control device and remote control device
CN109117165B (en) An upgrade system and upgrade method based on IAP
CN106775904A (en) A kind of program burn writing system and method for microcontroller built-in type system
US20130132600A1 (en) Apparatus and method of a portable terminal for performing communication with a device supporting media transfer protocol
CN206892846U (en) A kind of program burn writing system of microcontroller built-in type system
CN109271192A (en) A kind of remote firmware updating method of intelligence piano
JP4696744B2 (en) Program test apparatus, method, and program
US11809365B2 (en) Data transmission method
CN109002406A (en) A kind of time control system and method for computer

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
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 518051 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 4, 5, 8, 9, 10 floor

Patentee after: Biologic medical Science and Technology Co., Ltd. is opened in Shenzhen

Address before: 518051 Guangdong city of Shenzhen province Nanshan District Yuquanlu Road Yizhe building 10 floor

Patentee before: Sonoscape Inc.