Model state coding method and device and storage medium
By comprehensively encoding the three-dimensional model of power engineering, including digital encoding of dimensions, materials, application fields and characteristics of each stage, and introducing check-digit strings, the problems of dispersion and isolation of model state codes in the existing technology are solved, and the authenticity and reliability of comprehensive model coding and power transmission and transformation facilities are achieved.
Patent Information
- Application Number
- CN202411490398.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-10-24
AI Technical Summary
Existing model state coding is usually performed in a dispersed and isolated manner, and a comprehensive model coding group cannot be obtained.
By receiving the model to be coded, digitally encoded based on the size of the model, counting the material types and application fields of the power transmission and transformation facilities, digitally encode the characteristics of each stage, forming a complete set of encoding groups, and verifying them through the check digit string.
A comprehensive model coding group is realized to ensure comprehensive consideration of model data and characteristics of each stage, and the authenticity and reliability of power transmission and transformation facilities are improved through the check-digit string.
Smart Images

Figure CN119598975A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of model management technology, and in particular to a model state encoding method, device and storage medium. Background Art
[0002] The power engineering 3D model classification and coding platform is a system used for the management of power transmission and substation facilities. It provides intuitive visualization through 3D models and integrates various equipment-related information, enabling designers and engineers to better understand the construction and layout of transmission and substation facilities.
[0003] Existing model state encodings usually carry out model state encoding in a scattered and isolated manner, and it is impossible to obtain a comprehensive model encoding set. Summary of the invention
[0004] The present invention provides a model state coding method, device and storage medium to solve the technical problem that the existing model state coding usually performs model state coding in a decentralized and isolated manner and cannot obtain a comprehensive model code group.
[0005] The present invention provides a model state encoding method, comprising:
[0006] Receiving a model to be encoded, and performing digital encoding based on the size of the model to be encoded to obtain an occupied space encoding group of the model to be encoded;
[0007] Counting the material types of various power transmission and transformation facilities in the model to be coded, counting the volume proportions corresponding to the materials of various components in the model to be processed according to the digital codes corresponding to the material types, and determining the materials whose volume proportions meet the preset conditions as the material type coding group;
[0008] Determine the application field corresponding to the power transmission and transformation facility, and digitally encode the application field to form an application information coding group;
[0009] Digitally encode the characteristics of each stage of the model to be encoded 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;
[0010] The occupied space code group, the material type code group, the application information code group and the stage feature code group are aggregated to obtain a complete set of code groups for the model to be encoded.
[0011] Furthermore, after the complete set of coding groups of the model to be coded is obtained, the following steps are also included:
[0012] The entire set of coding groups is written into the power transmission and transformation facility, and the serial number of the power transmission and transformation facility and the coding segments in the production and operation stage are deleted from the entire set of coding groups to obtain a half set of coding groups corresponding to the model to be encoded.
[0013] Furthermore, after obtaining the half set of coding groups corresponding to the model to be coded, the method further includes:
[0014] All verification digits in the half-set coding group are read, and n verification digit strings having the same digits as the verification digits are randomly generated; wherein the value of n is determined according to the parameters of different stages of the model to be coded.
[0015] Generate a check digit digital string with n digits according to the verification digital string, and integrate the check digit digital string with the half set of coding groups;
[0016] According to 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.
[0017] Further, the step of generating a check digit string having n digits according to the verification digit string comprises:
[0018] Match each verification digit in the half set of coding groups to a digit in any verification digit string;
[0019] Multiply each verification digit by the corresponding number in the verification digit string, add up each product and divide by 10 to obtain the remainder to obtain the check digit corresponding to the current verification digit;
[0020] The check digits corresponding to the n verification digital strings are calculated, and all the check digits are combined into a check digit string.
[0021] Furthermore, determining the value of n according to the parameters of different stages of the model to be encoded includes:
[0022] The value of n is determined according to the following formula:
[0023]
[0024] Where n is an integer, α is the weight coefficient of the price of the model to be coded in the material procurement stage, β is the weight coefficient of the construction period of the model to be coded in the engineering inspection stage, and γ is the weight coefficient of the production batch of the model to be coded in the engineering construction stage.
[0025] Furthermore, the digital encoding of the features of each stage of the model to be encoded to form a stage feature encoding group includes:
[0026] Digitally encoding the design standard, voltage level and load requirements of the model to be encoded in the engineering design stage;
[0027] Digitally encode the supplier and price of the model to be encoded in the material procurement stage;
[0028] Encoding the construction period and production equipment of the model to be encoded during the engineering construction phase, and digitally encoding the production batch and finished product serial number of the power transmission and transformation facilities produced according to the model to be encoded;
[0029] The regular inspection results, faulty components and maintenance components of the power transmission and transformation facilities corresponding to the model to be encoded during the production stage are encoded.
[0030] Furthermore, the application fields corresponding to the power transmission and transformation facilities are determined, and the application fields are digitally encoded to form an application information coding group, including:
[0031] Determine the application fields corresponding to the power transmission and transformation facilities, and their functional positioning in the application fields;
[0032] The application field and the corresponding function data are digitally encoded to form an application information code group that begins with an application field code and ends with a function positioning code.
[0033] The present invention also provides a model state encoding device, comprising:
[0034] An occupied space coding group determination module is used to receive a model to be encoded, and digitally encode the model to be encoded based on the size of the model to be encoded to obtain an occupied space coding group of the model to be encoded;
[0035] A 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, count the volume proportions corresponding to the materials of various components in the model to be processed according to the digital codes corresponding to the material types, and determine the materials whose volume proportions meet the preset conditions as the material type coding group;
[0036] An application information coding group determination module is used to determine the application field corresponding to the power transmission and transformation facility, and digitally encode the application field to form an application information coding group;
[0037] A stage feature coding group determination module is used to digitally encode the features of each stage of the model to be encoded to form a stage feature coding group; wherein each stage includes an engineering design stage, a material procurement stage, an engineering construction stage, and a production operation stage;
[0038] The module for determining a complete set of coding groups is used to aggregate 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 set of coding groups for the model to be encoded.
[0039] The present invention 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 the processor implements the above-mentioned model state encoding method when executing the computer program.
[0040] The present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the model state encoding method as described above.
[0041] The embodiment of the present invention aggregates the occupied space coding group, material type coding group, application information coding group and stage characteristic coding group to obtain a complete set of coding groups for the model to be encoded, comprehensively considering the model data and each stage characteristics of the model, so as to obtain a comprehensive set of codes.
[0042] Furthermore, the embodiment of the present invention introduces a check digit digital string for verification, and can verify the authenticity of the current power transmission and transformation facilities based on the check digit digital string, thereby ensuring the authenticity and reliability of the current power transmission and transformation facilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a flow chart of a model state encoding method provided by an embodiment of the present invention;
[0044] Figure 2 is another flow chart of the model state encoding method provided by an embodiment of the present invention;
[0045] Figure 3 It is a structural diagram of a model state encoding device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work 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 understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0048] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0049] See also Figure 1 , an embodiment of the present invention provides a model state encoding method, comprising:
[0050] S1. Receive a model to be encoded, perform digital encoding based on the size of the model to be encoded, and obtain an occupied space encoding group of the model to be encoded;
[0051] In the embodiment of the present invention, the user can upload the model to be encoded through the user interface of the system, and the model to be processed can be a three-dimensional model of the electric power engineering.
[0052] In an embodiment of the present invention, after receiving the model to be encoded, the length, width, and height of the model to be encoded are recorded, the integer size of the smallest rectangular three-dimensional space that can accommodate the model to be encoded is matched, and the three-dimensional space is digitally encoded in the order of length, width, and height to form an occupied space coding group.
[0053] S2. Count the material types of various power transmission and transformation facilities in the model to be coded, count the volume proportions of the materials of various components in the model to be processed according to the digital codes corresponding to the material types, and determine the materials whose volume proportions meet the preset conditions as the material type coding group;
[0054] In an embodiment of the present invention, the volume percentages corresponding to the materials of the various components to be processed are counted, and the top three materials in terms of volume percentage are determined as a material coding group.
[0055] S3, determining the application fields corresponding to the power transmission and transformation facilities, and digitally encoding the application fields to form an application information coding group;
[0056] In the embodiment of the present invention, the application fields and the corresponding functional positioning may also be counted to form an application confidence code group that begins with an application field code and ends with a functional positioning code.
[0057] S4. Digitally encode the characteristics of each stage of the coding model to form a stage characteristic coding group; each stage includes the engineering design stage, the material procurement stage, the engineering construction stage and the production operation stage;
[0058] In the embodiment of the present invention, the features of each stage of the model to be encoded are digitally encoded to form a stage feature encoding group, which comprehensively considers the feature data of the model at each stage, so as to obtain a comprehensive model encoding group.
[0059] S5. Summarize the occupied space code group, material type code group, application information code group and stage feature code group to obtain a complete set of code groups for the model to be encoded.
[0060] In the embodiment of the present invention, the whole set of coding groups is a complete set of codings including all the relevant information of the power transmission and transformation facilities. The embodiment of the present invention aggregates the occupied space coding group, the material type coding group, the application information coding group and the stage characteristic coding group to obtain the whole set of coding groups of the model to be coded, comprehensively considering the model data and each stage characteristic of the model, so as to be able to aggregate a comprehensive whole set of codings.
[0061] In one embodiment, after the complete set of coding groups of the model to be coded is obtained, the method further includes:
[0062] S6. Write the entire set of coding groups into the power transmission and transformation facilities, delete the serial number of the power transmission and transformation facilities and the coding segments in the production and operation stage from the entire set of coding groups, and obtain a half set of coding groups corresponding to the model to be encoded.
[0063] In the embodiment of the present invention, the half set of coding groups is a set of codings containing partial information.
[0064] The embodiment of the present invention can delete unnecessary coding information by deleting the serial number of the power transmission and transformation facilities and the coding sections in the production and operation stage from the entire set of coding groups, thereby effectively reducing the complexity of the data and making the model data management more efficient.
[0065] In one embodiment, after obtaining the half set of coding groups corresponding to the model to be coded, the method further includes:
[0066] S7. Read all verification digits in the half-set coding group, and randomly generate n verification digit strings that are equal to the digits of the verification digits; wherein the value of n is determined according to the parameters of different stages of the model to be encoded.
[0067] S8, generating a check digit digital string with n digits according to the verification digital string, and integrating the check digit digital string with the half-set coding group;
[0068] S9. Determine whether the current power transmission and transformation facility verification has passed based on the check digit string and the verification digit string input by the user.
[0069] In the embodiment of the present invention, according to 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, which can be:
[0070] The verification digit string input by the user is used to calculate the check digit data according to the method of step S8. If the check digit digit strings are consistent with the check digit digit strings of the current power transmission and transformation facilities, the calculation logic is judged to be consistent, and the current power transmission and transformation facilities are determined to be true and the verification passes; otherwise, the verification fails.
[0071] The embodiment of the present invention introduces a check digit digital string for verification, and can verify the authenticity of the current power transmission and transformation facilities based on the check digit digital string, thereby ensuring the authenticity and reliability of the current power transmission and transformation facilities.
[0072] In one embodiment, step S8, generating a check digit string with n digits according to the verification digit string, comprises:
[0073] S81, respectively matching each verification digit in the half set of coding groups with a digit in any verification digit string;
[0074] In an embodiment of the present invention, all verification digits in a half-set of coding groups are arranged up and down with a certain verification digit string. Since the number of digits of the verification digit string is equal to that of the verification digit, the two groups of digits arranged up and down form a one-to-one correspondence, and the verification digit string is updated at intervals according to the production batch, which can avoid the problem of leakage of the verification digit string due to a long time.
[0075] S82, multiply each verification digit by the corresponding same digit in the verification digit string, add up each product and divide by 10 to take the remainder, to obtain the check digit corresponding to the current verification digit;
[0076] In the embodiment of the present invention, the remainder ranges from [0 to 9], and the remainder is the check digit corresponding to the current verification digit.
[0077] S83. Calculate and obtain the check digits corresponding to the n verification digit strings, and combine all the check digits into a check digit string.
[0078] In the embodiment of the present invention, a check digit digital string with n digits is generated according to the verification digital string, which can further ensure the reliability of the check data string, thereby effectively improving the reliability of the current power transmission and transformation facility verification.
[0079] In one embodiment, determining the value of n according to parameters of different stages of the model to be encoded includes:
[0080] The value of n is determined according to the following formula:
[0081]
[0082] Where n is an integer, α is the weight coefficient of the price of the model to be coded in the material procurement stage, β is the weight coefficient of the construction period of the model to be coded in the engineering inspection stage, and γ is the weight coefficient of the production batch of the model to be coded in the engineering construction stage.
[0083] In the embodiment of the present invention, n is positively correlated with the bid price G of the model in the material procurement stage and the construction period T in the engineering construction stage, because the higher the bid price, the higher the monetary cost of the power transmission and transformation facilities corresponding to the model, and the longer the construction period, the higher the time cost of producing the power transmission and transformation facilities corresponding to the model; and n is negatively correlated with the production batch P of the model in the engineering construction stage.
[0084] In an embodiment of the present invention, the value of n is determined according to the parameters of different stages of the model to be encoded, and the pros and cons of the difficulty of anti-counterfeiting verification and the necessity of anti-counterfeiting are weighed. When stricter protection is needed, a larger n is used, and when strict protection is not required, the size of n is appropriately reduced to save verification time, thereby effectively improving verification efficiency.
[0085] In one embodiment, step S4, digitally encoding the features of each stage of the model to be encoded to form a stage feature encoding group, includes:
[0086] S41, digitally encoding the design standard, voltage level and load requirements of the coding model in the engineering design stage;
[0087] In the embodiment of the present invention, the design standards to be followed by the model to be encoded in the engineering design stage may be digitally encoded, and the voltage level and the load requirement may be digitally encoded in sequence.
[0088] S42. Digitally encode the suppliers and prices of the coding model in the material procurement stage;
[0089] S43, encoding the construction period and production equipment of the model to be encoded during the engineering construction phase, and digitally encoding the production batch and finished product serial number of the power transmission and transformation facilities produced according to the model to be encoded;
[0090] S44. Encode the regular inspection results, faulty parts and maintenance parts of the power transmission and transformation facilities corresponding to the encoding model during the production stage.
[0091] In the embodiment of the present invention, the model features of different stages are integrated into a unified coding system, which can ensure the coherence and consistency of information, thereby effectively improving the management efficiency within the model life cycle.
[0092] In one embodiment, step S3, determining the application fields corresponding to the power transmission and transformation facilities, and digitally encoding the application fields to form an application information coding group, includes:
[0093] S31. Determine the application areas corresponding to the power transmission and transformation facilities and their functional positioning in the application areas;
[0094] S32. Digitally encode the application field and the corresponding functional data to form an application information coding group that starts with an application field code and ends with a function positioning code.
[0095] In the embodiment of the present invention, by clarifying the application fields and functional positioning of different facilities to form an application information coding group, resources and priorities can be reasonably allocated, and expansion and upgrading can be carried out according to the application fields and functional requirements of the power transmission and transformation facilities to maintain the flexibility and adaptability of the system.
[0096] See also Figure 2 , is another flow chart of a model state encoding method provided by an embodiment of the present invention. Figure 2 As shown, the model state encoding method is executed in the model state encoding system, and the model state encoding model includes a model encoding module, a model parsing component, a coding setting module and a feature matching module. Among them, after receiving the model to be encoded uploaded by the user, the model parsing component performs content parsing and parameter extraction on the model to be encoded to obtain model feature information, including basic parameter information and advanced information. The feature matching module matches the parsed model feature information and identifies the features of each stage of the model throughout the life cycle; the model encoding module automatically generates the model coding of each stage of the project life cycle according to the results of feature matching and coding settings, the coding setting module is used to switch the coding rules, and the model compilation module writes the generated model coding into the power transmission and transformation facilities.
[0097] The implementation of the embodiments of the present invention has the following beneficial effects:
[0098] The embodiment of the present invention aggregates the occupied space coding group, material type coding group, application information coding group and stage characteristic coding group to obtain a complete set of coding groups for the model to be encoded, comprehensively considering the model data and each stage characteristics of the model, so as to obtain a comprehensive set of codes.
[0099] Furthermore, the embodiment of the present invention introduces a check digit digital string for verification, and can verify the authenticity of the current power transmission and transformation facilities based on the check digit digital string, thereby ensuring the authenticity and reliability of the current power transmission and transformation facilities.
[0100] See also Figure 3 Based on the same inventive concept as the above embodiment, the present invention further provides a model state encoding device, comprising:
[0101] The occupied space coding group determination module 10 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 occupied space coding group of the model to be encoded;
[0102] The material type code group determination module 20 is used 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 of various components in the model to be processed according to the digital codes corresponding to the material types, and determine the materials whose volume proportions meet the preset conditions as the material type code group;
[0103] The application information coding group determination module 30 is used to determine the application field corresponding to the power transmission and transformation facilities, and digitally encode the application field to form an application information coding group;
[0104] The stage feature coding group determination module 40 is used to digitally encode the features of each stage of the coding model 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;
[0105] The whole set of coding group determination module 50 is used to aggregate the occupied space coding group, the material type coding group, the application information coding group and the stage feature coding group to obtain a whole set of coding groups for the model to be encoded.
[0106] In one embodiment, after the complete set of coding groups of the model to be coded is obtained, the method further includes:
[0107] The whole set of coding groups is written into the power transmission and transformation facilities, and the serial numbers of the power transmission and transformation facilities and the coding sections in the production and operation stage are deleted from the whole set of coding groups to obtain a half set of coding groups corresponding to the model to be coded.
[0108] In one embodiment, after obtaining the half set of coding groups corresponding to the model to be coded, the method further includes:
[0109] Read all the verification digits in the half-set coding group, and randomly generate n verification digit strings that are equal to the digits of the verification digits; wherein the value of n is determined according to the parameters of different stages of the model to be encoded.
[0110] Generate a check digit digital string with n digits according to the verification digital string, and integrate the check digit digital string with the half-set coding group;
[0111] 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.
[0112] In one embodiment, generating a check digit string with n digits according to a verification digit string includes:
[0113] Match each verification digit in the half set of coding groups with a digit in any verification digit string;
[0114] Multiply each verification digit by the corresponding number in the verification digit string, add up each product and divide by 10 to get the remainder to get the check digit corresponding to the current verification digit;
[0115] The check digits corresponding to the n verification digital strings are calculated, and all the check digits are combined into a check digit string.
[0116] In one embodiment, determining the value of n according to parameters of different stages of the model to be encoded includes:
[0117] The value of n is determined according to the following formula:
[0118]
[0119] Where n is an integer, α is the weight coefficient of the price of the model to be coded in the material procurement stage, β is the weight coefficient of the construction period of the model to be coded in the engineering inspection stage, and γ is the weight coefficient of the production batch of the model to be coded 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] Digitally encode the design standards, voltage levels and load requirements of the coded model in the engineering design stage;
[0122] Digitally encode the suppliers and prices of the coded model in the material procurement stage;
[0123] Encode the construction period and production equipment of the model to be coded during the engineering construction phase, and digitally encode the production batches and finished product serial numbers of the power transmission and transformation facilities produced according to the model to be coded;
[0124] The regular inspection results, faulty parts and maintenance parts of the power transmission and transformation facilities corresponding to the coding model during the production stage are coded.
[0125] In one embodiment, the application fields corresponding to the power transmission and transformation facilities are determined, and the application fields are digitally encoded to form an application information coding group, including:
[0126] Determine the application areas corresponding to power transmission and transformation facilities, and their functional positioning in the application areas;
[0127] The application field and the corresponding functional data are digitally encoded to form an application information coding group that starts with an application field code and ends with a functional positioning code.
[0128] Correspondingly, an embodiment of 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, and when the processor executes the computer program, the model state encoding method of any one of the above embodiments is implemented.
[0129] The terminal device of this embodiment includes: a processor, a memory, and a computer program and computer instructions stored in the memory and executable on the processor. When the processor executes the computer program, each step in the above embodiment 1 is implemented, for example Figure 1 Alternatively, when the processor executes the computer program, the functions of each module / unit in the above device embodiment are implemented, such as the stage feature code group determination module 40.
[0130] Exemplarily, the computer program can be divided into one or more modules / units, one or more modules / units are stored in a memory and executed by a processor to complete the present invention. One or more modules / units can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program in a terminal device. For example, the stage feature coding group determination module 40 is used to digitally encode the features of each stage of the coding model to form a stage feature coding group; wherein each stage includes an engineering design stage, a material procurement stage, an engineering construction stage, and a production operation stage.
[0131] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a network access device, a bus, etc.
[0132] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0133] The memory can be used to store computer programs and / or modules. 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 the 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 an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile terminal, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0134] Among them, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained 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 electric carrier signals and telecommunication signals.
[0135] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the model state encoding method of any one of the above embodiments.
[0136] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A model state encoding method, characterized in that: include: Receiving a model to be encoded, and performing digital encoding based on the size of the model to be encoded to obtain an occupied space encoding group of the model to be encoded; Counting the material types of various power transmission and transformation facilities in the model to be coded, counting the volume proportions corresponding to the materials of various components in the model to be processed according to the digital codes corresponding to the material types, and determining the materials whose volume proportions meet the preset conditions as the material type coding group; Determine the application field corresponding to the power transmission and transformation facility, and digitally encode the application field to form an application information coding group; Digitally encoding the features of each stage of the model to be encoded to form a stage feature encoding group; The various stages include engineering design stage, material procurement stage, engineering construction stage and production operation stage; The occupied space code group, the material type code group, the application information code group and the stage feature code group are aggregated to obtain a complete set of code groups for the model to be encoded.
2. The model state encoding method according to claim 1, characterized in that: After the complete set of coding groups of the model to be coded is obtained, it also includes: The entire set of coding groups is written into the power transmission and transformation facility, and the serial number of the power transmission and transformation facility and the coding segments in the production and operation stage are deleted from the entire set of coding groups to obtain a half set of coding groups corresponding to the model to be encoded.
3. The model state encoding method according to claim 2, characterized in that: After obtaining the half set of coding groups corresponding to the model to be coded, the method further includes: Read all verification digits in the half set of coding groups, and randomly generate n verification digit strings that are equal to the digits of the verification digits; wherein the value of n is determined according to the parameters of different stages of the model to be coded; Generate a check digit digital string with n digits according to the verification digital string, and integrate the check digit digital string with the half set of coding groups; According to 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.
4. The model state encoding method according to claim 3, characterized in that: The step of generating a check digit string having n digits according to the verification digit string comprises: Match each verification digit in the half set of coding groups to a digit in any verification digit string; Multiply each verification digit by the corresponding number in the verification digit string, add up each product and divide by 10 to obtain the remainder to obtain the check digit corresponding to the current verification digit; The check digits corresponding to the n verification digital strings are calculated, and all the check digits are combined into a check digit string.
5. The model state encoding method according to claim 3, characterized in that: The step of determining the value of n according to parameters of different stages of the model to be encoded includes: The value of n is determined according to the following formula: Where n is an integer, α is the weight coefficient of the price of the model to be coded in the material procurement stage, β is the weight coefficient of the construction period of the model to be coded in the engineering inspection stage, and γ is the weight coefficient of the production batch of the model to be coded in the engineering construction stage.
6. The model state encoding method according to claim 1, characterized in that: The digital encoding of the features of each stage of the model to be encoded to form a stage feature encoding group includes: Digitally encoding the design standard, voltage level and load requirements of the model to be encoded in the engineering design stage; Digitally encode the supplier and price of the model to be encoded in the material procurement stage; Encoding the construction period and production equipment of the model to be encoded during the engineering construction phase, and digitally encoding the production batch and finished product serial number of the power transmission and transformation facilities produced according to the model to be encoded; The regular inspection results, faulty components and maintenance components of the power transmission and transformation facilities corresponding to the model to be encoded during the production stage are encoded.
7. The model state encoding method according to claim 1, characterized in that: Determine the application field corresponding to the power transmission and transformation facility, and digitally encode the application field to form an application information coding group, including: Determine the application fields corresponding to the power transmission and transformation facilities, and their functional positioning in the application fields; The application field and the corresponding function data are digitally encoded to form an application information code group that begins with an application field code and ends with a function positioning code.
8. A model state encoding device, characterized in that: include: An occupied space coding group determination module is used to receive a model to be encoded, and digitally encode the model to be encoded based on the size of the model to be encoded to obtain an occupied space coding group of the model to be encoded; A 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, count the volume proportions corresponding to the materials of various components in the model to be processed according to the digital codes corresponding to the material types, and determine the materials whose volume proportions meet the preset conditions as the material type coding group; An application information coding group determination module is used to determine the application field corresponding to the power transmission and transformation facility, and digitally encode the application field to form an application information coding group; A stage feature coding group determination module is used to digitally encode the features of each stage of the model to be encoded to form a stage feature coding group; The various stages include engineering design stage, material procurement stage, engineering construction stage and production operation stage; The module for determining a complete set of coding groups is used to aggregate 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 set of coding groups for the model to be encoded.
9. 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 implements the model state encoding method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the model state encoding method according to any one of claims 1 to 7.
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
Construction method and system for full-life-cycle model of constructional engineering
CN118520577A