CN107453842A - Communication means, information generation/analytic method/system, storage medium and equipment - Google Patents

Communication means, information generation/analytic method/system, storage medium and equipment Download PDF

Info

Publication number
CN107453842A
CN107453842A CN201710630753.4A CN201710630753A CN107453842A CN 107453842 A CN107453842 A CN 107453842A CN 201710630753 A CN201710630753 A CN 201710630753A CN 107453842 A CN107453842 A CN 107453842A
Authority
CN
China
Prior art keywords
unit
communication
data
information
communications command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710630753.4A
Other languages
Chinese (zh)
Inventor
王振
刘新东
孙增军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lishengte Medical Science & Tech Co Ltd
Original Assignee
Lishengte Medical Science & Tech 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 Lishengte Medical Science & Tech Co Ltd filed Critical Lishengte Medical Science & Tech Co Ltd
Priority to CN201710630753.4A priority Critical patent/CN107453842A/en
Publication of CN107453842A publication Critical patent/CN107453842A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The present invention provides a kind of communication means, information generation/analytic method/system, storage medium and equipment, and communication means includes:Master unit based on the generation of default communications protocol format to be communicated from the communication information corresponding to unit;Master unit by the communication information send to it is described to be communicated from unit;The communication information is received from unit, and the communication information is parsed, to obtain the second verification data parsed;It is compared from unit by the first verification data with second verification data, to judge whether communications command is correct;If so, a reply data is then fed back to master unit;If it is not, judge that the communications command is invalid;Reply data be used for notify master unit its with from data between unit communicate whether extremely;Master unit receives reply data, to monitor in real time from unit, and according to reply data to carrying out respective handling from unit.Present invention can ensure that main control unit and the Accuracy and high efficiency from information transfer between unit in device, and error correcting capability is strong.

Description

Communication means, information generation/analytic method/system, storage medium and equipment
Technical field
The invention belongs to wireless communication technology field, is related to a kind of generation/analytic method/system, more particularly to one kind Communication means, information generation/analytic method/system, storage medium and equipment.
Background technology
In information-intensive society, interpersonal exchange becomes more and more important, and the deaf person for losing hearing can not use This instrument easily and effectively of voice carries out normal interpersonal communication, can not more enjoy and such as appreciate the such life pleasure of music Interest.Help deaf person to come back to the sound world, make the life of their excessively upper normal persons, be a work with important social effect Make.For this target, forefathers have carried out substantial amounts of research work, have explored some feasible methods and techniques, artitificial ear Snail implanted prosthetics is exactly a kind of preferable method.
The general principle of artificial cochlea is to replace cochlea to carry out frequency analysis to sound using external speech processor.For The method of speech processing that speech processor uses, the research of foreign countries' development this respect have had the history of decades.
The present invention provides a kind of communication means, information generation/analytic method/system, storage medium and equipment, existing to solve Have in technology that artificial cochlea's error correcting capability is poor, can not inform error informing in real time, the length of transmission frame is fixed, dumb grade lacks Fall into, it is real with as those skilled in the art's technical problem urgently to be resolved hurrily.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of communication means, information generation/ Analytic method/system, storage medium and equipment, for solving, artificial cochlea's error correcting capability is poor in the prior art, can not accuse in real time Know error informing, the length of transmission frame is fixed, inflexible problem.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of communication means, applied to including Master unit and from the device of unit, the communication means comprises the following steps:The master unit is based on default communication protocol lattice Formula generation to be communicated from the communication information corresponding to unit;The communication information includes frame head, frame length, communicated pair with described As associated communications command, the configuration parameter related to the communications command, and/or for verifying the communications command the One verification data;The master unit by the communication information send to it is described to be communicated from unit;It is described to receive institute from unit The communication information is stated, and the communication information is parsed, to obtain the second verification data parsed;It is described from unit will described in First verification data is compared with second verification data, to judge whether the communications command is correct;If so, then feed back One reply data is to the master unit;If it is not, judge that the communications command is invalid;The reply data is used to notify the master unit Extremely whether it communicate with described from data between unit;The master unit receives the reply data, described in monitoring in real time From unit, and according to the reply data respective handling is carried out to described from unit.
In one embodiment of the invention, the communication information also includes answer byte.
It is described to receive the answer byte from unit in one embodiment of the invention, and judging the communication life When making correct, the reply data is fed back.
In one embodiment of the invention, described the step of being parsed from unit to the communication information, includes described from list Member carries out verification calculating using predetermined checking algorithm to the communications command and the configuration parameter, to verify out described second Verification data.
Another aspect of the present invention provides a kind of information generating method, and described information generation method comprises the following steps:It is based on Default communications protocol format generates the communication information corresponding with being intended to communication object;The communication information includes frame head, frame length and institute State and be intended to the associated communications command of communication object, the configuration parameter related to the communications command, and/or for verifying described lead to Believe the first verification data of order;Send to it is described to be communicated after unit, receive a reply data, to monitor institute in real time State from unit, and respective handling is carried out from unit to described according to the reply data;The reply data is described for notifying Master unit its with it is described communicate from data between unit it is whether abnormal.
Another aspect of the present invention also provides a kind of information analysis method, and described information analytic method comprises the following steps:Connect The communication information for coming from master unit is received, and the communication information is parsed, to obtain the second verification data parsed;By institute Just whether the first verification data stated in the communication information is compared with second verification data, to judge the communications command Really;If so, a reply data is then fed back to the master unit;If it is not, judge that the communications command is invalid;The reply data is used for Notify the master unit its with it is described communicate from data between unit it is whether abnormal.
Another aspect of the present invention provides a kind of information generating system again, and described information generation system includes:Information generates mould Block, for based on the default communications protocol format generation communication information corresponding with being intended to communication object;The communication information includes frame Head, frame length, communications command, with the communications command related configuration parameter, and/or the use associated to the desire communication object In the first verification data for verifying the communications command;First communication module, for send to it is described to be communicated from unit Afterwards, a reply data is received;First processing module, it is described from unit to monitoring in real time, and according to the reply data to institute State from unit and carry out respective handling;The reply data be used for notify the master unit its communicated with described from data between unit It is whether abnormal.
Another aspect of the present invention provides a kind of information resolution system again, and described information resolution system includes:Second communication mould Block, the communication information of master unit is come from for receiving;Parsing module, for being parsed to the communication information, to obtain parsing The second verification data gone out;Second processing module, for by the first verification data in the communication information and second school Test data to be compared, to judge whether the communications command is correct;If so, then should by second communication module feedback one Answer is according to the master unit;If it is not, judge that the communications command is invalid;The reply data be used for notify the master unit its with It is described whether abnormal from data communication between unit.
Another aspect of the invention provides a kind of storage medium, is stored thereon with computer program, it is characterised in that the program Described information generation method is realized when being executed by processor, and/or realizes described information analytic method.
Last aspect of the present invention provides a kind of equipment, including:Processor and memory;The memory is based on storing Calculation machine program, the processor is used for the computer program for performing the memory storage, so that the equipment performs the letter Generation method is ceased, or the equipment performs described information analytic method.
As described above, the communication means of the present invention, information generating method/system, information analysis method/system, storage are situated between Matter and equipment, have the advantages that:
Communication means of the present invention, information generating method/system, information analysis method/system, storage medium and sets It is standby to ensure main control unit and the Accuracy and high efficiency from information transfer between unit in device, and with very strong Error correcting capability, have real-time error informing function, the length of frame unfixed according to specific command function transmission different length Data, there is very strong flexibility.
Brief description of the drawings
Fig. 1 is shown as the device that the present invention is applied.
Fig. 2 is shown as the structural representation for the artificial cochlea system device outside that the present invention is applied.
Fig. 3 A are shown as schematic flow sheet of the communication means of the present invention in an embodiment.
Fig. 3 B are shown as schematic flow sheet of the information generating method of the present invention in an embodiment.
Fig. 3 C are shown as schematic flow sheet of the information analysis method of the present invention in an embodiment.
Fig. 4 is shown as interaction concept of the information generating system of the present invention with information resolution system in an embodiment and illustrated Figure.
Component label instructions
1 device
11 master units
12 from unit
2 artificial cochlea system device outsides
21 MIC
22 discharge circuits
23 analog-digital converters
24 DSP processing units
2 RF transmitter units
41 information generating systems
411 information generating modules
412 first communication modules
413 first processing modules
42 information resolution systems
421 second communication modules
422 parsing modules
423 Second processing modules
S31~S37 steps
S31 '~S32 ' steps
S31 "~S35 " steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the case where not conflicting, following examples and implementation Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way Think, only show the component relevant with the present invention in schema then rather than according to component count, shape and the size during actual implement Draw, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel It is likely more complexity.
Embodiment one
A kind of communication means of the present embodiment, applied to including master unit and from the device of unit, the communication means bag Include following steps:
The master unit based on the generation of default communications protocol format to be communicated from the communication information corresponding to unit;It is described The communication information includes frame head, frame length, the communications command being associated with the desire communication object, related with the communications command matched somebody with somebody Put parameter, and/or the first verification data for verifying the communications command;
The master unit by the communication information send to it is described to be communicated from unit;
It is described to receive the communication information from unit, and the communication information is parsed, to obtain parse second Verification data;
It is described that first verification data is compared with second verification data from unit, to judge the communication Whether order is correct;If so, a reply data is then fed back to the master unit;If it is not, judge that the communications command is invalid;It is described to answer Answer according to be used for notify the master unit its with it is described from data between unit communicate whether extremely;
The master unit receives the reply data, described from unit to monitor in real time, and according to the reply data pair It is described to carry out respective handling from unit.
The communication means provided below with reference to diagram the present embodiment is described in detail.It is logical described in the present embodiment Letter method is applied in device 1 as described in Figure 1, and described device 1 includes master unit 11 and from unit 12.
Specifically, described device 1 is artificial cochlea system device outside 2.Referring to Fig. 2, it is shown as artificial cochlea system The theory structure schematic diagram of device outside.As shown in Fig. 2 the artificial cochlea system device outside 2 includes MIC21, amplifier electricity Road 22, analog-digital converter 23, DSP processing units 24, RF transmitter units 25.The work of the artificial cochlea system device outside 2 Principle is that MIC21 comes the sound collection in nature, first passes through discharge circuit 22 and is amplified sound, is then passing through Analog-digital converter 23 converts analog signals into data signal and passes through DSP processing units 24, and DSP processing units 24 are to acoustic information Progress DSP Digital Signal Processing first extracts the feature of sound and then the information after progress voice coding, coding is sent to RF Transmitter unit 25.DSP processing units 24 are master unit in artificial cochlea system device outside 2, and RF transmitter units 15 be from Unit.
Fig. 3 A are referred to, are shown as schematic flow sheet of the communication means in an embodiment.As shown in figure 3, the communication Method specifically includes following steps:
S31, the master unit based on the generation of default communications protocol format to be communicated from the communication information corresponding to unit.
The DSP processing units with the generation of the default communications protocol formats of the RF transmitter units based on being communicated from list The communication information corresponding to member;The communication information includes frame head, frame length, the communication life associated with the desire communication object Make, the configuration parameter related to the communications command, the first verification data for verifying the communications command, and/or response Byte.The default communications protocol format is that frame head+frame length+communications command+configuration associated with the desire communication object is joined Number 1+ configuration parameters 2+ ...+configuration parameter n+ verification datas+answer byte.DSP processing units are pre- with the RF transmitter units If communications protocol format refers to table 1.
Table 1:DSP processing units and RF transmitter unit communications protocol formats
Frame head Frame length Communications command Parameter 1 Parameter 2 Parameter n Verification data Answer byte
2byte 2byte 1byte 1byte 1byte 1byte 1byte E 1byte
For example, DSP processing units send handshaking information FF FE 00 02 01 00 01 00, wherein, wherein FF and FE are Frame head, i.e. synchronous head, 00 and 02 composition 16bit frame length, 01 is for representing that DSP processing units inquire about RF transmitter unit states Communications command, 00 represent configuration parameter, 01 represent verification data, answer byte 00.
S32, the master unit by the communication information send to it is described to be communicated from unit;The DSP processing units The communication information is sent to the RF transmitter units.
S33, it is described to receive the communication information from unit, and the communication information is parsed, to obtain what is parsed Second verification data.The RF transmitter units receive the communication information, and the communication information is parsed, to obtain parsing The second verification data gone out.The RF transmitter units enter according to predetermined checking algorithm to the communications command and configuration parameter that receive The first verification data is calculated in row.
Specifically, the predetermined checking algorithm is exclusive or check, i.e., configures the XOR of communications command XOR configuration parameter 1 XOR ... the XOR configuration parameter n of parameter 2.Checking algorithm described in the present embodiment is not limited only to exclusive or check, it is every can be to communication The checking algorithm that order and configuration parameter are verified is integrally incorporated in scope of the present invention.
S34, it is described that first verification data is compared with second verification data from unit, with described in judgement Whether communications command is correct;If so, a reply data is then fed back to the master unit;If it is not, judge that the communications command is invalid;Institute State reply data be used for notify the master unit its with it is described from data between unit communicate whether extremely.
For example, first verification data is compared the RF transmitter units with second verification data, to sentence Whether the communications command that breaks is correct;If so, then performing step S35, that is, a reply data is fed back to the master unit;If it is not, Step S36 is performed, that is, judges that the communications command is invalid, and continue to the communication information.Wherein, the reply data is used to notify Whether its data between the RF transmitter units of the DSP processing units communicate abnormal.
For example, the second verification data of the communications command being calculated by predetermined checking algorithm is 01, the first verification After data 01 are compared with the second verification data is 01, if both are consistent, represent that the RF transmitter units think that the communications command is Correctly, then RF transmitter units are receiving the answer byte come that DSP processing units sent out, while the RF transmitter units feed back One reply data is to the DSP processing units.If both are inconsistent, represent the RF transmitter units think the communications command without Effect.
S37, the master unit receive the reply data, described from unit to monitor in real time, and according to the answer number According to described respective handling is carried out from unit.
Specifically, the DSP processing units receive the reply data, described from unit to monitor in real time, and according to institute State reply data and carry out respective handling from unit to described.DSP processing units are during transmission, due to communication cable be present Either there is mistake in data caused by other problemses or other exceptions, DSP processing units can be according to RF transmitter units for connection Reply data judge whether the communication of the two normal, whether the communications command RF transmitter units of the transmission of DSP processing units Receiving and whether RF transmitter units receive normal, DSP processing units can monitor in real time, and according to the state of reply data To do different disposal.
Communication is received for example, DSP processing units and RF transmitter units normal communication return to reply data AA, RF transmitter unit To data carry out verification with DSP processing units send verification data it is inconsistent return reply data A1, DSP processing unit root According to the situation for the reply data for receiving the return of RF transmitter units, different processing is carried out.
For example, when DSP processing units receive reply data A1, learn that the communications command that RF transmitter units receive is mistake , the communication information can resend;DSP processing units receive unexpected value, such as 00 for another example, learn and launch with RF Communication cable failure, timely alert process etc. between unit.
The present embodiment also provides a kind of information generating method, refers to Fig. 3 B, is shown as information generating method and implements in one Schematic flow sheet in example.Described information generation method is applied to a master unit, for example, in artificial cochlea system device outside DSP processing units.
S31 ', the communication information corresponding with being intended to communication object is generated according to predetermined format based on default communications protocol format. The default communications protocol format is that frame head+frame length+communications command+configuration parameter 1+ associated with the desire communication object matches somebody with somebody Put parameter 2+ ...+configuration parameter n+ verification datas+answer byte.The communication information includes frame head, frame length, communicated with described The associated communications command of object, the configuration parameter related to the communications command, and/or for verifying the communications command First verification data.
S32 ', send to it is described to be communicated after unit, receive a reply data, it is described from list to monitor in real time Member, and respective handling is carried out from unit to described according to the reply data;The reply data is used to notify the master unit Extremely whether it communicate with described from data between unit.
For example, DSP processing units send the communication information to RF transmitter units, RF transmitter units feedback is received Reply data.
The present embodiment provides a kind of information analysis method again, and described information analytic method is applied to one from unit.For example, people RF transmitter units in work cochlea system device outside.Fig. 3 C are referred to, are shown as information analysis method in an embodiment Schematic flow sheet.As shown in Figure 3 C, described information analytic method includes following steps:
S31 ", receive the communication information for coming from master unit.
For example, RF transmitter units receive the communication information for coming from the transmission of DSP processing units.
S32 ", the communication information is parsed, to obtain the second verification data parsed.
For example, the RF transmitter units are counted according to predetermined checking algorithm to the communications command and configuration parameter that receive Calculation draws the first verification data.
Specifically, the predetermined checking algorithm is exclusive or check, i.e., configures the XOR of communications command XOR configuration parameter 1 XOR ... the XOR configuration parameter n of parameter 2.
S33 ", the first verification data in the communication information is compared with second verification data, to judge Whether the communications command is correct;If so, then performing step S34 ", that is, a reply data is fed back to the master unit;If it is not, then Step S35 " is performed, that is, judges that the communications command is invalid.The reply data be used for notify the master unit its with described from list Whether data communication is abnormal between member.
For example, first verification data is compared the RF transmitter units with second verification data, to sentence Whether the communications command that breaks is correct;If so, a reply data is then fed back to the master unit;If it is not, then judge that the communication is ordered It is invalid to make.Wherein, the reply data is used to notify its data between the RF transmitter units of the DSP processing units to communicate It is whether abnormal.
The present embodiment also provides a kind of storage medium (computer-readable recording medium), real when the program is executed by processor Existing described information generation method, and/or realize described information analytic method.One of ordinary skill in the art will appreciate that:Realize The all or part of step of above-mentioned each method embodiment can be completed by the related hardware of computer program.Foregoing calculating Machine program can be stored in a computer-readable recording medium.Upon execution, execution includes above-mentioned each method and implemented the program The step of example;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Communication means described in the present embodiment, information generating method, information analysis method and storage medium can ensure to fill Main control unit and the Accuracy and high efficiency from information transfer between unit are put, and with very strong error correcting capability, tool There are real-time error informing function, the unfixed data that different length is transmitted according to specific command function of the length of frame, have very Strong flexibility.
Embodiment two
The present embodiment provide a kind of information generating system and with a kind of information resolution system.It should be noted that it should be understood that The division of the modules of apparatus above is only a kind of division of logic function, can completely or partially be integrated when actually realizing , can also be physically separate onto a physical entity.And these modules can all be called with software by treatment element Form is realized;All it can also realize in the form of hardware;Can be in the form of part of module calls software by treatment element Realize, part of module is realized by the form of hardware.For example, x modules can be the treatment element individually set up, can also integrate Realized in some chip of said apparatus, in addition it is also possible to be stored in the storage of said apparatus in the form of program code In device, called by some treatment element of said apparatus and perform the function of above x modules.The realization of other modules with etc Seemingly.In addition these modules can completely or partially integrate, and can also independently realize.Treatment element described here can be with It is a kind of integrated circuit, the disposal ability with signal.In implementation process, each step of the above method or more modules It can be completed by the integrated logic circuit of the hardware in processor elements or the instruction of software form.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as: One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), or, one Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP), or, one or more field-programmable gate array Arrange (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, some module is dispatched by treatment element more than When the form of program code is realized, the treatment element can be general processor, such as central processing unit (CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can To integrate, realized in the form of on-chip system (system-on-a-chip, abbreviation SOC).
Illustrate referring to Fig. 4, being shown as interaction concept of the information generating system with information resolution system in an embodiment Figure.Described information generation system 41 is applied to a master unit, for example, the DSP processing units in artificial cochlea system device outside. As shown in figure 4, described information generation system 41 includes information generating module 411, first communication module 412 and first processing module 413。
Described information generation module 411 is based on default communications protocol format and generated according to predetermined format with being intended to communication object pair The communication information answered.The default communications protocol format is that frame head+frame length+with described is intended to the associated communications command of communication object + configuration parameter 1+ configuration parameters 2+ ...+configuration parameter n+ verification datas+answer byte.The communication information includes frame head, frame Grow, be intended to the associated communications command of communication object, the configuration parameter related with the communications command, and/or for school to described Test the first verification data of the communications command.
With the first communication module 412 that described information generation module 411 couples send to it is described to be communicated from unit Afterwards, a reply data is received.
It is used to monitoring described from unit, and root in real time with the first processing module 413 of the first communication module 412 coupling According to the reply data respective handling is carried out to described from unit.Wherein, the reply data be used for notify the master unit its Whether extremely to be communicated from data between unit with described.
Described information resolution system 42 includes second communication module 421, parsing module 422 and Second processing module 423.
The second communication module 421 receives the communication information for coming from master unit.
For example, the communication module of RF transmitter units, which receives, comes from the communication information that the communication module of DSP processing units is sent.
It is used to parse the communication information with the parsing module 422 of the second communication module 421 coupling, to obtain The second verification data parsed.
For example, in the RF transmitter units parsing module 422 according to predetermined checking algorithm to the communications command that receives and Configuration parameter carries out that the first verification data is calculated.
Specifically, the predetermined checking algorithm stored in the parsing module 422 is exclusive or check, i.e., communications command is different Or XOR ... the XOR configuration parameter n of 1 XOR configuration parameter of configuration parameter 2.
With the Second processing module 423 that the second communication module 421 and parsing module 422 couple by the communication information In the first verification data be compared with second verification data, to judge whether the communications command correct;If so, then One reply data is fed back to the master unit by the second communication module 421;If it is not, then judge that the communications command is invalid. The reply data be used for notify the master unit its with it is described from data between unit communicate whether extremely.
For example, the Second processing module 423 of the RF transmitter units verifies first verification data and described second Data are compared, to judge whether the communications command is correct;If so, a response is then fed back by the second communication module Data are to the DSP processing units;If it is not, then judge that the communications command is invalid.Wherein, the reply data is described for notifying Whether its data between the RF transmitter units of DSP processing units communicate abnormal.
Embodiment three
The present embodiment provides a kind of equipment, and the equipment includes:Processor, memory, transceiver, communication interface and system Bus;Memory and communication interface are connected with processor and transceiver by system bus and complete mutual communication, storage Device is used to store computer program, and communication interface is used for and other equipment is communicated, and processor and transceiver are based on running Calculation machine program, equipment is performed each step such as above-mentioned information generating method, and/or perform such as above-mentioned information analysis method Each step.
System bus mentioned above can be Peripheral Component Interconnect standard (PeripheralPomponentInterconnect, abbreviation PCI) bus or EISA (ExtendedIndustryStandardArchitecture, abbreviation EISA) bus etc..The system bus can be divided into address Bus, data/address bus, controlling bus etc..For ease of representing, only represented in figure with a thick line, it is not intended that only one total Line or a type of bus.Communication interface is used for accessing data base device and other equipment (such as client, read-write storehouse And read-only storehouse) between communication.Memory may include random access memory (RandomAccessMemory, abbreviation RAM), Nonvolatile memory (non-volatilememory), for example, at least a magnetic disk storage may also also be included.
Above-mentioned processor can be general processor, including central processing unit (CentralProcessingUnit, letter Claim CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), application specific integrated circuit (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other PLDs, discrete gate or transistor logic device Part, discrete hardware components.
In summary, communication means of the present invention, information generating method/system, information analysis method/system, deposit Storage media and equipment can ensure main control unit and the Accuracy and high efficiency from information transfer between unit in device, and have Length with very strong error correcting capability, with real-time error informing function, frame is not fixed according to the transmission of specific command function The data of different length, there is very strong flexibility.So the present invention effectively overcomes various shortcoming of the prior art and had High industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as Into all equivalent modifications or change, should by the present invention claim be covered.

Claims (10)

  1. A kind of 1. communication means, it is characterised in that applied to including master unit and from the device of unit, the communication means bag Include following steps:
    The master unit based on the generation of default communications protocol format to be communicated from the communication information corresponding to unit;The communication Information includes frame head, frame length, the communications command associated to the desire communication object, the configuration related with communications command ginseng Number, and/or the first verification data for verifying the communications command;
    The master unit by the communication information send to it is described to be communicated from unit;
    It is described to receive the communication information from unit, and the communication information is parsed, to obtain the parse second verification Data;
    It is described that first verification data is compared with second verification data from unit, to judge the communications command It is whether correct;If so, a reply data is then fed back to the master unit;If it is not, judge that the communications command is invalid;The answer number According to for notify the master unit its with it is described communicate from data between unit it is whether abnormal;
    The master unit receives the reply data, described from unit to monitor in real time, and according to the reply data to described Respective handling is carried out from unit.
  2. 2. communication means according to claim 1, it is characterised in that the communication information also includes answer byte.
  3. 3. communication means according to claim 2, it is characterised in that it is described to receive the answer byte from unit, and When judging that the communications command is correct, the reply data is fed back.
  4. 4. communication means according to claim 1, it is characterised in that described to be parsed to the communication information from unit Step carries out verification calculating from unit using predetermined checking algorithm including described to the communications command and the configuration parameter, To verify out second verification data.
  5. 5. a kind of information generating method, it is characterised in that described information generation method comprises the following steps:
    Based on the default communications protocol format generation communication information corresponding with being intended to communication object;The communication information include frame head, Frame length, the communications command associated to the desire communication object, the configuration parameter related with the communications command, and/or it is used for Verify the first verification data of the communications command;
    Send to it is described to be communicated after unit, receive a reply data, it is described from unit to monitor in real time, and according to institute State reply data and carry out respective handling from unit to described;The reply data be used for notify the master unit its with described from list Whether data communication is abnormal between member.
  6. 6. a kind of information analysis method, it is characterised in that described information analytic method comprises the following steps:
    The communication information for coming from master unit is received, and the communication information is parsed, to obtain the second check number parsed According to;
    The first verification data in the communication information is compared with second verification data, to judge that the communication is ordered Whether order is correct;If so, a reply data is then fed back to the master unit;If it is not, judge that the communications command is invalid;The response Data be used for notify the master unit its with it is described from data between unit communicate whether extremely.
  7. 7. a kind of information generating system, it is characterised in that described information generation system includes:
    Information generating module, for based on the default communications protocol format generation communication information corresponding with being intended to communication object;It is described The communication information includes frame head, frame length, the communications command being associated with the desire communication object, related with the communications command matched somebody with somebody Put parameter, and/or the first verification data for verifying the communications command;
    First communication module, for send to it is described to be communicated after unit, receive a reply data;
    First processing module, it is described from unit to monitoring in real time, and phase is carried out from unit to described according to the reply data It should handle;The reply data be used for notify the master unit its with it is described from data between unit communicate whether extremely.
  8. 8. a kind of information resolution system, it is characterised in that described information resolution system includes:
    Second communication module, the communication information of master unit is come from for receiving;
    Parsing module, for being parsed to the communication information, to obtain the second verification data parsed;
    Second processing module, for the first verification data in the communication information and second verification data to be compared It is right, to judge whether the communications command is correct;If so, a reply data is then fed back to described by the second communication module Master unit;If it is not, judge that the communications command is invalid;The reply data be used for notify the master unit its with it is described from unit it Between data communication it is whether abnormal.
  9. 9. a kind of storage medium, is stored thereon with computer program, it is characterised in that power is realized when the program is executed by processor Profit requires 5 described information generation methods, and/or realizes claim 6 described information analytic method.
  10. A kind of 10. equipment, it is characterised in that including:Processor and memory;
    The memory is used to store computer program, and the processor is used for the computer journey for performing the memory storage Sequence, so that the equipment performs information generating method as claimed in claim 5, or the equipment performs as claimed in claim 6 Information analysis method.
CN201710630753.4A 2017-07-28 2017-07-28 Communication means, information generation/analytic method/system, storage medium and equipment Pending CN107453842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710630753.4A CN107453842A (en) 2017-07-28 2017-07-28 Communication means, information generation/analytic method/system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710630753.4A CN107453842A (en) 2017-07-28 2017-07-28 Communication means, information generation/analytic method/system, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN107453842A true CN107453842A (en) 2017-12-08

Family

ID=60489511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710630753.4A Pending CN107453842A (en) 2017-07-28 2017-07-28 Communication means, information generation/analytic method/system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN107453842A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112356792A (en) * 2020-11-25 2021-02-12 航天科技控股集团股份有限公司 Communication method of automobile instrument bottom plate and core plate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981821A (en) * 2008-02-01 2011-02-23 史密夫和内修有限公司 System and method for communicating with an implant
CN103997376A (en) * 2014-06-10 2014-08-20 深圳先进技术研究院 Data communication system and method for human body communication
CN106571892A (en) * 2016-11-08 2017-04-19 北京小米移动软件有限公司 Data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101981821A (en) * 2008-02-01 2011-02-23 史密夫和内修有限公司 System and method for communicating with an implant
CN103997376A (en) * 2014-06-10 2014-08-20 深圳先进技术研究院 Data communication system and method for human body communication
CN106571892A (en) * 2016-11-08 2017-04-19 北京小米移动软件有限公司 Data processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112356792A (en) * 2020-11-25 2021-02-12 航天科技控股集团股份有限公司 Communication method of automobile instrument bottom plate and core plate

Similar Documents

Publication Publication Date Title
EP3859644A1 (en) Block chain-based data check system and method, computing device, and storage medium
CN107317638A (en) Method, terminal device and the computer-readable recording medium of bluetooth test
CN109189666A (en) Interface test method, device and computer equipment
CN109600356A (en) Carry out the method and apparatus of the communication between bridging device using low energy device
CN107766040A (en) A kind of method, apparatus and computer-readable recording medium for generating interface document
CN103944813A (en) Gateway and method for achieving general adaptation function
CN107168971B (en) Data processing method and device for webpage application
CN105718344A (en) Verification method of FPGA universal configurable UART protocol based on UVM
CN108804322A (en) Automated testing method, device, computer equipment and storage medium
CN109495870A (en) The method and apparatus of bluetooth test
CN107171897A (en) A kind of interface test method and data-interface test system
CN106155894A (en) A kind of generation method and device of test case
CN107205041A (en) Upgrade method, audio frequency apparatus and the intelligent sound box of audio frequency apparatus
CN107980124A (en) A kind of collecting method and server
CN105704083A (en) Generation method, generation device and simulation system of Ethernet excitation message
CN109726108A (en) Front-end code test method, device, system and medium based on analogue data
CN108564776A (en) Equipment debugging system, apparatus debugging method and computer storage media
CN101625705A (en) Verification environment system and construction method thereof
CN107453842A (en) Communication means, information generation/analytic method/system, storage medium and equipment
WO2014180400A1 (en) Method and device for locating and processing problem
CN106056436A (en) Data fallback method, device and system
CN109445973A (en) Position the method and device of application crash
CN107800667A (en) A kind of information processing method and access processing unit
CN107040613A (en) A kind of message transmitting method and system
CN104484257B (en) A kind of general 1553B bus communication emulation test system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171208