CN115905172B - Method for constructing complete die database - Google Patents

Method for constructing complete die database Download PDF

Info

Publication number
CN115905172B
CN115905172B CN202211496771.5A CN202211496771A CN115905172B CN 115905172 B CN115905172 B CN 115905172B CN 202211496771 A CN202211496771 A CN 202211496771A CN 115905172 B CN115905172 B CN 115905172B
Authority
CN
China
Prior art keywords
data
preset memory
check
die
mold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211496771.5A
Other languages
Chinese (zh)
Other versions
CN115905172A (en
Inventor
余新乐
周少良
谢景双
夏国荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Precision Industry Shenzhen Co ltd
Original Assignee
Victor Precision Industry Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Precision Industry Shenzhen Co ltd filed Critical Victor Precision Industry Shenzhen Co ltd
Priority to CN202211496771.5A priority Critical patent/CN115905172B/en
Publication of CN115905172A publication Critical patent/CN115905172A/en
Application granted granted Critical
Publication of CN115905172B publication Critical patent/CN115905172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method for constructing a complete die database, which comprises the following steps: firstly, receiving a construction instruction aiming at a die set data database, and checking the construction instruction to obtain a checking result corresponding to the construction instruction; then when the verification result is characterized as successful verification, acquiring associated mold data to be associated, and constructing a mold database in an initial state; and finally, obtaining die set data based on the associated die data to be associated, and storing the die set data into a die database to obtain a die database with the built-up die, so that the die set database can be built by utilizing the associated die data to be associated in a safe environment, the subsequent acquisition of the die set data is facilitated, and the working efficiency of industrial production is improved.

Description

Method for constructing complete die database
Technical Field
The invention relates to the field of mold data management, in particular to a method for constructing a complete mold database.
Background
With the development of industrialization, various molds provide great convenience for industrial production. In the prior art, the mold data is not managed by a system, and is only stored by a manager according to the storage form of the existing common file, however, with increasing number of molds, when the user needs to perform unified manufacturing operation on the associated mold data, it is very inconvenient for the manager to extract the mold data one by one.
Disclosure of Invention
The invention aims to provide a method for constructing a complete die database.
In a first aspect, an embodiment of the present invention provides a method for constructing a set of mold databases, which is applied to a database server, including:
receiving a construction instruction aiming at a die set data database, and checking the construction instruction to obtain a checking result corresponding to the construction instruction;
when the verification result is characterized as successful verification, acquiring associated mold data to be associated, and constructing a mold database in an initial state;
and obtaining die set data based on the associated die data to be associated, and storing the die set data into a die database to obtain a die database with built-up.
In one possible implementation, the database server includes a preset storage space, the preset storage space includes a preset memory, the preset memory includes a first preset memory, the first preset memory is used for storing associated mold data after association is completed, obtaining a set of mold data based on the associated mold data to be associated, and storing the set of mold data to the mold database, including:
acquiring associated mold data to be associated from a preset storage space, and carrying out association operation on the associated mold data to be associated;
The method comprises the steps of placing associated die data after association into a preset memory, wherein the associated die data after association is placed into a first preset memory, the first preset memory stores data according to parameter volumes corresponding to the associated die data after association, and the associated die data with larger parameter volumes is preemptively extracted from the first preset memory;
based on an input instruction for storing the associated die data with the completed association into a die database, acquiring the associated die data with the completed association from a first preset memory, and determining an associated die data set according to the determined associated die data with the completed association;
generating die set data, the die set data comprising an associated die data set;
the die set data is stored to a die database.
In one possible embodiment, the preset memory further includes a second preset memory, wherein the first preset memory is used for storing associated die data completed by association with a first processing weight, the second preset memory is used for storing associated die data completed by association with a second processing weight, the first processing weight is a size of a parameter volume received when the associated die data completed by association is uploaded, the second processing weight is determined according to a recording timing of the associated die data completed by association received by the database server and the parameter volume received when the associated die data completed by association is stored in the die database,
The step of placing the associated die data after the association is completed into a preset memory further comprises the following steps:
the associated die data after the association is placed into a second preset memory,
acquiring associated die data with completed association from a first preset memory, and determining an associated die data set according to the determined associated die data with completed association, wherein the method comprises the following steps:
determining a data extraction command for acquiring associated mold data from a first preset memory and a second preset memory, wherein the data extraction command comprises a first data extraction duty ratio corresponding to the first preset memory and a second data extraction duty ratio corresponding to the second preset memory;
acquiring full-quantity associated mold data to be stored in a mold database;
determining a first extraction number according to the full-quantity associated mold data and the first data extraction duty ratio, and determining a second extraction number according to the full-quantity associated mold data and the second data extraction duty ratio, wherein the associated mold data stored in a first preset memory is stored in a position determined by a first processing weight, and the associated mold data stored in a second preset memory is stored in a position determined by a second processing weight;
acquiring a first extraction number of associated mold data from a first preset memory according to a position determined by the first processing weight as first associated mold data;
Acquiring the associated mold data of a second extraction number from a position determined according to the second processing weight in a second preset memory to serve as second associated mold data;
an associated mold data set is determined from the first associated mold data and the second associated mold data.
In one possible embodiment, the method further comprises:
when the fact that the total quantity of associated die data in the first preset memory is increased and the total quantity of associated die data in the second preset memory is reduced is identified, the first data extraction duty ratio is increased and the second data extraction duty ratio is reduced;
and when the fact that the total quantity of associated die data in the first preset memory is reduced and the total quantity of associated die data in the second preset memory is increased is identified, reducing the first data extraction duty ratio and improving the second data extraction duty ratio.
In one possible embodiment, the number of extractions of the first associated mold data and the second associated mold data is a plurality, respectively;
prior to generating the die set data, the method further comprises:
determining the same version of associated mold data from the first associated mold data, wherein the same version of associated mold data is the associated mold data determined from a first preset memory and determined from a second preset memory;
The same version-associated mold data determined from the first preset memory is deleted or the same version-associated mold data determined from the second preset memory is deleted.
In one possible implementation, the associated die data is further placed into a second preset memory, wherein the first preset memory is used for storing the associated die data with a first processing weight, the second preset memory is used for storing the associated die data with a second processing weight, and placing the associated die data into the preset memory includes:
acquiring model priority information of associated mold data of which association is completed;
determining the parameter volume determined when the associated die data with the completed association is stored in a die database, and determining the input time sequence of the associated die data with the completed association received by a preset storage space;
determining a first processing weight of the associated die data in a first preset memory after the association is completed according to the parameter volume; the method comprises the steps of,
determining a second processing weight of the associated die data in a second preset memory after the association is completed according to the parameter volume and the entry time sequence;
according to the first processing weight, the associated die data after the association is completed is placed into a first preset memory; the method comprises the steps of,
And according to the second processing weight, placing the associated die data with the associated die data being completed into a second preset memory.
In one possible implementation, before placing the associated mold data with the associated completed in the preset memory, the method further includes:
acquiring full-quantity associated mold data in a first preset memory and full-quantity associated mold data in a second preset memory;
placing the associated die data with the associated completion into a preset memory, including:
and when the total quantity of associated die data in the first preset memory is not more than the total quantity of associated die data in the second preset memory, placing the associated die data in the first preset memory.
In one possible embodiment, the method further comprises:
and when the total quantity of associated die data in the first preset memory is larger than that in the second preset memory, storing the associated die data which are associated to be completed into the second preset memory.
In one possible implementation manner, the checking the construction indication to obtain the checking result corresponding to the construction indication includes:
responding to a construction instruction transmitted by construction instruction initiating equipment, and sending a check vector acquisition instruction to a third party security server so that the third party security server responds to the check vector acquisition instruction to generate a check element, wherein the check element comprises a check key and a first check code;
Receiving a verification element transmitted by a third-party security server, wherein the verification element further comprises a verification key pointer, and the verification key pointer has a binding relation with a verification key;
generating a check indicator according to the equipment serial number of the construction indication initiator included in the construction indication, wherein the construction indication carries the equipment serial number of the construction indication initiator, and the check vector comprises a check key and a first check code which are determined by a third party security server;
generating a check vector according to the check indicator, the check key and the first check code;
transmitting a check vector to construction indication initiating equipment so that the construction indication initiating equipment converts check contents aiming at associated mold data to be associated by using a second check code and a check key and a first check code included in the check vector to obtain encrypted check contents, wherein the check contents comprise initiator information corresponding to a construction indication initiator, and the second check code is determined by the construction indication initiating equipment;
receiving encrypted check content transmitted by the construction indication initiating device and a check indicator;
establishing a corresponding relation among a check indicator, a check key, a first check code and a check key pointer;
Based on the corresponding relation, acquiring a verification key pointer from the key pool according to the verification indicator;
sending a verification key pointer to the third party security server so that the third party security server can determine a verification key according to the verification key pointer;
calling a third-party security server to analyze the encrypted check content to obtain a first check feature, wherein the first check feature is obtained after the third-party security server analyzes the encrypted check content by using a pairing key corresponding to the check key;
comparing the first verification feature with a second verification feature to obtain a verification result, wherein the second verification feature is a preset verification feature;
and sending a verification result to the construction indication initiating device, and storing the verification result, wherein the verification result is used for indicating the construction indication initiating device to obtain the result of the calling authority of the storage server, and the storage server is a server for storing the associated mold data to be associated.
In one possible implementation manner, the method further comprises, before comparing the first verification feature with the second verification feature to obtain a verification result:
acquiring a verification key pointer and comparison verification content from the key pool according to the verification indicator;
Sending a verification key pointer and comparison verification content to a third party security server so that the third party security server determines an encryption algorithm according to the verification key pointer;
and calling a third-party security server to analyze the comparison verification content to obtain a second verification feature, wherein the second verification feature is obtained after the third-party security server analyzes the comparison verification content by utilizing an encryption algorithm.
Compared with the prior art, the invention has the beneficial effects that: by utilizing the method for constructing the die set database, provided by the embodiment of the invention, the construction indication is checked by receiving the construction indication aiming at the die set database so as to obtain a check result corresponding to the construction indication; then when the verification result is characterized as successful verification, acquiring associated mold data to be associated, and constructing a mold database in an initial state; and finally, obtaining die set data based on the associated die data to be associated, and storing the die set data into a die database to obtain a die database with the built-up die, so that the die set database can be built by utilizing the associated die data to be associated in a safe environment, the subsequent acquisition of the die set data is facilitated, and the working efficiency of industrial production is improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described. It is appreciated that the following drawings depict only certain embodiments of the invention and are therefore not to be considered limiting of its scope. Other corresponding figures can be obtained from these figures without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of steps of a method for constructing a database of a die set according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should be understood that the directions or positional relationships indicated by the terms "upper", "lower", "inner", "outer", "left", "right", etc. are based on the directions or positional relationships shown in the drawings, or the directions or positional relationships conventionally put in place when the product of the application is used, or the directions or positional relationships conventionally understood by those skilled in the art are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements to be referred to must have a specific direction, be constructed and operated in a specific direction, and thus should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, terms such as "disposed," "connected," and the like are to be construed broadly, and for example, "connected" may be either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The following describes specific embodiments of the present invention in detail with reference to the drawings.
Referring to fig. 1, a schematic flow chart of a method for constructing a database of a die set according to an embodiment of the present invention is shown.
S201, receiving a construction instruction aiming at a die set data database, and checking the construction instruction to obtain a check result corresponding to the construction instruction;
s202, when a verification result is characterized as successful verification, acquiring associated mold data to be associated, and constructing a mold database in an initial state;
and S203, obtaining die set data based on the associated die data to be associated, and storing the die set data into a die database to obtain a die database with built-up.
In the embodiment of the application, in order to improve the efficiency of subsequent industrial production operation, the associated die data which can be associated with each other to form die set data, when the die set data is stored into the die database in the initial state to obtain the die database with the built-up completed, and when the subsequent user needs to perform the related industrial operation, the die set data can be directly obtained from the die database with the built-up completed, so that the efficiency of the whole industrial production flow is improved. It should be appreciated that since the associated mold data typically involves business secrets and cannot be compromised at will, otherwise enterprise losses may occur, and thus, it is necessary to verify the build instructions of the mold set data database, and on the basis of the verification pass, the above operations may be performed.
In order to more clearly describe the solution provided in the embodiments of the present application, the database server includes a preset storage space, the preset storage space includes a pre-divided preset memory, the preset memory includes a first preset memory, and the first preset memory is used to store the associated mold data after the association is completed, and the foregoing step S203 may be implemented by executing the following detailed embodiments.
S101, acquiring associated die data to be associated from a preset storage space, and carrying out association operation on the associated die data.
According to the embodiment of the application, the associated die data which is submitted and not associated can be acquired from the preset storage space to be associated before the associated die data is stored in the input instruction of the die database. It will be appreciated that when associated mould data is submitted to the preset storage space, associated mould data which has not been associated (i.e. associated mould data to be associated) may be obtained from the preset storage space and associated in such a way that the association may be completed at the fastest speed, and in such a way that the associated mould data may be guaranteed to be associated in time in the event that the mould data processing flow of the preset storage space is relatively fast.
S102, storing the associated die data with the associated die data in a preset memory.
The preset storage space in the database server is used for storing associated mold data to be stored, wherein the associated mold data to be stored comprises associated mold data with completed association and associated mold data to be associated, in one embodiment, the database server can store the associated mold data with completed association into a preset memory, wherein the associated mold data with completed association is at least placed into a first preset memory, the first preset memory is used for data storage according to the parameter volume corresponding to the associated mold data, and in the first preset memory, the associated mold data with larger parameter volume is extracted in advance. And because the associated die data stored in the preset memory (such as the first preset memory) is associated die data which is completed in association, when the associated die data is stored in the preset memory later, the database server can not execute the step of associating the associated die data after acquiring the associated die data from the preset memory, but can directly store the associated die data determined from the preset memory into the die database, thereby effectively improving the efficiency of the database server when storing the associated die data into the die database.
In one embodiment, after receiving the associated mold data, if the associated mold data is associated mold data to be associated, the database server may perform an association operation on the associated mold data, where the association operation includes: and the related module data which are related to each other are related and bound by using the scene identification or the service identification belonging to the same scene or the same service, wherein the binding mode can be that the related module data have a corresponding relationship or are stored as one data, and the method is not limited. For any associated die data received by the preset storage space, the database server can perform association operation on any associated die data in advance, store the associated die data passing through the association operation into a preset memory, wait for storage in the preset memory, and understand that the associated die data which is associated in the preset storage space is stored in the preset memory, and the associated die data to be associated is stored in a storage space except for the preset memory in the preset storage space, the preset memory in the preset storage space realizes that the associated die data is divided according to whether the association is completed, and when the database server acquires the associated die data from the preset storage space for storage, the database server can acquire the associated die data from the preset memory in the preset storage space and directly store the associated die data into the die database after acquiring the associated die data, so that the uploading efficiency of the associated die data can be improved.
S103, based on an input instruction for storing the associated mold data into a mold database, acquiring the associated mold data from a first preset memory, and determining an associated mold data set according to the determined associated mold data.
In one embodiment, the database server in the mold database may store the received associated mold data in the mold database in real time after receiving the associated mold data, or the database server may store the associated mold data in the mold database periodically according to a preset time period, and correspondingly, the database server may determine that an input instruction for storing the associated mold data in the mold database is received when the associated mold data is received, or the database server may determine that an input instruction for storing the associated mold data in the mold database is received when the preset time period is reached. In one embodiment, the database server may also determine that an input instruction to store associated mold data to the mold database is received after identifying that the current database server state is an idle state, or that the database server stores historical associated mold data to the mold database. In particular, the input instruction may be the recognition of the arrival of a preset time period.
After the database server determines that an input instruction for storing the associated mold data into the mold database is received, in one embodiment, in order to store the associated mold data into the mold database, the database server may generate die set data for including the associated mold data, and in the process of generating the die set data by the database server, a certain extraction number of associated mold data with complete association needs to be obtained from a preset storage space, and since the associated mold data with complete association in the preset storage space is stored in a preset memory, in order to improve the uploading efficiency of storing the associated mold data into the mold database, the database server may obtain the associated mold data from the preset memory in the preset storage space, and the determined associated mold data is the associated mold data with complete association.
In one embodiment, after receiving the input instruction, the database server may determine an associated mold data set according to associated mold data obtained from the first preset memory, where when the preset memory includes only the first preset memory, the database server determines that the associated mold data determined from the first preset memory is the associated mold data set, and when the preset memory space includes the first preset memory and the second preset memory, the database server may obtain the associated mold data from the first preset memory and the second preset memory as the associated mold data set, respectively, and specifically, the database server may select a first extraction number of associated mold data from the first preset memory as the first associated mold data according to a set first data extraction ratio, and may select a second extraction number of associated mold data from the second preset memory as the second associated mold data according to a second data extraction ratio, thereby determining that the associated mold data set can be determined according to the determined first associated mold data and the second associated mold data. In this embodiment, the first data extraction ratio and the second data extraction ratio may be ratios with respect to the total amount of associated mold data to be stored in the mold database, the value of each data extraction ratio may be, for example, a numerical value between 0 and 1, and the sum of each data extraction ratio may be 1. In one embodiment, after the database server obtains the associated mold data from the first preset memory and the second preset memory, respectively, and determines the associated mold data set, since the determined associated mold data set is associated mold data that is associated in the preset storage space, the database server may directly store the associated mold data set in the mold database after obtaining the associated mold data set, that is, the step S104 and the step S105 are performed instead.
In one embodiment, the first preset memory may be ordered according to the size of the parameter volume receivable when the corresponding associated mold data is stored in the mold database, and the database server may use the size of the parameter volume receivable when the associated mold data is uploaded as the first processing weight of the corresponding associated mold data, so that the associated mold data in the preset storage space may be ordered from high to low according to the first processing weight to obtain the first preset memory.
In one embodiment, if the uploading sequence of storing the associated mold data in the preset storage space to the mold database is determined according to the size of the parameter volume provided to the database server, the associated mold data stored in the preset storage space may not be stored in the mold database for a long time due to the too small parameter volume provided, so a second preset memory may be further included in the preset storage space, the associated mold data in the second preset memory is ordered according to the parameter volume receivable by the database server when the corresponding associated mold data is stored in the mold database, and the input sequence of receiving the associated mold data in the preset storage space, so that the associated mold data stored in the preset storage space may be stored in the mold database in time.
In one embodiment, the preset storage space may further include a third preset memory, the third preset memory may be ordered according to the urgency degree of the associated mold data of each associated completion in the preset storage space, and the associated mold data may be selected from the third preset memory as the third associated mold data according to the corresponding data extraction command, and in the embodiment of the present invention, the number of preset memories included in the preset storage space is not limited, and the preset storage space may include two or more preset memories. After the preset storage space determines the associated mold data stored in the mold database, step S104 may be performed instead.
S104, generating die set data, wherein the die set data comprises an associated die data set.
And S105, storing the die set data into a die database.
In step S104 and step S105, after the database server obtains the associated mold data from the first preset memory and the second preset memory, if the received associated mold data includes the first associated mold data determined from the first preset memory and the second associated mold data determined from the second preset memory, further, the database server may determine the same version of associated mold data from the first associated mold data and the second associated mold data, and generate the set of mold data after deleting the same version of associated mold data, where the same version of associated mold data is the associated mold data determined from the first preset memory and the associated mold data determined from the second preset memory. After the database server generates the die set data, the die set data can be stored in the die database to realize the storage of the associated die data in the preset storage space.
In the embodiment of the invention, the preset storage space in the database server device (or the database server) comprises a preset memory for storing the associated die data after the association is completed, the preset storage space comprises a first preset memory, the database server can acquire the associated die data to be associated from the preset storage space and perform association operation on the associated die data, so that the associated die data after the association is completed can be placed into the preset memory, when the database server places the associated die data after the association is completed into the preset memory, at least the associated die data after the association is completed is placed into the first preset memory, so that the database server can determine an associated die data set according to the associated die data received from the first preset memory when the database server recognizes an input instruction for storing the associated die data into the die database, after the associated die data set can be determined, the associated die data set can be directly generated to store the associated die data set, further, the associated die data set can be stored into the die data set, the associated die data can be obtained, and the associated die data can be directly stored into the associated die data after the database is stored, and the associated die data can be directly stored into the associated die data.
In order to more clearly describe the solution provided by the embodiments of the present application, the above step S201 may be implemented by the following detailed implementation manner.
S301, a database server responds to a construction instruction transmitted by construction instruction initiating equipment to acquire a check vector, wherein the construction instruction carries an equipment serial number of the construction instruction initiating party, the check vector comprises a check key and a first check code, and the check key and the first check code are determined by a third party security server;
in this embodiment, when the construction indication initiator starts the third party application on the construction indication initiating device, the end-to-end client may be automatically pulled up, and thus the construction indication initiating device sends the construction indication to the database server through the end-to-end client. The build indication carries a device serial number of the initiator of the build indication, based on which the database server can establish a session with the initiator device of the build indication. And the database server calls the third-party security server according to the construction instruction to generate a check vector required by the key agreement, namely the third-party security server generates the check vector and feeds the check vector back to the database server. The check vector comprises a check key and a first check code, wherein the first check code can be a check code consisting of American information exchange standard codes.
S302, a database server sends a check vector to construction indication initiating equipment so that the construction indication initiating equipment converts check contents aiming at associated mold data to be associated by using a second check code and a check key and a first check code included in the check vector to obtain encrypted check contents, wherein the check contents comprise initiator information corresponding to a construction indication initiator, and the second check code is determined by the construction indication initiating equipment;
in this embodiment, the database server sends the check vector to the construction indication initiating device, and the end-to-end client disposed on the construction indication initiating device converts the check content input by the construction indication initiating device by using the second check code and the check key and the first check code included in the check vector, thereby obtaining the encrypted check content, where the second check code may be a check code composed of ASCII.
S303, the database server receives and constructs encrypted check content transmitted by the initiating equipment and a check indicator;
in this embodiment, the construction instruction initiating device sends the encrypted check content and the check indicator to the database server, where the encrypted check content is the encrypted check content, and therefore, for the storage server of the third party application, the check content cannot be directly obtained. The verification indicator is an identification of a session, and each time the database server is accessed, a session is generated at the database server end, and the identity verification of the initiator can be constructed and indicated under the same session.
S304, the database server analyzes the encrypted verification content transmitted by the construction indication initiating equipment according to the verification indicator to obtain a first verification feature;
in this embodiment, the database server obtains the corresponding verification key according to the verification indicator, and uses the verification key to analyze the encrypted verification content to obtain the first verification feature corresponding to the verification content. The first verification feature is obtained here, and is not safe in consideration of directly cracking the verification content, so that the database server does not directly obtain the verification content, but analyzes the encrypted verification content by calling a third party security server to obtain the first verification feature, and constructs a second verification feature corresponding to the initiator from the key pool according to the verification indicator.
It will be appreciated that the construction indicates that the initiator will fill in corresponding information, such as a user name, a user account, a user password, a user phone number, a user mailbox, a user id number, etc., at the time of registration, which is not limited herein. Based on this, the database server may invoke the third party security server to generate a second verification feature corresponding to the registration information.
S305, the database server compares the first verification feature with the second verification feature to obtain a verification result, wherein the second verification feature is a preset verification feature;
in this embodiment, the database server compares the first verification feature with the second verification feature, thereby obtaining a comparison result, and the comparison result is the verification result.
S306, the database server sends a verification result to the construction indication initiating device, wherein the verification result is used for indicating the construction indication initiating device to obtain a result of the calling authority of the storage server, and the storage server is a server of the associated mold data to be associated.
In this embodiment, the database server sends the verification result to the construction indication initiating device, and the construction indication initiating device may display the verification result.
In the embodiment of the application, the method for verifying information is provided, by the mode, before the instruction initiating device is constructed to transmit the verification content, the verification content is encrypted by using the verification code and the verification key issued by the database server, so that the encrypted verification content is obtained, the encrypted verification content is used in the whole process in the transmission process, even if the server of the third party application obtains the encrypted verification content, the verification content cannot be cracked, and only the database server can obtain the verification content.
Optionally, in another optional embodiment provided in the embodiments of the present application, the database server obtains the check vector, specifically may be implemented by the following examples:
the method comprises the steps that a database server sends a check vector acquisition instruction to a third-party security server, so that the third-party security server responds to the check vector acquisition instruction to generate a check element, wherein the check element comprises a check key and a first check code;
the database server receives the verification element transmitted by the third-party security server;
and the database server generates a check vector according to the check key and the first check code included in the check element.
In this embodiment, a manner in which an end-to-end client performs key agreement with a database server is described. The database server may obtain the check element by calling the third party security server, that is, first, sending a check vector obtaining instruction to the third party security server, where the third party security server generates the check element according to the check vector obtaining instruction, where the check element includes a check key and a first check code, and the check key and the first check code belong to a part of the check vector, based on which the database server obtains the check vector.
Optionally, in another optional embodiment provided in the embodiment of the present application, the check element further includes a check key pointer, where the check key pointer has a binding relationship with the check key;
the database server generates a check vector according to the check key and the first check code included in the check element, and the method specifically may include:
the database server generates a check indicator according to the equipment serial number of the construction indication initiator included in the construction indication;
the database server generates a check vector according to the check indicator, the check key and the first check code;
may further include:
the database server establishes a corresponding relation among the check indicator, the check key, the first check code and the check key pointer;
the database server analyzes the encrypted verification content transmitted by the construction indication initiating device according to the verification indicator to obtain a first verification feature, which specifically may include:
the database server analyzes the encrypted verification content transmitted by the construction indication initiating device according to the verification indicator based on the corresponding relation to obtain a first verification feature.
In this embodiment, a manner of implementing password authentication on the database server side is described. The third party security server can generate a check key and a first check code based on the check vector acquisition instruction, and can also generate a check key pointer with a binding relation with the check key, so that the check key, the first check code and the check key pointer are taken as check elements together. The database server may further generate a check indicator having a correspondence with the construction indication initiator according to the device serial number of the construction indication initiator included in the construction indication, and use the check indicator, the check key, and the first check code together as a check vector.
Specifically, to facilitate subsequent verification, the database server may construct a correspondence between the verification indicator, the verification key, the first verification code, and the verification key pointer, so as to quickly find an association relationship between these data. That is, the database server can find the corresponding verification key, the first verification code and the verification key pointer according to the verification indicator based on the correspondence, so that the database server can analyze the encrypted verification content transmitted by the construction indication initiating device to obtain the first verification feature.
It will be appreciated that the database server may store the verification indicator, the verification key, the first verification code, and the verification key pointer in the database, or in a third party security server.
Optionally, in another optional embodiment provided in the embodiment of the present application, the database server parses, based on the correspondence, the encrypted verification content that is transmitted by the establishment indication initiating device according to the verification indicator, to obtain a first verification feature, and may specifically include:
the database server acquires a verification key pointer from the key pool according to the verification indicator based on the corresponding relation;
The database server sends a verification key pointer to the third party security server so that the third party security server can determine a verification key according to the verification key pointer;
the database server calls a third-party security server to analyze the encrypted check content to obtain a first check feature, wherein the first check feature is obtained after the third-party security server analyzes the encrypted check content by using a pairing key corresponding to the check key.
Based on the above, firstly, the database server searches the verification key pointer corresponding to the verification indicator from the key pool based on the corresponding relation, then sends the verification key pointer to the third party security server, and the third party security server finds the corresponding verification key according to the verification key pointer and further obtains the pairing key corresponding to the verification key. The third party secure server then decrypts the key ciphertext using the pairing key, thereby obtaining a symmetric key. And then, decrypting the transmission ciphertext by using the symmetric key to obtain the first verification feature.
Further, in the embodiment of the present application, a manner of acquiring the first verification feature at the database server side is provided, by which the database server invokes the third party security server to decrypt the encrypted verification content, that is, the verification key is stored in the third party security server with higher security, so as to further improve the security of information decryption.
Optionally, in another optional embodiment provided in the embodiments of the present application, before comparing the first verification feature with the second verification feature by the database server to obtain a verification result, the method may further include:
the database server acquires a verification key pointer and comparison verification content from the key pool according to the verification indicator;
the database server sends the verification key pointer and the comparison verification content to the third party security server so that the third party security server determines an encryption algorithm according to the verification key pointer;
the database server calls a third-party security server to analyze the comparison verification content to obtain a second verification feature, wherein the second verification feature is obtained after the third-party security server analyzes the comparison verification content by using an encryption algorithm.
In this embodiment, a way of acquiring the second verification feature at the database server side is described. Before the database server compares the first verification feature with the second verification feature, the second verification feature needs to be acquired, and in one implementation, the second verification feature can be stored in the database and directly compared when needed. In another implementation, the second verification feature may also be decrypted, and the manner in which the second verification feature is decrypted is described below.
Specifically, the database server searches the verification key pointer and the comparison verification content corresponding to the verification indicator from the key pool, so that the database server sends the verification key pointer and the comparison verification content to the third party security server, and the third party security server firstly determines an encryption algorithm according to the verification key pointer. And then, the database server calls a third-party security server to analyze the comparison verification content, so that a second verification feature is obtained, wherein the second verification feature is the initiator information filled in by the user in registration, such as user account number, user password, mobile phone number and the like. After the verification key pointer is taken by the third party security server, the encryption algorithm is read in the third party security server, and then conversion or analysis is carried out. Secondly, in the embodiment of the present application, a manner of acquiring the second verification feature at the database server side is provided, by which the database server invokes the third party security server to decrypt the comparison verification content, that is, the encryption algorithm is stored in the third party security server with higher security, so as to further improve the security of information decryption.
An embodiment of the present invention provides a computer device 100, where the computer device 100 includes a processor and a nonvolatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device 100 executes the above-mentioned method for building a die set database. As shown in fig. 2, fig. 2 is a block diagram of a computer device 100 according to an embodiment of the present invention. The computer device 100 comprises a memory 111, a processor 112 and a communication unit 113.
For data transmission or interaction, the memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly. For example, the elements may be electrically connected to each other via one or more communication buses or signal lines.
The foregoing description, for purpose of explanation, has been presented with reference to particular embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the disclosure and its practical application, to thereby enable others skilled in the art to best utilize the disclosure and various embodiments with various modifications as are suited to the particular use contemplated. The foregoing description, for purpose of explanation, has been presented with reference to particular embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the disclosure and its practical application, to thereby enable others skilled in the art to best utilize the disclosure and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (9)

1. A method of building a set of mold databases, applied to a database server, the method comprising:
receiving a construction instruction aiming at a die set data database, and checking the construction instruction to obtain a checking result corresponding to the construction instruction;
when the verification result is characterized as successful verification, acquiring associated mold data to be associated, and constructing a mold database in an initial state;
obtaining die set data based on the associated die data to be associated, and storing the die set data into the die database to obtain the die database with built-up;
the checking the construction indication to obtain a checking result corresponding to the construction indication comprises the following steps:
responding to a construction instruction transmitted by construction instruction initiating equipment, and sending a check vector acquisition instruction to a third party security server so that the third party security server responds to the check vector acquisition instruction to generate a check element, wherein the check element comprises a check key and a first check code;
receiving the check element transmitted by the third-party security server, wherein the check element further comprises a check key pointer, and the check key pointer has a binding relation with the check key;
Generating a check indicator according to the equipment serial number of the construction indication initiator included in the construction indication, wherein the construction indication carries the equipment serial number of the construction indication initiator, the check vector comprises a check key and a first check code, and the check key and the first check code are determined by a third party security server;
generating the check vector according to the check indicator, the check key and the first check code;
transmitting the check vector to the construction indication initiating device, so that the construction indication initiating device converts check contents of associated mold data to be associated into encrypted check contents by using a second check code and the check key and the first check code included in the check vector, wherein the check contents comprise initiator information corresponding to the construction indication initiator, and the second check code is determined by the construction indication initiating device;
receiving the encrypted check content and a check indicator transmitted by the construction indication initiating device;
establishing a corresponding relation among the check indicator, the check key, the first check code and the check key pointer;
Based on the corresponding relation, acquiring the check key pointer from a key pool according to the check indicator;
sending the verification key pointer to the third party security server so that the third party security server can determine the verification key according to the verification key pointer;
invoking the third party security server to analyze the encrypted check content to obtain a first check feature, wherein the first check feature is obtained after the third party security server analyzes the encrypted check content by using a pairing key corresponding to the check key;
comparing the first verification feature with a second verification feature to obtain a verification result, wherein the second verification feature is a preset verification feature;
and sending the verification result to the construction indication initiating device, and storing the verification result, wherein the verification result is used for indicating the construction indication initiating device to obtain a result of a storage server calling authority, and the storage server is a server for storing the associated mold data to be associated.
2. The method of claim 1, wherein the database server includes a preset memory space, the preset memory space includes a preset memory, the preset memory includes a first preset memory, the first preset memory is used for storing associated mold data that is associated, the obtaining a set of mold data based on the associated mold data to be associated, and storing the set of mold data to the mold database, the method includes:
Acquiring associated mold data to be associated from the preset storage space, and carrying out association operation on the associated mold data to be associated;
placing associated die data which are associated to completion into the preset memory, wherein the associated die data which are associated to completion are placed into the first preset memory, the first preset memory is used for data storage according to parameter volumes corresponding to the associated die data which are associated to completion, and in the first preset memory, the associated die data with larger parameter volumes are extracted in advance;
based on an input instruction for storing the associated die data of which the association is completed to the die database, acquiring the associated die data of which the association is completed from the first preset memory, and determining an associated die data set according to the determined associated die data of which the association is completed;
generating die set data, the die set data comprising the set of associated die data;
storing the set of mold data to the mold database.
3. The method of claim 2, wherein the preset memory further comprises a second preset memory, wherein the first preset memory is configured to store associated die data for which association is complete with a first processing weight, the second preset memory is configured to store associated die data for which association is complete with a second processing weight, the first processing weight is a size of a parameter volume received when the associated die data for which association is complete is uploaded, the second processing weight is determined according to an entry timing of the associated die data for which association is complete received by the database server and the parameter volume received when the associated die data for which association is complete is stored to the die database,
The step of placing the associated die data after the association is completed into the preset memory further comprises:
placing the associated die data with the associated die data to the second preset memory,
the step of acquiring the associated die data from the first preset memory and determining an associated die data set according to the determined associated die data, comprising:
determining a data extraction command for acquiring the associated die data from the first preset memory and the second preset memory, wherein the data extraction command comprises a first data extraction duty ratio corresponding to the first preset memory and a second data extraction duty ratio corresponding to the second preset memory;
acquiring full-scale associated mold data to be stored in the mold database;
determining a first extraction number according to the full-quantity associated mold data and the first data extraction duty ratio, and determining a second extraction number according to the full-quantity associated mold data and the second data extraction duty ratio, wherein the associated mold data stored in the first preset memory is stored in a position determined by the first processing weight, and the associated mold data stored in the second preset memory is stored in a position determined by the second processing weight;
Acquiring the first extraction number of associated mold data from the first preset memory according to the position determined by the first processing weight as first associated mold data;
acquiring the associated mold data of the second extraction number from the second preset memory according to the position determined by the second processing weight as second associated mold data;
and determining the associated die data set according to the first associated die data and the second associated die data.
4. A method according to claim 3, characterized in that the method further comprises:
when the fact that the total quantity of associated die data in the first preset memory is increased and the total quantity of associated die data in the second preset memory is reduced is identified, the first data extraction duty ratio is increased and the second data extraction duty ratio is reduced;
and when the fact that the total quantity of associated die data in the first preset memory is reduced and the total quantity of associated die data in the second preset memory is increased is identified, reducing the first data extraction duty ratio and improving the second data extraction duty ratio.
5. A method according to claim 3, wherein the number of extractions of the first associated mould data and the second associated mould data is a plurality, respectively;
Prior to the generating the die set data, the method further comprises:
determining the same version of associated mold data from the first associated mold data, wherein the same version of associated mold data is the associated mold data determined from the first preset memory and the second preset memory;
deleting the same version association mold data determined from the first preset memory or deleting the same version association mold data determined from the second preset memory.
6. The method of claim 2, wherein the associating the completed associating mold data is further placed into a second preset memory, wherein the first preset memory is configured to store the associating the completed associating mold data with a first processing weight, wherein the second preset memory is configured to store the associating the completed associating mold data with a second processing weight, and wherein the placing the associating the completed associating mold data into the preset memory comprises:
acquiring model priority information of associated mold data of which association is completed;
determining the parameter volume determined when the associated die data with the completed association is stored in a die database, and determining the input time sequence of the associated die data with the completed association received by the preset storage space;
Determining the first processing weight of the associated die data in the first preset memory after the association is completed according to the parameter volume; the method comprises the steps of,
determining the second processing weight of the associated die data in the second preset memory after the association is completed according to the parameter volume and the entry time sequence;
according to the first processing weight, the associated die data after the association is completed are placed into the first preset memory; the method comprises the steps of,
and according to the second processing weight, placing the associated die data with the associated die data being completed into the second preset memory.
7. A method according to claim 3, wherein prior to placing the associated die data for which the association is complete in the preset memory, the method further comprises:
acquiring the full-quantity associated mold data in the first preset memory and the full-quantity associated mold data in the second preset memory;
the step of placing the associated die data after the association is completed into the preset memory comprises the following steps:
and when the total quantity of associated die data in the first preset memory is not more than the total quantity of associated die data in the second preset memory, placing the associated die data into the first preset memory.
8. The method of claim 7, wherein the method further comprises:
and when the total quantity of associated die data in the first preset memory is larger than the total quantity of associated die data in the second preset memory, storing the associated die data which are associated to the second preset memory.
9. The method of claim 1, wherein the comparing the first verification feature to the second verification feature yields a verification result, the method further comprising:
acquiring a verification key pointer and comparison verification content from the key pool according to the verification indicator;
sending the verification key pointer and the comparison verification content to the third party security server so that the third party security server determines an encryption algorithm according to the verification key pointer;
and calling the third-party security server to analyze the comparison verification content to obtain the second verification feature, wherein the second verification feature is obtained after the third-party security server analyzes the comparison verification content by using the encryption algorithm.
CN202211496771.5A 2022-11-28 2022-11-28 Method for constructing complete die database Active CN115905172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211496771.5A CN115905172B (en) 2022-11-28 2022-11-28 Method for constructing complete die database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211496771.5A CN115905172B (en) 2022-11-28 2022-11-28 Method for constructing complete die database

Publications (2)

Publication Number Publication Date
CN115905172A CN115905172A (en) 2023-04-04
CN115905172B true CN115905172B (en) 2023-08-04

Family

ID=86487666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211496771.5A Active CN115905172B (en) 2022-11-28 2022-11-28 Method for constructing complete die database

Country Status (1)

Country Link
CN (1) CN115905172B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032824A (en) * 2018-05-31 2018-12-18 康键信息技术(深圳)有限公司 Database method of calibration, device, computer equipment and storage medium
WO2020233308A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Self-checking method, apparatus and device based on local certificate, and storage medium
CN113836237A (en) * 2021-09-30 2021-12-24 北京中经惠众科技有限公司 Method and device for auditing data operation of database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032824A (en) * 2018-05-31 2018-12-18 康键信息技术(深圳)有限公司 Database method of calibration, device, computer equipment and storage medium
WO2020233308A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Self-checking method, apparatus and device based on local certificate, and storage medium
CN113836237A (en) * 2021-09-30 2021-12-24 北京中经惠众科技有限公司 Method and device for auditing data operation of database

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于规则的数据校验在数据库应用系统中的实现;肖明;;科技信息(科学教研)(21);全文 *

Also Published As

Publication number Publication date
CN115905172A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
CN109460966A (en) Contract signing method, apparatus and terminal device based on requesting party's classification
CN105577602B (en) Data push method and device based on open application programming interface
CN105682253A (en) Method and equipment for communication establishment, terminal and computer readable storage medium
CN104820944A (en) Method and system for bank self-service terminal authentication, and device
CN109766707A (en) Data processing method, device, equipment and medium based on block chain
WO2017206524A1 (en) Electronic device control method, terminal and control system
CN111966058B (en) Control method, device and system of intelligent equipment
CN105093982A (en) Method and server associating sweeping robot with terminal, and system
CN103259797A (en) Data file transmission method and platform
CN112367164A (en) Service request processing method and device, computer equipment and storage medium
CN107872315B (en) Data processing method and intelligent terminal
CN109754322A (en) A kind of data service system
CN107181795B (en) Convenient filling method and system for wireless security terminal firmware
CN115905172B (en) Method for constructing complete die database
CN107105045B (en) Convenient filling method and system for wired security terminal firmware
CN101059858B (en) Method and device for inquiring conveniently electronic transaction history record
CN104135458A (en) Establishment of communication connection between mobile equipment and secure carrier
CN107786308B (en) Data transmission method and terminal device
CN113342811A (en) HBase table data processing method and device
CN106485100A (en) A kind of method of internet computer software lock and its service system
CN112948815A (en) Off-line weak password checking method and device based on Hash matching
CN112702743A (en) Network data monitoring and protecting method based on artificial intelligence
CN105577643A (en) Identity authentication method and identity authentication system based on smart glasses
CN102045709A (en) Mobile terminal application data downloading method, system and mobile terminal
WO2017181953A1 (en) Positioning management method, device, system, and positioning terminal

Legal Events

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