Traditional Chinese medicine traceability data processing method based on artificial intelligence
By adopting a traceability data processing method based on artificial intelligence in the data management of traditional Chinese medicinal materials, and using patrol databases and secure layout systems, the problem of insufficient data security in traditional Chinese medicinal materials data management is solved, and efficient and secure storage and management of data is achieved.
Patent Information
- Application Number
- CN202510133122.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-02-06
AI Technical Summary
It is difficult to ensure the security of data storage in the data management of traditional Chinese medicinal materials, and it is easily accessible to foreign networks, resulting in data leakage.
Using the method of traceability data processing of traditional Chinese medicinal materials based on artificial intelligence, by building a patrol database and setting up a sensing layer, a secure space and storage space, a ring connection point system composed of a secure layout and a secure point is used to prevent external network access and ensure data security.
Effectively avoid data access from foreign networks, ensure the security of traceable data of traditional Chinese medicinal materials, prevent data leakage, and improve the security and reliability of data management.
Smart Images

Figure CN120013556A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method for processing Chinese herbal medicine traceability data based on artificial intelligence. Background Art
[0002] In order to ensure the quality and safety of Chinese medicinal materials, the state has increased its efforts to supervise the quality of Chinese medicinal materials. The government actively promotes the construction of a traceability system for Chinese medicinal materials, requiring that Chinese medicinal materials be traceable from planting to use. This helps ensure that the source of Chinese medicinal materials can be checked, their whereabouts can be traced, and their responsibilities can be investigated, thereby improving the quality and safety of Chinese medicinal materials. However, it is currently difficult to ensure the security of data storage in the management of Chinese medicinal materials data, and it is easy to be accessed by external networks, resulting in data leakage. Summary of the invention
[0003] The purpose of the present invention is to provide a Chinese herbal medicine traceability data processing method based on artificial intelligence to solve the shortcomings of the background technology.
[0004] In order to achieve the above object, the present invention provides the following technical solution: a method for processing Chinese herbal medicine traceability data based on artificial intelligence, comprising the following steps: Determine the target Chinese medicinal materials, formulate process bars corresponding to the target Chinese medicinal materials, wherein the process bars are multiple cycle processes of the target Chinese medicinal materials arranged in sequence, and collect process data of the target Chinese medicinal materials according to the process bars; Construct an inspection database and store the process data in the process area of the inspection database according to the periodic process; Determine the cycle process corresponding to the process management end, and connect the process management end with the process area of the corresponding cycle process; Determine the security status of process data based on the inspection database.
[0005] In a preferred embodiment, the step of collecting process data of the target Chinese medicinal material according to the process bar includes: Determine multiple cycle processes of the target Chinese medicinal materials, sort the multiple cycle processes according to the processing order of the Chinese medicinal materials, and obtain process bars; According to the process bar, the process data of the target Chinese medicinal materials are collected and bound to the periodic process.
[0006] In a preferred embodiment, the step of constructing an inspection database and storing the process data in the process area of the inspection database according to the periodic process includes: Determine a database, set a sensing layer, a safety space, and a storage space in the database, and obtain a patrol database; In the storage space, a plurality of route areas are obtained by dividing the storage space according to the number of periodic processes of the target Chinese medicinal materials, and corresponding periodic processes are marked in the corresponding process areas; The process data is stored in the process area corresponding to the cycle process.
[0007] In a preferred embodiment, the step of determining a database, setting a sensing layer, a safety space, and a storage space in the database, and obtaining a patrol database includes: A sensing layer is set at the edge of the database, wherein the sensing layer is composed of a plurality of information blocks, and the plurality of information blocks are connected through a plurality of connection points, and the information block is a data page with a plurality of sensing points set; A storage space is defined in the middle of the database, and the storage space between the storage space and the sensing layer is used as a safe space. Multiple free safe points are set in the safe space, and the multiple safe points are connected by communication; A safety page is set in the safety space corresponding to the sensing layer, and reserved information is set in the safety page; The association relationship between the sensing layer and the safety space is set to obtain a patrol database.
[0008] In a preferred embodiment, the step of setting a security page corresponding to the sensing layer in the security space and setting reserved information in the security page includes: In the security space, security panels are respectively set at positions corresponding to multiple information blocks; Select multiple reserved points in the security layout, connect the multiple reserved points into a ring to obtain a connection ring, and connect all the connection points contacted by the connection ring in sequence according to the connection ring; A plurality of reserved points and connection points sequentially connected according to a connection ring are used as reserved information.
[0009] In a preferred embodiment, the step of setting the association relationship between the sensing layer and the safety space includes: Trigger the connection between the sensing point and the connection point at the edge of the information block; Connect the connection points of the information block with the connection points at the edge of the corresponding security layout; A position punctuation is set corresponding to the safety layout, and a connection relationship between the position punctuation and multiple safety points in the safety space is established. When the position punctuation is not enabled, the connection between the position punctuation and multiple safety points in the safety space is hidden.
[0010] In a preferred embodiment, the step of determining the periodic process corresponding to the process management terminal and connecting the process management terminal to the process area corresponding to the periodic process includes: Collect the manager information corresponding to multiple cycle processes of the target Chinese medicinal materials, and register the process management terminal based on the manager information; Open corresponding access terminals in the corresponding process areas in the inspection database; Connect the process management end through the access end to the process area of the corresponding cycle process.
[0011] In a preferred embodiment, the step of determining the safety status of the process data according to the inspection database includes: When the sensing point senses unauthorized network access, the sensing point triggers the connection point in the information block where it is located; The connection point information of the information block indicates the connection point at the edge of the corresponding safe layout, immediately enables the position mark, and turns the connection between the position mark and multiple safety points in the safe space into an open state; Multiple safety points are moved to the positions of the reserved points and bound to the connection points corresponding to the reserved points, and the safety points and connection points connected into a ring are obtained according to the reserved information; Disconnect the information block with unauthorized network access from other information blocks, and connect the security page with other information blocks through the connection point; The unauthorized network is received through the security point in the security layout, and circulated in the security points and connection points connected in a ring to obtain the security status of the process data. The security status is represented by the security index, where the calculation formula of the security index is: ,in, is the safety index, To sense the number of blocks of information accessed without authorization, To repeatedly sense the number of blocks of information that are accessed by unauthorized networks, is the total number of information blocks, is the average interval between blocks of information that are not authorized to access the network, and are all constants greater than zero.
[0012] In the above technical solution, the technical effects and advantages provided by the present invention are: The present invention combines the security panel with other information blocks, and connects the security panel with other information blocks to avoid the security panel being isolated. Then, the unauthorized network is accepted through the security points in the security panel, and circulates in the security points and connection points connected in a ring. This can prevent external networks from invading the storage space to access process data and cause leakage of process data, ensure the security of process data storage, and effectively prevent data access from external networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0014] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0015] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] Example 1, please refer to Figure 1 As shown, the method for processing Chinese herbal medicine traceability data based on artificial intelligence described in this embodiment includes the following steps: S1. Determine the target Chinese medicinal materials, formulate process bars corresponding to the target Chinese medicinal materials, wherein the process bars are multiple cycle processes of the target Chinese medicinal materials arranged in sequence, and collect process data of the target Chinese medicinal materials according to the process bars; S2. Build an inspection database and store the process data in the process area of the inspection database according to the periodic process; S3. Determine the periodic process corresponding to the process management terminal, and connect the process management terminal with the process area of the corresponding periodic process; S4. Determine the security status of process data based on the inspection database; As described in steps S1-S4 above, the government actively promotes the construction of a traceability system for Chinese medicinal materials, requiring that the entire process of Chinese medicinal materials from planting to use be traceable. This helps to ensure that the source of Chinese medicinal materials can be checked, the whereabouts can be traced, and the responsibility can be investigated, thereby improving the quality and safety level of Chinese medicinal materials. However, it is currently difficult to ensure the security of data storage in the management of Chinese medicinal materials data, and it is easy to be accessed by external networks, resulting in data leakage; the storage space between the storage space and the sensing layer is used as a safe space, and multiple free security points are set in the safe space. Multiple security points are communicated and connected. The security points are used to respond to and jointly build a safe layout to obtain a layout that can block external network access. It has efficient filling capabilities and can effectively prevent external network access. It has a good information security storage function. The security layout is set in the safe space. When one or more information blocks in the sensing layer sense external network access, the security layout can be quickly enabled. The security layout and the data layout can be connected through connection points later, which can block external network access. The sensing points in the sensing layer are used to sense whether there is access to the external network. The security points and connection points here are ports for data transmission, which can receive and transmit external network signals later.
[0017] In one embodiment, the step S1 of collecting the process data of the target Chinese medicinal material according to the process bar includes: S11, determining multiple cycle processes of the target Chinese medicinal materials, and sorting the multiple cycle processes according to the processing order of the Chinese medicinal materials to obtain process bars; S12, binding the process data of the target Chinese medicinal materials collected according to the process bar with the periodic process; As described in the above steps S11 and S12, the Chinese medicinal materials that need to be processed are determined as target Chinese medicinal materials. The target Chinese medicinal materials require multiple cycle processes from planting to processing. The multiple cycle processes are sorted in the order from planting to processing of the target Chinese medicinal materials to obtain process bars, and then the cycle processes are bound to the corresponding process data for subsequent data storage.
[0018] In one embodiment, the step S2 of constructing the inspection database and storing the process data in the process area of the inspection database according to the periodic process includes: S21, determining a database, setting a sensing layer, a safety space, and a storage space in the database, and obtaining a patrol database; S22, dividing the storage space according to the number of periodic processes of the target Chinese medicinal materials to obtain a plurality of route areas, and marking corresponding periodic processes in the corresponding process areas; S23, storing the process data in the process area corresponding to the periodic process; As described in the above steps S21-S23, a database is determined, and the database is used to store process data and set a sensing layer, a security space, and a storage space to obtain an inspection database. In the storage space in the inspection database, multiple process areas are obtained by dividing the storage space according to the number of periodic processes of the target Chinese medicinal materials. The corresponding periodic processes are respectively marked in the corresponding multiple process areas. The storage space is used to store process data. Then, the process data of the target Chinese medicinal materials is stored in the process area corresponding to the periodic process. The process data can be stored securely, and accurate data can be obtained during the subsequent data tracing of the Chinese medicinal materials, so that the process data of the target Chinese medicinal materials in the whole life cycle can be used accurately, avoiding external networks from accessing and using the data in the database, and ensuring the security of data storage; In one embodiment, the step S21 of determining a database, setting a sensing layer, a safety space, and a storage space in the database, and obtaining a patrol database includes: S211, setting a sensing layer at the edge of the database, wherein the sensing layer is composed of a plurality of information blocks, the plurality of information blocks are connected through a plurality of connection points, and the information block is a data page with a plurality of sensing points set; S212, demarcating a storage space in the middle of the database, using the storage space between the storage space and the sensing layer as a safe space, setting a plurality of free safe points in the safe space, and communicating and connecting the plurality of safe points; S213, setting a security page corresponding to the sensing layer in the security space, and setting reserved information in the security page; S214, setting the association relationship between the sensing layer and the safety space to obtain a patrol database; As described in the above steps S21-S23, a sensing layer is set at the edge of the database, and the sensing layer is composed of multiple information blocks. The multiple information blocks are all data layouts with multiple sensing points set. The data layout here is a storage area for load sensing points, and multiple connection points are set at the edges of the multiple information blocks. The multiple information blocks are connected through the multiple connection points; the subsequent security layout is a storage area covered with connection points, and the adjacent connection points covered in the storage area of the security layout are connected to each other. When the security layout is subsequently enabled, the multiple security points will be bound and integrated with the reserved information to form a layout that can block external network access, which can prevent external network access, demarcate storage space in the middle of the database, and use the storage space between the storage space and the sensing layer as a safe space. Multiple free security points are set in the security space, and the multiple security points are communicated and connected. The security points are used to respond to and jointly build a security layout to obtain a layout that can block external network access. It has efficient filling capabilities, can effectively prevent external network access, and has a good information security storage function. The security layout is set in the security space. When one or more information blocks in the sensing layer sense external network access, the security layout can be quickly enabled. The security layout and the data layout can be connected through the connection point later, which can block the access to the external network. The sensing points in the sensing layer are used to sense whether there is access to the external network. The security points and connection points here are ports for data transmission, which can receive and transmit external network signals later.
[0019] In one embodiment, the step S213 of setting a security layout corresponding to the sensing layer in the security space and setting reserved information in the security layout includes: S2131, respectively setting security layouts at positions corresponding to a plurality of information blocks in the security space; S2132, selecting a plurality of reserved points in the security layout, connecting the plurality of reserved points into a ring to obtain a connection ring, and sequentially connecting all the connection points contacted by the connection ring according to the connection ring; S2133, taking the multiple reserved points and the connection points connected sequentially according to the connection ring as reserved information; As described in the above steps S2131-S2133, security layouts are respectively set at positions corresponding to information blocks inside the security space. For example, the sensing layer is composed of n information blocks, and then security layouts are set one by one at corresponding information blocks inside the sensing layer to block subsequent access to external networks. Multiple reserved points are selected in the security layout, and the reserved points can enable connections to multiple connection points. Multiple connection points are connected into a ring with the reserved points, which can be used for subsequent blocking of external networks. External networks can circulate at the connection points and reserved points connected into a ring without affecting other security layouts and internal storage space.
[0020] In one embodiment, the step S214 of setting the association relationship between the sensing layer and the safety space includes: S2141, triggering a connection between the sensing point and a connection point at an edge of the information block; S2142, connecting the connection point of the information block with the connection point at the edge position of the corresponding security layout; S2143, setting a position punctuation point corresponding to the safety layout (the position punctuation point is set at a position corresponding to the safety layout), establishing a connection relationship between the position punctuation point and multiple safety points in the safety space, and when the position punctuation point is not enabled, the connection between the position punctuation point and the multiple safety points in the safety space is in a hidden state; As described in the above steps S2141-S2143, the sensing point is used to sense whether there is access to an external network. The sensing point triggers a connection with the connection point at the edge of the information block where it is located. When the sensing point senses that there is access to an external network, it will immediately prompt the connection point at the edge of the information block where it is located, and can respond quickly. The corresponding security layout sets a position punctuation point, which is a port at a fixed position. The connection relationship between the position punctuation point and multiple security points in the security space is that when the position punctuation point is not enabled, the connection between the position punctuation point and multiple security points in the security space is in a hidden state. The hidden state means that there is a communication connection relationship but it is not enabled. The state of the position mark can be released to the security point by opening the communication between the position mark and multiple security points. The security point can be moved to the security page corresponding to the position mark. The security point can be combined with the security page to form a function of blocking external networks. The security page here will not be opened when no access from the external network is received, which can save the computing load pressure of the database. The access to the external network can be obtained through the sensing layer, and the system component that blocks the access of the external network in a partial range can be partially opened. Here is the security page, which can not only achieve the purpose of blocking the access of the external network, but also can not occupy too many computing resources.
[0021] In one embodiment, the step S3 of determining the periodic process corresponding to the process management terminal and connecting the process management terminal to the process area corresponding to the periodic process includes: S31, collecting the manager information corresponding to multiple cycle processes of the target Chinese medicinal materials, and registering the process management terminal based on the manager information; S32. Open corresponding access terminals in the inspection database for the corresponding process areas; S33, connecting the process management terminal to the process area of the corresponding periodic process through the access terminal; As described in the above steps S31-S33, the management personnel information corresponding to each cycle process of the target Chinese medicinal materials is collected, and the process management end is registered based on the management personnel information. The process management end is the person in charge of the corresponding cycle process. The process management end is connected to the process area of the corresponding cycle process through the access end. The access end is an authorized access port determined by inspecting the database.
[0022] In one embodiment, the step S4 of determining the safety status of the process data according to the inspection database includes: S41, when the sensing point senses access to an unauthorized network, the sensing point triggers a connection point in the information block where it is located; S42: the connection point information of the information block indicates the connection point at the edge of the corresponding safe layout, immediately activates the position mark, and turns the connection between the position mark and the multiple safety points in the safe space into an open state; S43, multiple safety points are moved to the positions of the reserved points and bound to the connection points corresponding to the reserved points, and the safety points and connection points connected into a ring are obtained according to the reserved information; S44, disconnecting the information block with unauthorized network access from other information blocks, and connecting the security page with other information blocks through the connection point; S45, receiving the unauthorized network through the security point in the security layout, and circulating among the security points and connection points connected in a ring to obtain the security status of the process data; As described in the above steps S41-S45, during use, when the access of unauthorized network is sensed by the sensing point in the sensing layer, the sensing point triggers the connection point in the information block where it is located; then the connection point information of the information block is prompted to the connection point at the edge position of the corresponding security layout, and then the position punctuation is immediately enabled, and the connection between the position punctuation and multiple security points in the security space is turned to an open state, and then multiple security points are moved to the position of the reserved point and bound to the connection point corresponding to the reserved point, and the security points and connection points connected in a ring are obtained according to the reserved information, and the information block accessed by the unauthorized network is disconnected from the other information blocks, and the security layout and other information blocks are connected through the connection point, and the security layout and other information blocks are combined, and the security layout and other information blocks are connected. In order to avoid the security layout being isolated, the unauthorized network is then accepted through the security point in the security layout, and the security points and connection points connected in a ring are circulated to obtain the security status of the process data, wherein the security status is represented by a security index, wherein the calculation formula of the security index is: ,in, is the safety index, To sense the number of blocks of information accessed without authorization, To repeatedly sense the number of blocks of information that are accessed by unauthorized networks, is the total number of information blocks, is the average interval between blocks of information that are not authorized to access the network, and are all constants greater than zero. It should be noted that and The larger the value is, the lower the security status of the process data is, and the greater the intensity of unauthorized network access is. This security status is a state of resisting external networks, which can prevent external networks from invading the storage space to access process data and cause leakage of process data. It can ensure the security of process data storage and effectively avoid data access from external networks. After blocking access from external networks, the sensing layer, security points in the security space, and security layout are restored to their original state. The original state is a state where the sensing points do not sense external network access.
[0023] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for processing Chinese herbal medicine traceability data based on artificial intelligence, characterized in that: The following steps are involved: Determine the target Chinese medicinal materials, formulate process bars corresponding to the target Chinese medicinal materials, wherein the process bars are multiple cycle processes of the target Chinese medicinal materials arranged in sequence, and collect process data of the target Chinese medicinal materials according to the process bars; Construct an inspection database and store the process data in the process area of the inspection database according to the periodic process; Determine the cycle process corresponding to the process management end, and connect the process management end with the process area of the corresponding cycle process; Determine the security status of process data based on the inspection database.
2. According to claim 1, a method for processing Chinese herbal medicine traceability data based on artificial intelligence is characterized in that: The step of collecting the process data of the target Chinese medicinal material according to the process bar includes: Determine multiple cycle processes of the target Chinese medicinal materials, sort the multiple cycle processes according to the processing order of the Chinese medicinal materials, and obtain process bars; According to the process bar, the process data of the target Chinese medicinal materials are collected and bound to the periodic process.
3. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 1, characterized in that: The step of constructing an inspection database and storing the process data in the process area of the inspection database according to the periodic process includes: Determine a database, set a sensing layer, a safety space, and a storage space in the database, and obtain a patrol database; In the storage space, a plurality of route areas are obtained by dividing the storage space according to the number of periodic processes of the target Chinese medicinal materials, and corresponding periodic processes are marked in the corresponding process areas; The process data is stored in the process area corresponding to the cycle process.
4. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 3, characterized in that: The steps of determining a database, setting a sensing layer, a safety space, and a storage space in the database, and obtaining a patrol database include: A sensing layer is set at the edge of the database, wherein the sensing layer is composed of a plurality of information blocks, and the plurality of information blocks are connected through a plurality of connection points, and the information block is a data page with a plurality of sensing points set; A storage space is defined in the middle of the database, and the storage space between the storage space and the sensing layer is used as a safe space. Multiple free safe points are set in the safe space, and the multiple safe points are connected by communication; A safety page is set in the safety space corresponding to the sensing layer, and reserved information is set in the safety page; The association relationship between the sensing layer and the safety space is set to obtain a patrol database.
5. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 4, characterized in that: The step of setting a security layout corresponding to the sensing layer in the security space and setting reserved information in the security layout includes: In the security space, security panels are respectively set at positions corresponding to multiple information blocks; Select multiple reserved points in the security layout, connect the multiple reserved points into a ring to obtain a connection ring, and connect all the connection points contacted by the connection ring in sequence according to the connection ring; A plurality of reserved points and connection points sequentially connected according to a connection ring are used as reserved information.
6. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 5, characterized in that: The step of setting the association relationship between the sensing layer and the safety space includes: Trigger the connection between the sensing point and the connection point at the edge of the information block; Connect the connection points of the information block with the connection points at the edge of the corresponding security layout; A position punctuation is set corresponding to the safety layout, and a connection relationship between the position punctuation and multiple safety points in the safety space is established. When the position punctuation is not enabled, the connection between the position punctuation and multiple safety points in the safety space is hidden.
7. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 1, characterized in that: The step of determining the periodic process corresponding to the process management terminal and connecting the process management terminal to the process area corresponding to the periodic process includes: Collect the manager information corresponding to multiple cycle processes of the target Chinese medicinal materials, and register the process management terminal based on the manager information; Open corresponding access terminals in the corresponding process areas in the inspection database; Connect the process management end through the access end to the process area of the corresponding cycle process.
8. The method for processing Chinese herbal medicine traceability data based on artificial intelligence according to claim 1, characterized in that: The step of determining the safety status of the process data according to the inspection database includes: When the sensing point senses unauthorized network access, the sensing point triggers the connection point in the information block where it is located; The connection point information of the information block indicates the connection point at the edge of the corresponding safe layout, immediately enables the position mark, and turns the connection between the position mark and multiple safety points in the safe space into an open state; Multiple safety points are moved to the positions of the reserved points and bound to the connection points corresponding to the reserved points, and the safety points and connection points connected into a ring are obtained according to the reserved information; Disconnect the information block with unauthorized network access from other information blocks, and connect the security page with other information blocks through the connection point; The unauthorized network is received through the security point in the security layout, and circulated in the security points and connection points connected in a ring to obtain the security status of the process data. The security status is represented by the security index, where the calculation formula of the security index is: ,in, is the safety index, To sense the number of blocks of information accessed without authorization, To repeatedly sense the number of blocks of information that are accessed by unauthorized networks, is the total number of information blocks, is the average interval between blocks of information that are not authorized to access the network, and are all constants greater than zero.
Citation Information
Patent Citations
Traceability system for traditional Chinese medicinal material planting
CN106202478A
Gridding supervision system for river and lake areas, data processing method and database
CN110008295A
Traditional Chinese medicinal material information tracing system and device and identification terminal
CN111429076A
Artificial intelligence optical detection-based traceability system
CN113807869A
Network security robot inspection method, system and device based on artificial intelligence
CN118611975A
Cited By
Cloud platform data remote backup method
CN121173595A
Method for cloud platform data off-site backup
CN121173595B