A model state encoding method and device, and a storage medium

By digitally encoding the dimensions, materials, and application areas of the 3D model of the power engineering project to form a complete encoding group, and introducing a check bit digital string, the problem of scattered model state encoding in the existing technology is solved, and comprehensive management and authenticity verification are realized.

CN119598975BActive Publication Date: 2026-01-23GUANGDONG POWER GRID CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411490398.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2026-01-23
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

Existing model state coding methods are scattered and isolated, making it impossible to obtain a comprehensive model coding set, which leads to an inability to fully manage 3D models of power engineering.

Method used

By receiving the model to be encoded, digital encoding is performed based on the model's size, and the types of materials and application fields are statistically analyzed to form a space occupancy encoding group, a material type encoding group, and a stage feature encoding group. These are then summarized into a complete encoding group, and a check bit string is introduced for verification.

Benefits of technology

Comprehensive model coding management has been achieved, ensuring the authenticity and reliability of model data and improving management efficiency and system flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119598975B_ABST
    Figure CN119598975B_ABST
Patent Text Reader

Abstract

The application discloses a model state coding method and device and a storage medium, wherein the method comprises the following steps: receiving a model to be coded, performing digital coding based on the size of the model to be coded to obtain an occupied space coding group of the model to be coded; counting material types of various power transmission and transformation facilities in the model to be coded to determine a material type coding group; determining application fields corresponding to the power transmission and transformation facilities to form an application information coding group; performing digital coding on features of each stage of the model to be coded to form a stage feature coding group; and collecting the occupied space coding group, the material type coding group, the application information coding group and the stage feature coding group to obtain a complete coding group of the model to be coded. The occupied space coding group, the material type coding group, the application information coding group and the stage feature coding group are collected to obtain the complete coding group of the model to be coded, so that the comprehensiveness of the complete coding group can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of model management, in particular to a model state coding method, device and storage medium. BACKGROUND

[0002] The power engineering three-dimensional model classification coding platform is a system for power transmission and transformation facility management, which provides intuitive visual effects through 3D models, integrates various information related to devices, and enables designers and engineers to better understand the structure and layout of power transmission and transformation facilities.

[0003] The existing model state coding is usually coded in a scattered and isolated manner, and cannot obtain a comprehensive model coding group. SUMMARY

[0004] The present application provides a model state coding method, device and storage medium to solve the technical problem that the existing model state coding is usually coded in a scattered and isolated manner, and cannot obtain a comprehensive model coding group.

[0005] The present application provides a model state coding method, comprising:

[0006] Receiving a model to be coded, digitally coding based on the size of the model to be coded to obtain an occupied space coding group of the model to be coded;

[0007] Statistical material types of various power transmission and transformation facilities in the model to be coded, according to the digital coding corresponding to the material types, statistical volume proportion of the material corresponding to each component in the model to be processed, and determining the material whose volume proportion meets the preset condition as the material type coding group;

[0008] Determine the application field corresponding to the power transmission and transformation facility, and digitally code the application field to form an application information coding group;

[0009] Digitally coding the features of each stage of the model to be coded to form a stage feature coding group; wherein each stage includes the engineering design stage, the material procurement stage, the engineering construction stage and the production operation stage;

[0010] The occupied space coding group, the material type coding group, the application information coding group and the stage feature coding group are summarized to obtain a complete coding group of the model to be coded.

[0011] Further, after obtaining the complete coding group of the model to be coded, it further comprises:

[0012] write the whole set of code groups into the power transmission and transformation facility, delete the serial number of the power transmission and transformation facility and the code paragraph in the production operation stage from the whole set of code groups, and obtain the corresponding half set of code groups of the to-be-coded model.

[0013] Further, after obtaining the corresponding half set of code groups of the to-be-coded model, the method further comprises:

[0014] read all the verification numbers in the half set of code groups, and randomly generate n verification number strings with the same number of digits as the verification numbers; wherein the value of n is determined according to different stage parameters of the to-be-coded model.

[0015] generate a check digit number string with n digits according to the verification number string, and integrate the check digit number string with the half set of code groups;

[0016] determine that the current power transmission and transformation facility passes the verification according to the check digit number string and the verification number string input by the user.

[0017] Further, the method of generating a check digit number string with n digits according to the verification number string comprises:

[0018] correspond each verification number in the half set of code groups with a digit in any verification number string;

[0019] multiply each verification number with the corresponding digit in the verification number string, and divide the sum of each product by 10 and take the remainder to obtain the check digit corresponding to the current verification number.

[0020] calculate the check digits corresponding to the n verification number strings, and combine all the check digits into a check digit number string.

[0021] Further, the method of determining the value of n according to different stage parameters of the to-be-coded model comprises:

[0022] determine the value of n according to the following formula:

[0023]

[0024] wherein n is an integer, α is the weight coefficient of the bid price of the to-be-coded model in the material procurement stage, β is the weight coefficient of the construction period of the to-be-coded model in the engineering detection stage, and γ is the weight coefficient of the production batch of the to-be-coded model in the engineering construction stage.

[0025] Further, the method of digitally coding the characteristics of each stage of the to-be-coded model to form a stage characteristic code group comprises:

[0026] digitally code the design standard, voltage level and load requirement of the to-be-coded model in the engineering design stage.

[0027] digitally encode the suppliers and the bid prices of the to-be-encoded model in the material procurement stage;

[0028] encode the construction period and the production equipment of the to-be-encoded model in the construction stage, and digitally encode the production batch and the finished product serial number of the power transmission and transformation facility produced according to the to-be-encoded model;

[0029] encode the periodic inspection results, the faulty components and the repair components of the power transmission and transformation facility corresponding to the to-be-encoded model in the production stage.

[0030] Further, the application field corresponding to the power transmission and transformation facility is determined, and the application field is digitally encoded to form an application information encoding group, including:

[0031] the application field corresponding to the power transmission and transformation facility is determined, and the functional positioning in the application field is determined;

[0032] the application field and the corresponding functional data are digitally encoded to form an application information encoding group starting with the application field encoding and ending with the functional positioning encoding.

[0033] The application further provides a model state encoding device, including:

[0034] The space occupation encoding group determination module is used for receiving a to-be-encoded model, digitally encoding the to-be-encoded model based on the size of the to-be-encoded model, and obtaining the space occupation encoding group of the to-be-encoded model.

[0035] The material type encoding group determination module is used for counting the material types of various power transmission and transformation facilities in the to-be-encoded model, counting the volume proportion of the material corresponding to each component in the to-be-processed model according to the digital encoding corresponding to the material type, and determining the material whose volume proportion meets a preset condition as the material type encoding group.

[0036] The application information encoding group determination module is used for determining the application field corresponding to the power transmission and transformation facility, and digitally encoding the application field to form an application information encoding group.

[0037] The stage feature encoding group determination module is used for digitally encoding the features of each stage of the to-be-encoded model to form a stage feature encoding group, wherein each stage includes an engineering design stage, a material procurement stage, a construction stage and a production operation stage.

[0038] The complete set of encoding group determination module is used for collecting the space occupation encoding group, the material type encoding group, the application information encoding group and the stage feature encoding group to obtain the complete set of encoding group of the to-be-encoded model.

[0039] The present invention also provides a terminal device, including: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the model state encoding method as described above.

[0040] The present invention also provides a computer-readable storage medium comprising a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the model state encoding method as described above.

[0041] In this embodiment of the invention, the space occupancy coding group, material type coding group, application information coding group, and stage feature coding group are summarized to obtain a complete coding group for the model to be coded. The model data and the characteristics of each stage are comprehensively considered, so that a complete set of codes can be obtained.

[0042] Furthermore, this embodiment of the invention introduces a check bit string for verification, which can verify the authenticity of the current power transmission and transformation facilities based on the check bit string, thereby ensuring the authenticity and reliability of the current power transmission and transformation facilities. Attached Figure Description

[0043] Figure 1 This is a flowchart illustrating the model state encoding method provided in an embodiment of the present invention;

[0044] Figure 2 This is another flowchart illustrating the model state encoding method provided in this embodiment of the invention;

[0045] Figure 3 This is a schematic diagram of the structure of the model state encoding device provided in an embodiment of the present invention. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0047] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0048] In the description of the present application, it should be noted that unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connecting" should be understood in a broad sense, for example, it can be fixed connection, or detachable connection, or integrally connected, it can be mechanical connection, or electrical connection, it can be direct connection, or indirect connection through intermediate medium, or internal communication of two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0049] Please refer to Figure 1 The embodiment of the present application provides a model state coding method, comprising:

[0050] S1, receiving a to-be-coded model, performing digital coding based on the size of the to-be-coded model to obtain an occupied space coding group of the to-be-coded model;

[0051] In the embodiment of the present application, the user can upload the to-be-coded model through the use interface of the system, and the to-be-processed model can be a three-dimensional model of electric power engineering.

[0052] In the embodiment of the present application, after receiving the to-be-coded model, the length, width and height of the to-be-coded model are recorded, the integer size of the smallest rectangular three-dimensional space that can be put into the to-be-coded model is matched, and the three-dimensional space length, width and height are sequentially coded to form the occupied space coding group.

[0053] S2, statistics of the material types of various power transmission and transformation facilities in the to-be-coded model, according to the digital coding corresponding to the material types, statistics of the volume proportion of the material corresponding to each component in the to-be-processed model, and the material whose volume proportion meets the preset condition is determined as the material type coding group;

[0054] In the embodiment of the present application, the volume proportion of the material corresponding to each component in the to-be-processed model is counted, and the top three materials are determined as the material coding group.

[0055] S3, determining the application field corresponding to the power transmission and transformation facility, and performing digital coding on the application field to form an application information coding group;

[0056] In the embodiment of the present application, the application field and the corresponding function positioning can also be counted to form the application information coding group which starts with the application field coding and ends with the function positioning coding.

[0057] S4, performing digital coding on the characteristics of each stage of the to-be-coded model to form a stage characteristic coding group, wherein each stage includes an engineering design stage, a material procurement stage, an engineering construction stage and a production operation stage;

[0058] In the embodiment of the present application, the features of each stage of the model to be coded are digitally coded to form a stage feature coding group, and the feature data of the model at each stage is comprehensively considered, so that a comprehensive model coding group can be obtained.

[0059] S5, the occupancy space coding group, the material type coding group, the application information coding group and the stage feature coding group are integrated to obtain the complete coding group of the model to be coded.

[0060] In the embodiment of the present application, the complete coding group is a complete coding set containing all information related to the power transmission and transformation facility. The occupancy space coding group, the material type coding group, the application information coding group and the stage feature coding group are integrated to obtain the complete coding group of the model to be coded, and the model data and the features of each stage are comprehensively considered, so that a comprehensive complete coding group can be obtained.

[0061] In one embodiment, after the complete coding group of the model to be coded is obtained, the following steps are further included:

[0062] S6, the complete coding group is written into the power transmission and transformation facility, and the serial number of the power transmission and transformation facility and the coding paragraph in the production operation stage are deleted from the complete coding group to obtain a half coding group corresponding to the model to be coded.

[0063] In the embodiment of the present application, the half coding group is a coding set containing part of the information.

[0064] In the embodiment of the present application, by deleting the serial number of the power transmission and transformation facility and the coding paragraph in the production operation stage from the complete coding group, unnecessary coding information can be deleted, so that the complexity of the data can be effectively reduced, and the model data management is more efficient.

[0065] In one embodiment, after the half coding group corresponding to the model to be coded is obtained, the following steps are further included:

[0066] S7, all verification numbers in the half coding group are read, and n verification number strings equal in number of digits to the verification numbers are randomly generated; wherein the value of n is determined according to the different stage parameters of the model to be coded.

[0067] S8, a check digit number string with n number of digits is generated according to the verification number string, and the check digit number string is integrated with the half coding group;

[0068] S9, according to the check digit number string and the verification number string input by the user, it is determined that the current power transmission and transformation facility passes the verification.

[0069] In the embodiment of the present application, according to the check digit number string and the verification number string input by the user, it is determined that the current power transmission and transformation facility passes the verification, which can be:

[0070] With the user input verification number string, the check digit data is calculated according to the mode of step S8, and the several check digit number strings are compared with the check digit number string of the current power transmission and transformation facility, that is, the calculation logic is consistent, the current power transmission and transformation facility is determined to be true, and the verification is passed; otherwise, the verification is not passed.

[0071] The embodiment of the application can verify the authenticity of the current power transmission and transformation facility based on the check digit number string, thereby ensuring the authenticity and reliability of the current power transmission and transformation facility.

[0072] In one embodiment, step S8, generating a check digit number string with n digits according to the verification number string, comprises:

[0073] S81, respectively, each verification number in the half set of encoding groups is compared with the corresponding number in any verification number string;

[0074] In the embodiment of the application, all verification numbers in the half set of encoding groups are arranged in an up-down manner with a certain verification number string. Since the verification number string and the verification number have the same number of digits, the two groups of numbers arranged in an up-down manner form a one-to-one correspondence, and the verification number string is updated after a period of time according to the production batch, which can avoid the problem of leakage caused by long time of the verification number string.

[0075] S82, each verification number is multiplied by the corresponding same digit in the verification number string, each product is accumulated, divided by 10 and the remainder is taken to obtain the check digit corresponding to the current verification number;

[0076] In the embodiment of the application, the remainder is in the range of [0-9], and the remainder is the check digit corresponding to the current verification number.

[0077] S83, the check digit corresponding to the n verification number strings is calculated, and all the check digits are combined to form a check digit number string.

[0078] In the embodiment of the application, the verification number string with n digits is generated according to the verification number string, which can further ensure the reliability of the verification data string, thereby effectively improving the reliability of the verification of the current power transmission and transformation facility.

[0079] In one embodiment, the value of n is determined according to different stage parameters of the to-be-encoded model, comprising:

[0080] The value of n is determined according to the following formula:

[0081]

[0082] Wherein, n is an integer, a is a weight coefficient of the price of the model to be coded in the material procurement stage, b is a weight coefficient of the duration of the model to be coded in the engineering detection stage, and g is a weight coefficient of the production batch of the model to be coded in the engineering construction stage.

[0083] In the embodiment of the application, n is positively correlated with the price G of the model in the material procurement stage and the duration T of the model in the engineering construction stage, because the higher the price of the model, the higher the money cost of the power transmission and transformation facility, and the longer the duration of the model, the higher the time cost of the power transmission and transformation facility production; and n is negatively correlated with the production batch P of the model in the engineering construction stage.

[0084] In the embodiment of the application, the value of n is determined according to the different stage parameters of the model to be coded, and the pros and cons of the difficulty of anti-fake verification and the necessity of anti-fake are balanced, a larger n is used when stricter protection is needed, and the size of n is appropriately reduced when strict protection is not needed, so as to save verification time and effectively improve the verification efficiency.

[0085] In one embodiment, step S4, the features of each stage of the model to be coded are digitally coded to form a stage feature code group, comprising:

[0086] S41, the design standard, voltage level and load requirement of the model to be coded in the engineering design stage are digitally coded;

[0087] In the embodiment of the application, the design standard followed by the model to be coded in the engineering design stage can be digitally coded, and the voltage level and load requirement can be digitally coded in turn.

[0088] S42, the supplier and price of the model to be coded in the material procurement stage are digitally coded;

[0089] S43, the duration and production equipment of the model to be coded in the engineering construction stage are coded, and the production batch and finished product serial number of the power transmission and transformation facility produced according to the model to be coded are digitally coded;

[0090] S44, the periodic inspection results, fault components and repair components of the power transmission and transformation facility corresponding to the model to be coded in the production stage are coded.

[0091] In the embodiment of the application, the model features of different stages are integrated into a unified coding system, which can ensure the coherence and consistency of the information, thereby effectively improving the management efficiency in the model life cycle.

[0092] In one embodiment, step S3, the application field of the power transmission and transformation facility is determined, and the application field is digitally coded to form an application information code group, comprising:

[0093] S31, determine the application field corresponding to the power transmission and transformation facility, and the functional orientation in the application field;

[0094] S32, digitally encode the application field and the corresponding functional data to form an application information code group starting with the application field code and ending with the functional orientation code.

[0095] In the embodiment of the application, by determining the application field and functional orientation of different facilities to form the application information code group, resources and priorities can be reasonably allocated, and the system can be expanded and upgraded according to the application field and functional requirements of the power transmission and transformation facility, maintaining the flexibility and adaptability of the system.

[0096] Please refer to Figure 2 , another flowchart of a model state coding method provided by the embodiment of the application. As shown in Figure 2 , the model state coding method is executed in a model state coding system, which includes a model coding module, a model analysis component, a coding setting module and a feature matching module. The model analysis component performs content analysis and parameter extraction on the uploaded model to be coded by the user to obtain model feature information, including basic parameter information and advanced information. The feature matching module matches the model feature information extracted, and identifies the features of each stage of the model in the whole life cycle; the model coding module automatically generates model codes for each stage of the project in the whole life cycle according to the results of feature matching and coding settings; the coding setting module is used for switching coding rules, and the model compilation module writes the generated model codes into the power transmission and transformation facility.

[0097] The embodiment of the application has the following beneficial effects:

[0098] The embodiment of the application obtains the complete set of codes of the model to be coded by integrating the space occupation code group, the material type code group, the application information code group and the stage feature code group, and comprehensively considers the model data and the features of each stage of the model, so that a comprehensive complete set of codes can be obtained.

[0099] Further, the embodiment of the application can verify the authenticity of the current power transmission and transformation facility based on the check digit number string, so as to ensure the authenticity and reliability of the current power transmission and transformation facility.

[0100] Please refer to Figure 3 , based on the same inventive concept as the above embodiment, the application further provides a model state coding device, which comprises:

[0101] The space occupation code group determination module 10 is used for receiving a model to be coded, digitally encoding the size of the model to be coded, and obtaining the space occupation code group of the model to be coded;

[0102] The material type code group determination module 20 is configured to count the material types of various power transmission and transformation facilities in the model to be coded, count the volume proportions of the materials corresponding to each component in the model to be processed according to the digital codes corresponding to the material types, and determine the materials with the volume proportions meeting preset conditions as the material type code group;

[0103] The application information code group determination module 30 is configured to determine the application fields of the power transmission and transformation facilities, digitally code the application fields, and form an application information code group.

[0104] The stage feature code group determination module 40 is configured to digitally code the features of each stage of the model to be coded, and form a stage feature code group. Each stage includes an engineering design stage, a material procurement stage, an engineering construction stage, and a production operation stage.

[0105] The complete code group determination module 50 is configured to integrate the occupied space code group, the material type code group, the application information code group, and the stage feature code group to obtain a complete code group of the model to be coded.

[0106] In one embodiment, after obtaining the complete code group of the model to be coded, the method further includes:

[0107] The complete code group is written into the power transmission and transformation facility, the serial number of the power transmission and transformation facility and the code paragraph in the production operation stage are deleted from the complete code group, and a half code group corresponding to the model to be coded is obtained.

[0108] In one embodiment, after obtaining the half code group corresponding to the model to be coded, the method further includes:

[0109] All verification numbers in the half code group are read, and n verification number strings with the same number of digits as the verification numbers are randomly generated. The value of n is determined according to the parameters of different stages of the model to be coded.

[0110] A check digit number string with n digits is generated according to the verification number string, and the check digit number string is integrated with the half code group.

[0111] According to the check digit number string and the verification number string input by the user, it is determined that the current power transmission and transformation facility passes the check.

[0112] In one embodiment, generating a check digit number string with n digits according to the verification number string includes:

[0113] Each verification number in the half code group is matched with the digits in any verification number string.

[0114] The verification number is multiplied by the corresponding parity number in the verification number string, and the remainder of the product divided by 10 is obtained after accumulation and division by 10 to obtain the check digit corresponding to the current verification number;

[0115] The check digit corresponding to the n verification number string is calculated, and all check digits are combined to form a check digit string.

[0116] In one embodiment, the value of n is determined according to the different stage parameters of the model to be encoded, including:

[0117] The value of n is determined according to the following formula:

[0118]

[0119] Where n is an integer, a is the weight coefficient of the bid price of the model to be encoded in the material procurement stage, β is the weight coefficient of the construction period of the model to be encoded in the engineering detection stage, and γ is the weight coefficient of the production batch of the model to be encoded in the engineering construction stage.

[0120] In one embodiment, the features of each stage of the model to be encoded are digitally encoded to form a stage feature encoding group, including:

[0121] The design standard, voltage level and load requirement of the model to be encoded in the engineering design stage are digitally encoded;

[0122] The supplier and bid price of the model to be encoded in the material procurement stage are digitally encoded;

[0123] The construction period and production equipment of the model to be encoded in the engineering construction stage are encoded, and the production batch and finished product serial number of the power transmission and transformation facility produced according to the model to be encoded are digitally encoded;

[0124] The periodic inspection results, faulty components and repair components of the power transmission and transformation facility corresponding to the model to be encoded in the production stage are encoded.

[0125] In one embodiment, the application field of the power transmission and transformation facility is determined, and the application field is digitally encoded to form an application information encoding group, including:

[0126] The application field of the power transmission and transformation facility is determined, and the function positioning in the application field is determined;

[0127] The application field and the corresponding function data are digitally encoded to form an application information encoding group starting with the application field encoding and ending with the function positioning encoding.

[0128] Accordingly, one embodiment of the present application also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the computer program is executed by the processor, the model state encoding method of any one of the above embodiments is implemented.

[0129] The terminal device of this embodiment comprises: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above embodiment one are implemented, such as steps S1-S5 shown in the above embodiment one. Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the above device embodiment are implemented, such as the stage feature code group determination module 40. Figure 1

[0130] Illustratively, the computer program can be divided into one or more modules / units, one or more modules / units are stored in the memory and executed by the processor to complete the present application. One or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which is used to describe the execution process of the computer program in the terminal device. For example, the stage feature code group determination module 40 is used to digitally encode the features of each stage of the model to be encoded to form a stage feature code group; wherein each stage includes the engineering design stage, the material procurement stage, the engineering construction stage and the production operation stage.

[0131] The terminal device can be a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device can include, but is not limited to, a processor, a memory. Those skilled in the art can understand that the schematic diagram is only an example of the terminal device and does not constitute a limitation on the terminal device, and can include more or less components than the diagram, or combine certain components, or different components, for example, the terminal device can also include an input / output device, a network access device, a bus, etc.

[0132] ​The processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The processor is a control center of the terminal device, and connects all parts of the terminal device through various interfaces and lines.

[0133] The memory can be used to store computer programs and / or modules, and the processor realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory, and calling data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store operating systems, application programs required by at least one function, etc.; and the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory can include a high-speed random access memory, and can also include a nonvolatile memory, for example, a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory device.

[0134] The modules / units integrated in the terminal device, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on this understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be realized. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.

[0135] Correspondingly, one embodiment of the present application further provides a computer readable storage medium, which includes a stored computer program, wherein the computer program controls a device where the computer readable storage medium is located to perform the model state encoding method of any one of the above embodiments when the computer program is running.

[0136] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above are only specific embodiments of the present application and are not used to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A model state coding method, characterized in that, include: Receive the model to be encoded, and perform digital encoding based on the size of the model to be encoded to obtain the space-occupying encoding group of the model to be encoded; The material types of various power transmission and transformation facilities in the model to be encoded are counted. Based on the numerical codes corresponding to the material types, the volume ratio of each component in the model to be encoded is counted. The materials whose volume ratios meet the preset conditions are determined as the material type coding group. The application areas corresponding to the power transmission and transformation facilities are determined, and the application areas are digitally encoded to form application information code groups; The step of determining the application field corresponding to the power transmission and transformation facility and digitally encoding the application field to form an application information coding group includes: determining the application field corresponding to the power transmission and transformation facility and its functional positioning in the application field; and digitally encoding the application field and its corresponding functional data to form an application information coding group that begins with the application field code and ends with the functional positioning code. The characteristics of each stage of the model to be encoded are digitally encoded to form a stage feature encoding group; wherein each stage includes the engineering design stage, the material procurement stage, the engineering construction stage, and the production and operation stage; the digital encoding of the characteristics of each stage of the model to be encoded to form a stage feature encoding group includes: digitally encoding the design standards, voltage levels, and load requirements of the model to be encoded in the engineering design stage; digitally encoding the suppliers and prices of the model to be encoded in the material procurement stage; encoding the construction period and production equipment of the model to be encoded in the engineering construction stage, and digitally encoding the production batches and finished product serial numbers of the power transmission and transformation facilities produced according to the model to be encoded; and encoding the periodic inspection results, faulty parts, and maintenance parts of the power transmission and transformation facilities corresponding to the model to be encoded in the production stage; The space occupancy coding group, the material type coding group, the application information coding group, and the stage feature coding group are combined to obtain the complete coding group of the model to be coded. Write the complete set of codes into the power transmission and transformation facilities, and delete the serial number of the power transmission and transformation facilities and the coding segment in the production and operation stage from the complete set of codes to obtain a half set of codes corresponding to the model to be coded. Read all the verification numbers in the half-set of encoding group, and randomly generate n verification number strings with the same number of digits as the verification numbers; wherein, the value of n is determined according to the different stage parameters of the model to be encoded; Generate a check digit string with n digits based on the verification digit string, and integrate the check digit string with the half-set of encoding groups; Based on the check digit string and the verification digit string input by the user, it is determined that the current power transmission and transformation facility has passed the verification.

2. The model state coding method as described in claim 1, characterized in that, The step of generating a check digit string with n digits based on the verification digit string includes: Each verification number in the half-set of codes is respectively matched with a number in any verification number string; Multiply each of the verification numbers by the corresponding number of digits in the verification number string, sum each product, divide by 10 and take the remainder to obtain the check digit corresponding to the current verification number. Calculate the check digits corresponding to the n check digit strings, and combine all the check digits to form a check digit string.

3. The model state coding method as described in claim 1, characterized in that, The process of determining the value of n based on the different stage parameters of the model to be encoded includes: The value of n is determined using the following formula: ; in, Take the integer. These are the weighting coefficients for the price quoted in the material procurement stage of the model to be coded. These are the weighting coefficients for the construction period of the model to be encoded during the engineering inspection phase. G represents the weighting coefficient of the production batch of the model to be coded during the engineering construction phase, T represents the price of the model to be coded during the material procurement phase, P represents the construction period of the model to be coded during the engineering construction phase, and P represents the production batch of the model to be coded during the engineering construction phase.

4. A model state coding device, characterized in that, include: The space occupancy coding group determination module is used to receive the model to be encoded, perform digital encoding based on the size of the model to be encoded, and obtain the space occupancy coding group of the model to be encoded. The material type coding group determination module is used to count the material types of various power transmission and transformation facilities in the model to be coded, and according to the numerical code corresponding to the material type, to count the volume ratio of the material of each component in the model to be coded, and to determine the material type coding group as the material type coding group if the volume ratio meets the preset conditions. The application information coding group determination module is used to determine the application field corresponding to the power transmission and transformation facility, and to digitally encode the application field to form an application information coding group. The step of determining the application field corresponding to the power transmission and transformation facility and digitally encoding the application field to form an application information coding group includes: determining the application field corresponding to the power transmission and transformation facility and its functional positioning in the application field; and digitally encoding the application field and its corresponding functional data to form an application information coding group that begins with the application field code and ends with the functional positioning code. The stage feature coding group determination module is used to digitally encode the features of each stage of the model to be coded, forming a stage feature coding group; wherein each stage includes the engineering design stage, the material procurement stage, the engineering construction stage, and the production operation stage; the digital encoding of the features of each stage of the model to be coded to form a stage feature coding group includes: digitally encoding the design standards, voltage levels, and load requirements of the model to be coded in the engineering design stage; digitally encoding the suppliers and prices of the model to be coded in the material procurement stage; encoding the construction period and production equipment of the model to be coded in the engineering construction stage, and digitally encoding the production batches and finished product serial numbers of the power transmission and transformation facilities produced according to the model to be coded; and encoding the periodic inspection results, faulty components, and maintenance components of the power transmission and transformation facilities corresponding to the model to be coded in the production stage. The complete coding group determination module is used to summarize the space occupancy coding group, the material type coding group, the application information coding group, and the stage feature coding group to obtain a complete coding group for the model to be coded; write the complete coding group into the power transmission and transformation facility, delete the serial number of the power transmission and transformation facility and the coding segment in the production and operation stage from the complete coding group to obtain a half coding group corresponding to the model to be coded; read all the verification numbers in the half coding group, and randomly generate n verification number strings with the same number of digits as the verification numbers; wherein, the value of n is determined according to the different stage parameters of the model to be coded; generate a check digit string with n digits based on the verification number strings, and integrate the check digit string with the half coding group; determine that the current power transmission and transformation facility has passed the verification based on the check digit string and the verification number string input by the user.

5. A terminal device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the model state encoding method as described in any one of claims 1-3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the model state coding method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Intelligent coding method and device of master data, storage medium and electronic equipment

    CN116258122A

  • Electric power system three-dimensional model coding mapping method and system and storage medium

    CN117876594A