CN110753048A - Stem cell preparation data transmission method and device, computer equipment and storage medium - Google Patents

Stem cell preparation data transmission method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110753048A
CN110753048A CN201910994830.3A CN201910994830A CN110753048A CN 110753048 A CN110753048 A CN 110753048A CN 201910994830 A CN201910994830 A CN 201910994830A CN 110753048 A CN110753048 A CN 110753048A
Authority
CN
China
Prior art keywords
data
lower computer
cell preparation
response message
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910994830.3A
Other languages
Chinese (zh)
Other versions
CN110753048B (en
Inventor
刘沐芸
李树盛
杜祥熙
罗能
毛志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual Cell Therapy Technology National Local Joint Engineering Laboratory (shenzhen)
Shenzhen Saai Biological Automation Co Ltd
Original Assignee
Individual Cell Therapy Technology National Local Joint Engineering Laboratory (shenzhen)
Shenzhen Saai Biological Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual Cell Therapy Technology National Local Joint Engineering Laboratory (shenzhen), Shenzhen Saai Biological Automation Co Ltd filed Critical Individual Cell Therapy Technology National Local Joint Engineering Laboratory (shenzhen)
Priority to CN201910994830.3A priority Critical patent/CN110753048B/en
Publication of CN110753048A publication Critical patent/CN110753048A/en
Application granted granted Critical
Publication of CN110753048B publication Critical patent/CN110753048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a transmission method, a device, computer equipment and a storage medium for stem cell preparation data, wherein the method comprises the steps of setting a communication mode; acquiring data from a lower computer; the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets the requirements is judged; if so, generating a corresponding response message according to the data from the lower computer; sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result; obtaining an operation result from a lower computer; storing the operation result; if not, sending a notice of not allowing execution to the user terminal; recording information related to the non-permission-to-execute notification in the log. The invention realizes that the safety and the reliability of data transmission are improved in the data transmission process of stem cell preparation so as to ensure the stable production of the stem cell preparation.

Description

Stem cell preparation data transmission method and device, computer equipment and storage medium
Technical Field
The invention relates to a data transmission method, in particular to a stem cell preparation data transmission method, a stem cell preparation data transmission device, a computer device and a storage medium.
Background
With the deep development of industry 4.0, modern industrial production needs to realize multiple functions of data identification, data acquisition, data backup, information transmission and the like, management and control of a large number of terminal devices can be realized through a control center, the functions of automatic device control, material tracking and tracing management are realized through the cooperation of terminals and a background management system, and an advanced factory production system is realized through the management of supply chains such as warehousing and distribution, production and manufacturing.
The automatic stem cell preparation system is a biological preparation system which is based on the process of manually preparing stem cells, utilizes an automatic device and a mechanism and automatically produces stem cells according to the process and parameters edited in advance. The preparation process of the stem cells is complex, the first generation period of culture is long, and a lower computer of the field controller generates a large amount of data in the preparation process, wherein the data comprise process flow data, state data of mechanism actions, environment data of cell culture, cell detection data, material tracking data and the like; some data are given by an upper computer, such as process flows, some data are uploaded to the upper computer, such as cell culture environment data, some data are exchanged between the upper computer and a lower computer, such as cell inspection data, and at present, for data transmission in the stem cell preparation process, port-to-port data transmission is generally adopted, no security verification is set, and data are easily tampered to influence subsequent stable production.
Therefore, it is necessary to design a new method for improving the safety and reliability of data transmission during the data transmission process of stem cell preparation so as to ensure stable production of stem cell preparation.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a stem cell preparation data transmission method, a stem cell preparation data transmission device, a computer device and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: a method for transmitting stem cell preparation data, comprising:
setting a communication mode;
acquiring data from a lower computer;
the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets the requirements is judged;
if so, generating a corresponding response message according to the data from the lower computer;
sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result;
obtaining an operation result from a lower computer;
storing the operation result;
if not, sending a notice of not allowing execution to the user terminal;
recording information related to the non-permission-to-execute notification in the log.
The further technical scheme is as follows: the setting of the communication mode includes:
and setting the communication interface to be the same as the network segment and port number of the lower computer, and compiling a data transmission mode by using an MC protocol control sequence.
The further technical scheme is as follows: the data from the lower computer comprises an equipment initialization command, a cell preparation production task command, cell preparation environment indexes, cell monitoring data in the cell culture and cell harvesting processes, command serial numbers corresponding to sensors of various parts of the equipment and state data of mechanism modules, an operation object and a service ID.
The further technical scheme is as follows: the data that comes from the lower computer of acquireing includes:
and obtaining data from a lower computer in an ASCII (American standard code for information interchange) mode by batch reading and writing by taking the word as a unit.
The further technical scheme is as follows: the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets requirements is judged, including:
judging whether a command serial number, an operation object and a service ID in data from a lower computer are in a corresponding relation meeting requirements or not;
if so, the data from the lower computer meets the requirements;
if not, the data from the lower computer does not meet the requirements.
The further technical scheme is as follows: the judgment of whether the command serial number, the operation object and the service ID in the data from the lower computer are in the corresponding relation meeting the requirements comprises the following steps:
calling a preset mapping table;
searching in a mapping table by taking the command serial number in the data from the lower computer as a search condition to call a corresponding operation object and a corresponding service ID to form a target operation object and a service ID;
judging whether the target operation object is consistent with an operation object in the data from the lower computer;
if yes, judging whether the target service ID is consistent with a service ID in the data from the lower computer;
if so, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
The further technical scheme is as follows: the generating of the corresponding response message according to the data from the lower computer comprises the following steps:
judging whether the command serial number in the data from the lower computer is the command serial number of the cell preparation production task command or not;
if so, forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer;
if not, judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, sensors of various parts of equipment and mechanism module state data;
if so, generating a response message for acquiring the equipment state;
and if not, generating a response message of equipment initialization.
The invention also provides a stem cell preparation data transmission device, comprising:
a mode setting unit for setting a communication mode;
the data acquisition unit is used for acquiring data from a lower computer;
the verification unit is used for verifying the qualification of the data from the lower computer and judging whether the data from the lower computer meets the requirements;
the response message generating unit is used for generating a corresponding response message according to the data from the lower computer if the response message is generated;
the sending unit is used for sending the response message to the lower computer so that the lower computer can carry out qualification verification on the response message and execute corresponding operation according to a verification result to form an operation result;
the result acquisition unit is used for acquiring an operation result from the lower computer;
a storage unit for storing the operation result;
a notification unit, configured to send a non-execution permission notification to the user terminal if the user terminal is not allowed to execute the notification;
and the recording unit is used for recording the information related to the non-permission execution notification in the log.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: the invention adopts MC protocol to carry out data interaction, improves the efficiency of data transmission, adds multiple verification to data, carries out verification from the mapping relation of command serial number, operation object and service ID, realizes the improvement of the safety and reliability of data transmission in the data transmission process of stem cell preparation, and ensures the stable production of stem cell preparation.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a transmission method for stem cell preparation data according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention;
FIG. 4 is a schematic sub-flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention;
FIG. 5 is a schematic sub-flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a response packet sent by a server when a command is executed and an operation result according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a response packet sent by a server when acquiring a device status and an operation result according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a stem cell preparation data transmission device provided by an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a stem cell preparation data transmission method according to an embodiment of the present invention. Fig. 2 is a schematic flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention. The stem cell preparation data transmission method is applied to a server. The server carries out data interaction with a lower computer and a user terminal, wherein the lower computer can be a PLC (programmable logic controller) and the like, data transmission is carried out between the server and the lower computer by adopting an MC (media controller) protocol, security protection is carried out by adopting an encryption and verification mode in the data transmission process, and if illegal operation is carried out, an alarm is sent to the user terminal so as to prompt a user to check in time.
The server can send messages to the lower computer, the lower computer can also read and write data in the memory of the server to drive the server to feed back the data, the data communication in the MC protocol adopts half-duplex communication, namely when the lower computer sends a request or data to the server, the lower computer can send a next request after the server sends a successful response message, when the lower computer fails to receive the response message which is normally finished, the lower computer can send a confirmation request to the server, the server can send a notification which cannot be finished to the user terminal after receiving the confirmation request, and the user terminal notifies the user to process according to error codes in the response message; of course, the server may retransmit the command message in response to the elapse of the monitoring time based on the monitoring timer value, or may change the setting value of the monitoring time as needed.
In the process that the lower computer needs to obtain a corresponding response message from the server, the format of data, namely a command message, sent to the server by the lower computer is as follows: header + subtitle + PPC number + watchdog timer + part a, where part a represents data transmitted from the lower computer to the server. The format of the response message sent by the server to the lower computer is as follows: header + subtitle + end code + B part, where B part represents data transmitted from the server to the lower computer.
In the process that the lower computer needs to write data into the server, for example, when a preset mapping table is updated, the format of the data, namely the command message, sent to the server by the lower computer is as follows: header + subtitle + PPC number + watchdog timer + C portion, where C portion represents data transmitted from the lower computer to the server. The format of the response message sent by the server to the lower computer is as follows: header + subheader + end code.
The format of the message is simply header + application data, wherein the header is used for TCP/IP and UDP/IP. Application data is roughly divided into "subtitles" and "text". The subheading represents a command/response, and the set value has been specified. The text is used to set requirement data in each function. In the case of ASCII code communication, the format of the application data section: subtitle + text.
In an automatic stem cell preparation system, a Linghua MVP6002/M8G industrial personal computer is used as a server; namely, IPC (Industrial Personal Computer), and mitsubishi PLC, a model R04ENCPU, is used for lower Computer and field device control. They communicate with each other by adopting MC protocol.
Fig. 2 is a schematic flow chart of a stem cell preparation data transmission method according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S190.
And S110, setting a communication mode.
In this embodiment, the communication method is a communication method setting between the server and the lower computer.
Specifically, a communication interface is set to be the same as a network segment and a port number of a lower computer, and a data transmission mode is compiled by using an MC protocol control sequence.
In the PLC communication setting, IPC is defined as an SLMP device, and a 3E frame of the SLMP is in the same message format as an QnA series 3E frame of the MC protocol. The communication interface of the IPC is set to be the same as the network segment and the port number of the PLC, and an application program for transmitting signals of data by using the MC protocol control sequence is written on the IPC so as to be communicated with the PLC.
And S120, acquiring data from the lower computer.
In this embodiment, the data from the lower computer includes an equipment initialization command, a cell preparation production task command, cell preparation environment indexes, cell monitoring data in the cell culture and cell harvesting processes, command serial numbers corresponding to status data of sensors and mechanism modules of each component of the equipment, an operation object, and a service ID.
The lower bit transmits data to the server in a message format. The server is used as a service management core of the automatic stem cell preparation system, various devices are scheduled according to production process requirements, production tasks are executed, operation data are recorded, and decision of system operation stages is provided; the lower computer is used as a management and actuator of the field equipment, receives various equipment information and drives various mechanisms and equipment to operate; the data that are primarily communicated between them are: a device initialization command; cell preparation production task commands; cell preparation environmental indicators, cell monitoring data in the cell culture and cell harvest processes; and (3) state data of sensors and mechanism modules of all parts of the equipment.
Specifically, data from the lower computer is acquired in an ASCII batch read-write mode with a word as a unit. The server sends the reading instruction once, so that the data of the PLC can be read to the maximum extent, or the corresponding command is transmitted to the PLC, and the data interaction speed between the server and the lower computer is high; when the server communicates with the lower computer, according to the MC protocol specification, the communication content can be written into the memory address agreed by both parties, if the communication message of the server, i.e. the response message, is successfully sent according to the MC protocol specification, the lower computer can give a response message which is successfully read or written through corresponding message verification, and accurate transmission of communication data is ensured.
S130, performing qualification verification on the data from the lower computer, and judging whether the data from the lower computer meets the requirements.
In this embodiment, the data from the lower computer is subjected to qualification verification, so as to improve the security of the whole data transmission process and prevent the stability of the whole system from being affected due to illegal tampering.
In an embodiment, referring to fig. 3, the step S130 may include steps S131 to S133.
S131, judging whether the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
In an embodiment, referring to fig. 4, the step S131 further includes steps S1311 to S1316.
S1311, calling a preset mapping table.
In this embodiment, the mapping table refers to a pre-stored table indicating a one-to-one mapping relationship among the command number, the operation object, and the service ID.
The mapping table is stored in the server, after the lower computer sends data, the server receives the data and then checks the corresponding relation of the command serial number, the operation object and the service ID, only under the condition that the command serial number, the operation object and the service ID are in one-to-one correspondence, the response message can be generated, and the influence on the stability of the whole system caused by errors is avoided.
S1312, searching in the mapping table by taking the command serial number in the data from the lower computer as a search condition to call the corresponding operation object and the service ID to form a target operation object and the service ID;
s1313, judging whether the target operation object is consistent with an operation object in the data from the lower computer;
and S1314, if not, the command serial number, the operation object and the service ID in the data from the lower computer do not have the corresponding relation meeting the requirements.
S1315, if yes, judging whether the target service ID is consistent with a service ID in data from the lower computer;
s1316, if yes, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements;
if not, the process proceeds to step S1314.
The mapping table is shown in table 1:
TABLE 1
Figure BDA0002239418980000081
Figure BDA0002239418980000091
Specifically, a production task of a cell seed bottle in a cell preparation process is defined in the mapping table, the first register address 45 is the content sent to the lower computer by the server, the first register address 40 is the content replied to the server by the lower computer, and it can be seen that the command sequence number seq, the operation object id and the service id are in one-to-one correspondence.
And S132, if so, the data from the lower computer meets the requirements.
And S133, if not, the data from the lower computer does not meet the requirements.
And S140, if so, generating a corresponding response message according to the data from the lower computer.
In this embodiment, the response message refers to a message that is formed by analyzing data from the lower computer by the server and that is executed by the corresponding lower computer.
In an embodiment, referring to fig. 5, the step S140 may include steps S141 to S145.
S141, judging whether the command serial number in the data from the lower computer is the command serial number of the cell preparation production task command;
and S142, if so, forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer.
When executing a production task or issuing various transfer commands, the server sends corresponding commands to the lower computer, and the server sends messages for executing the tasks to the lower computer.
The response message is mainly a response message sent by the server when communication content is written into the memory of the lower computer, for example, the execution enable 1 and the execution number 3 are written into two registers D102 and D103 of the lower computer, and ASCII communication is performed, as shown in fig. 6. The hexadecimal representation of the transmitted message is 03FF000A 442000000066020000010003;
ASCII code representation:
30H33H46H 30H41H34H 32H30H 36H30H32H30H 31H30H 33H; if the writing is successful, the lower chance report, i.e. the operation result, is shown in fig. 6, where the hexadecimal representation of the message is 8300 and the ASCII code is 38H33H 30H.
S143, if not, judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, sensors of all parts of equipment and state data of mechanism modules;
and S144, if so, generating a response message for acquiring the equipment state.
And executing the query task, acquiring the equipment state, recording the running data, and sending a query command message to the lower computer by the server. For example, the values of two registers D100 and D100 are read, assuming that the value in D100 is 0, which represents that the current state of the device a is normal, the value in D101 is 1, which represents that the current state of the device B is alarm, and when the device B communicates by using ASCII code, as shown in fig. 7, the transmitted message is hexadecimal representation 01FF000a 4420000000640200;
ASCII code representation:
30H31H46H 30H41H34H 32H30H 36H34H30H32H30H 30; if the read is successful, the lower bit will return the message, i.e. the operation result, as shown in fig. 7.
810000000001 for the hexadecimal message;
38H31H30H30H30H30H30H30H30H30H 31H.
S145, if not, generating a response message of equipment initialization.
And S150, sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result.
In order to ensure the security of data interaction each time, on the communication content, the communication content of the instruction sent by the server each time, namely the response message, is added with the command serial number, the ID of the operation object, namely the operation object ID and the service ID, the lower computer returns the command serial number, the ID of the operation object, namely the operation object ID and the service ID to the server, and the upper computer can further verify according to the received operation result, so that the safety and the reliability of the communication process of the two parties are ensured.
S160, obtaining an operation result from the lower computer;
s170, storing the operation result;
s180, if not, sending a notice of not allowing execution to the user terminal;
s190, recording information related to the non-permission execution notification in the log.
When the data from the upper computer is unqualified, namely the possibility of tampering exists, the server sends a notice of not allowing execution to the user terminal to prompt the user to check and correct in time, so that the stability and the accuracy of the operation of the whole system are ensured, and in addition, information related to the notice of not allowing execution is stored in a log of the server, so that the follow-up tracing is facilitated.
The above-mentioned information related to the non-permission-execution notification includes the model of the lower computer, the transmitted data, and the type of the error.
In one embodiment, before the lower computers send data to the server, the data is encrypted by combining random numbers with hash values, and the decryption modes of the lower computers are different;
when the server receives data or operation results from the lower computer, the model of the lower computer needs to be known first, and then decryption is carried out by adopting a corresponding decryption mode. The security of the data transmission process is increased by adopting an encryption and decryption mode.
In addition, every time the lower computer sends the data or the operation result, the decrypted key is sent to the server at intervals of set time, if the lower computer is tampered in the midway, the random number is changed due to the fact that the encryption mode is conducted in the combination of the random number and the hash value, the key is changed, when the server receives the key sent by the lower computer, the key cannot be decrypted, a notification which is not allowed to be executed can be directly generated and sent to the user terminal, only when the server can decrypt the data or the operation result, the qualification verification can be conducted, and the safety of the whole data transmission process can be further improved through the multi-verification mode, so that the safety and the reliability of data transmission can be improved in the data transmission process of the stem cell preparation, and stable production of the stem cell preparation can be guaranteed.
According to the stem cell preparation data transmission method, data interaction is carried out by adopting the MC protocol, the data transmission efficiency is improved, multiple verification on data is added, the verification is carried out according to the mapping relation of the command serial number, the operation object and the service ID, the data transmission safety and reliability are improved in the stem cell preparation data transmission process, and stable production of stem cell preparation is ensured.
Fig. 8 is a schematic block diagram of a stem cell preparation data transmission device 300 according to an embodiment of the present invention. As shown in fig. 8, the present invention also provides a stem cell preparation data transmission device 300 corresponding to the above stem cell preparation data transmission method. The stem cell preparation data transmission apparatus 300 includes a unit for performing the above-described stem cell preparation data transmission method, and the apparatus may be configured in a server.
Specifically, referring to fig. 8, the stem cell preparation data transmission device 300 includes:
a mode setting unit 301 for setting a communication mode;
a data acquisition unit 302 for acquiring data from a lower computer;
the verification unit 303 is used for verifying the qualification of the data from the lower computer and judging whether the data from the lower computer meets the requirements;
a response message generating unit 304, configured to generate a corresponding response message according to data from the lower computer if the response message is positive;
a sending unit 305, configured to send the response packet to the lower computer, so that the lower computer performs eligibility verification on the response packet, and performs a corresponding operation according to a verification result to form an operation result;
a result obtaining unit 306 for obtaining an operation result from the lower computer;
a storage unit 307 for storing the operation result;
a notification unit 308, configured to send a notification that execution is not allowed to the user terminal if the request is not received;
a recording unit 309, configured to record information related to the non-permission notification in the log.
In one embodiment, the verification unit 303 includes:
the corresponding relation judging subunit is used for judging whether the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements or not; if so, the data from the lower computer meets the requirements; if not, the data from the lower computer does not meet the requirements.
In an embodiment, the correspondence determining subunit includes:
the calling module is used for calling a preset mapping table;
the searching module is used for searching in the mapping table by taking the command serial number in the data from the lower computer as a searching condition so as to call the corresponding operation object and the service ID and form a target operation object and the service ID;
the object judgment module is used for judging whether the target operation object is consistent with an operation object in the data from the lower computer; if not, the command serial number, the operation object and the service ID in the data from the lower computer do not have the corresponding relation meeting the requirements;
the ID judging module is used for judging whether the target service ID is consistent with the service ID in the data from the lower computer if the target service ID is consistent with the service ID in the data from the lower computer; if so, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
In an embodiment, the response packet generating unit 304 includes:
a production serial number judging subunit, configured to judge whether a command serial number in the data from the lower computer is a command serial number of a cell preparation production task command;
the first generation subunit is used for forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer if the communication content is the cell preparation production task command;
the data reading subunit is used for judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, and state data of sensors and mechanism modules of each part of the equipment if the command serial number in the data from the lower computer is not any command serial number;
the second generation subunit is used for generating a response message for acquiring the equipment state if the equipment state is the same as the equipment state;
and the third generation subunit is used for generating a response message of the equipment initialization if the device is not initialized.
It should be noted that, as will be clear to those skilled in the art, the specific implementation process of the stem cell preparation data transmission apparatus 300 and each unit can refer to the corresponding description in the foregoing method embodiments, and for convenience and brevity of description, no further description is provided herein.
The above-described stem cell preparation data transmission apparatus 300 may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 is a server.
Referring to fig. 9, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a stem cell preparation data transmission method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to execute a stem cell preparation data transmission method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
setting a communication mode;
acquiring data from a lower computer;
the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets the requirements is judged;
if so, generating a corresponding response message according to the data from the lower computer;
sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result;
obtaining an operation result from a lower computer;
storing the operation result;
if not, sending a notice of not allowing execution to the user terminal;
recording information related to the non-permission-to-execute notification in the log.
The data from the lower computer comprise an equipment initialization command, a cell preparation production task command, cell preparation environment indexes, cell monitoring data in the cell culture and cell harvesting processes, command serial numbers corresponding to sensors of all parts of the equipment and state data of mechanism modules, an operation object and a service ID.
In an embodiment, when the processor 502 implements the step of setting the communication mode, the following steps are specifically implemented:
and setting the communication interface to be the same as the network segment and port number of the lower computer, and compiling a data transmission mode by using an MC protocol control sequence.
In an embodiment, when the processor 502 implements the step of acquiring data from the lower computer, the following steps are specifically implemented:
and obtaining data from a lower computer in an ASCII (American standard code for information interchange) mode by batch reading and writing by taking the word as a unit.
In an embodiment, when the processor 502 performs the step of performing the eligibility verification on the data from the lower computer and determining whether the data from the lower computer meets the requirement, the following steps are specifically performed:
judging whether a command serial number, an operation object and a service ID in data from a lower computer are in a corresponding relation meeting requirements or not;
if so, the data from the lower computer meets the requirements;
if not, the data from the lower computer does not meet the requirements.
In an embodiment, when the processor 502 performs the step of determining whether the command serial number, the operation object, and the service ID in the data from the lower computer are in a correspondence relationship meeting the requirements, the following steps are specifically performed:
calling a preset mapping table;
searching in a mapping table by taking the command serial number in the data from the lower computer as a search condition to call a corresponding operation object and a corresponding service ID to form a target operation object and a service ID;
judging whether the target operation object is consistent with an operation object in the data from the lower computer;
if yes, judging whether the target service ID is consistent with a service ID in the data from the lower computer;
if so, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
In an embodiment, when the processor 502 implements the step of generating the corresponding response message according to the data from the lower computer, the following steps are specifically implemented:
judging whether the command serial number in the data from the lower computer is the command serial number of the cell preparation production task command or not;
if so, forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer;
if not, judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, sensors of various parts of equipment and mechanism module state data;
if so, generating a response message for acquiring the equipment state;
and if not, generating a response message of equipment initialization.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
setting a communication mode;
acquiring data from a lower computer;
the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets the requirements is judged;
if so, generating a corresponding response message according to the data from the lower computer;
sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result;
obtaining an operation result from a lower computer;
storing the operation result;
if not, sending a notice of not allowing execution to the user terminal;
recording information related to the non-permission-to-execute notification in the log.
The data from the lower computer comprise an equipment initialization command, a cell preparation production task command, cell preparation environment indexes, cell monitoring data in the cell culture and cell harvesting processes, command serial numbers corresponding to sensors of all parts of the equipment and state data of mechanism modules, an operation object and a service ID.
In an embodiment, when the processor executes the computer program to implement the step of setting the communication mode, the following steps are specifically implemented:
and setting the communication interface to be the same as the network segment and port number of the lower computer, and compiling a data transmission mode by using an MC protocol control sequence.
In an embodiment, when the processor executes the computer program to realize the step of acquiring the data from the lower computer, the following steps are specifically realized:
and obtaining data from a lower computer in an ASCII (American standard code for information interchange) mode by batch reading and writing by taking the word as a unit.
In an embodiment, when the processor executes the computer program to implement the step of performing the eligibility verification on the data from the lower computer and judging whether the data from the lower computer meets the requirement, the following steps are specifically implemented:
judging whether a command serial number, an operation object and a service ID in data from a lower computer are in a corresponding relation meeting requirements or not;
if so, the data from the lower computer meets the requirements;
if not, the data from the lower computer does not meet the requirements.
In an embodiment, when the processor executes the computer program to realize the step of determining whether the command serial number, the operation object, and the service ID in the data from the lower computer are in a correspondence relationship that meets the requirements, the following steps are specifically realized:
calling a preset mapping table;
searching in a mapping table by taking the command serial number in the data from the lower computer as a search condition to call a corresponding operation object and a corresponding service ID to form a target operation object and a service ID;
judging whether the target operation object is consistent with an operation object in the data from the lower computer;
if yes, judging whether the target service ID is consistent with a service ID in the data from the lower computer;
if so, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
In an embodiment, when the processor executes the computer program to realize the step of generating the corresponding response message according to the data from the lower computer, the following steps are specifically realized:
judging whether the command serial number in the data from the lower computer is the command serial number of the cell preparation production task command or not;
if so, forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer;
if not, judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, sensors of various parts of equipment and mechanism module state data;
if so, generating a response message for acquiring the equipment state;
and if not, generating a response message of equipment initialization.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The stem cell preparation data transmission method is characterized by comprising the following steps:
setting a communication mode;
acquiring data from a lower computer;
the data from the lower computer is subjected to qualification verification, and whether the data from the lower computer meets the requirements is judged;
if so, generating a corresponding response message according to the data from the lower computer;
sending the response message to the lower computer so that the lower computer performs qualification verification on the response message and executes corresponding operation according to a verification result to form an operation result;
obtaining an operation result from a lower computer;
storing the operation result;
if not, sending a notice of not allowing execution to the user terminal;
recording information related to the non-permission-to-execute notification in the log.
2. The method for transmitting stem cell preparation data according to claim 1, wherein the setting of the communication means includes:
and setting the communication interface to be the same as the network segment and port number of the lower computer, and compiling a data transmission mode by using an MC protocol control sequence.
3. The stem cell preparation data transmission method according to claim 1, wherein the data from the lower computer includes an equipment initialization command, a cell preparation production task command, a cell preparation environment index, cell monitoring data in cell culture and cell harvesting processes, command serial numbers corresponding to state data of sensors and mechanism modules of each component of the equipment, an operation object, and a service ID.
4. The stem cell preparation data transmission method of claim 2, wherein the acquiring data from the lower computer comprises:
and obtaining data from a lower computer in an ASCII (American standard code for information interchange) mode by batch reading and writing by taking the word as a unit.
5. The transmission method for stem cell preparation data according to claim 3, wherein the verifying the eligibility of the data from the lower computer and the judging whether the data from the lower computer meets the requirements comprises:
judging whether a command serial number, an operation object and a service ID in data from a lower computer are in a corresponding relation meeting requirements or not;
if so, the data from the lower computer meets the requirements;
if not, the data from the lower computer does not meet the requirements.
6. The method for transmitting stem cell preparation data according to claim 5, wherein the step of judging whether the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements comprises the following steps:
calling a preset mapping table;
searching in a mapping table by taking the command serial number in the data from the lower computer as a search condition to call a corresponding operation object and a corresponding service ID to form a target operation object and a service ID;
judging whether the target operation object is consistent with an operation object in the data from the lower computer;
if yes, judging whether the target service ID is consistent with a service ID in the data from the lower computer;
if so, the command serial number, the operation object and the service ID in the data from the lower computer are in a corresponding relation meeting the requirements.
7. The transmission method for stem cell preparation data according to claim 3, wherein the generating of the corresponding response message according to the data from the lower computer comprises:
judging whether the command serial number in the data from the lower computer is the command serial number of the cell preparation production task command or not;
if so, forming a response message for storing the communication content of the cell preparation production task command into the memory of the lower computer;
if not, judging whether the command serial number in the data from the lower computer is any command serial number in cell preparation environment indexes, cell monitoring data in cell culture and cell harvesting processes, sensors of various parts of equipment and mechanism module state data;
if so, generating a response message for acquiring the equipment state;
and if not, generating a response message of equipment initialization.
8. Stem cell preparation data transmission device characterized by, includes:
a mode setting unit for setting a communication mode;
the data acquisition unit is used for acquiring data from a lower computer;
the verification unit is used for verifying the qualification of the data from the lower computer and judging whether the data from the lower computer meets the requirements;
the response message generating unit is used for generating a corresponding response message according to the data from the lower computer if the response message is generated;
the sending unit is used for sending the response message to the lower computer so that the lower computer can carry out qualification verification on the response message and execute corresponding operation according to a verification result to form an operation result;
the result acquisition unit is used for acquiring an operation result from the lower computer;
a storage unit for storing the operation result;
a notification unit, configured to send a non-execution permission notification to the user terminal if the user terminal is not allowed to execute the notification;
and the recording unit is used for recording the information related to the non-permission execution notification in the log.
9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 7.
10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN201910994830.3A 2019-10-18 2019-10-18 Stem cell preparation data transmission method and device, computer equipment and storage medium Active CN110753048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910994830.3A CN110753048B (en) 2019-10-18 2019-10-18 Stem cell preparation data transmission method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910994830.3A CN110753048B (en) 2019-10-18 2019-10-18 Stem cell preparation data transmission method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110753048A true CN110753048A (en) 2020-02-04
CN110753048B CN110753048B (en) 2021-07-30

Family

ID=69278914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910994830.3A Active CN110753048B (en) 2019-10-18 2019-10-18 Stem cell preparation data transmission method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110753048B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110329A (en) * 2021-04-14 2021-07-13 深圳赛动生物自动化有限公司 Parallel operation control method, device, system and medium based on stem cell preparation
CN113746833A (en) * 2021-09-02 2021-12-03 上海商汤智能科技有限公司 Communication method and apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424633A (en) * 2008-11-28 2009-05-06 南京华欣分析仪器制造有限公司 Multielement analyzer system
CN106292420A (en) * 2016-07-27 2017-01-04 闫海兰 Automatically gathering and management system of farmland experimental data
US20170339191A1 (en) * 2015-04-06 2017-11-23 Nnsp Co., Ltd. Transmission/reception apparatus of security gateway for physical unidirectional communication performing security tunneling and data re-transmission, and data transmission method using same
CN107517097A (en) * 2016-06-17 2017-12-26 北京信威通信技术股份有限公司 A kind of method and device of automatic Verification
CN110187685A (en) * 2019-05-30 2019-08-30 深圳创龙智新科技有限公司 A kind of data transmission method, device, electronic equipment and storage medium
CN110232068A (en) * 2019-06-14 2019-09-13 中国工商银行股份有限公司 Data sharing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424633A (en) * 2008-11-28 2009-05-06 南京华欣分析仪器制造有限公司 Multielement analyzer system
US20170339191A1 (en) * 2015-04-06 2017-11-23 Nnsp Co., Ltd. Transmission/reception apparatus of security gateway for physical unidirectional communication performing security tunneling and data re-transmission, and data transmission method using same
CN107517097A (en) * 2016-06-17 2017-12-26 北京信威通信技术股份有限公司 A kind of method and device of automatic Verification
CN106292420A (en) * 2016-07-27 2017-01-04 闫海兰 Automatically gathering and management system of farmland experimental data
CN110187685A (en) * 2019-05-30 2019-08-30 深圳创龙智新科技有限公司 A kind of data transmission method, device, electronic equipment and storage medium
CN110232068A (en) * 2019-06-14 2019-09-13 中国工商银行股份有限公司 Data sharing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110329A (en) * 2021-04-14 2021-07-13 深圳赛动生物自动化有限公司 Parallel operation control method, device, system and medium based on stem cell preparation
CN113746833A (en) * 2021-09-02 2021-12-03 上海商汤智能科技有限公司 Communication method and apparatus, electronic device, and storage medium
CN113746833B (en) * 2021-09-02 2023-06-16 上海商汤智能科技有限公司 Communication method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110753048B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
US10397212B2 (en) Information device, data processing system, data processing method, and non-transitory storage medium for executing content upon authentication
CN110753048B (en) Stem cell preparation data transmission method and device, computer equipment and storage medium
CN105512538B (en) Debugging method and system of intelligent mobile operating system
CN109639724B (en) Password retrieving method, password retrieving device, computer device and storage medium
CN107453873B (en) Intelligent IC card data verification method and system
CN110958161A (en) Block link point monitoring method and device
CN102075627A (en) Information prompting method and mobile terminal
US20210248225A1 (en) Contactless user authentication method
CN105337995A (en) Rapid personalization method and system for smart card
CN106559386A (en) A kind of authentication method and device
CN117632166A (en) File burning method, device, equipment and storage medium
CN102520223A (en) Software anti-interference method used for electric energy meter
CN109150813A (en) A kind of verification method and device of equipment
US9964938B2 (en) Field device configuration system and method
CN106776134A (en) A kind of method and device for rewriting chip data
CN108234390A (en) Wireless device firmware encrypting system and method
CN111506324B (en) Method for realizing MCU chip safety by combining traditional ROM with storage island
EP2746952B1 (en) Secured management of traces in a mail processing device
CN112099812B (en) Flash material identification and identification method, system, equipment and medium
CN115235153B (en) Refrigerant filling control method, system and storage medium of air conditioner
CN108460252A (en) A kind of software product license information setting methods
CN108933765B (en) Method, client and server for improving equipment ID security
CN108965216B (en) Method for improving equipment ID security, client, storage medium and computer equipment
US20220385659A1 (en) Vehicle authentication control apparatus, vehicle control system, vehicle, and vehicle authentication processing method
CN206574085U (en) A kind of new encryption shield system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant