CN110020565B - Probe information reading fault prompting method, device, server and storage medium - Google Patents

Probe information reading fault prompting method, device, server and storage medium Download PDF

Info

Publication number
CN110020565B
CN110020565B CN201910304959.7A CN201910304959A CN110020565B CN 110020565 B CN110020565 B CN 110020565B CN 201910304959 A CN201910304959 A CN 201910304959A CN 110020565 B CN110020565 B CN 110020565B
Authority
CN
China
Prior art keywords
probe
information
target
feedback identifier
fault
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
CN201910304959.7A
Other languages
Chinese (zh)
Other versions
CN110020565A (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.)
Feiyinuo Technology Co ltd
Original Assignee
Vinno Technology Suzhou 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 Vinno Technology Suzhou Co Ltd filed Critical Vinno Technology Suzhou Co Ltd
Priority to CN201910304959.7A priority Critical patent/CN110020565B/en
Publication of CN110020565A publication Critical patent/CN110020565A/en
Application granted granted Critical
Publication of CN110020565B publication Critical patent/CN110020565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a method and a device for prompting a probe information reading fault, a server and a storage medium, wherein the method for prompting the probe information reading fault comprises the following steps: in the process of acquiring the probe information of the target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe; and reading the feedback identifier in the probe register to prompt the user for a fault. The embodiment of the invention can quickly and accurately prompt the user of the probe information reading fault, thereby reducing the maintenance time and cost of the equipment.

Description

Probe information reading fault prompting method, device, server and storage medium
Technical Field
The embodiment of the invention relates to the field of fault detection, in particular to a method and a device for prompting a probe information reading fault, a server and a storage medium.
Background
For equipment with one or more probes and the need of reading the probe codes of each probe when the equipment is started, the correctness and stability of reading the probe codes can be used as a mark for measuring the stability of a hardware system of the equipment to a certain extent.
In the process of developing and testing the above-mentioned devices, it is often encountered that a probe code cannot be read or a probe code is read incorrectly when the device is turned on, and the above-mentioned fault will disappear after the device is turned on next time, so that it is difficult to determine the cause of the above-mentioned fault.
The existing method for determining the reading fault of the probe code is usually carried out only by a hardware means, external hardware equipment needs to be additionally introduced or the operation of disassembling the machine needs to be carried out, and the power-off treatment is needed when the operation of disassembling the machine is carried out, so that the field of the equipment is damaged, and the fault detection condition is changed. The above method of determining the fault only by means of hardware increases the difficulty of the fault determination process, and is not favorable for determining the source of the fault quickly and accurately.
Disclosure of Invention
The invention provides a method and a device for prompting a probe information reading fault, a server and a storage medium, which can quickly and accurately prompt a user of the probe information reading fault and reduce the maintenance time and cost of equipment.
In a first aspect, an embodiment of the present invention provides a probe information reading fault prompting method, where the method includes:
in the process of acquiring probe information of a target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe;
reading the feedback identifier in the probe register to prompt a user for a fault.
In a second aspect, an embodiment of the present invention further provides a probe information reading fault notification apparatus, where the apparatus includes:
the device comprises a feedback identifier determining module, a feedback identifier determining module and a feedback identifier determining module, wherein the feedback identifier determining module is used for determining a feedback identifier corresponding to fault information of a reading fault and writing the feedback identifier into a probe register corresponding to a target probe if the reading fault is detected in the process of acquiring probe information of the target probe;
and the feedback identifier reading module is used for reading the feedback identifier in the probe register so as to prompt a user for a fault.
In a third aspect, an embodiment of the present invention further provides a probe information reading fault notification server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the probe information reading fault notification method according to any embodiment of the invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the probe information reading fault notification method according to any embodiment of the present invention.
In the process of acquiring probe information of a target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe; and the feedback identifier in the probe register is read to prompt the fault of the user, so that the probe information reading fault is quickly and accurately prompted to the user, and the maintenance time and cost of the equipment are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a probe information reading fault prompting method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a probe information reading fault prompting method in the second embodiment of the present invention;
fig. 3 is a flowchart of a probe information reading fault prompting method in the third embodiment of the present invention;
fig. 4a is a flowchart of a micro control unit reading probe information according to a fourth embodiment of the present invention;
fig. 4b is a flowchart of a field programmable gate array self-writing and self-reading and reading probe information according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a probe information reading fault notification apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a probe information reading failure notification server according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for prompting a probe information reading fault according to an embodiment of the present invention, where the embodiment is applicable to a situation where a probe information reading fault exists in a device and a fault source needs to be determined, and the method may be executed by a probe information reading fault prompting apparatus, and may be specifically implemented by software and/or hardware in the probe information reading fault prompting apparatus. As shown in fig. 1, the method of this embodiment specifically includes:
s110, in the process of acquiring the probe information of the target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe.
Generally, for a device (e.g. an ultrasound device) with one or more detection probes, which needs to be identified at power-on start-up, it is preferable that the probes are identified by reading probe information carried by the probes themselves, where the probe information may be a probe code of the probe (a unique identification code of the probe), or other codes containing the probe code, for example, the other codes may be a fixed code added on the basis of the probe code.
In the process of acquiring the probe information of the probe, a probe information reading fault may occur, where the fault information of the reading fault may include that the probe information cannot be read, and may also include that the read probe information is incorrect. Specifically, the condition that the probe information cannot be read may also include that the probe information cannot be read due to no connection of the probe at the probe port, or the probe information cannot be read due to the fact that the communication link between at least two communication nodes is abnormal in the probe communication link.
In order to determine what the read failure of the device is, more quickly and accurately, the failure information of the read failure is preferably set with a corresponding feedback identifier in advance, and when the presence of the read failure is detected, the feedback identifier corresponding to the read failure may be determined according to a preset correspondence relationship and stored in a corresponding register. The user can determine the failure information of the read failure from the feedback identifier. The feedback identifier corresponds to each fault information one to one, and may be a custom code, for example, a four-bit binary code. It should be noted that the feedback identifier may be arbitrarily set as needed on the premise of distinguishing from the probe information, and is not particularly limited herein.
In an apparatus in which one or more detection probes are present, a probe register (i.e., a storage unit) corresponding to the probe may be provided to store various pieces of information corresponding to the probe, such as probe information, a feedback identifier, and the like.
In this embodiment, in the process of acquiring the probe information of the target probe, if it is detected that there is a read failure, a feedback identifier corresponding to the failure information of the read failure may be selected from preset feedback identifiers according to the failure information of the read failure, and after the feedback identifier is determined, the feedback identifier is written in a probe register corresponding to the target probe.
And S120, reading the feedback identifier in the probe register to prompt the user for the fault.
Since the feedback identifier corresponds to the failure information of the read failure and the feedback identifier is stored in the probe register, a user can be prompted for a failure based on the feedback identifier in the probe register.
Specifically, the feedback identifier read from the probe register may be sent to the front end of the device, and the front end may display the feedback identifier to the user through a display interface, or may prompt the user in a voice broadcast manner, and at this time, the user may determine what the fault information is specifically according to a one-to-one correspondence between the feedback identifier and the fault information of the read fault. The feedback identifier read from the probe register can be matched with the fault information of the read fault, the determined fault information of the read fault is sent to the front end of the equipment, and the front end displays the fault information to a user through a display interface or prompts the fault information to the user in a voice broadcasting mode.
In the method for prompting the probe information reading fault provided by the embodiment, in the process of acquiring the probe information of the target probe, if a reading fault is detected, a feedback identifier corresponding to the fault information of the reading fault is determined, and the feedback identifier is written into a probe register corresponding to the target probe; and the feedback identifier in the probe register is read to prompt the fault of the user, so that the probe information reading fault is quickly and accurately prompted to the user, and the maintenance time and cost of the equipment are reduced.
Example two
Fig. 2 is a flowchart of a probe information reading fault prompting method according to a second embodiment of the present invention. On the basis of the foregoing embodiments, this embodiment may select the detection of the read failure, and include at least one of the following operations: detecting that a first communication link between a target probe and a micro control unit is abnormal; and detecting the abnormality of a communication link between the field programmable gate array and the micro control unit. Further, optionally, if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure, and writing the feedback identifier into a target probe register corresponding to the target probe, including: if a first communication link between a target probe and a micro control unit is detected to be abnormal, determining a first feedback identifier corresponding to the first communication link abnormality; writing, by a micro-control unit, the first feedback identifier into a first probe register corresponding to the target probe. Further, optionally, if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure, and writing the feedback identifier into a target probe register corresponding to the target probe, including: if the second communication link between the field programmable gate array and the micro control unit is detected to be abnormal, determining a second feedback identifier corresponding to the second communication link abnormality; writing, by the field programmable gate array, the second feedback identifier into the second probe register. As shown in fig. 2, the method of this embodiment specifically includes:
s210, in the process of acquiring probe information of the target probe, if the first communication link between the target probe and the micro control unit is detected to be abnormal, determining a first feedback identifier corresponding to the first communication link abnormality.
Wherein the first communication link may be a communication link between the target probe and the micro control unit. Preferably, whether a first communication link between the target Probe and the micro control unit is normal or not can be determined by using a Probe Interface Status (PIS) signal, and if the PIS signal corresponding to the target Probe is 1, it is determined that the Probe exists at the Probe position of the Probe board, but the micro control unit cannot read the Probe information, and at this time, it can be determined that the read fault information is that the first communication link between the target Probe and the micro control unit is abnormal. Among these, in an apparatus in which one or more detection probes are present, a probe plate is generally provided on which a plurality of probe positions are provided, each probe position corresponding to one probe.
In this embodiment, preferably, the PIS signal may be used to detect that the read failure information is an abnormality of the first communication link between the target probe and the micro control unit, and determine the first feedback identifier corresponding to the abnormality of the first communication link according to a preset corresponding relationship between the feedback identifier and the read failure information.
And S220, writing the first feedback identifier into a first probe register corresponding to the target probe through the micro-control unit.
Preferably, the probe communication link may include four nodes of a probe, a probe board, a micro control unit and a field programmable gate array, and the four nodes are sequentially in communication connection, wherein the probe is in communication connection with the micro control unit through the probe board.
In this embodiment, after determining the first feedback identifier, it is preferable that the first feedback identifier is written into a first probe register corresponding to the target probe by the micro control unit, where the first probe register is disposed in the micro control unit. At this time, the fault indication that the target probe does not exist can be realized for the user by reading the first feedback identifier in the first probe register.
It should be noted that, if the PIS signal corresponding to the target probe is 0, it may be determined that the target probe is not present in the probe position of the probe board, and in this case, it is preferable that no operation is performed, that is, the initial value is stored in the first probe register in the micro control unit (if the initial value is stored in the first probe register before the probe information of the target probe is acquired) or the first probe register is empty (if the first probe register is empty before the probe information of the target probe is acquired). Preferably, a feedback identifier corresponding to the probe position of the probe plate where no probe is present may also be determined and written into the first probe register corresponding to the target probe. Preferably, after the probe position of the probe board is determined that the target probe does not exist, prompt information that the target probe does not exist can be directly generated to prompt a user. The prompt information can be a text prompt on a display interface or a voice prompt.
And S230, if the second communication link between the field programmable gate array and the micro control unit is detected to be abnormal, determining a second feedback identifier corresponding to the second communication link abnormality.
Wherein the second communication link may be a communication link between the field programmable gate array and the micro control unit. If the fact that the field programmable gate array cannot read the content in the micro control unit or the field programmable gate array cannot write the content into the micro control unit is detected, it can be determined that a second communication link between the field programmable gate array and the micro control unit is abnormal.
In this embodiment, if it is detected that the read failure fault information is an abnormality of the second communication link between the field programmable gate array and the micro control unit, it is preferable that the second feedback identifier corresponding to the abnormality of the second communication link is determined according to a preset correspondence between the feedback identifier and the read failure fault information.
Preferably, the scheme for determining whether the second communication link between the field programmable gate array and the micro control unit has a problem may be:
writing a preset check value into a detection register through a field programmable gate array;
and if the preset check value is not read through the field programmable gate array, determining that the communication link between the field programmable gate array and the micro control unit is detected to be abnormal.
The detection register is arranged in the micro control unit, and the detection register can be a first probe register or other registers in the micro control unit.
Preferably, the field programmable gate array may be controlled to write the preset check value into the detection register before acquiring the probe information of the target probe, or may be controlled to temporarily write the preset check value into the detection register when the field programmable gate array communicates with the micro control unit.
In this embodiment, the field programmable gate array may be preferably controlled to write the preset check value into one or more detection registers. For example, the field programmable gate array may be controlled to read only a preset check value in one detection register, and if the preset check value is not read, it is determined that the second communication link between the field programmable gate array and the micro control unit is detected to be abnormal. The scheme of reading only one detection register cannot eliminate the situation that the second communication link between the field programmable gate array and the micro control unit is normal due to the fact that the detection register has problems, on the basis, the field programmable gate array can be controlled to read the preset check values in the plurality of detection registers, and if the preset check values are not read, the situation that the second communication link between the field programmable gate array and the micro control unit is detected is determined.
It should be noted here that if the field programmable gate array fails to write the preset check value into the detection register, it may be determined that the second communication link between the field programmable gate array and the micro control unit is abnormal.
And S240, writing the second feedback identifier into a second probe register through the field programmable gate array.
In this embodiment, after determining the second feedback identifier, the second feedback identifier may be written into a second probe register corresponding to the target probe by using a field programmable gate array, where the second probe register is disposed in the field programmable gate array. At this time, the fault prompt of the communication link abnormity between the field programmable gate array and the micro control unit can be realized for the user by reading the second feedback identifier in the second probe register.
It should be noted here that, regardless of whether the target probe exists or not, regardless of the specific content stored in the first probe register, as long as an abnormality of the communication link between the field programmable gate array and the micro control unit is detected, the second feedback identifier may be written into the second probe register through the field programmable gate array.
And S250, reading the feedback identifier in the target probe register to prompt the user for the fault.
Preferably, the target probe register may include a first probe register and a second probe register. By reading the first feedback identifier in the first probe register, the fault prompt of the abnormality of the first communication link between the target probe and the micro control unit can be performed for a user, and by reading the second feedback identifier in the second probe register, the fault prompt of the abnormality of the second communication link between the field programmable gate array and the micro control unit can be performed for the user.
In the method for prompting the probe information reading fault, if it is detected that the probe is not detected at the position of the probe in the probe board in the process of acquiring the probe information of the target probe, it is determined that a first feedback identifier corresponding to the target probe does not exist, and the first feedback identifier is written into a first probe register corresponding to the target probe through a micro control unit; if the communication link between the field programmable gate array and the micro control unit is detected to be abnormal, a second feedback identifier corresponding to the communication link abnormality is determined, the second feedback identifier is written into the second probe register through the field programmable gate array, and the feedback identifier in the target probe register is read so as to prompt a user of a fault, so that the probe information is quickly and accurately prompted to the user to read the specific fault information of the fault, and the maintenance time and cost of the device are reduced.
On the basis of the above embodiments, the present embodiment may further include any of the following cases:
1) when the first communication link between the target probe and the micro control unit is detected to be abnormal, but the second communication link between the micro control unit and the field programmable gate array is normal, the above steps may preferably be:
if the first communication link between the target probe and the micro control unit is detected to be abnormal, determining a first feedback identifier corresponding to the abnormality of the first communication link;
writing the first feedback identifier into a first probe register corresponding to the target probe through the micro-control unit;
and controlling the field programmable gate array to read the first feedback identifier in the first probe register and write the first feedback identifier into the second probe register through the field programmable gate array.
In this embodiment, the first feedback identifier is stored in both the first probe register and the second probe register.
2) When the first communication link between the target probe and the micro control unit is detected to be normal, but the communication link between the micro control unit and the field programmable gate array is abnormal, in this case, the above steps may preferably be:
if the first communication link between the target probe and the micro control unit is detected to be normal, determining probe information corresponding to the target probe;
writing probe information into a first probe register corresponding to a target probe through a micro control unit;
if the communication link between the field programmable gate array and the micro control unit is detected to be abnormal, determining a second feedback identifier corresponding to the communication link abnormality;
the second feedback identifier is written into the second probe register by the field programmable gate array.
In this case, the first probe register stores probe information, and the second probe register stores a second feedback identifier.
EXAMPLE III
Fig. 3 is a flowchart of a probe information reading fault prompting method according to a third embodiment of the present invention. On the basis of the foregoing embodiments, the detecting of the read fault may be selected, and the detecting may include detecting that actual probe information of the target probe read by the field programmable gate array does not coincide with theoretical probe information. Further, optionally, if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure, and writing the feedback identifier into a probe register corresponding to the target probe, including: if the fact that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information is detected, determining a third feedback identifier corresponding to the fact that the actual probe information of the target probe does not accord with the theoretical probe information; writing the third feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array; correspondingly, the reading the target output code in the target probe register to perform fault notification for a user includes: and if the fact that the actual probe information of the target probe read from the target probe register is inconsistent with the theoretical probe information is detected, generating prompt information that the actual probe information is wrong so as to prompt a user. Further, the selecting the probe information includes a fixed code and a probe code, and the selecting the actual probe information of the target probe not in accordance with the theoretical probe information includes: the probe code of the actual probe information of the target probe does not accord with the probe code of the theoretical probe information; and/or the fixed code of the actual probe information of the target probe does not accord with the fixed code of the theoretical probe information. As shown in fig. 3, the method of this embodiment specifically includes:
s310, in the process of acquiring the probe information of the target probe, if the fact that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information is detected, determining a third feedback identifier corresponding to the fact that the actual probe information of the target probe does not accord with the theoretical probe information; and writing the third feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array.
In this embodiment, preferably, the probe information may include a fixed code and a probe code, where the fixed code may be a fixed code that is manually set according to needs, and the fixed codes corresponding to each probe code are the same. The discrepancy between the actual probe information and the theoretical probe information of the target probe may include: the probe code of the actual probe information of the target probe does not accord with the probe code of the theoretical probe information; and/or the fixed code of the actual probe information of the target probe does not accord with the fixed code of the theoretical probe information.
In this embodiment, it may be preferably determined whether the actual probe information of the target probe read by the field programmable gate array corresponds to the theoretical probe information according to the fixed code, for example, if the actual fixed code of the target probe does not correspond to the theoretical fixed code, it may be determined that the actual probe information of the target probe does not correspond to the theoretical probe information, and if the actual fixed code corresponds to the theoretical fixed code, it may be determined that the actual probe information of the target probe corresponds to the theoretical probe information.
Preferably, if it is determined that the actual probe information of the target probe does not coincide with the theoretical probe information, a third feedback identifier corresponding to the actual probe information of the target probe not coinciding with the theoretical probe information may be determined according to a preset correspondence between the feedback identifier and the failure information of the read failure. After determining the third feedback identifier, the third feedback identifier may preferably be written by the field programmable gate array into a second probe register corresponding to the target probe, and the actual probe information in the second probe register may preferably be retained when storing the third feedback identifier. At this time, the fault prompt that the actual probe information of the target probe does not accord with the theoretical probe information can be realized for the user by reading the third feedback identifier or the actual probe information in the second probe register.
It should be noted that the third feedback identifier may be actual probe information, and at this time, the actual probe information may be rewritten as the third feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array, where the actual probe information is stored in the second probe register. In addition, when the actual probe information of the target probe read by the field programmable gate array is detected to be inconsistent with the theoretical probe information, the third feedback identifier may not be generated, and the actual probe information is stored in the second probe register at this time. In the two cases, the actual probe information in the second probe register corresponding to the target probe can be read so as to prompt the user for a fault.
And S320, if the fact that the actual probe information of the target probe read from the target probe register is inconsistent with the theoretical probe information is detected, generating prompt information that the actual probe information is wrong so as to prompt a user.
In this embodiment, the target probe register may be the second probe register. Preferably, the reading of the fault information of the fault may be determined by reading the actual probe information in the second probe register as to whether the actual probe information of the target probe read from the target probe register and the theoretical probe information coincide with each other. And if the fixed code in the actual probe information in the second probe register is different from the fixed code in the theoretical probe information, determining that the fault information of the read fault is that the actual probe information of the target probe read from the target probe register does not accord with the theoretical probe information. Preferably, the reading fault information of the fault is determined whether the actual probe information of the target probe read from the target probe register and the theoretical probe information are consistent by reading the third feedback identifier in the second probe register. And if the second probe register stores the third feedback identifier, determining that the fault information of the read fault is that the actual probe information of the target probe read from the target probe register does not accord with the theoretical probe information.
And if the actual probe information of the target probe is determined to be inconsistent with the theoretical probe information, generating prompt information with error in the actual probe information so as to prompt the user. The prompt information can be a text prompt on a display interface or a voice prompt.
In the probe information reading fault prompting method provided by the embodiment, if a reading fault is detected in the process of acquiring probe information of a target probe by using a feedback identifier determining module, a feedback identifier corresponding to the fault information of the reading fault is determined, and the feedback identifier is written into a probe register corresponding to the fault information, and if the fact that the actual probe information of the target probe read from the target probe register does not accord with the theoretical probe information is detected, prompt information that the actual probe information is wrong is generated to prompt a user, so that the specific fault information of the probe information reading fault is quickly and accurately prompted to the user, and the maintenance time and cost of equipment are reduced.
Example four
The present embodiment provides a preferred embodiment based on the above embodiments. In this embodiment, an ultrasound apparatus having three probes is taken as an example, and a method for prompting a probe information reading failure is described. First, probe information is set to include a fixed code and a probe code, for example, the probe codes of three probes are AA, BB, CC, respectively, and the fixed code is 01. The micro-control unit is provided with three first probe registers (each register can be used as a detection register), and the three first probe registers respectively correspond to one probe. The field programmable gate array is provided with three second probe registers, and the three second probe registers respectively correspond to one first probe register.
Illustratively, if the PIS signal corresponding to a certain probe is 1, but the micro control unit cannot read the probe information of the probe, it may be that the communication link from the probe to the micro control unit is faulty, and at this time, a first feedback identifier FF00 may be generated and stored in the first probe register corresponding to the probe by the micro control unit. The first feedback identifier indicates that no probe information can be read, i.e. no probe code nor fixed code. Where FF and 00 are merely illustrative, as long as the first feedback identifier is different from the probe information.
Illustratively, if the PIS signal corresponding to a certain probe is 1 and the micro control unit and the field programmable gate array can read the probe information, but the fixed code in the second probe register is not 01, and may be DD02, for example, at this time, it may be determined that the probe information is wrong, and in order to ensure the wrong reading, the probe information of the probe may also be read several times in succession, and if the probe information read several times in succession is the same error code, it may be determined that the probe information is wrong.
Assuming that a communication link from the micro-control unit to the probe end is normal, the correctness of the communication link from the field programmable gate array to the micro-control unit is verified in a self-writing and self-reading mode after the field programmable gate array is electrified. And if the field programmable gate array cannot complete self-writing and self-reading, the communication link between the field programmable gate array and the micro control unit is abnormal. Illustratively, the field programmable gate array writes 0055 to all three first probe registers (in this case, the detection register is the first probe register) in the micro-control unit, but reads an exception (the read exception includes that no data is read, or that the read data is not 0055), which indicates that the communication link between the field programmable gate array and the micro-control unit is abnormal. At this point, FFEEs may be written in the three second probe registers in the field programmable gate array. When the field programmable gate array finishes self-writing and self-reading and determines that a communication link between the field programmable gate array and the micro control unit is normal, the probe information in the first probe register in the micro control unit can be read.
Fig. 4a is a flowchart of a micro control unit reading probe information according to a fourth embodiment of the present invention. And judging whether the probe exists at the current probe position or not according to the PIS signal at the current probe position, and reading the next probe position if the probe does not exist at the current probe position. If a probe is detected at the current probe position, but the micro-control unit does not read the probe information, the micro-control unit writes FF00 in the corresponding first probe register. If the probe is detected at the current probe position and the micro control unit can read the probe information, the read value is written into the corresponding probe register.
Fig. 4b is a flowchart of a field programmable gate array self-writing and self-reading and reading probe information according to a fourth embodiment of the present invention. Before reading the probe information, the field programmable gate array writes a specific value 0055 into three first probe registers in the micro control unit, and then reads the specific value 0055, if none of the three first probe registers can be read correctly, the FFEE is written into three second probe registers in the FPGA, if at least one first probe register can be read correctly, the value of the first probe register in the micro control unit is read, and the read value is stored into the corresponding second probe register in the field programmable gate array. And reading the actual probe information in the second probe register, and judging whether the read actual probe information conforms to the theoretical probe information or not so as to generate fault prompt information.
The initial values of a first probe register in the micro control unit and a second probe register in the field programmable gate array are both 0, and after reading, fault prompt can be carried out according to the numerical values in the probe registers.
And if the values of the three second probe registers are all FFEE, the communication link between the field programmable gate array and the micro control unit is abnormal.
If the value of a first probe register is FF00, it indicates that the communication link between the probe corresponding to the first probe register and the MCU is abnormal.
If the fixed code in the probe information of a certain second probe register is not 01, the probe information of the probe is incorrect.
If the fixed codes in the probe information of the three second probe registers are all 01, it is indicated that no reading fault exists, and at this time, the starting-up operation of the ultrasonic equipment can be completed.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a probe information reading failure prompt apparatus in the fifth embodiment of the present invention. As shown in fig. 5, the probe information reading failure notification apparatus of the present embodiment includes:
a feedback identifier determining module 510, configured to, in a process of acquiring probe information of a target probe, determine a feedback identifier corresponding to fault information of a read fault if the read fault is detected, and write the feedback identifier into a probe register corresponding to the target probe;
and a feedback identifier reading module 520, configured to read the feedback identifier in the probe register to prompt a user for a fault.
In the probe information reading fault prompting device provided by this embodiment, a feedback identifier determining module is used to determine a feedback identifier corresponding to fault information of a read fault and write the feedback identifier into a probe register corresponding to the fault information if the read fault is detected in the process of acquiring probe information of a target probe; the feedback identifier reading module is used for reading the feedback identifier in the probe register so as to prompt the user of the fault, thereby realizing the purpose of rapidly and accurately prompting the user of the probe information reading fault and reducing the maintenance time and cost of the equipment.
Further, detecting a read failure comprises at least one of:
detecting that a first communication link between a target probe and a micro control unit is abnormal;
detecting that a second communication link between the field programmable gate array and the micro control unit is abnormal;
and detecting that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information.
Further, the feedback identifier determining module 510 may specifically include:
the first feedback identifier determining unit is used for determining a first feedback identifier corresponding to the abnormality of a first communication link if the abnormality of the first communication link between the target probe and the micro control unit is detected in the process of acquiring the probe information of the target probe;
and the first feedback identifier writing unit is used for writing the first feedback identifier into a first probe register corresponding to the target probe through the micro-control unit.
Further, the feedback identifier determining module 510 may further include:
the second feedback identifier determining unit is used for determining a second feedback identifier corresponding to the communication link abnormity if the communication link abnormity between the field programmable gate array and the micro control unit is detected;
and the second feedback identifier writing unit is used for writing the second feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array.
Further, the apparatus may further include:
the preset check value writing module is used for writing the preset check value into the detection register through the field programmable gate array;
and the communication link on-off determining module is used for determining that the communication link between the field programmable gate array and the micro control unit is abnormal if a preset check value is not read by the field programmable gate array.
Further, the feedback identifier determining module 510 may further include:
the third feedback identifier determining unit is used for determining a third feedback identifier corresponding to the fact that the actual probe information of the target probe does not accord with the theoretical probe information if the fact that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information is detected;
a third feedback identifier writing unit which writes the third feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array;
the feedback identifier reading module 520 may be specifically configured to generate prompt information that the actual probe information is incorrect if it is detected that the actual probe information of the target probe read from the target probe register does not match the theoretical probe information, so as to prompt the user.
Further, the probe information includes a fixed code and a probe code, and the discrepancy between the actual probe information of the target probe and the theoretical probe information includes:
the probe code of the actual probe information of the target probe does not accord with the probe code of the theoretical probe information; and/or the presence of a gas in the gas,
the fixed code of the actual probe information of the target probe does not conform to the fixed code of the theoretical probe information.
The probe information reading fault prompting device provided by the embodiment of the invention can execute the probe information reading fault prompting method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a probe information reading failure prompt server according to a sixth embodiment of the present invention. FIG. 6 shows a block diagram of an exemplary probe information reading fault alert server 612 suitable for use in implementing embodiments of the present invention. The probe information reading failure prompt server 612 shown in fig. 6 is only an example, and should not bring any limitation to the function and the scope of the embodiments of the present invention.
As shown in fig. 6, the probe information reading failure prompt server 612 is in the form of a general purpose computing device. The components of the probe information reading fault notification server 612 may include, but are not limited to: one or more processors 616, a memory 628, and a bus 618 that connects the various system components (including the memory 628 and the processors 616).
Bus 618 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The probe information reading failure prompt server 612 typically includes a variety of computer system readable media. Such media can be any available media that can be accessed by the probe information reading failure notification server 612, including both volatile and nonvolatile media, removable and non-removable media.
The memory 628 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)630 and/or cache memory 632. The probe information reading failure notification server 612 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage 634 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be connected to bus 618 by one or more data media interfaces. Memory 628 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 640 having a set (at least one) of program modules 642 may be stored, for example, in memory 628, such program modules 642 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 642 generally perform the functions and/or methods of the described embodiments of the present invention.
The probe-information-reading-fault-prompting server 612 may also communicate with one or more external devices 614 (e.g., a keyboard, a pointing device, a display 624, etc., where the display 624 may be configurable or not as desired), one or more devices that enable a user to interact with the probe-information-reading-fault-prompting server 612, and/or any device (e.g., a network card, a modem, etc.) that enables the probe-information-reading-fault-prompting server 612 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 622. Also, the probe information reading fault notification server 612 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 620. As shown, the network adapter 620 communicates with the other modules of the probe information reading fault notification server 612 via bus 618. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with the probe information reading fault notification server 612, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage, among others.
The processor 616 executes programs stored in the memory 628, so as to execute various functional applications and data processing, for example, implement the probe information reading fault notification method provided by the embodiment of the present invention.
EXAMPLE seven
The seventh embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a probe information reading fault prompting method provided in the embodiments of the present invention, and the method includes:
in the process of acquiring the probe information of the target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe;
and reading the feedback identifier in the probe register to prompt the user for a fault.
Of course, the computer-readable storage medium provided by the embodiments of the present invention, on which the computer program is stored, is not limited to performing the method operations described above, and may also perform related operations in the probe information reading fault indication method based on the probe information reading fault indication server provided by any embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A probe information reading fault prompting method is characterized by comprising the following steps:
in the process of acquiring probe information of a target probe, if a reading fault is detected, determining a feedback identifier corresponding to the fault information of the reading fault, and writing the feedback identifier into a probe register corresponding to the target probe;
reading the feedback identifier in the probe register to prompt a user for a fault;
the detecting of the read failure comprises at least one of:
detecting that a first communication link between a target probe and a micro control unit is abnormal;
detecting that a second communication link between the field programmable gate array and the micro control unit is abnormal;
detecting that the actual probe information of the target probe read by the field programmable gate array is inconsistent with the theoretical probe information;
the probe communication link comprises four nodes of a probe, a probe board, a micro control unit and a field programmable gate array, and the four nodes are sequentially in communication connection; wherein the probe is in communication connection with the micro control unit through the probe board;
the probe information comprises a fixed code and a probe code, and the inconsistency between the actual probe information and the theoretical probe information of the target probe comprises the following steps:
the probe code of the actual probe information of the target probe does not accord with the probe code of the theoretical probe information; and/or the presence of a gas in the gas,
and the fixed code of the actual probe information of the target probe does not accord with the fixed code of the theoretical probe information.
2. The method of claim 1, wherein if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure and writing the feedback identifier into a target probe register corresponding to the target probe comprises:
if a first communication link between a target probe and a micro control unit is detected to be abnormal, determining a first feedback identifier corresponding to the first communication link abnormality;
writing, by a micro-control unit, the first feedback identifier into a first probe register corresponding to the target probe.
3. The method of claim 2, wherein if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure and writing the feedback identifier into a target probe register corresponding to the target probe comprises:
if the second communication link between the field programmable gate array and the micro control unit is detected to be abnormal, determining a second feedback identifier corresponding to the second communication link abnormality;
writing, by the field programmable gate array, the second feedback identifier into a second probe register corresponding to the target probe.
4. The method of claim 3, further comprising:
writing a preset check value into a detection register through a field programmable gate array;
and if the preset check value is not read through the field programmable gate array, determining that the communication link between the field programmable gate array and the microcontroller is detected to be abnormal.
5. The method of claim 1, wherein if a read failure is detected, determining a feedback identifier corresponding to failure information of the read failure and writing the feedback identifier in a probe register corresponding to the target probe comprises:
if the fact that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information is detected, determining a third feedback identifier corresponding to the fact that the actual probe information of the target probe does not accord with the theoretical probe information;
writing the third feedback identifier into a second probe register corresponding to the target probe through the field programmable gate array;
correspondingly, the reading of the target output code in the target probe register to perform fault notification to the user includes:
and if the fact that the actual probe information of the target probe read from the target probe register is inconsistent with the theoretical probe information is detected, generating prompt information that the actual probe information is wrong so as to prompt a user.
6. A probe information reading failure prompt device is characterized by comprising:
the device comprises a feedback identifier determining module, a feedback identifier determining module and a feedback identifier determining module, wherein the feedback identifier determining module is used for determining a feedback identifier corresponding to fault information of a reading fault and writing the feedback identifier into a probe register corresponding to a target probe if the reading fault is detected in the process of acquiring probe information of the target probe;
a feedback identifier reading module for reading the feedback identifier in the probe register to prompt a user for a fault;
detecting a read failure, comprising at least one of:
detecting that a first communication link between a target probe and a micro control unit is abnormal;
detecting that a second communication link between the field programmable gate array and the micro control unit is abnormal;
detecting that the actual probe information of the target probe read by the field programmable gate array does not accord with the theoretical probe information;
the probe communication link comprises four nodes of a probe, a probe board, a micro control unit and a field programmable gate array, and the four nodes are sequentially in communication connection; wherein the probe is in communication connection with the micro control unit through the probe board;
the probe information comprises a fixed code and a probe code, and the inconsistency between the actual probe information and the theoretical probe information of the target probe comprises the following steps:
the probe code of the actual probe information of the target probe does not accord with the probe code of the theoretical probe information; and/or the presence of a gas in the gas,
the fixed code of the actual probe information of the target probe does not conform to the fixed code of the theoretical probe information.
7. A probe information reading failure notification server, the server comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the probe information reading fault notification method of any one of claims 1-5.
8. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the probe information reading failure indication method according to any one of claims 1 to 5.
CN201910304959.7A 2019-04-16 2019-04-16 Probe information reading fault prompting method, device, server and storage medium Active CN110020565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910304959.7A CN110020565B (en) 2019-04-16 2019-04-16 Probe information reading fault prompting method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910304959.7A CN110020565B (en) 2019-04-16 2019-04-16 Probe information reading fault prompting method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN110020565A CN110020565A (en) 2019-07-16
CN110020565B true CN110020565B (en) 2022-02-18

Family

ID=67191497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910304959.7A Active CN110020565B (en) 2019-04-16 2019-04-16 Probe information reading fault prompting method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110020565B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633947B1 (en) * 1998-09-16 2003-10-14 Intel Corporation Memory expansion channel for propagation of control and request packets
CN1467622A (en) * 2002-06-03 2004-01-14 ���µ�����ҵ��ʽ���� Processor
CN109150674A (en) * 2018-08-13 2019-01-04 广东美的制冷设备有限公司 Fault cues system, method and device thereof, equipment, storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633947B1 (en) * 1998-09-16 2003-10-14 Intel Corporation Memory expansion channel for propagation of control and request packets
CN1467622A (en) * 2002-06-03 2004-01-14 ���µ�����ҵ��ʽ���� Processor
CN109150674A (en) * 2018-08-13 2019-01-04 广东美的制冷设备有限公司 Fault cues system, method and device thereof, equipment, storage medium

Also Published As

Publication number Publication date
CN110020565A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US9747192B2 (en) Automated operating system installation on multiple drives
US7757015B2 (en) Device, method and computer program product readable medium for determining the identity of a component
CN110764945A (en) Crash log processing method, device, equipment and storage medium
CN107111595B (en) Method, device and system for detecting early boot errors
CN111796978B (en) Interface detection method, device, system, equipment and storage medium
CN102231127B (en) System and method for detecting BIOS (Basic Input Output System) wrong information display
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
CN112751782B (en) Flow switching method, device, equipment and medium based on multi-activity data center
US20140143601A1 (en) Debug device and debug method
CN110020565B (en) Probe information reading fault prompting method, device, server and storage medium
CN112114220A (en) Fault detection method and device
US8516311B2 (en) System and method for testing peripheral component interconnect express switch
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
CN115292113A (en) Method and device for fault detection of internal memory of server and electronic equipment
US7480836B2 (en) Monitoring error-handler vector in architected memory
JP6217086B2 (en) Information processing apparatus, error detection function diagnosis method, and computer program
CN116820946B (en) Method and device for automatically testing compatibility of target software
CN110908818A (en) Verification method, device, equipment and storage medium
CN112181761B (en) Program execution control method, program execution test device, code detection device, program execution equipment and medium
CN116341011B (en) Detection system and method
US11984182B2 (en) Repair system and repair method for semiconductor structure, storage medium and electronic device
CN116126702A (en) Code testing method, device and system
CN111045899B (en) Method for displaying BIOS information in early stage of computer system startup self-check
JP2002278798A (en) Device and method for monitoring failure and storage medium
CN114721847A (en) Method and device for determining equipment failure

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee after: Feiyinuo Technology Co.,Ltd.

Address before: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee before: Feiyinuo Technology (Suzhou) Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP03 Change of name, title or address

Address after: 215123 5th floor, building a, 4th floor, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Jiangsu Province

Patentee after: Feiyinuo Technology (Suzhou) Co.,Ltd.

Address before: 215123 floor 5, building a and floor 4, building C, No. 27, Xinfa Road, Suzhou Industrial Park, Suzhou, Jiangsu

Patentee before: VINNO TECHNOLOGY (SUZHOU) Co.,Ltd.

CP03 Change of name, title or address