CN107707401A - A kind of data processing method and data processing equipment - Google Patents

A kind of data processing method and data processing equipment Download PDF

Info

Publication number
CN107707401A
CN107707401A CN201710936668.0A CN201710936668A CN107707401A CN 107707401 A CN107707401 A CN 107707401A CN 201710936668 A CN201710936668 A CN 201710936668A CN 107707401 A CN107707401 A CN 107707401A
Authority
CN
China
Prior art keywords
message
priority
error reporting
encapsulated
processing
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
CN201710936668.0A
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.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare 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 Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN201710936668.0A priority Critical patent/CN107707401A/en
Publication of CN107707401A publication Critical patent/CN107707401A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • H04L41/0609Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time based on severity or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Abstract

The embodiments of the invention provide a kind of data processing method and data processing equipment.On the one hand, the data processing method includes:After the first error reporting message is got, determine the first priority corresponding to the first error reporting message and the first processing strategy, then the second priority corresponding to the first priority and the second error reporting message being presently processing is compared, when the first priority is higher than the second priority, stop the second error reporting message of processing;And according to the first processing strategy, the first error reporting message is handled.In embodiments of the present invention, due to priority treatment can be carried out to current most important failure, therefore the embodiment of the present invention enables to Medical Devices currently most important failure is quickly handled, and, after in Medical Devices, currently most important failure is resolved, the Medical Devices can is by normal use, therefore the embodiment of the present invention can use the fast quick-recovery of Medical Devices.

Description

A kind of data processing method and data processing equipment
【Technical field】
The present invention relates to technical field of data processing, more particularly to a kind of data processing method and data processing equipment.
【Background technology】
When multiple failures occur in Medical Devices, the plurality of failure can be sent to data by Medical Devices in the form of message Processing unit, if the data processing equipment is currently being handled some failure, the data processing equipment can be to this Failure and the plurality of failure are handled simultaneously, for example, when multiple failures occurs in the flat board of digital radiography equipment, Multiple failures that the digital radiography equipment can will appear from are sent to data processing equipment in the form of message, if should When data processing equipment is presently processing high temperature alarm failure, report corresponding to the plurality of failure is received in data processing equipment Wen Hou, the data processing equipment can handle high temperature alarm failure and the plurality of failure simultaneously, cause data processing equipment to medical treatment The processing speed of the current most important failure of equipment is excessively slow, so that Medical Devices quick-recovery can not use soon.
【The content of the invention】
In view of this, it is existing to solve the embodiments of the invention provide a kind of data processing method and data processing equipment Have slower to the processing speed of the current most important failure of Medical Devices in technology, Medical Devices can not asking of using of quick-recovery soon Topic.
On the one hand, the embodiments of the invention provide a kind of data processing method, methods described to include:
Obtain the first error reporting message;
According to the first error reporting message, the first priority corresponding to the first error reporting message and are determined One processing strategy;
Second priority corresponding to first priority and the second error reporting message being presently processing is carried out Compare;
It is higher than second priority in response to first priority, stops handling the second error reporting message;
According to the described first processing strategy, the first error reporting message is handled.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described according to institute The first error reporting message is stated, determines the first priority corresponding to the first error reporting message and the first processing strategy, bag Include:
According to the first error reporting message, error reporting type corresponding to the first error reporting message is determined;
According to the error reporting type, preset configuration table is inquired about, determines first priority and first processing Strategy.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, in the determination First priority corresponding to the first error reporting message and first processing strategy after, and to first priority and work as Before second priority corresponding to preceding the second error reporting message handled is compared, methods described also includes:
First priority and the first processing strategy are packaged, to obtain the first encapsulated message;
According to first priority and/or the first processing strategy, for the mark of first encapsulated message distribution first Know;
Judge it is described first mark with distributed for the second encapsulated message second identify whether it is identical, wherein, described second Encapsulated message includes the second priority and second processing strategy corresponding to the second error reporting message;
It is identical with second mark in response to the described first mark, by first encapsulated message and second encapsulation Message merges, and merges message to obtain first;
According to the described first processing strategy or second processing strategy, the described first merging message is handled;
After the first merging message has been handled, delete described first and merge message.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, in response to described First mark differs with the described second mark, performs the behaviour being compared to first priority and second priority Make.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, in response to described First priority is less than second priority, and first encapsulated message is stored in pending queue.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, it is described by described in First encapsulated message is stored in pending queue, including:
The 3rd distributed the described first mark and the 3rd encapsulated message to store in the pending queue identify into Row compares;
It is identical with the 3rd mark in response to the described first mark, by first encapsulated message and the 3rd encapsulation Message merges, and merges message to obtain second.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, in response to described First mark differs with the described 3rd mark, to the 3rd false alarm in first priority and the 3rd encapsulated message Third priority corresponding to accusing message is compared, to obtain comparative result;
According to the comparative result, according to the order of priority from high to low, to described in the pending queue One encapsulated message and the 3rd encapsulated message are ranked up.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, by described the After one merges message deletion, methods described also includes:
Obtain the 4th encapsulated message corresponding to limit priority in the pending queue;
Fourth process strategy corresponding to error reporting message in the 4th encapsulated message, encapsulated to the described 4th Message is handled.
Aspect as described above and any possible implementation, it is further provided a kind of implementation, in response to described First priority is higher than second priority, and second encapsulated message is stored in pending queue.
Any one technical scheme in above-mentioned technical proposal has the advantages that:
In embodiments of the present invention, after the first error reporting message is got, the first error reporting message is determined Corresponding first priority and the first processing strategy, then to first priority and the second error reporting being presently processing The second priority is contrasted corresponding to message, and when first priority is higher than the second priority, it is wrong to stop processing second Report message by mistake, and according to the first processing strategy, the first error reporting message is handled, therefore, in the embodiment of the present invention In, can the higher error reporting message of priority treatment priority, if error reporting corresponding to the main failure of Medical Devices The priority of message is higher, then the embodiment of the present invention being capable of priority treatment Medical Devices currently most important failure, and right When error reporting message is handled, an error reporting message is once only handled, therefore, the embodiment of the present invention enables to cure Treating equipment, currently most important failure is quickly handled, also, because in Medical Devices, currently most important failure is solved After certainly, the Medical Devices can is by normal use, therefore the embodiment of the present invention can use the fast quick-recovery of Medical Devices.
On the other hand, the embodiment of the present invention additionally provides a kind of data processing equipment, and the processing unit includes:
Transmitter, receiver, memory, and the processor coupled with the memory, the transmitter, the reception Device, the memory and the processor are communicated by bus system;
The memory storage software program;
The processor by run the software program for:
Obtain the first error reporting message;
According to the first error reporting message, the first priority corresponding to the first error reporting message and are determined One processing strategy;
Second priority corresponding to first priority and the second error reporting message being presently processing is carried out Compare;
It is higher than second priority in response to first priority, stops handling the second error reporting message;
According to the described first processing strategy, the first error reporting message is handled.
Any one technical scheme in above-mentioned technical proposal has the advantages that:
In embodiments of the present invention, after the first error reporting message is got, the first error reporting message is determined Corresponding first priority and the first processing strategy, then to first priority and the second error reporting being presently processing The second priority is contrasted corresponding to message, and when first priority is higher than the second priority, it is wrong to stop processing second Report message by mistake, and according to the first processing strategy, the first error reporting message is handled, therefore, in the embodiment of the present invention In, can the higher error reporting message of priority treatment priority, if error reporting corresponding to the main failure of Medical Devices The priority of message is higher, then the embodiment of the present invention being capable of priority treatment Medical Devices currently most important failure, and right When error reporting message is handled, an error reporting message is once only handled, therefore, the embodiment of the present invention enables to cure Treating equipment, currently most important failure is quickly handled, also, because in Medical Devices, currently most important failure is solved After certainly, the Medical Devices can is by normal use, therefore the embodiment of the present invention can use the fast quick-recovery of Medical Devices.
【Brief description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of data processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another data processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of data processing equipment provided in an embodiment of the present invention.
【Embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for the purpose of description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though false alarm may be described using term first, second, third, etc. in embodiments of the present invention Message is accused, but these error reporting messages should not necessarily be limited by these terms.These terms are only used for error reporting message area each other Separate.For example, in the case where not departing from range of embodiment of the invention, it is wrong that the first error reporting message can also be referred to as second Report message by mistake, similarly, the second error reporting message can also be referred to as the first error reporting message.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement Or event) when " or " in response to detecting (condition or event of statement) ".
Embodiment one
As shown in figure 1, Fig. 1 is a kind of flow chart of data processing method provided in an embodiment of the present invention, this method includes Following steps:
101st, the first error reporting message is obtained.
When Medical Devices break down, the failure that Medical Devices can will appear from reports, can be by current event in upper give the correct time Hinder (i.e. the first error reporting message) to send in the form of message, therefore medical treatment can be known according to the first error reporting message Currently there are the information such as which kind of failure, fault type in equipment.
102nd, according to the first error reporting message, determine corresponding to the first error reporting message at the first priority and first Reason strategy.
Exemplary, different error reporting messages corresponds to different priority and different processing strategies, priority Height can represent the priority treatment degree of the error reporting message, and the seriousness of failure corresponding to the error reporting message , can according to the processing strategy or the height of main property, processing strategy are the processing mode of failure corresponding to the error reporting message With failure corresponding to error reporting message corresponding to processing, wherein, error reporting report corresponding to main or more serious failure The priority of text is higher.
103rd, the second priority corresponding to the first priority and the second error reporting message being presently processing is carried out Compare.
Exemplary, because priority can represent the priority treatment degree and error reporting message of the error reporting message The height of the seriousness of corresponding failure or main property, therefore it is to judge that contrast is carried out to first priority and the second priority Whether the priority treatment degree for the second error reporting message being presently processing is higher than the preferential place of the first error reporting message Whether reason degree, and the seriousness of failure corresponding to the second error reporting message or main property are higher than the first error reporting message The seriousness of corresponding failure or main property, that is, compare failure corresponding to which error reporting message for current most serious or most Main failure.
104th, it is higher than second priority in response to first priority, stops handling the second error reporting report Text.
Exemplary, when the first priority is higher than the second priority, represent failure corresponding to the first error reporting message It is more serious than failure corresponding to the second error reporting message or main, in order to realize to the current most serious of Medical Devices or most main The quick processing for the failure wanted is, it is necessary to stop the processing to the second error reporting message, with priority treatment the first error reporting report Text.
It should be noted that after stopping handling the second error reporting, the second error reporting packet storage is being waited to locate Manage in queue, and when by the second error reporting packet storage in pending queue, arranged according to the order of priority Row, because the second error reporting message is the error reporting message that is presently processing, therefore the second error reporting message Priority is higher than the priority of other error reporting messages in pending queue, meanwhile, at by the first error reporting message , it is necessary to handle again the second error reporting message after reason.
105th, according to the first processing strategy, the first error reporting message is handled.
Exemplary, when the first priority is higher than the second priority, stop handling the second error reporting message, And the first error reporting message is handled according to the first processing strategy so that the first error reporting message is preferentially located Reason, so that failure corresponding to the first error reporting message is quickly handled, due to failure corresponding to the first error reporting message Relative to failure corresponding to the second error reporting message, failure corresponding to the first error reporting message is that Medical Devices are currently most main The failure wanted, therefore, the embodiment of the present invention being capable of priority treatment Medical Devices currently most important failures, and to false alarm When announcement message is handled, an error reporting message is once only handled, therefore, the embodiment of the present invention enables to Medical Devices Current most important failure is quickly handled, also, because in Medical Devices, currently most important failure is resolved after, should Medical Devices can is by normal use, therefore the embodiment of the present invention can use the fast quick-recovery of Medical Devices.
In a feasible embodiment, it is determined that corresponding to the first error reporting message at the first priority and first When managing tactful, error reporting type corresponding to the first error reporting message can be determined according to the first error reporting message;Root again According to error reporting type, preset configuration table is inquired about, determines the first priority and the first processing strategy.
Exemplary, preset configuration table is pre-set, the preset configuration table includes different error reporting types, and Priority corresponding to the error reporting type and processing strategy, wherein, failure corresponding to error reporting type is more serious or more main Will, then corresponding priority is higher, and different, i.e., the different failure pair of processing strategy corresponding to different error reporting types The processing strategy answered is different, after the first error reporting message is got, can be determined according to the first error reporting message Its corresponding error reporting type, and according to the error reporting type, determine that corresponding first is preferential in preset configuration table Level and the first processing strategy.
By taking the flat board of digital radiography equipment as an example, priority orders sort according to 1,2,3 and 4 orders.Work as mistake Report Type is mistaken for unrecoverable error, is characterized in that flat board can no longer use, i.e., flat board hardware failure itself, priority are fixed Justice is 1, and processing strategy is display EHC;When error reporting type is manual recoverable error, it is flat to be characterized in that mistake is not handled Plate cannot normal work again, i.e., the failure that can be recovered by software processing, for example, flat board communication failure problem, preferentially Level is defined as 2, and it handles strategy and can be defined according to actual conditions;When error reporting type is automatic recoverable mistake, It is characterized in after needing human intervention, the mistake that flat board can recover automatically, for example, plate temperature problem, priority are defined as 3, it is display EHC that it, which handles strategy,;When error reporting type is that being characterized in applying needs when error reporting type is logic error Ask and be not met for, and cause flat board to be used, for example, the not calibrated problem of flat board, priority are defined as 4, at it Reason strategy is display EHC.
Above-mentioned error reporting type, processing strategy and priority is only exemplary explanation, and concrete condition can basis Actual conditions are set, and are not especially limited herein.
In a feasible embodiment, in order that obtaining the first priority and first corresponding to the first error reporting message Processing strategy has corresponding relation, is determining the first priority corresponding to the first error reporting message and the first processing strategy Afterwards, the first priority and the first processing strategy are packaged, and obtain the first encapsulated message, then according to the first priority And/or first processing strategy, for the first encapsulated message distribution first mark;Judge the first mark with being distributed for the second encapsulated message Second identify whether it is identical, wherein, the second encapsulated message include the second priority corresponding to the second error reporting message and Second processing strategy;It is identical with the second mark in response to the first mark, the first encapsulated message and second encapsulated message are closed And merge message to obtain first;According to the described first processing strategy or second processing strategy, the described first merging message is entered Row processing;After the first merging message has been handled, delete described first and merge message.
Wherein, different marks is used to distinguish different encapsulated messages, and the type of mark can be numeral, letter, symbol Deng, or numeral, letter, symbol are formed by combining, and concrete form is not especially limited herein.
Exemplary, after priority corresponding to an error reporting message and corresponding processing strategy is determined, by this Priority and the processing strategy are packaged into encapsulated message, so that the priority and the processing strategy are formed in the form of encapsulated message Corresponding relation, i.e. an encapsulated message include an error reporting message and correspond to priority and alignment processing strategy, and are Encapsulated message is not demodulated, it becomes possible to the priority in different encapsulated messages is compared, it is quick so as to realize Compare the purpose of the priority height in different encapsulated messages, be encapsulated message allocation identification, wherein, due to priority identical Represent that priority treatment degree is identical, handle tactful identical represent corresponding to failure corresponding to error reporting message it is identical, and then Corresponding priority is also identical, thus for encapsulated message allocation identification when, can according to priority and/processing strategy be divided Match somebody with somebody, i.e. priority and/or the tactful identical of processing, the mark of encapsulated message distribution is also identical, is comparing the first encapsulation report and the During the height of the priority in two encapsulated messages, can compare for first encapsulation call the score with first mark and be that the second encapsulation is called the score With the second mark.
When the first mark is identical with the second mark, the priority phase in the first encapsulated message and the second encapsulated message is represented Together, i.e., failure is identical with failure corresponding to the second error reporting message, it is necessary to wrong to first corresponding to the first error reporting message Failure corresponding to missing failure corresponding to report message and the second error reporting message is handled simultaneously, to the first error reporting message Failure corresponding to corresponding failure and the second error reporting message is handled simultaneously when, it is necessary to by the first encapsulated message and described second Encapsulated message merge, with obtain first merge message, now first merging message include the first priority, the second priority, First processing strategy and second processing strategy, because the first processing strategy is identical with second processing strategy, therefore it can select to appoint Meaning processing strategy is handled the first merging message, due to failure and the second error reporting corresponding to the first error reporting message Failure is identical corresponding to message, therefore after the completion of Message processing is merged to first according to the processing strategy of selection, also just handles Be over failure corresponding to failure corresponding to the first error reporting message and the second error reporting message, is accounted for reduce encapsulated message Resource, after the completion of first merges Message processing, delete the first merging message.
In a feasible embodiment, when the first mark differs with the second mark, the first encapsulated message is represented It is different with the priority in the second encapsulated message, and need excellent in further relatively the first encapsulated message and the second encapsulated message The height of first level, that is, perform the operation of step 103.
In a feasible embodiment, in the first priority and the second encapsulated message in the first encapsulated message The second priority when being compared, when the first priority is less than the second priority, the first encapsulated message is stored in and waits to locate Manage in queue.
Specifically, when the first priority is less than the second priority, failure ratio corresponding to the first error reporting message is represented The seriousness of failure corresponding to second error reporting message or main property are low, it is therefore desirable to priority treatment the second error reporting report Failure corresponding to text, and in order to ensure that failure can be also solved, it is necessary to store the first envelope corresponding to the first error reporting message Message is filled, when storing the first encapsulated message, can be stored it in pending queue, the envelope stored in the pending queue Priority in dress message is less than the priority of failure corresponding to the error reporting message being presently processing, and the pending team What the encapsulated message in row was stored according to the height of priority, and in pending queue, priority in encapsulated message compared with High meeting is by priority treatment.
In a feasible embodiment, when the first priority is higher than the second priority, the second encapsulated message is deposited Storage is in pending queue.
Specifically, when storing the second encapsulated message in pending queue, first is stored in pending queue with above-mentioned The mode of encapsulated message is identical, and in this not go into detail.
In a feasible embodiment, when the first encapsulated message is stored in pending queue, it is necessary to One mark and the 3rd mark of the distribution of the 3rd encapsulated message to have been stored in pending queue are compared, in response to the first mark Knowledge is identical with the 3rd mark, and first encapsulated message and the 3rd encapsulated message are merged, and is merged with obtaining second Message.
Specifically, when the first priority is less than the second priority, it is necessary to which the second error reporting of priority treatment message is corresponding Failure, and in order that failure corresponding to the first error reporting message can be processed, it is necessary to by the first encapsulated message store In pending queue, because the order reported that encapsulates stored in pending queue is that height according to priority stores, when The 3rd encapsulated message has been stored in pending queue, and (the 3rd encapsulated message has the 3rd mark, and preferential including the 3rd Level and the 3rd processing strategy), it is necessary to first contrast first mark and the 3rd identify whether it is identical, if first mark and the 3rd mark It is identical, represent that the first priority is identical with third priority, i.e., failure and the 3rd encapsulation report corresponding to the first error reporting message Failure corresponding to 3rd error reporting message corresponding to text is identical, it is therefore desirable to enters the first encapsulated message and the 3rd encapsulated message Row merges, and obtains merging message to obtain second, and now the second merging message includes the first priority, third priority, the One handles strategy and the 3rd processing strategy, wherein, the first priority and third priority are identical priority, and first handles plan Slightly and the 3rd processing strategy is identical processing strategy, and when handling the second merging message, it is necessary to arbitrarily select A processing strategy in first processing strategy and the 3rd processing strategy is handled the second merging message, according to this After the completion of processing strategy merges Message processing to second, then failure and the 3rd error reporting report corresponding to the first error reporting message Failure will also have been processed into corresponding to text.
In a feasible embodiment, in response to first mark with the 3rd mark differ, to the first priority with Third priority corresponding to the 3rd error reporting message in 3rd encapsulated message is compared, to obtain comparative result, according to Comparative result, according to the order of priority from high to low, to the first encapsulated message and the 3rd encapsulated message in pending queue It is ranked up.
Specifically, first mark and the 3rd mark differ when, represent the first error reporting message corresponding to failure and Failure corresponding to 3rd error reporting message differs, it is therefore desirable to further failure relatively corresponding to the first error reporting message With the 3rd error reporting message corresponding to the seriousness of failure or the height of main property, that is, compare the first priority and the 3rd preferential The height of level, and according to comparative result, according to priority and high to Low order, the first encapsulation is reported in pending queue Text and the 3rd encapsulated message are ranked up, for example, when the first priority is higher than third priority, in pending queue, the The storage location of one encapsulated message is more forward than the storage location of the 3rd encapsulated message, so that the first encapsulated message can be prior to Three encapsulated messages are processed.
In a feasible embodiment, after message deletion is merged by described first, obtain in pending queue most 4th encapsulated message corresponding to high priority;Fourth process plan corresponding to error reporting message in the 4th encapsulated message Slightly, the 4th encapsulated message is handled.
Specifically, after the completion of first after the first encapsulated message and the second encapsulated message merge merges Message processing, it is Occupation proportion of the encapsulated message to resource is reduced, then needs to merge message by first and deletes, also, in order to continuing with Other failures, it is necessary to from pending queue obtain highest priority encapsulated message handled, getting pending team In row after the encapsulated message of highest priority, the processing strategy in the encapsulated message is handled the encapsulated message.
Embodiment two
In order to which the technological thought of the present invention is expanded on further and realizes step, in conjunction with specific application scenarios, to this hair Bright technical scheme illustrates, data processing equipment include queue 1 and with queue 2, queue 1 be used for store etc. it is pending Encapsulated message, encapsulated message 1, encapsulated message 2 and encapsulated message 3 are stored with the current queue 1, corresponding to encapsulated message 1 Mark 1 is identified as, encapsulated message 1 includes priority 1 and processing mode 1, and mark 2 is identified as corresponding to encapsulated message 2, encapsulation Message 2 includes priority 2 and processing mode 2, and mark 3 is identified as corresponding to encapsulated message 3, and encapsulated message 3 is included preferentially Level 3 and processing mode 3, wherein, priority 1 is less than priority 2, and priority 2 is less than priority 3, encapsulated message 1, encapsulated message 2 It is encapsulated message 3- encapsulated message 2- encapsulated messages 1 with storage order of the encapsulated message 3 in queue 1, i.e., in queue 1 When encapsulated message is handled, handled according to the order of the encapsulated message 2- encapsulated messages 1 of encapsulated message 3, wherein, encapsulation report Text 1 be encapsulated message corresponding to error reporting message 1, error reporting message 1 for Medical Devices break down 1 when corresponding mistake Report message, encapsulated message 2 are encapsulated message corresponding to error reporting message 2, and error reporting message 2 is that event occurs for Medical Devices Hinder corresponding error reporting message when 2, encapsulated message 3 is encapsulated message corresponding to error reporting message 3, error reporting message 3 For Medical Devices break down 3 when corresponding error reporting message, queue 2 is used to store the encapsulated message that is presently processing, Such as encapsulated message 4, mark 4 is identified as corresponding to encapsulated message 4, encapsulated message 4 includes priority 4 and processing strategy 4, preferentially Level 4 is higher than priority 1, priority 2 and priority 3, and data processing equipment once can only be handled and sealed corresponding to a failure Message is filled, as shown in Fig. 2 Fig. 2 is the flow chart of another data processing method provided in an embodiment of the present invention, works as data processing After device gets an error reporting message, this method may comprise steps of:
Step 1, the type for determining the error reporting message.
Specifically, the type of error reporting message can include:(such as digital radiography is set for irrecoverable error The failure that standby flat board can no longer use, the failure highest priority of the type, may be defined as priority 4), it can recover manually Mistake (flat board such as digital radiography equipment is not handled, the failure that cannot be used, and the failure of the type is preferential Level is lower than the priority of irrecoverable error, may be defined as priority 3), mistake (such as Digitized X-ray that can recover automatically The plate temperature of photographic equipment is too high, can recover after human intervention, the failure priority ratio of the type recoverable mistake manually Priority it is low, may be defined as priority 2) and logic error (such as digital radiography equipment is not calibrated, the event of the type The wrong priority that barrier priority ratio can recover automatically is low, may be defined as priority 1).
It should be noted that the failure that distinct device occurs is different, can determine a certain equipment according to actual conditions can The failure that can occur, and priority corresponding to different faults is determined according to the actual requirements, the embodiment of the present invention is not especially limited.
Step 2, according to the type, inquire about preset configuration table, determine priority and place corresponding to the error reporting message Reason strategy.
Specifically, in preset configuration table, priority and processing mode corresponding to above-mentioned four type can be included, true After making type, can be determined according to the type in preset configuration table corresponding to priority and processing mode.
Step 3, the priority and the processing strategy are packaged, obtain encapsulated message 5.
Step 4, according to the priority, be the allocation identification of encapsulated message 5.
Step 5, judge whether the mark and mark 4 are identical.If identical, step 6 is performed, if it is not the same, then holding Row step 10.
If specifically, the mark is identical with mark 4, then it represents that encapsulated message 5 and the priority in encapsulated message 4 and place Reason mode is all identical, if the mark differs with mark 4, then it represents that encapsulated message 5 and the priority in encapsulated message 4 and place Reason mode is different from.
Step 6, encapsulated message 5 and encapsulated message 4 merged, obtain the first merging encapsulated message.
Specifically, because the priority in encapsulated message 5 and encapsulated message 4 and processing mode are all identical, therefore, encapsulation report Failure corresponding to text 5 and encapsulated message 4 is same failure or same type of failure, in order to realize the quick mesh for solving failure , encapsulated message 5 and encapsulated message 4 can be merged, so that data processing equipment is carried out to the encapsulated message after merging Processing, data processing equipment can handle encapsulated message 5 and encapsulated message 4 simultaneously in the encapsulated message after to merging.
Step 7, any processing strategy in the first merging encapsulated message, merge at encapsulated message to first Reason.
Specifically, because failure corresponding to encapsulated message 5 and encapsulated message 4 is same failure or same type of event Barrier, therefore any processing strategy in encapsulated message is merged using first, it is possible to so that encapsulated message 5 and encapsulated message 4 It is processed simultaneously, and then improves the processing speed of failure.
Step 8, handled first merging encapsulated message after, delete this first merge encapsulated message.
Specifically, after the completion of encapsulated message processing is merged by first, in order that queue 1 frees out, to handle other Encapsulated message is deleted, it is necessary to merge encapsulated message by first.
Step 9, enter by the storage value queue 2 of encapsulated message 3 in queue 1, and according to the tactful 3 pairs of encapsulated messages 3 of processing Row processing.
Step 10, the height for comparing priority and priority 4 in encapsulated message 5.Priority ratio in encapsulated message 5 When priority 4 is high, step 11 is performed, when the priority ratio priority 4 in encapsulated message 5 is low, performs step 13, and continue pair Encapsulated message 4 is handled.
Specifically, when the priority ratio priority 4 in encapsulated message 5 is high, the error reporting report being currently received is represented Failure corresponding to text is current major failure, and data processing equipment needs priority treatment encapsulated message 5, to solve encapsulated message Failure corresponding to 5, when the priority ratio priority 4 in encapsulated message 5 is low, represent that failure corresponding to encapsulated message 4 is current Major failure, data processing equipment needs priority treatment encapsulated message 4, to solve failure corresponding to encapsulated message 4.
Step 11, encapsulated message 4 is stored in queue 1, and the processing strategy in encapsulated message 5 is to encapsulated message Failure is handled corresponding to 5.
Specifically, when encapsulated message 4 is stored in queue 1, due to mark and the envelope in queue 1 of encapsulated message 4 The mark of dress message is all different, and the priority in encapsulated message 4 is higher than the priority in each encapsulated message in queue 1, because In queue 1 after storage enclosure message 4, the storage order of the encapsulated message in queue 1 is for this:Encapsulated message 4- encapsulated messages 3- Encapsulated message 2- encapsulated messages 1.
Step 12, after the completion of to the processing of encapsulated message 5, the encapsulated message 4 in queue 1 is stored in queue 2, and root Handled according to the tactful 4 pairs of encapsulated messages 4 of processing.
Step 13, encapsulated message 5 is stored in queue 1.
Specifically, when encapsulated message 5 is stored in queue 1, deposited according to the mark of encapsulated message 5 and priority Storage, when the mark of encapsulated message 5 is identical with the mark of an encapsulated message in queue 1, then by encapsulated message 5 and the encapsulation report Text merges, and obtains the second merging encapsulated message, is then stored in the second merging encapsulated message and the encapsulated message Storage location, when the mark and the mark of any one encapsulated message in queue 1 of encapsulated message 5 are different from, to filling message 5 In priority and queue 1 in each encapsulated message in priority be compared, then according to the height of priority to encapsulation Message 3, encapsulated message 2, encapsulated message 1 and encapsulated message 5 are stored, suitable with the storage of the encapsulated message in queue 1 below Sequence is:Illustrated exemplified by encapsulated message 5- encapsulated message 3- encapsulated message 2- encapsulated messages 1.
Step 14, after encapsulated message 4 has been handled, encapsulated message 4 is deleted.
Step 15, the encapsulated message 5 in queue 1 is stored in queue 2, and plan is handled according to corresponding to encapsulated message 5 Slightly encapsulated message 5 is handled.
Can be by the processing side of failure it should be noted that when being handled according to processing strategy encapsulated message Method is exported to display screen, and with for reference, user can be further processed according to the content on display screen.
In embodiments of the present invention, due to that can carry out priority treatment to current most important failure, therefore the present invention is real Example is applied to enable to Medical Devices currently most important failure is quickly handled, also, due to currently most main in Medical Devices After the failure wanted is resolved, the Medical Devices can is by normal use, therefore the embodiment of the present invention can make Medical Devices Fast quick-recovery uses.
Embodiment three
As shown in figure 3, Fig. 3 is a kind of structural representation of data processing equipment provided in an embodiment of the present invention, the data Processing unit includes:
Transmitter 301, receiver 302, memory 303, and the processor 304 coupled with the memory 303, it is described Transmitter 301, the receiver 302, the memory 303 and the processor 304 are communicated by bus system;
The memory 303 stores software program;
The processor 304 by run the software program for:
Obtain the first error reporting message;
According to the first error reporting message, the first priority corresponding to the first error reporting message and are determined One processing strategy;
Second priority corresponding to first priority and the second error reporting message being presently processing is carried out Compare;
It is higher than second priority in response to first priority, stops handling the second error reporting message;
According to the described first processing strategy, the first error reporting message is handled.
In embodiments of the present invention, after the first error reporting message is got, the first error reporting message is determined Corresponding first priority and the first processing strategy, then to first priority and the second error reporting being presently processing The second priority is contrasted corresponding to message, and when first priority is higher than the second priority, it is wrong to stop processing second Report message by mistake, and according to the first processing strategy, the first error reporting message is handled, therefore, in the embodiment of the present invention In, can the higher error reporting message of priority treatment priority, if error reporting corresponding to the main failure of Medical Devices The priority of message is higher, then the embodiment of the present invention being capable of priority treatment Medical Devices currently most important failure, and right When error reporting message is handled, an error reporting message is once only handled, therefore, the embodiment of the present invention enables to cure Treating equipment, currently most important failure is quickly handled, also, because in Medical Devices, currently most important failure is solved After certainly, the Medical Devices can is by normal use, therefore the embodiment of the present invention can use the fast quick-recovery of Medical Devices.
It should be noted that data processing equipment involved in the embodiment of the present invention can include but is not limited to personal meter It is calculation machine (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless Handheld device, tablet personal computer (Tablet Computer), mobile phone, MP3 player, MP4 players etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, for example, multiple units or group when actually realizing Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer It is each that device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (10)

1. a kind of data processing method, it is characterised in that methods described includes:
Obtain the first error reporting message;
According to the first error reporting message, determine corresponding to the first error reporting message at the first priority and first Reason strategy;
Second priority corresponding to first priority and the second error reporting message being presently processing is compared;
It is higher than second priority in response to first priority, stops handling the second error reporting message;
According to the described first processing strategy, the first error reporting message is handled.
2. processing method as claimed in claim 1, it is characterised in that it is described according to the first error reporting message, it is determined that First priority corresponding to the first error reporting message and the first processing strategy, including:
According to the first error reporting message, error reporting type corresponding to the first error reporting message is determined;
According to the error reporting type, preset configuration table is inquired about, determines first priority and the first processing strategy.
3. processing method as claimed in claim 1, it is characterised in that methods described also includes:
First priority and the first processing strategy are packaged, to obtain the first encapsulated message;
According to first priority and/or the first processing strategy, for the mark of first encapsulated message distribution first;
Judge it is described first mark with distributed for the second encapsulated message second identify whether it is identical, wherein, it is described second encapsulate Message includes the second priority and second processing strategy corresponding to the second error reporting message;
It is identical with second mark in response to the described first mark, by first encapsulated message and second encapsulated message Merge, merge message to obtain first;
According to the described first processing strategy or second processing strategy, the described first merging message is handled;
After the first merging message has been handled, delete described first and merge message.
4. processing method as claimed in claim 3, it is characterised in that
Identify and differ with described second in response to the described first mark, perform to first priority and described second preferential The operation that level is compared.
5. processing method as claimed in claim 4, it is characterised in that
It is less than second priority in response to first priority, first encapsulated message is stored in pending queue In.
6. processing method as claimed in claim 5, it is characterised in that it is described first encapsulated message is stored in it is pending In queue, including:
The 3rd mark distributed the described first mark and the 3rd encapsulated message to be stored in the pending queue compares Compared with;
It is identical with the 3rd mark in response to the described first mark, by first encapsulated message and the 3rd encapsulated message Merge, merge message to obtain second.
7. processing method as claimed in claim 6, it is characterised in that
Differed in response to the described first mark and the described 3rd mark, to first priority and the 3rd encapsulated message In the 3rd error reporting message corresponding to third priority be compared, to obtain comparative result;
According to the comparative result, according to the order of priority from high to low, to first envelope in the pending queue Dress message and the 3rd encapsulated message are ranked up.
8. processing method as claimed in claim 7, it is characterised in that after message deletion is merged by described first, the side Method also includes:
Obtain the 4th encapsulated message corresponding to limit priority in the pending queue;
Fourth process strategy corresponding to error reporting message in the 4th encapsulated message, to the 4th encapsulated message Handled.
9. processing method as claimed in claim 4, it is characterised in that
It is higher than second priority in response to first priority, second encapsulated message is stored in pending queue In.
10. a kind of data processing equipment, it is characterised in that the processing unit includes:
Transmitter, receiver, memory, and the processor coupled with the memory, the transmitter, the receiver, The memory and the processor are communicated by bus system;
The memory storage software program;
The processor by run the software program for:
Obtain the first error reporting message;
According to the first error reporting message, determine corresponding to the first error reporting message at the first priority and first Reason strategy;
Second priority corresponding to first priority and the second error reporting message being presently processing is compared;
It is higher than second priority in response to first priority, stops handling the second error reporting message;
According to the described first processing strategy, the first error reporting message is handled.
CN201710936668.0A 2017-10-10 2017-10-10 A kind of data processing method and data processing equipment Pending CN107707401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710936668.0A CN107707401A (en) 2017-10-10 2017-10-10 A kind of data processing method and data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710936668.0A CN107707401A (en) 2017-10-10 2017-10-10 A kind of data processing method and data processing equipment

Publications (1)

Publication Number Publication Date
CN107707401A true CN107707401A (en) 2018-02-16

Family

ID=61184735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710936668.0A Pending CN107707401A (en) 2017-10-10 2017-10-10 A kind of data processing method and data processing equipment

Country Status (1)

Country Link
CN (1) CN107707401A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725729A (en) * 2005-02-24 2006-01-25 杭州华为三康技术有限公司 Method for tranfer message on packet ring
CN101360013A (en) * 2008-09-25 2009-02-04 烽火通信科技股份有限公司 General fast fault locating method for transmission network based on correlativity analysis
CN102638403A (en) * 2012-04-01 2012-08-15 华为技术有限公司 Method and device for processing messages
CN103683511A (en) * 2013-12-23 2014-03-26 国家电网公司 Method and system for processing fault of integrated monitoring platform based on power distribution network
CN104512422A (en) * 2013-09-26 2015-04-15 广州汽车集团股份有限公司 Fault processing method and fault processing system of hybrid electric car
CN105897365A (en) * 2016-03-23 2016-08-24 京信通信技术(广州)有限公司 Anti-impact processing method and apparatus for processor
CN106156913A (en) * 2015-04-02 2016-11-23 中国商用飞机有限责任公司 Health control method for aircraft department enclosure

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725729A (en) * 2005-02-24 2006-01-25 杭州华为三康技术有限公司 Method for tranfer message on packet ring
CN101360013A (en) * 2008-09-25 2009-02-04 烽火通信科技股份有限公司 General fast fault locating method for transmission network based on correlativity analysis
CN102638403A (en) * 2012-04-01 2012-08-15 华为技术有限公司 Method and device for processing messages
CN104512422A (en) * 2013-09-26 2015-04-15 广州汽车集团股份有限公司 Fault processing method and fault processing system of hybrid electric car
CN103683511A (en) * 2013-12-23 2014-03-26 国家电网公司 Method and system for processing fault of integrated monitoring platform based on power distribution network
CN106156913A (en) * 2015-04-02 2016-11-23 中国商用飞机有限责任公司 Health control method for aircraft department enclosure
CN105897365A (en) * 2016-03-23 2016-08-24 京信通信技术(广州)有限公司 Anti-impact processing method and apparatus for processor

Similar Documents

Publication Publication Date Title
CN104917749A (en) Account registration method and device
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN109254864A (en) A kind of application failure restorative procedure, device and electronic equipment
CN106375404A (en) Data storage control method and apparatus, data storage method and apparatus, and data acquisition method and apparatus
CN103716356B (en) Storing process operating method, device and system based on web
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN107800546A (en) The management method and device of a kind of broadcast message
CN106878164A (en) A kind of message transmitting method and device
CN108282846A (en) A kind of service request processing method and device
CN108052094A (en) A kind of extension card identification method, device and frequency converter
CN107124741A (en) A kind of method and device of RRC connection re-establishments
CN106341270A (en) Fault processing method and device
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN104660780B (en) Electronic equipment and its control method
CN104883705B (en) A kind of the problem of data service is complained localization method and device
CN105843675B (en) Thread exit method and device
CN105162936A (en) Unfamiliar call prompt method and user terminal
CN107707401A (en) A kind of data processing method and data processing equipment
CN104317566B (en) For the data duplication method and device of software interface
CN104507059B (en) A kind of multimedia message transmitting administrative method and multimedia message send managing device
CN106301708A (en) Processing method and processing device when a kind of information sends unsuccessfully
CN104378506B (en) Data manipulation method, data operation device and terminal
CN107182094A (en) Wireless network connecting method, terminal and storage medium
CN108459943A (en) A kind of real-time processing method and device based on spelling wall system alarm
CN103475733A (en) File uploading method and system based on WEB

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
CB02 Change of applicant information

Address after: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co., Ltd

Address before: 201807 Shanghai city Jiading District Industrial Zone Jiading Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication