Transcoding method and system for quality control sample addition in soil analysis and detection
Through automated transcoding methods and systems, the inefficiency and safety risks in quality control sample management are solved, efficient and accurate management of quality control samples is achieved, and high-standard operation of soil analysis and detection is ensured.
Patent Information
- Application Number
- CN202411005608.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-12
AI Technical Summary
In the prior art, the management of quality control samples is inefficient, prone to errors and safety risks, and manual transcoding methods are difficult to meet the needs of high standards in soil analysis and detection.
Provide an automated transcoding method and system to realize the automated management of quality control samples by creating batches, generating number pools, determining transcoding status, generating transcoding numbers and printing labels, reducing manual intervention, improving efficiency and accuracy.
Quality-controlled samples can be managed without manual interference, improving the efficiency and accuracy of all aspects of sample processing and analysis, and ensuring high-standard operation in the laboratory or production line.
Smart Images

Figure CN118937637A_ABST
Abstract
Description
Background Art
[0002] In the field of soil analysis and testing, ensuring the accuracy and reliability of data is a critical task. To achieve this goal, laboratories usually introduce quality control samples (QC samples) into the sample testing process. This is a reference material with known properties used to monitor and calibrate changes in the analysis process. The presence of quality control samples can help testers evaluate and control errors in the entire testing process and ensure the consistency and accuracy of the analysis results.
[0003] However, the management of quality control samples is different from that of normal samples (i.e., the actual samples to be tested), mainly in that they have a unique coding system, which makes them stand out in the sample sequence. In order to avoid this obvious differentiation and to improve the security and confidentiality of data processing, it is necessary to encrypt the codes of all samples. This process is called "transcoding", which involves converting the original codes of normal samples and quality control samples into a code form that is difficult to directly recognize, so as to avoid the quality control samples being easily identified due to the coding characteristics during subsequent processing.
[0004] Traditional transcoding methods usually rely on manual operations, that is, laboratory technicians manually perform code conversion and then use printers to output these encrypted codes to labels. Although this process is intuitive and low-cost, its efficiency and accuracy may be limited by the skills and attention of the operator. Although the codes generated by manual transcoding have certain regularities, this regularity is often only transparent to specific testing units or individuals, making it difficult for external observers to directly infer the sample type from the code.
[0005] In addition, quality control samples are often inserted into each test batch in a fixed order, which means that the testing unit can identify which samples are quality control samples by mastering the coding rules. When printing labels, technicians need to adjust the printer settings one by one according to the transcoded codes to ensure that the information on each label is correct. In the labeling stage, the operator needs to refer to the sample list, find the correct sample container and affix the corresponding encrypted label. This step also needs to be carefully checked to prevent errors.
[0006] In summary, although the manual transcoding method has met the needs of quality control sample management in soil analysis and testing to a certain extent, it is also accompanied by problems such as inefficiency, prone to errors, and safety risks. Summary of the invention
[0007] In order to overcome the problems existing in the related art, the present invention provides a transcoding method and system for adding quality control samples in soil analysis and detection.
[0008] According to a first aspect of an embodiment of the present invention, a transcoding method for adding a quality control sample in soil analysis and detection is provided, comprising:
[0009] Create batch step: create a batch in response to a user's start instruction;
[0010] Number pool generation step: generating a batch number and a number pool according to preset rules in response to the number of samples in the current batch;
[0011] Transcoding state determination step: determining the current transcoding state of the current sample according to the scanning data of the current sample;
[0012] Numbering step: generating a transcoded number according to the current transcoding state of the current sample;
[0013] Label printing step: printing a label according to the transcoded number;
[0014] Judgment step: determine whether the number of labels is consistent with the number of samples in the current batch. If so, end the transcoding of the samples in the current batch; otherwise, return to the numbering step.
[0015] In some example embodiments of the present invention, based on the above scheme, the current transcoding state of the current sample includes:
[0016] Not transcoded;
[0017] Wherein, in the numbering step, the current sample is transcoded according to the batch number and the number pool to generate a transcoded code.
[0018] In some example embodiments of the present invention, based on the above scheme, performing a transcoding operation on the current sample according to the batch number and the number pool, and generating a transcoded code includes:
[0019] randomly obtaining a number from the number pool;
[0020] The number and the batch number are combined to generate a transcoded code.
[0021] In some example embodiments of the present invention, based on the aforementioned scheme, the current transcoding state of the current sample further includes: transcoded; wherein, in the numbering step, the current transcoding number is output as the number after transcoding.
[0022] In some exemplary embodiments of the present invention, based on the aforementioned solution, the batch number is generated in a sequential manner according to the current date to generate a batch number of first preset digits;
[0023] All samples within the same batch have the same batch number.
[0024] In some exemplary embodiments of the present invention, based on the aforementioned solution, the number pool stores all numbers in the batch, the number is set to a second preset number of digits, and each digit includes uppercase letters or numbers.
[0025] According to a second aspect of an embodiment of the present invention, a transcoding system for adding quality control samples in soil analysis and detection is provided, comprising:
[0026] The control center is used to generate batch numbers and number pools according to preset rules, start and manage the transcoding process. The operation center is used to display operation instructions and transcoding confirmation information, and to receive user confirmation signals;
[0027] A barcode scanning device, used to read the barcode information on the original sample label and transmit the reading result to the control center;
[0028] The printing device is used to print the transcoded sample labels according to the instructions of the control center.
[0029] In some exemplary embodiments of the present invention, based on the aforementioned scheme, the transcoding system for adding quality control samples in soil analysis and testing further includes: an input and output part, including an interface for connecting a power supply and external devices.
[0030] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the transcoding method for adding quality control samples in soil analysis and detection in the first aspect is implemented.
[0031] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the transcoding method for adding quality control samples in soil analysis and detection in the first aspect is implemented.
[0032] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
[0033] The present invention can achieve the management of quality control samples without human interference during the quality control process, so as to better track, identify and verify each link of sample processing and analysis, thereby improving the efficiency and accuracy of experimental or production quality control, which is crucial to maintaining high standards of operation of laboratories or production lines.
[0034] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] Figure 1 A schematic diagram showing a system architecture of an exemplary application environment of a transcoding method and system for adding a quality control sample in soil analysis and detection to which an embodiment of the present invention can be applied;
[0037] Figure 2 A schematic diagram of the process of a transcoding method for adding a quality control sample in soil analysis and detection according to some embodiments of the present invention is shown;
[0038] Figure 3 A schematic diagram of a transcoding system for adding a quality control sample in soil analysis and detection according to some embodiments of the present invention is schematically shown;
[0039] Figure 4 An original diagram schematically shows the transcoding working principle according to some embodiments of the present invention;
[0040] Figure 5 A schematic diagram schematically shows a structure of a computer system of an electronic device according to some embodiments of the present invention;
[0041] Figure 6 A schematic diagram of a computer-readable storage medium according to some embodiments of the present invention is schematically shown. DETAILED DESCRIPTION
[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of systems and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0043] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0044] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0045] Figure 1 A schematic diagram of a system architecture of an exemplary application environment of a quality control sample addition transcoding method and system to which an embodiment of the present invention can be applied is shown.
[0046] like Figure 1 As shown, the system architecture 100 may include one or more terminal devices such as a desktop computer 101, a portable computer 102, a smart phone 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal device and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or optical fiber cables, etc. The terminal device may be any electronic device with data processing capabilities, which has a display screen for displaying label printing results or transcoded number information to the user, including but not limited to the above-mentioned desktop computers, portable computers, smart phones, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a sub-server cluster composed of multiple sub-servers.
[0047] The transcoding method for adding a quality control sample provided in the embodiment of the present invention can generally be executed by a terminal device, and accordingly, the transcoding system for adding a quality control sample is generally set in the terminal device. However, it is easy for a person skilled in the art to understand that the transcoding method for adding a quality control sample provided in the embodiment of the present invention can also be executed by the server 105, and accordingly, the transcoding system for adding a quality control sample can also be set in the server 105, which is not particularly limited in this exemplary embodiment.
[0048] In addition, it should be understood that the transcoding method for quality control sample addition of the embodiment of the present invention can be configured as a software module. In some implementation scenarios, the transcoding scheme for quality control sample addition of the present invention can be deployed separately to achieve transcoding of different quality control samples. In other implementation scenarios, the transcoding scheme for quality control sample addition of the present invention can be deployed in other software as a functional module of the software, such as deployed in analysis software for transcoding of quality control sample addition. The present invention does not place any particular restriction on the application of the transcoding method for quality control sample addition.
[0049] In a laboratory or production environment, quality control samples (QC samples for short) are samples used to monitor and verify the accuracy and consistency of the test process. They can be standards or blank samples with known properties, which are used to compare with unknown samples to ensure the reliability of the analysis results.
[0050] Quality control sample addition is the process of introducing or using quality control samples in the quality control procedure. It means that quality control samples are consciously added during sample processing, testing or production line to monitor the quality of sample testing.
[0051] The present invention aims to manage quality control samples through specific coding conversion means during the quality control process, so as to better track, identify and verify each link of sample processing and analysis, thereby improving the efficiency and accuracy of experimental or production quality control. This method is essential for maintaining high standards of laboratory or production line operation.
[0052] Next, the embodiments of the present invention are described in detail.
[0053] like Figure 2 As shown, Figure 2 The present invention is a flowchart of a transcoding method for adding a quality control sample in soil analysis and detection according to an exemplary embodiment of the present invention, comprising the following steps:
[0054] Creating a batch step S210: creating a batch in response to a user's start instruction;
[0055] Number pool generation step S220: generating a batch number and a number pool according to preset rules in response to the number of samples in the current batch;
[0056] Transcoding state determination step S230: determining the current transcoding state of the current sample according to the scan data of the current sample;
[0057] Numbering step S240: generating a transcoded number according to the current transcoding state of the current sample;
[0058] Label printing step S250: printing a label according to the transcoded number;
[0059] Determination step S260: Determine whether the number of labels is consistent with the number of samples in the current batch. If so, end the transcoding of the samples in the current batch; otherwise, return to the numbering step.
[0060] The present invention starts the automated sample transcoding process by responding to the user's start-up instruction. From batch creation to label printing, the entire process does not require human intervention, thereby reducing the probability of operational errors, increasing processing speed, and effectively improving work efficiency; by creating batches and generating batch numbers, samples can be effectively classified and managed, so as to facilitate sample tracking and batch quality control, and improve the accuracy of sample management; a number pool is generated according to the sample quantity and preset rules, so as to ensure the uniqueness of the sample number and effectively avoid confusion caused by repeated numbers; by scanning data to determine the transcoding status of the sample, the sample transcoding process can be monitored in real time, and the transparency of the transcoding process can be improved, so as to facilitate timely discovery and resolution of problems; a transcoded number is generated according to the transcoding status, so as to ensure the consistency of the number and the sample state, so as to ensure the accuracy of the sample information, so as to facilitate subsequent sample identification and traceability; by printing labels according to the transcoded numbers, the convenience of sample identification can be effectively improved, and human identification errors can be reduced; by judging whether the number of labels is consistent with the number of samples, it is possible to prevent missing or repeated printing of labels, and ensure the integrity of the transcoding process.
[0061] In the batch creation step S210 , a batch is created in response to a start instruction from the user.
[0062] The user's start-up instruction can be sent to the program of the present invention in any way, that is, the user can choose a suitable way to start the batch creation program according to environmental requirements or their own preferences. For example, in some embodiments, the batch creation program can be started by using a graphical user interface, a command line interface, a network request, a hardware signal, or a voice command. In addition, since the batch creation is triggered by the user's start-up instruction, it can be traced back to the specific person responsible, which is very important in the quality control and audit process.
[0063] Here, the batch can be a laboratory test batch, a production batch, a quality control batch, etc. When creating a batch, you can also set the batch-related parameters, such as batch number, start time, end time, sample quantity, etc., which is crucial for subsequent data management and tracking.
[0064] In the number pool generating step S220, in response to the number of samples in the current batch, a batch number and a number pool are generated according to preset rules.
[0065] The preset rules may be set by the naming convention of the batch number, the size of the number pool, the format of the number, etc. For example, in some embodiments, the batch number may be composed of a specific prefix, date code, serial number or other identifier.
[0066] For example, in some embodiments, the batch number generates a batch number of the first preset digits in a sequential manner according to the current date; the first preset digits can be any digits, which is not specifically limited in the present invention, for example, it can be 12 digits, 13 digits or 14 digits. When the first preset digits is 12 digits, the 12-digit batch number includes a 6-digit date and a 6-digit serial number, and the format can be "230101000001", where "230101" represents the production date and "000001" represents the first batch of the day; the 12-digit batch can also include an 8-digit date and a 4-digit serial number, and the format can be "202301010001", where "20230101" represents the production date and "0001" represents the first batch of the day. When the first preset number of digits is 13 digits, the 13-digit batch number includes a 6-digit date, a 6-digit serial number and a type number, and the format can be "P230101000001", where "P" represents the product type, "230101" represents the production date, and "000001" represents the first batch of the day; the 13-digit batch number can also include an 8-digit date, a 4-digit serial number and a type number, and the format can be "P202301010001", where "P" represents the product type, "230101" represents the production date, and "0001" represents the first batch of the day. When the first preset number of digits is 14 digits, the 14-digit batch number includes a 6-digit date, a 6-digit serial number, a type number and a placeholder number, and the format can be "P230101-000001", where "P" represents the product type, "230101" represents the production date, "000001" represents the first batch of the day, and "-" represents the placeholder number; the 14-digit batch number can also include an 8-digit date, a 4-digit serial number, a type number and a placeholder number, and the format can be "P20230101-0001", where "P" represents the product type, "230101" represents the production date, "0001" represents the first batch of the day, and "-" represents the placeholder number.
[0067] It should be noted here that the batch numbers of all samples in the same batch are the same, including ordinary samples and quality control samples.
[0068] The size of the number pool should be based on the number of samples in the current batch. For example, if a batch has 100 samples, the number pool should contain at least 100 unique numbers. The size of the number pool should ensure that there are enough numbers to identify all samples in the current batch.
[0069] In some embodiments, the number pool includes several numbers, and the number can be a tail number or a first number. In an embodiment of the present invention, the number pool stores all tail numbers under the batch, and the tail number is set to a second preset number of digits, and each tail number includes uppercase letters or numbers.
[0070] The present invention does not limit the specific number of the second preset digits. For example, in some embodiments, the second preset digits may be 2 digits, 3 digits or other digits, and may include digits, a mixture of letters and numbers, specific separators, etc., to ensure the consistency and ease of management of the number. For example, when the second preset digits are 3 digits, it may be a sequence of "0001" to "1000", or a sequence of "A01" to "A100"; when the second preset digits are 2 digits, it may be a sequence of "01" to "10", or a sequence of "A1" to "A9".
[0071] Therefore, through preset rules, the batch number and number pool generation process is standardized, which helps to reduce the need for manual operations, thereby reducing the possibility of human errors and improving efficiency; consistent naming conventions and formats make batch numbers and sample numbers easy to track, which helps to effectively record and audit in supply chain management, quality control and other processes; by setting the size of the number pool, the rules can flexibly adapt to batches of different sizes, ensuring the scalability of the system; by controlling the format and generation method of the number, the security of the system can be enhanced to prevent unauthorized number generation and use.
[0072] In the transcoding state determination step S230, the current transcoding state of the current sample is determined according to the scan data of the current sample.
[0073] The scan data of the current sample may be obtained through a barcode scanner, an RFID reader, or other automatic identification technologies, which is not specifically limited in the present invention.
[0074] In addition, the current transcoding state of the current sample includes an untranscoded state and a transcoded state, so a judgment mechanism can be set to determine the current transcoding state of the current sample. The present invention does not specifically limit this mechanism. For example, in some embodiments, this mechanism can be a database query, a state machine model, a machine learning model, or a hybrid strategy, as long as the transcoding state of the sample can be effectively identified and maintained. When selecting a mechanism, factors such as the real-time requirements of the system, data security, ease of use, and maintenance costs should be considered.
[0075] In the numbering step S240, a transcoded number is generated according to the current transcoding state of the current sample.
[0076] That is, when the transcoding status of the current sample is not transcoded, the current sample is transcoded according to the batch number and the number pool to generate a transcoded code. Specifically, it includes: randomly obtaining a number from the number pool;
[0077] The number and the batch number are combined to generate a transcoded code.
[0078] Since the number is randomly selected, it can increase the security of the code and reduce unauthorized access or copying. The generated transcoded code contains batch information, which facilitates the tracking of samples throughout the production and quality control process.
[0079] When the transcoding status of the current sample is transcoded, the current transcoding number is output as the number after transcoding.
[0080] In the label printing step S250, a label is printed according to the transcoded number.
[0081] Labels are an important part of sample identification and usually contain important information about the sample, such as the transcoded number, batch number, production date, etc., to facilitate identification and tracking of the sample in subsequent processes. In this step, the system automatically passes the transcoded number to the label printer without manual intervention, which improves the efficiency and accuracy of the operation.
[0082] The format of the label may be pre-designed to ensure consistency and readability of all labels. The format may include font size, label dimensions, barcode or QR code, etc. The process of printing labels needs to ensure that the information on the label is synchronized with the records in the system to avoid inconsistent information.
[0083] By printing labels, each sample can be uniquely identified, which is useful for tracking the movement of samples through the supply chain, performing quality control checks and record management. Automating label printing, especially when processing large batches of samples, can significantly increase the speed of sample processing.
[0084] Determination step S260: Determine whether the number of labels is consistent with the number of samples in the current batch. If so, end the transcoding of the samples in the current batch; otherwise, return to the numbering step.
[0085] According to a second aspect of an embodiment of the present invention, a transcoding system for quality control sample addition is provided, referring to Figure 3 As shown, including:
[0086] The control center 310 is used to generate batch numbers and number pools according to preset rules, and to start and manage the transcoding process;
[0087] The operation center 320 is used to display operation instructions and transcoding confirmation information, and to receive user confirmation signals;
[0088] A barcode scanning device 330 is used to read the barcode information on the original sample label and transmit the reading result to the control center;
[0089] The printing device 340 is used to print the transcoded sample labels according to the instructions of the control center.
[0090] refer to Figure 4 As shown, the operation center 320 includes operation control buttons and information display during the operation process; in some embodiments, the operation center can be set as a touch panel, or a mechanical button, or an assembly setting of a panel and a button, and the present invention does not make specific limitations.
[0091] The control center 310 is the computing and processing center of the system, integrating software such as label recognition, batch creation, sample transcoding, sending print instructions, and log storage. The label recognition function can be set to support multiple label formats, including barcodes, QR codes, and RFID tags, to ensure the uniqueness and traceability of samples during circulation. The batch creation function can create new sample batches according to preset rules or operator instructions. Each batch has a unique identifier to facilitate subsequent sample tracking and management. In addition, in some embodiments, a function that automatically records the time and operator information of batch creation can also be set to provide a basis for quality control and process auditing. Log storage can be set to have a function that can record all operations and events during system operation in detail. These log information includes but is not limited to operation time, operator, operation type, system response, etc., providing important support for system monitoring, troubleshooting, and data recovery.
[0092] By integrating these functions, the Control Center 310 can ensure the automation and high efficiency of the entire system in sample processing, data management, process control, etc. At the same time, its powerful data processing and storage capabilities also ensure the stability of system operation and data security, providing a reliable solution for laboratories, production lines or other environments that require precise control.
[0093] The barcode scanning device 330 scans the label on the original sample packaging bottle (bag) and sends the scan result to the control center 310 for identification. These labels can contain detailed information of the sample, such as sample number, production date, expiration date, batch number, etc. Through the close cooperation between the barcode scanning device 330 and the control center 310, the system realizes the rapid entry and accurate identification of sample information, greatly improving the efficiency and accuracy of sample management. This automated information collection method reduces manual intervention and the risk of operational errors, and provides strong technical support for sample tracking and quality control.
[0094] The printing device 340 prints labels according to the printing instructions sent by the control center 310 .
[0095] In some exemplary embodiments of the present invention, based on the aforementioned solution, the transcoding system for adding quality control samples further includes: an input and output part 350, including an interface for connecting a power supply and an external device.
[0096] The interface may be a power interface, a USB interface, etc., which is used for power supply access and data transmission with external devices.
[0097] It should be noted that, although several modules and submodules of the transcoding system for quality control sample addition are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules or submodules described above can be concretized in one module or unit. Conversely, the features and functions of one module or submodule described above can be further divided into multiple modules or submodules to be concretized.
[0098] In addition, in an exemplary embodiment of the present invention, an electronic device capable of implementing the above-mentioned transcoding method for quality control sample addition is also provided.
[0099] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0100] Refer to the following Figure 5 An electronic device 500 according to such an embodiment of the present invention is described. Figure 5 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0101] like Figure 5 As shown, the electronic device 500 is in the form of a general computing device. The components of the electronic device 500 may include but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510), and a display unit 540.
[0102] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 performs the steps of various exemplary embodiments of the present invention described in the above “Exemplary Method” section. For example, the processing unit 510 can perform the following steps: Figure 2The batch creation step S210 shown in the figure: creating a batch in response to the user's start instruction; the number pool generation step S220: generating a batch number and a number pool according to preset rules in response to the number of samples in the current batch; the transcoding status determination step S230: determining the current transcoding status of the current sample according to the scanning data of the current sample; the numbering step S240: generating a transcoded number according to the current transcoding status of the current sample; the label printing step S250: printing a label according to the transcoded number; the judgment step S260: judging whether the number of labels is consistent with the number of samples in the current batch, and if so, ending the transcoding of the samples of the current batch; otherwise, returning to the numbering step.
[0103] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 521 and / or a cache memory unit 522 , and may further include a read-only memory unit (ROM) 523 .
[0104] The storage unit 520 may also include a program / utility 524 having a set (at least one) of program modules 525, such program modules 525 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0105] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0106] The electronic device 500 may also communicate with one or more external devices 570 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or may communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 560. As shown, the network adapter 560 communicates with other modules of the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0107] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present invention.
[0108] In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present invention is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps of various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present invention.
[0109] refer to Figure 6 As shown, a program product 600 for implementing the transcoding method for adding quality control samples in soil analysis and detection according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In the present invention, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0110] The program product may employ any combination of one or more readable storage media. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0111] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0112] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0113] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
[0114] Other embodiments of the invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. The invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.
[0115] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A transcoding method for adding quality control samples in soil analysis and testing, It is characterized in that include: Create batch step: create a batch in response to a user's start instruction; Number pool generation step: generating a batch number and a number pool according to preset rules in response to the number of samples in the current batch; Transcoding state determination step: determining the current transcoding state of the current sample according to the scanning data of the current sample; Numbering step: generating a transcoded number according to the current transcoding state of the current sample; Label printing step: printing a label according to the transcoded number; Judgment step: determine whether the number of labels is consistent with the number of samples in the current batch. If so, end the transcoding of the samples in the current batch; otherwise, return to the numbering step.
2. The transcoding method for adding quality control samples in soil analysis and detection according to claim 1, It is characterized in that The current transcoding status of the current sample includes: Not transcoded; Wherein, in the numbering step, the current sample is transcoded according to the batch number and the number pool to generate a transcoded code.
3. The transcoding method for adding quality control samples in soil analysis and detection according to claim 2, It is characterized in that Performing a transcoding operation on the current sample according to the batch number and the number pool, and generating a transcoded code includes: randomly obtaining a number from the number pool; The number and the batch number are combined to generate a transcoded code.
4. The transcoding method for adding quality control samples in soil analysis and detection according to claim 1, It is characterized in that The current transcoding status of the current sample also includes: Transcoded; Wherein, in the numbering step, the current transcoding number is output as the number after transcoding.
5. The transcoding method for adding quality control samples in soil analysis and detection according to claim 1, It is characterized in that The batch number generates a batch number of first preset digits in a sequential manner according to the current date; All samples within the same batch have the same batch number.
6. The transcoding method for adding quality control samples in soil analysis and detection according to claim 1, It is characterized in that The number pool stores all the numbers in the batch, the numbers are set to a second preset number of digits, and each digit includes capital letters or numbers.
7. A transcoding system for adding quality control samples in soil analysis and testing, It is characterized in that include: The control center is used to generate batch numbers and number pools according to preset rules, start and manage the transcoding process. The operation center is used to display operation instructions and transcoding confirmation information, and to receive user confirmation signals; A barcode scanning device, used to read the barcode information on the original sample label and transmit the reading result to the control center; The printing device is used to print the transcoded sample labels according to the instructions of the control center.
8. The transcoding system for adding quality control samples in soil analysis and detection according to claim 7, It is characterized in that Also includes: The input and output part includes interfaces for connecting power supply and external devices.
9. An electronic device, It is characterized in that include: processor; as well as A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the transcoding method for adding quality control samples in soil analysis and detection according to any one of claims 1 to 6.
10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the transcoding method for adding a quality control sample in soil analysis and detection as described in any one of claims 1 to 6 is implemented.
