CN115101152A - Sample priority switching method, device, equipment and medium - Google Patents

Sample priority switching method, device, equipment and medium Download PDF

Info

Publication number
CN115101152A
CN115101152A CN202210699069.2A CN202210699069A CN115101152A CN 115101152 A CN115101152 A CN 115101152A CN 202210699069 A CN202210699069 A CN 202210699069A CN 115101152 A CN115101152 A CN 115101152A
Authority
CN
China
Prior art keywords
sample
priority
target
switched
switching
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
CN202210699069.2A
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.)
Zhongyuan Huiji Biotechnology Co Ltd
Original Assignee
Zhongyuan Huiji Biotechnology 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 Zhongyuan Huiji Biotechnology Co Ltd filed Critical Zhongyuan Huiji Biotechnology Co Ltd
Priority to CN202210699069.2A priority Critical patent/CN115101152A/en
Publication of CN115101152A publication Critical patent/CN115101152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/40ICT specially adapted for the handling or processing of patient-related medical or healthcare data for data related to laboratory analysis, e.g. patient specimen analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Computational Linguistics (AREA)
  • Operations Research (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Automatic Analysis And Handling Materials Therefor (AREA)

Abstract

The invention relates to the field of medical detection, and provides a sample priority switching method, a device, equipment and a medium, which can inquire a sample to be switched, and when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, the priority of the sample to be switched is switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and switching information is recorded, wherein the priority switching interface is used for assisting the user in modifying the priority of the sample to be switched so as to assist a detection person in flexibly switching the priority of the sample according to actual requirements, the target priority is issued to a drive-by-wire, the target sample is processed on the drive-by-wire according to the target priority through the drive-by-wire, and the arbitrary switching of the sample priority on the drive-by-wire is realized so as to meet the flexible requirement of medical detection.

Description

Sample priority switching method, device, equipment and medium
Technical Field
The invention relates to the technical field of medical detection, in particular to a sample priority switching method, a device, equipment and a medium.
Background
When regular samples are normally detected on an assembly line, hospitals sometimes adjust the priority of some regular samples according to special conditions and complete the detection tasks of the regular samples as soon as possible.
However, in the prior art, switching of the priority of the samples on the production line cannot be realized, and the flexibility requirement of the hospital on the sample detection cannot be met.
Disclosure of Invention
In view of the above, there is a need to provide a method, an apparatus, a device and a medium for switching sample priorities, which aim to solve the problem that the sample priorities cannot be switched on the pipeline.
A sample priority switching method is applied to a target service system, and comprises the following steps:
inquiring a sample to be switched;
when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, switching the priority of the sample to be switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and recording switching information; wherein the priority switching interface is used for assisting the user to modify the priority of the samples to be switched;
and sending the target priority to a drive-by-wire, and processing the target sample on a production line according to the target priority through the drive-by-wire.
According to a preferred embodiment of the present invention, before querying the sample to be switched, the method further comprises:
detecting whether the target service system is started normally or not, and detecting whether a module accessed by the assembly line works normally or not;
when the target service system is detected to be normally started and a module accessed by the assembly line works normally, detecting whether the target service system is normally connected, detecting whether the assembly line and the line control are normally connected, and detecting whether the line control and the target service system are normally connected;
when detecting that the target service system is normally connected, the assembly line is normally connected with the wire control, and the wire control is normally connected with the target service system, inquiring the sample to be switched; or alternatively
And when the target service system is detected to be not normally connected, and/or the assembly line and the line control are not normally connected, and/or the line control and the target service system are not normally connected, generating abnormal information, displaying the abnormal information on a configured alarm interface, and alarming according to the abnormal information.
According to a preferred embodiment of the present invention, said querying the sample to be switched comprises:
when sample information input by the user is received, querying a sample matched with the sample information in a configuration database to obtain at least one candidate sample;
when a selection signal of the user for any candidate sample in the at least one candidate sample is received, determining the selected any candidate sample as the sample to be switched.
According to a preferred embodiment of the present invention, when receiving a signal that a user modifies the priority of the sample to be switched through a priority switching interface, the method further comprises:
identifying whether the sample to be switched is detected;
when the to-be-switched sample is identified to be detected, forbidding to modify the priority of the to-be-switched sample; or
And when the sample to be switched is identified not to be detected completely, switching the priority of the sample to be switched according to the modification of the user.
According to a preferred embodiment of the present invention, said processing said target samples according to said target priority on the pipeline by said line control comprises:
determining a module for processing the target sample on the assembly line at present as a current processing module;
acquiring position information of the target sample on the production line;
obtaining a sample arranged in front of the target sample on the current processing module according to the position information, and taking the sample as an initial sample;
detecting the storage space of the cache position of the current processing module;
processing the initial sample and the target sample on the current processing module according to the storage space.
According to a preferred embodiment of the present invention, the processing the initial sample and the target sample on the current processing module according to the storage space comprises:
when the storage space is not full and the initial sample is not processed, adding the target sample to the cache position, and transmitting the target sample from the cache position to a processing position of the current processing module in preference to the initial sample; or
When the storage space is full, detecting the current processing state of each initial sample in the initial samples, acquiring the initial sample with the current processing state being processing from the initial samples as a first sample, acquiring other samples except the first sample from the initial samples as second samples, releasing the second samples from the current processing module, and releasing the first samples from the current processing module after the first sample processing is completed.
According to a preferred embodiment of the invention, the method further comprises:
after the target priority is assigned to the drive-by-wire, when a signal for confirming the receiving of the feedback of the drive-by-wire is not received, an alarm is sent out;
and processing the target sample according to the priority of the target sample before switching.
A sample priority switching apparatus, operating in a target traffic system, the sample priority switching apparatus comprising:
the query unit is used for querying the sample to be switched;
the switching unit is used for switching the priority of the sample to be switched according to the modification of a user when receiving a signal that the user modifies the priority of the sample to be switched through a priority switching interface, so as to obtain a target sample and the target priority of the target sample, and recording switching information; wherein the priority switching interface is used for assisting the user to modify the priority of the samples to be switched;
and the processing unit is used for sending the target priority to a drive-by-wire unit and processing the target sample on a production line according to the target priority through the drive-by-wire unit.
A computer device, the computer device comprising:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the sample priority switching method.
A computer-readable storage medium having at least one instruction stored therein, the at least one instruction being executable by a processor in a computer device to implement the sample priority switching method.
According to the technical scheme, a sample to be switched can be inquired, when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, the priority of the sample to be switched is switched according to the modification of the user, a target sample and the target priority of the target sample are obtained, and switching information is recorded, wherein the priority switching interface is used for assisting the user in modifying the priority of the sample to be switched so as to assist a detection worker in flexibly switching the priority of the sample according to actual requirements, the target priority is assigned to a wire control, the target sample is processed on a production line according to the target priority through the wire control, and then the random switching of the sample priority on the production line is realized so as to meet the flexibility requirement of medical detection.
Drawings
FIG. 1 is a flow chart of a sample priority switching method according to a preferred embodiment of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the sample priority switching apparatus of the present invention.
Fig. 3 is a schematic structural diagram of a computer device for implementing a sample priority switching method according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the sample priority switching method of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
The sample priority switching method is applied to one or more computer devices, which are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device may be any electronic product capable of performing human-computer interaction with a user, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an interactive web Television (IPTV), an intelligent wearable device, and the like.
The computer device may also include a network device and/or a user device. The network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or network servers.
The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence base technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The Network in which the computer device is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The sample priority switching method is applied to a target service system and comprises the following steps:
and S10, inquiring the sample to be switched.
In this embodiment, the target business System may be an intelligent business System, which is used to assist in completing tasks of exchanging with a Laboratory Information Management System (LIS) and executing initiation and request of business processes related to a line body.
The line body comprises modules forming an automatic laboratory system and is mainly divided into a pretreatment module and a post-treatment module.
In this embodiment, the target service system interacts with each module on the line control and the assembly line to complete the task of detecting the sample.
The wire control is used for processing the control of related instrument modules on the wire body and executing business processing work.
In this embodiment, before querying the sample to be switched, the method further includes:
detecting whether the target service system is started normally or not, and detecting whether a module accessed by the assembly line works normally or not;
when the target service system is detected to be normally started and a module accessed by the assembly line works normally, detecting whether the target service system is normally connected, detecting whether the assembly line and the line control are normally connected, and detecting whether the line control and the target service system are normally connected;
when detecting that the target service system is normally connected, the assembly line is normally connected with the wire control, and the wire control is normally connected with the target service system, inquiring the sample to be switched; or
And when the target service system is detected to be not normally connected, and/or the assembly line and the drive-by-wire are not normally connected, and/or the drive-by-wire and the target service system are not normally connected, generating abnormal information, displaying the abnormal information on a configured alarm interface, and alarming according to the abnormal display.
Specifically, when it is detected that the target service system is not normally started and/or the module accessed by the pipeline does not normally work, an alarm may be issued and related abnormal information may be displayed.
Through the embodiment, whether each equipment module can be normally started and operated or not can be firstly confirmed before formally detecting the sample, whether each equipment module can be normally connected or not is confirmed, the adverse effect on the detection process caused by abnormity in the formal detection period is avoided, meanwhile, related workers can be reminded to timely handle through alarming, and the response speed to abnormity is improved.
In this embodiment, the querying the sample to be switched includes:
when sample information input by the user is received, querying a sample matched with the sample information in a configuration database to obtain at least one candidate sample;
when a selection signal of the user for any candidate sample in the at least one candidate sample is received, determining the selected any candidate sample as the sample to be switched.
Wherein the sample information may include, but is not limited to, one or more of the following:
sample code, sample bar code, and patient name corresponding to the sample.
The configuration database may be a database of a Laboratory Information Management System (LIS), which is not limited in the present invention.
By the embodiment, the automatic query of the sample to be switched can be realized, and the efficiency of sample detection is improved.
S11, when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, switching the priority of the sample to be switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and recording switching information.
Wherein the priority switching interface is used for assisting the user in modifying the priority of the samples to be switched. The priority switching interface may include the candidate priorities and present them in a drop-down menu or list for convenient selection by the user.
In one embodiment, when a configuration operation on the sample to be switched is detected, a priority switching interface for the sample to be switched is popped up. Wherein the configuration operation may include, but is not limited to: click operation (such as double-click operation, single-click operation and the like) and press operation (such as long-press operation and the like).
Alternatively, the samples to be switched may be directly displayed on the priority switching interface, and the invention is not limited thereto.
In this embodiment, when receiving a signal that a user modifies the priority of the sample to be switched through a priority switching interface, the method further includes:
identifying whether the sample to be switched is detected;
when the sample to be switched is identified to be detected completely, forbidding to modify the priority of the sample to be switched; or
And when the sample to be switched is identified not to be detected completely, switching the priority of the sample to be switched according to the modification of the user.
Specifically, whether the sample to be switched is detected or not can be determined through information reported by a relevant analyzer.
Wherein, the incomplete detection comprises the conditions of non-detection, no result after the detection is executed, and the like.
Through the embodiment, the repeated configuration of the priority of the sample which is detected can be avoided, the invalid operation is effectively reduced, and the detection efficiency is further improved.
In this embodiment, the handover information includes, but is not limited to, one or a combination of the following information:
switching time, operator of the switching, reason of the switching, etc.
The switching information is recorded to be used as a basis for sample priority adjustment, so that subsequent checking is facilitated.
And S12, sending the target priority to a drive-by-wire, and processing the target sample on a production line according to the target priority through the drive-by-wire.
In this embodiment, said processing the target sample according to the target priority on the pipeline by the line control includes:
determining a module for processing the target sample on the assembly line at present as a current processing module;
acquiring position information of the target sample on the production line;
obtaining a sample arranged in front of the target sample on the current processing module according to the position information, and taking the sample as an initial sample;
detecting the storage space of the cache position of the current processing module;
processing the initial sample and the target sample on the current processing module according to the storage space.
Specifically, the processing the initial sample and the target sample on the current processing module according to the storage space comprises:
when the storage space is not full and the initial sample is not processed, adding the target sample to the cache position, and transmitting the target sample from the cache position to the processing position of the current processing module in preference to the initial sample; or alternatively
When the storage space is full, detecting the current processing state of each initial sample in the initial samples, acquiring the initial sample with the current processing state being processing from the initial samples as a first sample, acquiring other samples except the first sample from the initial samples as second samples, releasing the second samples from the current processing module, and releasing the first samples from the current processing module after the first sample processing is completed.
For example: the initial samples may be regular samples on the pipeline, and the target samples may be priority samples with priorities adjusted from "regular" to "emergency".
By the embodiment, the samples after priority switching can be processed preferentially, and the flexibility of online sample detection is improved.
In this embodiment, the method further includes:
after the target priority is assigned to the drive-by-wire, when a signal for confirming the receiving of the feedback of the drive-by-wire is not received, an alarm is sent out;
and processing the target sample according to the priority of the target sample before switching.
For example: and after the target priority is assigned to the drive-by-wire, if the drive-by-wire is not received or no confirmation reply is carried out after the drive-by-wire is received, the target service system gives an alarm to prompt a worker.
It should be noted that, when the target service system, the line control, and the modules on the assembly line perform data transmission mutually, it is necessary to feed back whether data is received in time, and alarm in time when no feedback is received, so as to avoid the influence on detection due to abnormal communication.
Through the implementation mode, when data transmission and feedback among different equipment modules are abnormal, an alarm is given in time, and adverse effects on normal detection execution are avoided.
According to the technical scheme, the sample to be switched can be inquired, when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, the priority of the sample to be switched is switched according to the modification of the user, a target sample and the target priority of the target sample are obtained, and switching information is recorded, wherein the priority switching interface is used for assisting the user in modifying the priority of the sample to be switched so as to assist a detection person in flexibly switching the priority of the sample according to actual requirements, the target priority is assigned to a wire control, the target sample is processed on a flow line according to the target priority through the wire control, and then the sample priority on the flow line is randomly switched, so that the flexibility requirement of medical detection is met.
Fig. 2 is a functional block diagram of a preferred embodiment of the sample priority switching apparatus according to the present invention. The sample priority switching device 11 comprises a query unit 110, a switching unit 112 and a processing unit 113. The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and that can perform a fixed function, and that are stored in the memory 12. In the present embodiment, the functions of the modules/units will be described in detail in the following embodiments.
The sample priority switching device 11 operates in a target service system, and includes:
the query unit 110 queries the sample to be switched.
In this embodiment, the target business System may be an intelligent business System, which is used to assist in completing tasks of exchanging with a Laboratory Information Management System (LIS) and executing initiation and request of business processes related to a line body.
The line body comprises modules forming an automatic laboratory system and is mainly divided into a pretreatment module and a post-treatment module.
In this embodiment, the target service system interacts with each module on the line control and the assembly line to complete a task of detecting a sample.
The wire control is used for processing the control of related instrument modules on the wire body and executing business processing work.
In this embodiment, before querying a sample to be switched, whether the target service system is normally started or not and whether a module accessed by the pipeline normally works or not are detected;
when the target service system is detected to be normally started and a module accessed by the assembly line works normally, detecting whether the target service system is normally connected, detecting whether the assembly line and the drive-by-wire are normally connected, and detecting whether the drive-by-wire and the target service system are normally connected;
when detecting that the target service system is normally connected, the assembly line is normally connected with the wire control, and the wire control is normally connected with the target service system, inquiring the sample to be switched; or
And when the target service system is detected to be not normally connected, and/or the assembly line and the line control are not normally connected, and/or the line control and the target service system are not normally connected, generating abnormal information, displaying the abnormal information on a configured alarm interface, and alarming according to the abnormal information.
Specifically, when it is detected that the target service system is not normally started and/or the module accessed by the pipeline does not normally work, an alarm may be issued and related abnormal information may be displayed.
Through the embodiment, whether each equipment module can be normally started and operated or not can be firstly confirmed before formally detecting the sample, whether each equipment module can be normally connected or not is confirmed, the adverse effect on the detection process caused by abnormity in the formal detection period is avoided, meanwhile, related workers can be reminded to timely handle through alarming, and the response speed to abnormity is improved.
In this embodiment, the querying unit 110 queries the sample to be switched, including:
when sample information input by the user is received, querying a sample matched with the sample information in a configuration database to obtain at least one candidate sample;
when a selection signal of the user for any candidate sample in the at least one candidate sample is received, determining the selected any candidate sample as the sample to be switched.
Wherein the sample information may include, but is not limited to, one or more of the following:
sample code, sample bar code, and patient name corresponding to the sample.
The configuration database may be a database of a Laboratory Information Management System (LIS), which is not limited in the present invention.
Through the embodiment, the automatic query of the sample to be switched can be realized, and the efficiency of sample detection is improved.
When receiving a signal that a user modifies the priority of the sample to be switched through the priority switching interface, the switching unit 112 switches the priority of the sample to be switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and records switching information.
Wherein the priority switching interface is used for assisting the user in modifying the priority of the samples to be switched. The priority switching interface may include the candidate priorities and present them in a drop-down menu or list for convenient selection by the user.
In one embodiment, when the configuration operation on the sample to be switched is detected, a priority switching interface for the sample to be switched is popped up. Wherein the configuration operation may include, but is not limited to: click operation (such as double-click operation, single-click operation and the like) and press operation (such as long-press operation and the like).
Alternatively, the samples to be switched may be directly displayed on the priority switching interface, and the invention is not limited thereto.
In this embodiment, when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, whether the sample to be switched is detected is identified;
when the to-be-switched sample is identified to be detected, forbidding to modify the priority of the to-be-switched sample; or alternatively
And when the sample to be switched is identified not to be detected completely, switching the priority of the sample to be switched according to the modification of the user.
Specifically, whether the sample to be switched is detected or not can be determined through information reported by a relevant analyzer.
Wherein, the incomplete detection comprises the conditions of non-detection, no result after the detection is executed, and the like.
Through the embodiment, the repeated configuration of the priority of the sample which is detected can be avoided, the invalid operation is effectively reduced, and the detection efficiency is improved.
In this embodiment, the handover information includes, but is not limited to, one or a combination of the following information:
switching time, operator of the switching, reason of the switching, etc.
The switching information is recorded to be used as a basis for sample priority adjustment, so that subsequent checking is facilitated.
The switching unit 112 assigns the target priority to the line control, and processes the target sample according to the target priority on the pipeline through the line control.
In this embodiment, the processing, by the switch unit 112 via the line-control, the target sample according to the target priority on the pipeline includes:
determining a module for processing the target sample on the assembly line at present as a current processing module;
acquiring position information of the target sample on the production line;
obtaining a sample arranged in front of the target sample on the current processing module according to the position information, and taking the sample as an initial sample;
detecting the storage space of the cache position of the current processing module;
processing the initial sample and the target sample on the current processing module according to the storage space.
Specifically, the processing the initial sample and the target sample on the current processing module according to the storage space comprises:
when the storage space is not full and the initial sample is not processed, adding the target sample to the cache position, and transmitting the target sample from the cache position to the processing position of the current processing module in preference to the initial sample; or
When the storage space is full, detecting the current processing state of each initial sample in the initial samples, acquiring the initial sample with the current processing state being processing from the initial samples as a first sample, acquiring other samples except the first sample from the initial samples as second samples, releasing the second samples from the current processing module, and releasing the first samples from the current processing module after the first sample processing is completed.
For example: the initial samples may be regular samples on the pipeline, and the target samples may be priority samples with priorities adjusted from "regular" to "emergency".
By the embodiment, the samples after priority switching can be processed preferentially, and the flexibility of online sample detection is improved.
In this embodiment, after the target priority is assigned to the drive-by-wire, when a signal confirming reception of the feedback of the drive-by-wire is not received, an alarm is issued;
and processing the target sample according to the priority of the target sample before switching.
For example: and after the target priority is assigned to the drive-by-wire, if the drive-by-wire is not received or a confirmation reply is not carried out after the drive-by-wire is received, the target service system alarms to prompt a worker.
It should be noted that, when the target service system, the line control, and the modules on the assembly line perform data transmission mutually, it is necessary to feed back whether data is received in time, and to alarm in time when no feedback is received, so as to avoid the influence on detection due to abnormal communication.
Through the implementation mode, when data transmission and feedback among different equipment modules are abnormal, an alarm is given in time, and adverse effects on normal detection execution are avoided.
According to the technical scheme, the sample to be switched can be inquired, when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, the priority of the sample to be switched is switched according to the modification of the user, a target sample and the target priority of the target sample are obtained, and switching information is recorded, wherein the priority switching interface is used for assisting the user in modifying the priority of the sample to be switched so as to assist a detection person in flexibly switching the priority of the sample according to actual requirements, the target priority is assigned to a wire control, the target sample is processed on a flow line according to the target priority through the wire control, and then the sample priority on the flow line is randomly switched, so that the flexibility requirement of medical detection is met.
Fig. 3 is a schematic structural diagram of a computer device for implementing the sample priority switching method according to the preferred embodiment of the present invention.
The computer device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program, such as a sample priority switching program, stored in the memory 12 and executable on the processor 13.
It will be understood by those skilled in the art that the schematic diagram is merely an example of the computer device 1, and does not constitute a limitation to the computer device 1, the computer device 1 may have a bus-type structure or a star-shaped structure, the computer device 1 may further include more or less other hardware or software than those shown, or different component arrangements, for example, the computer device 1 may further include an input and output device, a network access device, etc.
It should be noted that the computer device 1 is only an example, and other electronic products that are currently available or may come into existence in the future, such as electronic products that can be adapted to the present invention, should also be included in the scope of the present invention, and are included herein by reference.
The memory 12 includes at least one type of readable storage medium, which includes flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, for example a removable hard disk of the computer device 1. The memory 12 may also be an external storage device of the computer device 1 in other embodiments, such as a plug-in removable hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 can be used not only for storing application software installed in the computer apparatus 1 and various kinds of data such as a code of a sample priority switching program, etc., but also for temporarily storing data that has been output or is to be output.
The processor 13 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 13 is a Control Unit (Control Unit) of the computer device 1, connects various components of the whole computer device 1 by using various interfaces and lines, and executes various functions and processes data of the computer device 1 by running or executing programs or modules (for example, executing a sample priority switching program and the like) stored in the memory 12 and calling data stored in the memory 12.
The processor 13 executes the operating system of the computer device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the various sample priority switching method embodiments described above, such as the steps shown in fig. 1.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in the memory 12 and executed by the processor 13 to accomplish the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a query unit 110, a switching unit 112, a processing unit 113.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute parts of the sample priority switching method according to the embodiments of the present invention.
The integrated modules/units of the computer device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), random-access Memory, or the like.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one line is shown in FIG. 3, but this does not mean only one bus or one type of bus. The bus is arranged to enable connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 13 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The computer device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the computer device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the computer device 1 and other computer devices.
Optionally, the computer device 1 may further comprise a user interface, which may be a Display (Display), an input unit, such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the computer device 1 and for displaying a visualized user interface.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
Fig. 3 shows only the computer device 1 with the components 12-13, and it will be understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the computer device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement a sample priority switching method, and the processor 13 can execute the plurality of instructions to implement:
inquiring a sample to be switched;
when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, switching the priority of the sample to be switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and recording switching information; wherein the priority switching interface is used for assisting the user to modify the priority of the samples to be switched;
and sending the target priority to a drive-by-wire, and processing the target sample on a production line according to the target priority through the drive-by-wire.
Specifically, the processor 13 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the instruction, which is not described herein again.
It should be noted that all the data involved in the present application are legally acquired.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the present invention may also be implemented by one unit or means through software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A sample priority switching method is applied to a target service system, and is characterized in that the sample priority switching method comprises the following steps:
inquiring a sample to be switched;
when a signal that a user modifies the priority of the sample to be switched through a priority switching interface is received, switching the priority of the sample to be switched according to the modification of the user to obtain a target sample and the target priority of the target sample, and recording switching information; wherein the priority switching interface is used for assisting the user to modify the priority of the samples to be switched;
and sending the target priority to a line control, and processing the target sample on a production line through the line control according to the target priority.
2. The sample priority switching method according to claim 1, wherein before querying the samples to be switched, the method further comprises:
detecting whether the target service system is normally started or not and detecting whether a module accessed by the assembly line normally works or not;
when the target service system is detected to be normally started and a module accessed by the assembly line works normally, detecting whether the target service system is normally connected, detecting whether the assembly line and the line control are normally connected, and detecting whether the line control and the target service system are normally connected;
when detecting that the target service system is normally connected, the assembly line is normally connected with the wire control, and the wire control is normally connected with the target service system, inquiring the sample to be switched; or
And when the target service system is detected to be not normally connected, and/or the assembly line and the line control are not normally connected, and/or the line control and the target service system are not normally connected, generating abnormal information, displaying the abnormal information on a configured alarm interface, and alarming according to the abnormal information.
3. The sample priority switching method of claim 1, wherein the querying of the samples to be switched comprises:
when sample information input by the user is received, querying a sample matched with the sample information in a configuration database to obtain at least one candidate sample;
when a selection signal of the user for any candidate sample in the at least one candidate sample is received, determining the selected any candidate sample as the sample to be switched.
4. The sample priority switching method of claim 1, wherein when receiving a signal that a user modifies the priority of the samples to be switched over a priority switching interface, the method further comprises:
identifying whether the sample to be switched is detected;
when the sample to be switched is identified to be detected completely, forbidding to modify the priority of the sample to be switched; or alternatively
And when the to-be-switched sample is identified to be not detected completely, switching the priority of the to-be-switched sample according to the modification of the user.
5. The sample priority switching method of claim 1, wherein the processing the target sample by the wire-controlled in-line at the target priority comprises:
determining a module for processing the target sample on the assembly line at present as a current processing module;
acquiring position information of the target sample on the production line;
obtaining a sample arranged in front of the target sample on the current processing module according to the position information, and taking the sample as an initial sample;
detecting the storage space of the cache position of the current processing module;
processing the initial sample and the target sample on the current processing module according to the storage space.
6. The method of sample priority switching according to claim 5, wherein the processing the initial samples and the target samples on the current processing module according to the storage space comprises:
when the storage space is not full and the initial sample is not processed, adding the target sample to the cache position, and transmitting the target sample from the cache position to the processing position of the current processing module in preference to the initial sample; or
When the storage space is full, detecting the current processing state of each initial sample in the initial samples, acquiring the initial sample of which the current processing state is in processing from the initial samples as a first sample, acquiring other samples except the first sample from the initial samples as second samples, releasing the second samples from the current processing module, and releasing the first samples from the current processing module after the first sample processing is completed.
7. The method of sample priority switching according to claim 1, wherein the method further comprises:
after the target priority is assigned to the drive-by-wire, when a signal for confirming the receiving of the feedback of the drive-by-wire is not received, an alarm is sent out;
and processing the target sample according to the priority of the target sample before switching.
8. A sample priority switching apparatus, operating in a target service system, the sample priority switching apparatus comprising:
the query unit is used for querying the sample to be switched;
the switching unit is used for switching the priority of the sample to be switched according to the modification of a user when receiving a signal that the user modifies the priority of the sample to be switched through a priority switching interface, so as to obtain a target sample and the target priority of the target sample, and recording switching information; wherein the priority switching interface is used for assisting the user to modify the priority of the samples to be switched;
and the processing unit is used for sending the target priority to a drive-by-wire and processing the target sample on a production line through the drive-by-wire according to the target priority.
9. A computer device, characterized in that the computer device comprises:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement the sample priority switching method of any of claims 1 to 7.
10. A computer-readable storage medium characterized by: the computer-readable storage medium has stored therein at least one instruction that is executable by a processor in a computer device to implement the sample priority switching method of any one of claims 1 to 7.
CN202210699069.2A 2022-06-20 2022-06-20 Sample priority switching method, device, equipment and medium Pending CN115101152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210699069.2A CN115101152A (en) 2022-06-20 2022-06-20 Sample priority switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210699069.2A CN115101152A (en) 2022-06-20 2022-06-20 Sample priority switching method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115101152A true CN115101152A (en) 2022-09-23

Family

ID=83290655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210699069.2A Pending CN115101152A (en) 2022-06-20 2022-06-20 Sample priority switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115101152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117316359A (en) * 2023-09-22 2023-12-29 杭州威灿科技有限公司 Blood detection process tracking method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117316359A (en) * 2023-09-22 2023-12-29 杭州威灿科技有限公司 Blood detection process tracking method, device, equipment and medium
CN117316359B (en) * 2023-09-22 2024-04-09 杭州威灿科技有限公司 Blood detection process tracking method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN112559535A (en) Multithreading-based asynchronous task processing method, device, equipment and medium
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN115101152A (en) Sample priority switching method, device, equipment and medium
CN114116400A (en) Application exception handling method, device, equipment and medium based on log printing
CN114675976B (en) GPU (graphics processing Unit) sharing method, device, equipment and medium based on kubernets
CN114816371B (en) Message processing method, device, equipment and medium
CN115147031B (en) Clearing workflow execution method, device, equipment and medium
CN115980374A (en) Method, device and medium for detecting bar code-free sample
CN114185502B (en) Log printing method, device, equipment and medium based on production line environment
CN115055289A (en) Method, device, equipment and medium for centrifugal control of sample
CN114399397A (en) Renewal tracking method, device, equipment and medium
CN115065642B (en) Code table request method, device, equipment and medium under bandwidth limitation
CN116306591B (en) Flow form generation method, device, equipment and medium
CN116934263B (en) Product batch admittance method, device, equipment and medium
CN117316359B (en) Blood detection process tracking method, device, equipment and medium
CN116957649B (en) Customer screening method, device, equipment and medium
CN116860508B (en) Distributed system software defect continuous self-healing method, device, equipment and medium
CN116976821B (en) Enterprise problem feedback information processing method, device, equipment and medium
CN116483747B (en) Quotation snapshot issuing method, device, equipment and medium
CN115934576B (en) Test case generation method, device, equipment and medium in transaction scene
CN114860349B (en) Data loading method, device, equipment and medium
CN112559940B (en) Page labeling method, device, equipment and medium
CN116414699B (en) Operation and maintenance testing method, device, equipment and medium
CN114860314B (en) Deployment upgrading method, device, equipment and medium based on database compatibility
CN116630048A (en) Trading method, device, equipment and medium based on futures quotation K line

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