Sample priority switching method and device, equipment and medium
By querying the samples to be switched on the pipeline and receiving the user priority modification signal, recording the switching information, and issuing the target priority to the line-controlled processing samples, the problem of the sample priority on the pipeline being unable to be switched is solved, and the flexibility and efficiency of sample detection are improved.
Patent Information
- Application Number
- CN202510841134.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-10-17
AI Technical Summary
Existing technologies cannot achieve flexible switching of sample priorities on the assembly line and cannot meet the hospital's flexibility requirements for sample testing.
By querying the samples to be switched, receiving the user's modification signal of the sample priority through the priority switching interface, recording the switching information, and issuing the target priority to the line control, the line control processes the samples according to the target priority on the pipeline.
It realizes arbitrary switching of sample priorities on the assembly line, meets the flexibility requirements of medical testing, and improves testing efficiency and flexibility.
Smart Images

Figure CN120809109A_ABST
Abstract
Description
[0001] This application is a divisional application of the application with the application date of June 20, 2022, the application number of 202210699069.2, and the invention name of "sample priority switching method, device, equipment and medium". TECHNICAL FIELD
[0002] The present application relates to the technical field of medical detection, and in particular to a sample priority switching method, device, equipment and medium. BACKGROUND
[0003] When the conventional samples are normally detected on the flow line, sometimes the hospital needs to adjust the priority of some conventional samples according to special circumstances, and complete the detection task of these conventional samples as soon as possible.
[0004] However, the existing technology cannot realize the switching of the sample priority on the flow line, and cannot meet the flexibility requirements of the hospital for sample detection. SUMMARY
[0005] In view of the above, it is necessary to provide a sample priority switching method, device, equipment and medium, aiming at solving the problem that the sample priority on the flow line cannot be switched.
[0006] A sample priority switching method applied to a target business system, the sample priority switching method comprising:
[0007] Querying a sample to be switched;
[0008] When receiving a signal that a user modifies the priority of the sample to be switched through a priority switching interface, switching the priority of the sample to be switched according to the modification of the user, obtaining a target sample and a target priority of the target sample, and recording switching information; wherein the priority switching interface is used to assist the user to modify the priority of the sample to be switched;
[0009] The target priority is sent to a line control, and the target sample is processed on the flow line according to the target priority through the line control.
[0010] According to the preferred embodiment of the present application, before querying the sample to be switched, the method further comprises:
[0011] Detecting whether the target business system is normally started, and detecting whether the module accessed by the flow line is normally working;
[0012] When it is detected that the target business system is normally started and the module accessed by the flow line is normally working, detecting whether the target business system is normally online, detecting whether the flow line and the line control are normally online, and detecting whether the line control and the target business system are normally online;
[0013] When it is detected that the target business system is normally online, the pipeline is normally online with the line control, and the line control is normally online with the target business system, querying the sample to be switched; or
[0014] When it is detected that the target business system is not connected normally, and / or the assembly line and the line control are not connected normally, and / or the line control and the target business system are not connected normally, abnormal information is generated, and the abnormal information is displayed on the configured alarm interface, and an alarm is issued according to the abnormal display.
[0015] According to a preferred embodiment of the present invention, querying the sample to be switched includes:
[0016] When the sample information input by the user is received, searching the configuration database for samples matching the sample information to obtain at least one candidate sample;
[0017] When a selection signal of the user for any candidate sample among the at least one candidate sample is received, the selected arbitrary candidate sample is determined as the sample to be switched.
[0018] According to a preferred embodiment of the present invention, when a signal is received indicating that the user has modified the priority of the sample to be switched through the priority switching interface, the method further includes:
[0019] Identify whether the sample to be switched has completed detection;
[0020] When it is identified that the sample to be switched has completed detection, prohibiting modification of the priority of the sample to be switched; or
[0021] When it is identified that the sample to be switched has not completed detection, the priority of the sample to be switched is switched according to the modification by the user.
[0022] According to a preferred embodiment of the present invention, processing the target sample according to the target priority on the pipeline by the inline control includes:
[0023] Determine the module currently processing the target sample on the pipeline as the current processing module;
[0024] Obtaining position information of the target sample on the pipeline;
[0025] Acquire a sample that is arranged before the target sample on the current processing module according to the position information and use it as an initial sample;
[0026] Detecting the storage space of the cache location of the current processing module;
[0027] processing the initial samples and the target sample on the current processing module according to the storage space.
[0028] According to the preferred embodiment of the present application, the processing the initial samples and the target sample on the current processing module according to the storage space comprises:
[0029] when the storage space is not full and the initial samples are not processed, adding the target sample to the cache location and transmitting the target sample from the cache location to the processing location of the current processing module in priority to the initial samples; or
[0030] when the storage space is full, detecting the current processing state of each initial sample in the initial samples, obtaining the initial sample with the current processing state as a first sample and the remaining samples except the first sample as second samples from the initial samples, discharging the second samples from the current processing module, and discharging the first sample from the current processing module after the processing of the first sample is completed.
[0031] According to the preferred embodiment of the present application, the method further comprises:
[0032] after the target priority is issued to the line control, when no signal of confirming the reception of the line control feedback is received, issuing an alarm;
[0033] processing the target sample according to the priority before the target sample is switched.
[0034] A sample priority switching device, running in a target business system, the sample priority switching device comprising:
[0035] a querying unit configured to query a to-be-switched sample;
[0036] a switching unit configured to, when a signal of modifying the priority of the to-be-switched sample by a user through a priority switching interface is received, switch the priority of the to-be-switched sample according to the modification of the user, obtain a target sample and a target priority of the target sample, and record switching information; wherein the priority switching interface is used to assist the user to modify the priority of the to-be-switched sample;
[0037] a processing unit configured to issue the target priority to a line control and process the target sample on a pipeline according to the target priority through the line control.
[0038] A computer device, comprising:
[0039] a memory configured to store at least one instruction; and
[0040] The processor executes the instructions stored in the memory to implement the sample priority switching method.
[0041] A computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the sample priority switching method.
[0042] It can be seen from the above technical solution that the present invention can query the samples to be switched. When a signal is received that the user modifies the priority of the sample to be switched through the priority switching interface, the priority of the sample to be switched is switched according to the user's modification, and the target sample and the target priority of the target sample are obtained, and the switching information is recorded. The priority switching interface is used to assist the user to modify the priority of the sample to be switched, so as to assist the testing personnel to flexibly switch the priority of the sample according to actual needs, and pass the target priority to the line control, and process the target sample according to the target priority on the assembly line through the line control, thereby realizing arbitrary switching of the sample priority on the assembly line to meet the flexibility requirements of medical testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flow chart of a preferred embodiment of the sample priority switching method of the present invention.
[0044] Figure 2 It is a functional module diagram of a preferred embodiment of the sample priority switching device of the present invention.
[0045] Figure 3 It is a structural diagram of a computer device according to a preferred embodiment of the present invention for implementing the sample priority switching method. DETAILED DESCRIPTION
[0046] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0047] like Figure 1 FIG. 1 is a flow chart of a preferred embodiment of the sample priority switching method of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
[0048] The sample priority switching method is applied to one or more computer devices, which is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions. The hardware thereof includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0049] The computer device can be any electronic product that can interact with the user, such as a personal computer, a tablet computer, a smartphone, a personal digital assistant (PDA), a game console, an interactive Internet Protocol Television (IPTV), a smart wearable device, etc.
[0050] The computer device can also include network devices and / or user devices. The network devices include, but are not limited to, single network servers, server groups composed of multiple network servers, or clouds composed of a large number of hosts or network servers based on cloud computing.
[0051] The server can be a standalone server, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, etc. basic cloud computing services.
[0052] Artificial intelligence (AI) is the use of digital computers or computer-controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0053] The basic technology of artificial intelligence generally includes technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction system, mechatronics, etc. The software technology of artificial intelligence mainly includes computer vision technology, robot technology, biometric technology, speech processing technology, natural language processing technology, and machine learning / deep learning, etc. several major directions.
[0054] The network where the computer device is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0055] The sample priority switching method is applied to a target service system, including:
[0056] S10, querying the sample to be switched.
[0057] In this embodiment, the target business system may be an intelligent business system for assisting in completing the tasks of exchanging and executing initiation and request of related business processing on the line with a Laboratory Information Management System (LIS).
[0058] The line includes modules that constitute the automated laboratory system, which are mainly divided into pre-processing modules and post-processing modules.
[0059] In this embodiment, the target business system interacts with the line control and various modules on the assembly line to complete the detection task of the sample.
[0060] The line control is used to control the relevant instrument modules on the line and perform business processing.
[0061] In this embodiment, before querying the sample to be switched, the method further includes:
[0062] Detect whether the target business system is started normally, and detect whether the modules connected to the pipeline are working normally;
[0063] When it is detected that the target business system is started normally and the modules connected to the pipeline are working normally, detecting whether the target business system is online normally, detecting whether the pipeline and the line control are online normally, and detecting whether the line control and the target business system are online normally;
[0064] When it is detected that the target business system is normally online, the pipeline is normally online with the line control, and the line control is normally online with the target business system, querying the sample to be switched; or
[0065] When it is detected that the target business system is not connected normally, and / or the assembly line and the line control are not connected normally, and / or the line control and the target business system are not connected normally, abnormal information is generated, and the abnormal information is displayed on the configured alarm interface, and an alarm is issued according to the abnormal display.
[0066] Specifically, when it is detected that the target business system does not start normally and / or the module accessed by the pipeline does not work normally, an alarm can also be sent out, and relevant abnormal information is displayed. The present application is not limited.
[0067] Through the above-mentioned embodiments, it can be confirmed whether each device module can start and work normally before formal detection of the sample, and whether each device module can be normally online, so as to avoid abnormality during formal detection and adversely affect the detection process. At the same time, through the alarm, relevant staff can be reminded to handle in time, and the response speed to abnormality is improved.
[0068] In the present embodiment, the query of the sample to be switched includes:
[0069] When the sample information input by the user is received, the sample matching the sample information is queried in the configuration database, and at least one candidate sample is obtained;
[0070] When the selection signal of the user to any candidate sample in the at least one candidate sample is received, the any candidate sample selected is determined as the sample to be switched.
[0071] The sample information can include, but is not limited to, one or a combination of the following information:
[0072] Sample code, sample barcode, and patient name corresponding to the sample.
[0073] The configuration database can be a database of a laboratory information management system (LIS), and the present application is not limited.
[0074] Through the above-mentioned embodiments, automatic query of the sample to be switched can be realized, and the efficiency of sample detection is improved.
[0075] S11, when a signal of the user modifying the priority of the sample to be switched through the 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 a target priority of the target sample are obtained, and switching information is recorded.
[0076] The priority switching interface is used to assist the user in modifying the priority of the sample to be switched. The priority switching interface can include candidate priorities and be displayed in the form of a drop-down menu or a list to facilitate user selection.
[0077] In one embodiment, when a configuration operation on the sample to be switched is detected, a priority switching interface of the sample to be switched is popped up. The configuration operation can include, but is not limited to, a click operation (such as a double-click operation, a single-click operation, etc.), a press operation (such as a long-press operation, etc.).
[0078] Alternatively, the sample to be switched can also be directly displayed on the priority switching interface. The present application is not limited in this regard.
[0079] In the present embodiment, when a signal of a user modifying the priority of the sample to be switched through the priority switching interface is received, the method further includes:
[0080] identifying whether the sample to be switched has completed detection;
[0081] when it is identified that the sample to be switched has completed detection, the modification of the priority of the sample to be switched is prohibited; or
[0082] when it is identified that the sample to be switched has not completed detection, the priority of the sample to be switched is switched according to the modification of the user.
[0083] Specifically, whether the sample to be switched has completed detection can be determined through information reported by a related analyzer.
[0084] The not completed detection includes not detected, and not having a result after detection is performed, etc.
[0085] Through the above embodiments, repeated configuration of the priority of a sample that has completed detection can be avoided, invalid operations are effectively reduced, and detection efficiency is improved.
[0086] In the present embodiment, the switching information includes, but is not limited to, a combination of one or more of the following information:
[0087] switching time, operator of switching, reason of switching, etc.
[0088] By recording the switching information, the recorded switching information can be used as a basis for adjusting the priority of a sample, and subsequent viewing is facilitated.
[0089] S12, the target priority is sent to the wire control, and the wire control processes the target sample on a pipeline according to the target priority.
[0090] In the present embodiment, the wire control processes the target sample on the pipeline according to the target priority includes:
[0091] determining a module currently processing the target sample on the pipeline as a current processing module;
[0092] acquiring position information of the target sample on the pipeline;
[0093] acquiring samples in front of the target sample on the current processing module as initial samples according to the position information;
[0094] detecting storage space of a cache position of the current processing module;
[0095] processing the initial samples and the target sample on the current processing module according to the storage space.
[0096] Specifically, the processing of the initial samples and the target sample on the current processing module according to the storage space comprises:
[0097] when the storage space is not full and the initial samples are 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 priority to the initial samples; or
[0098] when the storage space is full, detecting a current processing state of each initial sample, acquiring an initial sample with a processing state of processing as a first sample from the initial samples, and acquiring the rest of the initial samples except the first sample as second samples, discharging the second samples from the current processing module, and discharging the first sample from the current processing module after the processing of the first sample is completed.
[0099] For example, the initial samples can be regular samples on the pipeline, and the target sample can be a priority sample whose priority is adjusted from “regular” to “emergency”.
[0100] Through the above embodiment, the sample after switching the priority can be processed in priority, and the flexibility of online sample detection is improved.
[0101] In the embodiment, the method further comprises:
[0102] after the target priority is issued to the line control, when no signal of confirming reception of the feedback of the line control is received, an alarm is issued;
[0103] processing the target sample according to the priority before the target sample is switched.
[0104] For example, after the target priority is issued to the line control, if the line control does not receive or does not confirm the reply after receiving, the target business system alarms to prompt the staff.
[0105] It should be noted that when the modules on the target business system, the line control and the pipeline transmit data to each other, they need to timely feedback whether the data is received, and timely alarm when no feedback is received, so as to avoid the impact on detection due to abnormal communication.
[0106] Through the above embodiment, when data transmission and feedback between different device modules are abnormal, timely alarm is given to avoid adversely affecting the normal detection execution.
[0107] From the above technical solutions, it can be seen that the present application can query a sample to be switched, when a signal of a user modifying a 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 a target priority of the target sample are obtained, and switching information is recorded, wherein the priority switching interface is used to assist the user in modifying the priority of the sample to be switched, to assist the detection personnel in flexibly switching the priority of the sample according to actual needs, the target priority is issued to the line control, and the target sample is processed on the pipeline according to the target priority through the line control, thereby realizing arbitrary switching of the priority of the sample on the pipeline, to meet the flexibility requirements of medical detection.
[0108] As Figure 2 shown is a functional module diagram of a preferred embodiment of a sample priority switching device of the present application. 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 by the present application refers to a series of computer program segments capable of being executed by a processor 13 and capable of completing a fixed function, which are stored in a memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0109] The sample priority switching device 11 runs on a target business system, and comprises:
[0110] The query unit 110 queries a sample to be switched.
[0111] In this embodiment, the target business system can be an intelligent business system, which is used to assist in completing the tasks of exchanging and executing the initiation and request of the line body related business processing with a laboratory information management system (Laboratory Information Management System, LIS).
[0112] The line body comprises modules constituting an automated laboratory system, and is mainly divided into a pretreatment module and a post-treatment module.
[0113] In the embodiment, the target business system interacts with each module on the wire control and the pipeline to complete the detection task of the sample.
[0114] The wire control is configured to process the control of the relevant instrument modules on the wire body and perform business processing work.
[0115] In the embodiment, before the sample to be switched is queried, it is detected whether the target business system is normally started and whether the modules accessed by the pipeline are normally working.
[0116] When it is detected that the target business system is normally started and the modules accessed by the pipeline are normally working, it is detected whether the target business system is normally online, whether the pipeline and the wire control are normally online, and whether the wire control and the target business system are normally online.
[0117] When it is detected that the target business system is normally online, the pipeline and the wire control are normally online, and the wire control and the target business system are normally online, the sample to be switched is queried; or
[0118] When it is detected that the target business system is not normally online and / or the pipeline and the wire control are not normally online and / or the wire control and the target business system are not normally online, abnormal information is generated, the abnormal information is displayed on a configured alarm interface, and an alarm is performed according to the abnormal display.
[0119] Specifically, when it is detected that the target business system is not normally started and / or the modules accessed by the pipeline are not normally working, an alarm can also be issued, and related abnormal information is displayed, which is not limited by the present application.
[0120] Through the above-mentioned implementation, before the sample is formally detected, it is first confirmed whether each device module can be normally started and worked and whether each device module can be normally online, so that the abnormality during formal detection is avoided, the detection process is not adversely affected, at the same time, through the alarm, the related staff can be reminded to process in time, and the response speed to the abnormality is improved.
[0121] In the embodiment, the querying unit 110 querying the sample to be switched includes:
[0122] When the sample information input by the user is received, the sample matching the sample information is queried in the configuration database, and at least one candidate sample is obtained;
[0123] When the selection signal of the user to any candidate sample in the at least one candidate sample is received, the any candidate sample selected is determined as the sample to be switched.
[0124] The sample information can include, but is not limited to, one or a combination of the following information:
[0125] Sample code, sample barcode, patient name corresponding to the sample.
[0126] The configuration database can be a database of a laboratory information management system (LIS), and the present application is not limited thereto.
[0127] Through the above embodiment, the automatic query of the sample to be switched can be realized, and the efficiency of sample detection is improved.
[0128] When receiving a signal of modifying the priority of the sample to be switched by the user 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, obtains a target sample and a target priority of the target sample, and records switching information.
[0129] The priority switching interface is used to assist the user in modifying the priority of the sample to be switched. The priority switching interface can include candidate priorities in the form of a drop-down menu or a list to facilitate user selection.
[0130] In one embodiment, when a configuration operation on the sample to be switched is detected, a priority switching interface of the sample to be switched is popped up. The configuration operation can include, but is not limited to, a click operation (such as a double-click operation, a single-click operation, etc.), a press operation (such as a long-press operation, etc.).
[0131] Alternatively, the sample to be switched can also be directly displayed on the priority switching interface, and the present application is not limited thereto.
[0132] In this embodiment, when receiving a signal of modifying the priority of the sample to be switched by the user through the priority switching interface, it is identified whether the sample to be switched has completed detection.
[0133] When it is identified that the sample to be switched has completed detection, the modification of the priority of the sample to be switched is prohibited; or
[0134] When it is identified that the sample to be switched has not completed detection, the priority of the sample to be switched is switched according to the modification of the user.
[0135] Specifically, whether the sample to be switched has completed detection can be determined through information reported by a related analyzer.
[0136] The unfinished detection includes undetected, and no result after detection.
[0137] The above embodiments can avoid repeated configuration of the priority of the sample which has completed detection, effectively reduce invalid operations, and improve detection efficiency.
[0138] In the embodiment, the switching information includes, but is not limited to, one or a combination of the following information:
[0139] Switching time, operator of switching, reason of switching, etc.
[0140] The switching information is recorded as a basis for sample priority adjustment, facilitating subsequent viewing.
[0141] The switching unit 112 issues the target priority to the line control, and processes the target sample on the pipeline according to the target priority through the line control.
[0142] In the embodiment, the switching unit 112 processes the target sample on the pipeline according to the target priority through the line control includes:
[0143] Determining a module currently processing the target sample on the pipeline as a current processing module;
[0144] Obtaining position information of the target sample on the pipeline;
[0145] According to the position information, obtaining a sample in front of the target sample on the current processing module as an initial sample;
[0146] Detecting a storage space of a cache position of the current processing module;
[0147] According to the storage space, processing the initial sample and the target sample on the current processing module.
[0148] Specifically, according to the storage space, processing the initial sample and the target sample on the current processing module includes:
[0149] 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 priority to the initial sample; or
[0150] When the storage space is full, the current processing state of each initial sample is detected, the initial sample with the current processing state being in processing is obtained from the initial samples as a first sample, and the remaining samples except the first sample are obtained from the initial samples as second samples, the second samples are discharged from the current processing module, and after the first sample is processed, the first sample is discharged from the current processing module.
[0151] For example, the initial sample can be a regular sample on the pipeline, and the target sample can be a priority sample whose priority is adjusted from "regular" to "emergency".
[0152] Through the above implementation, the sample after switching the priority can be processed preferentially, and the flexibility of online sample detection is improved.
[0153] In this embodiment, after the target priority is issued to the line control, when no signal of confirming receipt of the line control feedback is received, an alarm is issued.
[0154] The target sample is processed according to the priority before the target sample is switched.
[0155] For example, after the target priority is issued to the line control, if the line control does not receive or does not confirm the reply after receiving, the target business system alarms the staff.
[0156] It should be noted that when the modules on the target business system, the line control and the pipeline transmit data to each other, they need to feedback whether the data is received in time, and alarm in time when no feedback is received, so as to avoid affecting detection due to abnormal communication.
[0157] Through the above implementation, when data transmission and feedback between different device modules are abnormal, an alarm is issued in time to avoid adversely affecting normal detection execution.
[0158] As can be seen from the above technical solution, the present application can query a sample to be switched, when a signal of modifying the priority of the sample to be switched by a user 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 a target priority of the target sample are obtained, and switching information is recorded, wherein the priority switching interface is used to assist the user in modifying the priority of the sample to be switched, to assist detection personnel in flexibly switching the priority of the sample according to actual needs, the target priority is issued to a line control, and the target sample is processed on a pipeline according to the target priority through the line control, so as to realize arbitrary switching of the priority of the sample on the pipeline, and meet the flexible needs of medical detection.
[0159] As Figure 3 shown in FIG. 1 is a structural schematic diagram of a computer device for implementing the sample priority switching method according to the preferred embodiment of the present application.
[0160] The computer device 1 can include a memory 12, a processor 13 and a bus, and can further include a computer program, such as a sample priority switching program, stored in the memory 12 and executable on the processor 13.
[0161] Those skilled in the art can understand that the schematic diagram is only an example of the computer device 1 and does not constitute a limitation on the computer device 1, which can be in a bus structure or a star structure, and can further include more or less other hardware or software or different component arrangement, such as an input / output device, a network access device, etc.
[0162] It should be noted that the computer device 1 is only an example, and other existing or future electronic products can also be applicable to the present application and should be included in the protection scope of the present application by reference.
[0163] The memory 12 includes at least one type of readable storage medium, such as a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 can be an internal storage unit of the computer device 1 in some embodiments, such as a mobile hard disk of the computer device 1. The memory 12 can also be an external storage device of the computer device 1 in other embodiments, such as a plug-in mobile hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 12 can include both an internal storage unit and an external storage device of the computer device 1. The memory 12 can be used to store application software and various data installed in the computer device 1, such as the code of the sample priority switching program, and can also be used to temporarily store data that has been output or will be output.
[0164] The processor 13 can be composed of integrated circuits in some embodiments, for example, can be composed of a single packaged integrated circuit, or can be composed of multiple packaged integrated circuits with the same function or different functions, including one or more combinations of central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 13 is the control core of the computer device 1, and connects various components of the computer device 1 through various interfaces and lines, executes or runs programs or modules stored in the memory 12 (such as executing a sample priority switching program, etc.), and calls data stored in the memory 12 to perform various functions and process data of the computer device 1.
[0165] The processor 13 executes the operating system of the computer device 1 and various installed application programs. The processor 13 executes the application programs to implement the steps in the above-described various sample priority switching method embodiments, such as Figure 1 The steps shown.
[0166] For example, the computer program can be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules / units can be a series of computer-readable instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the computer device 1. For example, the computer program can be divided into a query unit 110, a switching unit 112, and a processing unit 113.
[0167] The integrated units implemented in the form of software function modules described above can be stored in a computer-readable storage medium. The software function modules described above are stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute part of the sample priority switching method described in each embodiment of the present application.
[0168] The modules / units integrated in the computer device 1, if implemented in the form of software function units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above-described embodiments can also be implemented by a computer program to instruct related hardware devices to complete, and the computer program can be stored in a computer-readable storage medium. The computer program is executed by the processor to implement the steps of each method embodiment described above.
[0169] The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory, etc.
[0170] Further, the computer readable storage medium can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, application programs required by at least one function, etc. The storage data area can store data created according to the use of the blockchain node, etc.
[0171] The blockchain referred to in the application is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. The blockchain is essentially a decentralized database, which is a series of data blocks associated by using cryptographic methods. Each data block contains the information of a batch of network transactions, and is used to verify the validity (anti-fake) of the information and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer, etc.
[0172] The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, only one straight line is used in the Figure 3 However, it does not mean that there is only one bus or only one type of bus. The bus is arranged to realize the connection and communication between the memory 12, the at least one processor 13, etc.
[0173] Although not shown, the computer device 1 can also include a power supply (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the at least one processor 13 through a power management device, so as to realize functions such as charge management, discharge management, and power consumption management through the power management device. The power supply can also include one or more direct current or alternating current power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The computer device 1 can also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described here.
[0174] Furthermore, the computer device 1 may also include a network interface. 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 is usually used to establish a communication connection between the computer device 1 and other computer devices.
[0175] Optionally, the computer device 1 may further include a user interface, which may be a display or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display may also be appropriately referred to as a display screen or a display unit, and is used to display information processed in the computer device 1 and to display a visual user interface.
[0176] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0177] Figure 3 Only the computer device 1 having components 12-13 is shown, and it can be understood by those skilled in the art that Figure 3 The structure shown does not constitute a limitation on the computer device 1 , and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0178] Combine Figure 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:
[0179] Query the samples to be switched;
[0180] When receiving a signal from the user to modify the priority of the sample to be switched through the priority switching interface, switching the priority of the sample to be switched according to the user's modification, obtaining a target sample and a target priority of the target sample, and recording the switching information; wherein the priority switching interface is used to assist the user in modifying the priority of the sample to be switched;
[0181] The target priority is delivered to the line control, and the target sample is processed according to the target priority on the pipeline by the line control.
[0182] Specifically, the specific implementation method of the processor 13 for the above instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0183] Need to explain, the data involved in the case are all legally obtained.
[0184] In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented by other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there can be another division way in actual implementation.
[0185] The application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The application can also be practiced in a distributed computing environment, in which tasks are performed by remote processing devices connected by a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
[0186] The modules described as separate components can or can not be physically separated, and the components shown as modules can or can not be physical units, i.e. they can be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0187] In addition, the functional modules in each embodiment of the application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of hardware plus software function modules.
[0188] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application.
[0189] Thus, the embodiments can be considered in all respects as illustrative and not restrictive, the scope of the application 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 intended to be embraced therein. No reference signs in the claims shall be construed as limiting the scope of the claims.
[0190] Furthermore, the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural and vice-versa, unless the context clearly requires these exclusions. The mere fact that different features are recited in mutually different dependent claims does not indicate that the features cannot be used to advantage together.
[0191] Finally, it should be noted that the above-mentioned embodiments illustrate rather than limit the application, since the scope of the application is determined by the appended claims.
Claims
1. A sample priority switching method, applied to a target service system, characterized in that: The sample priority switching method includes: Acquire a sample to be switched on the pipeline from a configuration database, wherein the sample to be switched is a sample for which sample priority is to be switched; When receiving a signal from the user to modify the priority of the sample to be switched through the priority switching interface, switching the sample to be switched from the original priority to the target priority according to the signal; The target priority of the target sample is delivered to a line control, and the line control processes the target sample according to the target priority on the pipeline.
2. The sample priority switching method according to claim 1, wherein: The method further includes recording the switching information of the user, where the switching information includes one or a combination of multiple pieces of information including switching time, switching operator, and switching reason.
3. The sample priority switching method according to claim 1, wherein: The acquiring of the sample to be switched from the configuration database comprises: According to the sample information input by the user, searching the configuration database for samples matching the sample information to obtain at least one candidate sample; According to a selection signal of a user for any candidate sample among the at least one candidate sample, the selected arbitrary candidate sample is determined as the sample to be switched.
4. The sample priority switching method according to claim 1, wherein: The samples to be switched include samples with a priority of routine on the pipeline, and the target priority includes emergency; And / or, the priority switching interface includes candidate priorities for the user to select, and the priorities are displayed in the form of a drop-down menu or a list.
5. The sample priority switching method according to any one of claims 1 to 4, characterized in that: When a signal is received indicating that the user modifies the priority of the sample to be switched through the priority switching interface, the method further includes: Identify whether the sample to be switched has completed detection; When it is identified that the sample to be switched has completed detection, prohibiting modification of the priority of the sample to be switched; or When it is identified that the sample to be switched has not completed detection, the priority of the sample to be switched is switched according to the modification by the user.
6. The sample priority switching method according to any one of claims 1 to 4, characterized in that: The delivering the target priority of the target sample to the line control, and processing the target sample according to the target priority on the pipeline by the line control includes: Determine the module currently processing the target sample on the pipeline as the current processing module; Obtaining position information of the target sample on the pipeline; Acquire a sample that is arranged before the target sample on the current processing module according to the position information and use it as an initial sample; Detecting the storage space of the cache location of the current processing module; The initial sample and the target sample are processed on the current processing module according to the storage space.
7. The sample priority switching method according to claim 6, wherein: Processing the initial sample and the target sample on the current processing module according to the storage space includes: When the storage space is not full and the initial sample has not been processed, the target sample is added to the cache position, and the target sample is transferred from the cache position to the processing position of the current processing module in priority to the initial sample; or When the storage space is full, the current processing status of each initial sample in the initial samples is detected, the initial sample whose current processing status is being processed is obtained from the initial samples as the first sample, and the remaining samples except the first sample are obtained from the initial samples as the second samples, the second sample is released from the current processing module, and after the processing of the first sample is completed, the first sample is released from the current processing module.
8. A sample priority switching device, running in a target business system, characterized in that: The sample priority switching device comprises: A query unit, configured to obtain samples to be switched on the pipeline from a configuration database, wherein the samples to be switched are samples for which sample priority switching is to be performed; a switching unit configured to, upon receiving a signal from a user modifying the priority of the sample to be switched through the priority switching interface, switch the priority of the sample to be switched from the original priority to the target priority according to the signal; The processing unit transmits the target priority of the target sample to the line control, and processes the target sample according to the target priority on the pipeline through the line control.
9. A computer device, characterized in that: The computer device comprises: a memory storing at least one instruction; and A processor executes instructions stored in the memory to implement the sample priority switching method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the sample priority switching method according to any one of claims 1 to 7.