CN114780506A - Processing method of process file and electronic equipment - Google Patents

Processing method of process file and electronic equipment Download PDF

Info

Publication number
CN114780506A
CN114780506A CN202210687204.1A CN202210687204A CN114780506A CN 114780506 A CN114780506 A CN 114780506A CN 202210687204 A CN202210687204 A CN 202210687204A CN 114780506 A CN114780506 A CN 114780506A
Authority
CN
China
Prior art keywords
data
node
process file
synchronization
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210687204.1A
Other languages
Chinese (zh)
Other versions
CN114780506B (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.)
Xiwei Technology Guangzhou Co ltd
Original Assignee
Xiwei Technology Guangzhou 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 Xiwei Technology Guangzhou Co ltd filed Critical Xiwei Technology Guangzhou Co ltd
Priority to CN202210687204.1A priority Critical patent/CN114780506B/en
Publication of CN114780506A publication Critical patent/CN114780506A/en
Application granted granted Critical
Publication of CN114780506B publication Critical patent/CN114780506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Abstract

The application is applicable to the technical field of data processing, and provides a processing method of a process file and electronic equipment, wherein the method comprises the following steps: responding to the editing operation of a user on any first data node in a first process file, and determining first node information of the first data node specified by the editing operation; updating the data attribute in the first node information based on the editing operation, and adding a first version identifier corresponding to the editing operation to the first node information; receiving the synchronous configuration operation of the first process file by a user, and setting the synchronous parameters of the first process file. By adopting the method, when the data node in a certain process file is updated, other process files with the same project identification can be synchronously operated according to the synchronous mode, repeated updating operation of a user can be avoided, the workload of the adjusting process is reduced, and the efficiency of production management is improved.

Description

Processing method of process file and electronic equipment
Technical Field
The present application belongs to the field of data processing technologies, and in particular, to a method for processing a process file and an electronic device.
Background
In the manufacturing quality management control process, different process files need to be manufactured at different product stages, for example, at the product design stage, Failure Mode and Effect Analysis (FMEA) files corresponding to the product need to be generated, before the product is planned to be manufactured, a Process Flow Diagram (PFD) of the product needs to be generated, and a control plan report and an inspection plan report need to be generated in the actual production execution process. The process files in different stages have different functions so as to improve the quality management capability of product design and manufacture.
In the existing production management technology, because different process files correspond to different product stages, a large number of process files exist in the whole quality management control process, and adjustment is often performed in the production and design processes, and at this time, part data inside the process files need to be adjusted and updated. However, the plurality of process files belong to the same product project, and when adjusting and updating certain data, adjustment of data corresponding to other related process files may be involved, but since the process files are independent of one another, a user needs to manually adjust the corresponding data in the related process files, so that workload in an adjustment process is greatly increased, and efficiency of production management is reduced.
Disclosure of Invention
The embodiment of the application provides a processing method and device for process files, electronic equipment and a storage medium, and can solve the problems that in the existing production management technology, when a certain data is adjusted and updated, a user needs to manually adjust corresponding data in a plurality of other associated process files, so that the workload of the adjustment process is greatly increased, and the efficiency of production management is reduced.
In a first aspect, an embodiment of the present application provides a method for processing a process file, including:
responding to the editing operation of a user on any first data node in a first process file, and determining first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the basic data is suitable for various types of process files;
updating the data attribute in the first node information based on the editing operation, and adding a first version identifier corresponding to the editing operation to the first node information;
receiving synchronous configuration operation of a user on the first process file, and setting synchronous parameters of the first process file; the synchronization parameter is used for determining a synchronization mode between the first process file and each second process file; the second process file is another process file having the same item identifier as the first process file.
In a possible implementation manner of the first aspect, after the receiving a synchronous configuration operation of the first process file by a user and setting a synchronization parameter of the first process file, the method further includes:
determining a synchronization mode between the first process file and any second process file according to the synchronization parameters;
determining a synchronous data item between the first process file and any one of the second process files based on a preset synchronous query matrix;
if the synchronous trigger condition corresponding to the synchronous mode is met, updating the first data node corresponding to the second data node in the first process file according to second node information of the second data node in any second process file; the second node information includes the synchronization data item.
In a possible implementation manner of the first aspect, if the synchronization mode is a first synchronization mode, if it is detected that a synchronization trigger condition corresponding to the synchronization mode is met, updating, according to second node information of a second data node in any one of the second process files, the first data node corresponding to the second data node in the first process file, includes:
if the preset updating detection period is met, reading a second version identifier of each second data node;
determining a first target data node with data update from all the second data nodes according to each second version identification;
updating the first node information of the first data node corresponding to the first target data node based on second node information of the first target data node.
In a possible implementation manner of the first aspect, if the synchronization mode is a second synchronization mode, if it is detected that a synchronization trigger condition corresponding to the synchronization mode is met, updating, according to second node information of a second data node in any one of the second process files, the first data node corresponding to the second data node in the first process file, includes:
if a first reading instruction about the first process file is received, generating a first data updating list according to the synchronous data item and a second data node with data updating;
receiving a first selection operation initiated by the user based on the first data updating list, and determining a first target item corresponding to the first selection operation from all the synchronous data items;
updating the first node information of the first data node corresponding to the second data node having the updated data based on the second node information of the second data node having the updated data and the node information determined by the first target item.
In a possible implementation manner of the first aspect, if the synchronization mode is a third synchronization mode, before updating, according to second node information of a second data node in any one of the second process files, the first data node corresponding to the second data node in the first process file if the synchronization trigger condition corresponding to the synchronization mode is detected to be satisfied, the method further includes:
in response to the synchronous selection operation of the user on the synchronous data items in the second process file, determining a second target item with data synchronization authority;
if the synchronization trigger condition corresponding to the synchronization mode is detected to be met, updating the first data node corresponding to the second data node in the first process file according to the second node information of the second data node in any second process file, including:
if a second reading instruction related to the first process file is received, generating a second data updating list according to the second target item and a second data node with data updating;
receiving a second selection operation initiated by the user based on the second data update list, and determining a third target item corresponding to the second selection operation from all the second target items;
updating the first node information of the first data node corresponding to the second data node having the updated data based on the second node information of the second data node having the updated data and the node information determined by the third target item.
In a possible implementation manner of the first aspect, after the updating the data attribute in the first node information based on the editing operation and adding the first version identifier corresponding to the editing operation to the first node information, the method further includes:
determining a third process file with a data synchronization relation in the first process file according to a preset synchronization query matrix;
and updating a third data node corresponding to the first data node in the third process file according to the updated first node information and the synchronous identifier of the third process file.
In a possible implementation manner of the first aspect, before the determining, in response to an editing operation performed by a user on any first data node in the first process file, first node information of the first data node specified by the editing operation, the method further includes:
responding to a node creating instruction initiated by the user, and determining the basic data corresponding to the node creating instruction;
if the existing data nodes associated under the basic data comprise the existing data nodes associated with the project identifier, generating the first data node according to the existing data nodes associated with the project identifier;
if the existing data nodes associated under the basic data do not contain the existing data nodes associated with the project identifiers, a copy data node corresponding to the basic data is created;
and adding the project identification into the node information of the replica data node to generate the first data node.
In a second aspect, an embodiment of the present application provides an apparatus for processing a process file, including:
the first node information determining unit is used for responding to the editing operation of a user on any first data node in the first process file and determining the first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the basic data is suitable for various types of process files;
a first node information updating unit, configured to update a data attribute in the first node information based on the editing operation, and add a first version identifier corresponding to the editing operation to the first node information;
the synchronous configuration unit is used for receiving synchronous configuration operation of a user on the first process file and setting synchronous parameters of the first process file; the synchronization parameter is used for determining a synchronization mode between the first process file and each second process file; the second process file is another process file having the same item identifier as the first process file.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the method according to any one of the above first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to any one of the above first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a server, causes the server to perform the method of any one of the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that: by establishing the association relationship between the target features in the FMEA data and the corresponding target features in the inspection process, when the corresponding actual product yield is obtained in the subsequent inspection process, the sampling values corresponding to each target feature can be determined according to the association relationship, and before the failure frequency index is calculated, the configuration operation initiated by a user can be received, and the index conversion function matched with the target features is generated, so that the calculation of the failure frequency index is matched with the target features, and the failure frequency index corresponding to the target features can be calculated and obtained by importing all the sampling values corresponding to the target features in the inspection process into the index conversion function, and the corresponding evaluation report can be generated according to all the failure frequency indexes of the target product, thereby achieving the purpose of automatically outputting the evaluation report. Compared with the existing FMEA technology, the method and the device for evaluating the FMEA data have the advantages that the incidence relation between the target characteristics can be established through the first characteristic identification and the second characteristic identification in the FMEA data, so that the data can be quickly correlated in the process of detecting the same target product, the sampling value corresponding to the target characteristics is determined, and a user can customize an index conversion function according to the target characteristics, so that the failure frequency index is matched with the target characteristics, the accuracy of the failure frequency index is improved, the reliability and the accuracy of an evaluation report are improved, and the development efficiency and the verification accuracy of the target product are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic implementation diagram of a processing method for a process file according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of the production of a product provided by an embodiment of the present application;
fig. 3(a) is an implementation schematic diagram after a processing method S103 for a process file according to an embodiment of the present application;
FIG. 3(b) is a schematic diagram illustrating a synchronization relationship between process files according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating the operation of active synchronization provided by an embodiment of the present application;
FIG. 5 is an operational schematic diagram of a manual synchronization provided by an embodiment of the present application;
fig. 6 is a flowchart illustrating an implementation of a processing method for a process file after S102 according to an embodiment of the present application;
fig. 7 is a flowchart of an implementation of a method for processing a process file before S101 according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an apparatus for processing a process document provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
The method for processing the process file provided by the embodiment of the application can be applied to electronic devices such as smart phones, servers, tablet computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks and servers which can process the process file, for example, processing operations such as editing, adding, deleting, creating and forbidding the process file. The embodiment of the application does not set any limit to the specific type of the electronic device.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an implementation of a method for processing a process file according to an embodiment of the present application, where the method includes the following steps:
in S101, in response to an editing operation of a user on any first data node in a first process file, determining first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the base data is applicable to various types of process files.
In the present embodiment, during the design and production management of the product, a plurality of different process files need to be created to record the relevant data of the production process and the design process. For example, in the process of product design, the FMEA file is required to be used to define the physical structure and functional logical relationship of different parts in the product; in the process of production management, a control plan file and a check plan file are needed, so that the yield of the produced product can be recorded, and whether the materials and the process in the design process meet the production requirements or not can be verified. For example, in the process of production management, it is found that the material indicated in the design process cannot actually reach the expected effect, at this time, part of the data in the FMEA file needs to be adjusted, such as adjusting the material or the dosage of the material, and after the data node of the FMEA file is adjusted, the corresponding control plan file and the corresponding verification plan file also need to be adjusted correspondingly, that is, in different process files belonging to the same project, the same or related data may affect each other.
In this embodiment, the process files include, but are not limited to: including but not limited to Process Flow Diagrams (PFD), process fmea (pfmea), Control Plans (CP), Inspection Plans (IP), inspection guidelines (SOP), feature lists.
Illustratively, fig. 2 shows a schematic flow chart of the production of the product provided by an embodiment of the present application. Referring to fig. 2, when a product is designed and managed, all related process files may be stored in the same container, that is, in a BOM, the BOM may divide different nodes for different stages, and the node may be associated with a process file corresponding to the node. For example, the process files in the product design stage include a control plan file and a design FMEA file, the process files in the production stage include an inspection plan file, a process FMEA file, a process flow chart, and the like, the process files in different stages can be processed by different workers, and the different process files have corresponding file formats, that is, the different process files are independent from each other in the prior art. Therefore, that is, the data in a certain process file changes, a user needs to manually query the corresponding data nodes in other process files and adjust the data nodes, so that the difficulty of data updating is greatly increased.
In order to solve the problem of mutual independence between different process files and improve the coupling degree between different process files, the node information of the data node created in this embodiment includes a project identifier, a file identifier, and a data identifier of basic data.
In this embodiment, the electronic device may configure corresponding project identifiers for different process files belonging to the same project to establish an association relationship between different process files belonging to the same product project, where in this case, each data node is created in the process file and carries a project identifier configured by the process file. For example, the first node information in the first data node includes an item identifier of the first process file.
In this embodiment, the first data node includes a data identifier of the basic data. The electronic device may create a base database that may contain a plurality of data templates defining portions of the necessary data attributes to reduce the configuration operations for the user. Since different products tend to have the same components or the same functions, unnecessary configuration operations are reduced by creating a reusable base. For example, if a certain basic data is a cup cover, a certain glass cup may include the cup cover, and another ceramic cup may also include the cup cover, that is, the same basic data may be multiplexed. The basic data and different process files are mutually independent, so that the decoupling between the characteristics and the process files is realized, and through the arrangement, when the version of the characteristics is upgraded, the structure of the process files is not influenced, and only the data nodes generated based on the basic data in the process files are subjected to version upgrading. Correspondingly, when the process file is version-upgraded (e.g., synchronized with other process files), the basic data is not affected, because all the data nodes in the process file are generated based on the basic data in the basic database.
In this embodiment, the first data node includes a file identifier, and since different process files may have different synchronization modes, in order to avoid mutual interference between data that do not need to be synchronized, the first file information may further include a file identifier to determine a process file to which the first data node belongs, so as to keep synchronization of the data nodes and at the same time keep independence of file information in the process file.
In this embodiment, when initiating an editing operation, a user may specify a first data node to be edited in the first process file, and since the first data node includes the item identifier, the file identifier, and the data identifier, the first node information corresponding to the first data node may be located from the database.
In S102, the data attribute in the first node information is updated based on the editing operation, and a first version identifier corresponding to the editing operation is added to the first node information.
In this embodiment, the electronic device may edit the first node information of the first data node according to an editing operation initiated by a user, for example, adjust the size, model, material, and the like of a component corresponding to the first data node, and update the data attribute in the first node information according to the content of this adjustment. The attribute items of the data attributes may be specifically defined by the basic data, or may be configured by the user in a customized manner.
In this embodiment, after the user updates the first node information of each pair of first data nodes, the electronic device configures a version identifier for the first node information, so as to distinguish different editing operations. The version identification can be determined according to the number of updates, such as V2, V3, V4, that is, the identification is updated 2 times, 3 times, and 4 times. For another example, the version identifier may be determined according to the update time, such as V20220526, which indicates that the update is generated at 26 days 5 months 2022. It should be noted that, the numbering manner of the version identifier is generated based on all process files in the same product item (for example, in the same BOM), for example, an editing operation occurs in a first process file, the generated version identifier is V1, then another editing operation occurs in a second process file belonging to the same item identifier as the first process file, and the generated version identifier is V2.
Illustratively, table 1 shows a version change table of the first data node provided in an embodiment of the present application. As shown in table 1, the version change table records a version number corresponding to each change, a file identifier of the process file in which the change occurs this time, that is, a file identifier (i.e., an edited object) for determining which process file the data has been changed, and a user identifier (i.e., an edited object) for initiating the change and a change time. The user can determine the related information of each change according to the version change table, so that the version required to be synchronized can be selected during subsequent synchronization, and the flexibility of data synchronization updating is improved.
Figure DEST_PATH_IMAGE001
TABLE 1
In S103, receiving a synchronous configuration operation of the first process file by a user, and setting a synchronous parameter of the first process file; the synchronization parameter is used for determining a synchronization mode between the first process file and each second process file; the second process file is other process files having the same project identification as the first process file.
In this embodiment, after the user finishes editing the first process file, the user may also set the synchronization parameters of the first process file. At this time, the user may initiate a synchronous configuration operation, where the synchronous configuration operation carries a parameter value of a synchronization parameter to be set, and the electronic device assigns the parameter value to the synchronization parameter of the first process file to respond to the setting operation of this time. The synchronization parameter is specifically used for defining a synchronization mode between the first process file and other process files. The synchronization patterns include, but are not limited to: passive synchronization mode (synchronization parameter = 1), active synchronization mode (synchronization parameter = 2), manual synchronization mode (synchronization parameter = 3), read-only synchronization mode (synchronization parameter = 4), special synchronization mode (synchronization parameter = 5), and synchronization mode with the same characteristics as the file (synchronization parameter = 6). The synchronization parameters between the first process file and the different second process files may be the same or different, and may be specifically set according to actual conditions. The electronic device may update the first data node according to the synchronization parameter, and synchronously update the first node information of the first data node after the current update to the relevant nodes in other process files.
The special synchronization mode specifically includes: in addition to characteristics, allowing system elements and functional requirements in the PFMEA to synchronize to the control plan; the synchronization mode with the same characteristics as the file is specifically as follows: the method solves the problem of copying a characteristic in the same file and sets a synchronization rule, and the default is to perform passive copying in the same file.
Illustratively, table 2 shows a Dynamic Synchronization Management (DSM) matrix table provided between process files within a product project according to an embodiment of the present application. Referring to table 2, the product project includes four different types of process files, i.e., a process flow chart, a design FMEA, a process FMEA, and a control plan file. Since the same file does not relate to synchronization, the corresponding synchronization parameter may be null, i.e., "/", and any two process files may determine the synchronization parameter between them according to actual conditions. The plurality of process files have the same item identification, namely are used for determining the process files belong to the same product item.
Figure DEST_PATH_IMAGE002
TABLE 2
As can be seen from the above, the method for processing a process file provided in the embodiment of the present application creates a first data node capable of multiplexing multiple process files in the same project (i.e. having the same project identifier), and when editing a first data node in a process file (i.e. a first process file), the data attribute in the first node information of the first data node can be updated, and the first version identification corresponding to the editing operation of this time is recorded, meanwhile, the method can also receive synchronous configuration operation initiated by a user, determine a synchronous mode between the first process file and other process files (namely, a second process file) belonging to the same project, therefore, the first data nodes in each process file can be updated conveniently, and the purpose of synchronous updating of the associated data nodes in the multiple process files is achieved. Compared with the prior art, the method and the device for the production management of the process files have the advantages that the synchronization mode of the process files can be set in a user-defined mode according to the synchronization requirements of different process files, unnecessary synchronous updating operation can be avoided, when the data nodes in one process file are updated, other process files with the same project identification are synchronized according to the synchronization mode, repeated updating operation of a user can be avoided, the workload of an adjusting process is reduced, and the efficiency of the production management is improved.
Fig. 3(a) shows an implementation flowchart of a processing method of a process file provided by an embodiment of the present application after S103. Referring to fig. 3(a), compared with the embodiment shown in fig. 1, the method for processing a process file provided in the embodiment of the present application further includes, after S103: S301-S303, the details are as follows:
further, after the receiving user sets the synchronization parameters of the first process file for the synchronization configuration operation of the first process file, the method further includes:
in S301, a synchronization mode between the first process file and any one of the second process files is determined according to the synchronization parameter.
In this embodiment, the electronic device may determine a synchronization mode between the first process file and the second process file according to a synchronization parameter configured by the first process file, and acquire a synchronization trigger condition corresponding to the first process file according to the synchronization mode. Because the synchronization trigger conditions corresponding to different synchronization modes are different, before the first data node in the first process file is updated synchronously, the corresponding trigger conditions need to be determined for subsequent updating.
In S302, based on a preset synchronization query matrix, a synchronization data item between the first process file and any one of the second process files is determined.
In this embodiment, different process files may be associated with corresponding synchronous query matrices in addition to different synchronous modes. The synchronization query matrix is used for defining data items to be synchronized specifically in the first process file, namely the synchronized data items. The synchronization data item is specifically used for defining a data item to be synchronized when the first process file and the second process file are synchronized, that is, for determining which data needs to be synchronized, and the synchronization parameter is used for determining in which way to perform synchronization update.
Illustratively, table 3 shows a synchronous lookup matrix table provided by an embodiment of the present application. Referring to table 3, the first process file may be an inspection plan file. The synchronization look-up matrix table is used to define the data items that are specifically required to be synchronized when the inspection plan file is synchronized with each of the other process files. For example, when the verification plan file is synchronized with the process flow diagram, since the synchronization state of only the data item with the characteristic number is "synchronous" and the synchronization states of other data items are "asynchronous", it means that when the synchronization trigger condition is satisfied, only the characteristic number in the process flow diagram needs to be updated to the verification plan file synchronously, and other data items do not need to be synchronized; when the inspection plan file and the designed FMEA are synchronized, four data items, namely the characteristic number, the characteristic type, the characteristic expression and the characteristic rule, need to be synchronized to data nodes in the inspection plan file, the electronic equipment can determine the data items needing to be synchronized by inquiring the synchronous inquiry matrix, and different process files can be associated with corresponding synchronous inquiry matrixes.
Figure DEST_PATH_IMAGE003
TABLE 3
In S303, if it is detected that the synchronization trigger condition corresponding to the synchronization mode is satisfied, updating the first data node corresponding to the second data node in the first process file according to second node information of the second data node in any second process file; the second node information includes the synchronization data item.
In this embodiment, when detecting that the synchronization trigger condition corresponding to the synchronization mode is satisfied, the electronic device may obtain second node information corresponding to a second data node that conforms to the synchronization data item in the second process file, and update the first data node corresponding to the second data node in the first process file. In different process files, the node identifiers between the first data node and the second data node which have the corresponding relationship are the same, that is, the node information may also record the node identifier of the data node.
In a possible implementation manner, the above manner of updating the first node information of the first data node according to the second node information is specifically: if the version number of the second node information is earlier than that of the first node information, maintaining the first node information; if the version number of the second node information is later than that of the first node information, assigning the second node information to the first node information so as to update the version number of the first node information to the latest version; and if the version number of the second node information is the same as that of the first node information, the updating is finished.
Illustratively, fig. 3(b) shows a schematic diagram of a synchronization relationship between process files provided by an embodiment of the present application. Referring to fig. 3(b), a product project may include multiple process files, and different process files under the same product project have the same project identifier. The data in different process files can be generated based on the basic data, and the synchronous updating state of each data node is determined by generating a basic data change table. The synchronization parameters of different process files determine respective synchronization modes, synchronous data items required to be synchronized are determined through the synchronous query matrix when synchronization triggering conditions are met, and data in each process file are synchronously updated.
In the embodiment of the application, the synchronization triggering condition corresponding to the synchronization parameter is obtained by determining the synchronization parameter of the first process file, the data item to be synchronized, namely the data range, is determined by the synchronization query matrix, and the corresponding data item is synchronized when the synchronization triggering condition is met, so that the data synchronization with personalized definition is realized, the data synchronization among the multiple process files is realized, the customization of the synchronization item can be realized, and the synchronization requirements of different scenes are met.
Further, the above S303 may specifically include 3 implementation manners:
implementation mode 1: passive synchronization (synchronization mode is the first synchronization mode, e.g. DSM = 1)
Step 1.1, if a preset updating detection period is met, reading a second version identifier of each second data node;
step 1.2, determining a first target data node with data update from all the second data nodes according to each second version identification;
step 1.3 updates the first node information of the first data node corresponding to the first target data node based on the second node information of the first target data node.
In this embodiment, if the synchronization mode between the first process file and the second process file is the first synchronization mode, i.e., the passive synchronization mode, the synchronization process does not need to be confirmed by the user, and when the preset update detection period is met, the synchronization can be automatically completed. In this case, the electronic device may determine, according to the version identifier corresponding to the second data node, the second data node having a change in the last detection period, and identify the second data node having a change in the version identifier as the first target data node. Since the version identifier is changed, that is, it indicates that an editing operation has occurred, at this time, the node information after the current editing needs to be updated to other process files, that is, the second node information of the first target data node is synchronously updated to other process files, such as the first process file. The electronic equipment can determine a first data node corresponding to the first target data node from the first process file according to the node identification, compare the version identification of the first target data node with the version identification of the first data node, and assign second node information of the first target data node to first node information of the first data node if the version identification of the first target data node is later than the version identification of the first data node. Wherein the data items contained in the second node information are determined according to the synchronous data items specified in the synchronous query matrix.
In this embodiment, since the process files on the synchronized side and the process files on the synchronized side do not need to be confirmed by the user during the passive synchronization, that is, the process files on the synchronized side and the process files on the synchronized side do not need to be operated by the user, the electronic device may set a corresponding update detection period, for example, 1 minute, to detect once every minute whether the updated first target data node exists, and if so, perform the synchronization operation; otherwise, waiting for the next update detection period, and so on.
In the embodiment of the application, the passive synchronization is set, so that the synchronization operation between two different process files can be automatically completed in the background without manual execution of a user, the synchronization efficiency and the time consumption required by synchronization are greatly improved, and the product research and development and production efficiency is improved.
Implementation mode 2: active synchronization (synchronization mode being the second synchronization mode, e.g. DSM = 2)
Step 2.1, if a first reading instruction about the first process file is received, generating a first data updating list according to the synchronous data item and a second data node with data updating;
step 2.2, receiving a first selection operation initiated by the user based on the first data updating list, and determining a first target item corresponding to the first selection operation from all the synchronous data items;
and 2.3 updating the first node information of the first data node corresponding to the second data node with updated data based on the second node information of the second data node with updated data and the node information determined by the first target item.
In this embodiment, when the synchronization mode is the second synchronization mode, the user is required to select the synchronization item when updating the first data node of the first process file. Therefore, the triggering time of the synchronization is different from the triggering time of the passive synchronization mode, and is not automatically executed in the background but executed when the user reads the first process file.
In this embodiment, the electronic device may be a database server. Different users can upload the locally edited process file to the database server, so that the database server can realize the synchronization of the associated data in the process file among multiple users.
In this embodiment, when the electronic device receives a reading instruction of the first process file, it may recognize that the update trigger condition in the first process file is satisfied, and thus, an update data list, that is, the first update data list, may be generated according to the synchronization data item specified in the synchronization query matrix and the updated second data node existing in the second process file. The user may select the data item to be updated, i.e. the target data item, in the first updated data list.
Illustratively, fig. 4 shows an operation diagram of the active synchronization provided by an embodiment of the present application. Referring to fig. 4, after a user opens a first process file, an electronic device may read a second data node in the second process file, determine a synchronization data item having a synchronization right through a synchronization query matrix, generate a first data update list, that is, a list 41, the user may select a data item to be updated, that is, a first target item, for example, "feature number" and "feature type", from the list 41, and the electronic device may extract the first target item specified by the user from second node information of the second data node in which data update exists, obtain node information to be updated, and update first node information of the first data node in which the second data node in which update exists through the node information. As described above, the user extracts the specific values of the two items "property number" and "property type" from the second node information of the second data node having an update, generates the node information to be updated, and updates the first node information of the first data node with the two items in the node information.
In the embodiment of the application, the synchronization mode is set to be the active synchronization mode, namely the second synchronization mode, so that a user can conveniently and manually select a first target item to be synchronized from the synchronization data items with the synchronization authority, and the flexibility of the synchronization process is improved.
Implementation mode 3: manual synchronisation (synchronisation mode being the third synchronisation mode, e.g. DSM = 3)
Before S303, the method further includes:
step 3.1 is to respond to the synchronous selection operation of the user for the synchronous data items in the second process file, and to determine a second target item with data synchronization authority.
The S303 includes:
step 3.2, if a second reading instruction about the first process file is received, generating a second data updating list according to the second target item and a second data node with data updating;
step 3.3, receiving a second selection operation initiated by the user based on the second data update list, and determining a third target item corresponding to the second selection operation from all the second target items;
and 3.4, updating the first node information of the first data node corresponding to the second data node with updated data based on the second node information of the second data node with updated data and the node information determined by the third target item.
In contrast to the active synchronization described above, in the manual synchronization mode (i.e., the third synchronization mode), the process file providing the update data (i.e., the active synchronization side) also needs to select the data items to be synchronized before synchronization. In this case, the electronic device may receive a synchronization selection operation of the user on a synchronization data item having a synchronization authority in the second process file, and determine a data item that can be synchronized with other process files at this time, that is, the second target item, from all the synchronization data items.
Illustratively, fig. 5 shows an operation diagram of the manual synchronization provided by an embodiment of the present application. Referring to fig. 5 (a), when the user closes the second process file, the electronic device may generate a prompt message, that is, a list 51, where the list 51 includes synchronous data items with synchronization authority, and the user may select a second target item, which can be synchronized with other process files at this time, from the synchronous data items, such as the "property number", "property type", and "property specification" as described above.
In this embodiment, the implementation processes of steps 3.2 to 3.4 are the same as the implementation manners of steps 2.1 to 2.3 in implementation manner 2, specifically different that the data items included in the generated second update list are not synchronous data items, but are second target items specified by the user in the second process file, and other implementation processes are completely the same as implementation manner 2, and are not described herein again.
Continuing with the example of fig. 5, referring to (b) in fig. 5, specifically, the data items displayed in the second update list are the second target items, that is, three data items including "property number", "property type", and "property specification" are included in the list 52, the user may select a data item that needs to be updated synchronously, that is, a third target item, from the list 52, as shown in (b) in fig. 5, the user selects "property number" and "property type" as the data items that need to be updated synchronously, and updates the two data items in the first node information of the first data node, while other data items except the two data items are not updated, and if the "property specification" in the first node information is not updated synchronously with the second process file.
In the embodiment of the application, the synchronization mode is set to be the manual synchronization mode, that is, the third synchronization mode, so that selection of data items required to be synchronized can be provided on both the active side and the passive side for providing the synchronization data, the flexibility of the synchronization process is further improved, the embodiment of the application can be suitable for different synchronization scenes, and the synchronization application range of the process files is expanded.
Illustratively, table 4 shows a comparison table between the synchronization patterns provided by an embodiment of the present application. Referring to table 4, depending on whether a user selection is required, it can be seen that, for the passive synchronization mode, the synchronization may be performed in the background, that is, without user approval, data synchronization between process files can be achieved with respect to the synchronized data items; for both the active synchronization mode and the passive synchronization mode, the active synchronization mode and the passive synchronization mode are actively triggered, that is, synchronization is executed only when a user reads a file, that is, the user is required to examine and approve the synchronized content, the manual synchronization mode requires that two process files are required to be selected for projects, and different synchronization modes can be suitable for different synchronization scenes.
Figure DEST_PATH_IMAGE004
TABLE 4
Further, as another embodiment of the present application, in view that different synchronization modes have different synchronization triggering conditions, in order to facilitate a user to determine synchronization states of respective data nodes in different process files, the electronic device may further generate a synchronization state list corresponding to the data nodes for the data nodes. The synchronization status list may record version numbers and synchronization statuses of the same data node in different process files. For example, the first data node and the second data node having the same node identifier may be identified as the same data node. Illustratively, table 5 shows a schematic diagram of a synchronization status list provided in an embodiment of the present application. Referring to table 5, the synchronization status specifically includes the following states: if the state flag is 0, the data node is in a synchronizable state; if the status flag is 1, it indicates that the data node is in a to-be-checked state (for example, in an active synchronization mode and a manual synchronization mode, a passive side performing data synchronization needs to select synchronized content after a user opens a process file, that is, to perform checking, and is in the to-be-checked state at this time); if the state identifier is 2, the data node is in a synchronous completion state; if the status flag is 3, it indicates that the data node is in the state of abandoning synchronization, i.e. the user does not synchronize the data node. In table 5, the version number before synchronization and the version number after synchronization may be recorded to determine the result change before and after the current synchronization.
Figure DEST_PATH_IMAGE005
TABLE 5
Fig. 6 shows a flowchart of an implementation of the processing method of the process file after S102 according to an embodiment of the present application. Referring to fig. 6, compared with the embodiment shown in fig. 1, the method for processing a process file provided in the embodiment of the present application further includes, after S102: S601-S602, which are specifically described as follows:
in S601, a third process file having a data synchronization relationship with the first process file is determined according to a preset synchronization query matrix.
In S602, according to the updated first node information and the synchronization identifier of the third process file, a third data node corresponding to the first data node in the third process file is updated.
In this embodiment, since the editing operation initiated by the user may change the first data node in the first process file, at this time, the electronic device may synchronize the changed content of the data node of the first process file to another process file, that is, the third process file. The third process file is the same as the second process file, and is another process file having the same item identifier as the first process file, such as a process file stored in the same BOM. The electronic device also records a synchronization query matrix between the first process file and the third process file, can determine the data items to be synchronized, and updates the third data node in the third process file according to the synchronization query matrix.
In the embodiment of the application, after the data node in the first process file is changed, the data node can also be actively synchronized to other process files, so that the flexibility of synchronous operation is improved.
Fig. 7 shows a flowchart of an implementation of a processing method of a process file before S101 according to an embodiment of the present application. Referring to fig. 7, compared with the embodiment shown in fig. 1, the method for processing a process file provided in the embodiment of the present application further includes, after S101: S701-S704, which are described in detail as follows:
in S701, in response to the node creation instruction initiated by the user, the basic data corresponding to the node creation instruction is determined.
In this embodiment, the user may create a data node in the first process file, in which case, the user may select the basic data to be created from the basic database, for example, the basic data to be created, such as "bottle cap", may be checked in the data list generated by the basic database.
In S702, if the existing data node associated with the basic data includes the existing data node associated with the item identifier, the first data node is generated according to the existing data node associated with the item identifier.
In this embodiment, if an existing data node corresponding to the basic data has been created in the product project, the node information of an existing data node created in one of the other process files may be used as the node information of the first data node created in the first process file, so that the same data in the same product project does not need to be repeatedly configured.
In S703, if the existing data node associated with the basic data does not include the existing data node associated with the item identifier, a duplicate data node corresponding to the basic data is created.
In S704, the item identifier is added to the node information of the replica data node, and the first data node is generated.
In this embodiment, if the product project does not create an existing data node corresponding to the basic data, a duplicate data node related to the basic data may be created, and the duplicate data node is configured, for example, the project identifier of the first process file is added to the duplicate data node, so as to generate and obtain the first data node. At this time, the user may configure other node information within the first data node.
Fig. 8 is a block diagram illustrating a processing apparatus for a process file according to an embodiment of the present invention, where the processing apparatus for a process file includes units for executing steps implemented by an encryption apparatus in the corresponding embodiment of fig. 1. Please refer to fig. 1 and fig. 1 for a related description of an embodiment. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 8, the processing apparatus of the process document includes:
a first node information determining unit 81, configured to determine, in response to an editing operation performed by a user on any first data node in a first process file, first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the basic data is suitable for various types of process files;
a first node information updating unit 82, configured to update a data attribute in the first node information based on the editing operation, and add a first version identifier corresponding to the editing operation to the first node information;
a synchronous configuration unit 83, configured to receive a synchronous configuration operation of a user on the first process file, and set a synchronous parameter of the first process file; the synchronization parameters are used for determining a synchronization mode between the first process file and each second process file; the second process file is another process file having the same item identifier as the first process file.
Optionally, the processing apparatus further comprises:
the synchronous mode determining unit is used for determining a synchronous mode between the first process file and any second process file according to the synchronous parameters;
a synchronous data item determination unit, configured to determine a synchronous data item between the first process file and any one of the second process files based on a preset synchronous query matrix;
the data synchronization unit is used for updating the first data node corresponding to the second data node in the first process file according to second node information of the second data node in any second process file if the synchronization trigger condition corresponding to the synchronization mode is detected to be met; the second node information includes the synchronization data item.
Optionally, if the synchronization mode is a first synchronization mode, the data synchronization unit includes:
the period updating unit is used for reading the second version identification of each second data node if a preset updating detection period is met;
the target data node determining unit is used for determining a first target data node with data update from all the second data nodes according to each second version identifier;
a first assignment unit, configured to update the first node information of the first data node corresponding to the first target data node based on second node information of the first target data node.
Optionally, if the synchronization mode is a second synchronization mode, the data synchronization unit includes:
a first update list generation unit, configured to generate a first data update list according to the synchronized data item and a second data node with data update if a first read instruction regarding the first process file is received;
a first target item selecting unit, configured to receive a first selection operation initiated by the user based on the first data update list, and determine, from all the synchronous data items, a first target item corresponding to the first selection operation;
and the second assignment unit is used for updating the first node information of the first data node corresponding to the second data node with the updated data based on the second node information of the second data node with the updated data and the node information determined by the first target item.
Optionally, if the synchronization mode is a third synchronization mode, the processing apparatus further includes:
the second target item selection unit is used for responding to synchronous selection operation of the user on the synchronous data items in the second process file and determining a second target item with data synchronization authority;
the data synchronization unit includes:
a second update list generation unit, configured to generate a second data update list according to the second target item and a second data node with data update if a second read instruction about the first process file is received;
a third target item selecting unit, configured to receive a second selection operation initiated by the user based on the second data update list, and determine a third target item corresponding to the second selection operation from all the second target items;
and the third assignment unit is used for updating the first node information of the first data node corresponding to the second data node with the updated existing data based on the second node information of the second data node with the updated existing data and the node information determined by the third target item.
Optionally, the processing apparatus further comprises:
the synchronous relation determining unit is used for determining a third process file of the first process file with a data synchronous relation according to a preset synchronous query matrix;
and the fourth assignment unit is used for updating a third data node corresponding to the first data node in the third process file according to the updated first node information and the synchronous identifier of the third process file.
Optionally, the processing apparatus further comprises:
a basic data determining unit, configured to determine, in response to a node creation instruction initiated by the user, the basic data corresponding to the node creation instruction;
a first node generating unit, configured to generate the first data node according to the existing data node associated with the project identifier if the existing data node associated with the basic data includes the existing data node associated with the project identifier;
a copy creating unit, configured to create a copy data node corresponding to the basic data if the existing data nodes associated with the item identifier are not included in the existing data nodes associated with the basic data;
and the second node generating unit is used for adding the item identifier into the node information of the duplicate data node and generating the first data node.
Therefore, the processing apparatus for process files provided by the embodiments of the present invention can also create a first data node capable of multiplexing multiple process files in the same project (i.e. having the same project identifier), and when editing the first data node in a certain process file (i.e. the first process file), the data attribute in the first node information of the first data node can be updated, and the first version identification corresponding to the editing operation of this time is recorded, meanwhile, the method can also receive synchronous configuration operation initiated by a user, determine a synchronous mode between the first process file and other process files (namely, a second process file) belonging to the same project, therefore, the first data nodes in each process file can be updated conveniently, and the purpose of synchronous updating of the associated data nodes in the multiple process files is achieved. Compared with the prior art, the method and the device for the production management of the process files have the advantages that the synchronization mode of the process files can be set in a user-defined mode according to the synchronization requirements of different process files, unnecessary synchronous updating operation can be avoided, when the data nodes in one process file are updated, other process files with the same project identification are synchronized according to the synchronization mode, repeated updating operation of a user can be avoided, the workload of an adjusting process is reduced, and the efficiency of the production management is improved.
It should be understood that, in the structural block diagram of the processing method device for a process file shown in fig. 8, each module is used to execute each step in the embodiment corresponding to fig. 1 to 7, and each step in the embodiment corresponding to fig. 1 to 7 has been explained in detail in the above embodiment, and specific reference is made to the relevant description in the embodiment corresponding to fig. 1 to 7 and fig. 1 to 7, which is not repeated herein.
Fig. 9 is a block diagram of an electronic device according to another embodiment of the present application. As shown in fig. 9, the electronic apparatus 900 of this embodiment includes: a processor 910, a memory 920 and a computer program 930, e.g. a program of a method of processing a process file, stored in the memory 920 and executable on the processor 910. The processor 910, when executing the computer program 930, implements the steps in the embodiments of the processing method for each process file, such as S101 to S103 shown in fig. 1. Alternatively, the processor 910, when executing the computer program 930, implements the functions of the modules in the embodiment corresponding to fig. 8, for example, the functions of the units 81 to 83 shown in fig. 8, and please refer to the related description in the embodiment corresponding to fig. 8.
Illustratively, the computer program 930 may be partitioned into one or more modules, which are stored in the memory 920 and executed by the processor 910 to complete the present application. One or more of the modules may be a series of computer program instruction segments that can perform particular functions, the instruction segments describing the execution of the computer program 930 in the electronic device 900. For example, the computer program 930 may be divided into respective unit modules, and the respective modules may be specifically functioned as described above.
The electronic device 900 may include, but is not limited to, a processor 910, a memory 920. Those skilled in the art will appreciate that fig. 9 is merely an example of an electronic device 900 and does not constitute a limitation of electronic device 900 and may include more or fewer components than illustrated, or some of the components may be combined, or different components, e.g., an electronic device may also include input output devices, network access devices, buses, etc.
The processor 910 may be a central processing unit, but may also be other general purpose processors, digital signal processors, application specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete hardware components, and the like. The general purpose processor may be a microprocessor or any conventional processor or the like.
The storage 920 may be an internal storage unit of the electronic device 900, such as a hard disk or a memory of the electronic device 900. The memory 920 may also be an external storage device of the electronic device 900, such as a plug-in hard disk, a smart card, a flash memory card, etc. provided on the electronic device 900. Further, the memory 920 may also include both internal storage units and external storage devices of the electronic device 900.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A processing method of a process file is characterized by comprising the following steps:
responding to the editing operation of a user on any first data node in a first process file, and determining first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the basic data is suitable for various types of process files;
updating the data attribute in the first node information based on the editing operation, and adding a first version identifier corresponding to the editing operation to the first node information;
receiving synchronous configuration operation of a user on the first process file, and setting synchronous parameters of the first process file; the synchronization parameters are used for determining a synchronization mode between the first process file and each second process file; the second process file is another process file having the same item identifier as the first process file.
2. The processing method as claimed in claim 1, further comprising, after the receiving user sets synchronization parameters of the first process file for the synchronization configuration operation of the first process file, the step of:
determining a synchronization mode between the first process file and any second process file according to the synchronization parameters;
determining a synchronous data item between the first process file and any one of the second process files based on a preset synchronous query matrix;
if the synchronous trigger condition corresponding to the synchronous mode is met, updating the first data node corresponding to the second data node in the first process file according to second node information of the second data node in any second process file; the second node information includes the synchronization data item.
3. The processing method according to claim 2, wherein if the synchronization mode is a first synchronization mode, if it is detected that a synchronization trigger condition corresponding to the synchronization mode is satisfied, updating the first data node corresponding to a second data node in the first process file according to second node information of the second data node in any one of the second process files, includes:
if the preset updating detection period is met, reading a second version identifier of each second data node;
determining a first target data node with data updating from all the second data nodes according to each second version identification;
updating the first node information of the first data node corresponding to the first target data node based on second node information of the first target data node.
4. The processing method according to claim 2, wherein if the synchronization mode is a second synchronization mode, if it is detected that a synchronization trigger condition corresponding to the synchronization mode is satisfied, updating the first data node corresponding to a second data node in the first process file according to second node information of the second data node in any second process file, includes:
if a first reading instruction about the first process file is received, generating a first data updating list according to the synchronous data item and a second data node with data updating;
receiving a first selection operation initiated by the user based on the first data updating list, and determining a first target item corresponding to the first selection operation from all the synchronous data items;
updating the first node information of the first data node corresponding to the second data node having the updated data based on the second node information of the second data node having the updated data and the node information determined by the first target item.
5. The processing method according to claim 2, wherein if the synchronization mode is a third synchronization mode, before updating the first data node corresponding to the second data node in the first process file according to the second node information of the second data node in any second process file if it is detected that the synchronization trigger condition corresponding to the synchronization mode is satisfied, the method further comprises:
in response to the synchronous selection operation of the user on the synchronous data items in the second process file, determining a second target item with data synchronization authority;
if the synchronization trigger condition corresponding to the synchronization mode is detected to be met, updating the first data node corresponding to the second data node in the first process file according to second node information of the second data node in any second process file, including:
if a second reading instruction related to the first process file is received, generating a second data updating list according to the second target item and a second data node with data updating;
receiving a second selection operation initiated by the user based on the second data update list, and determining a third target item corresponding to the second selection operation from all the second target items;
updating the first node information of the first data node corresponding to the second data node having the updated data based on the second node information of the second data node having the updated data and the node information determined by the third target item.
6. The processing method according to any one of claims 1 to 5, further comprising, after the updating the data attribute in the first node information based on the editing operation and adding the first version identifier corresponding to the editing operation to the first node information:
determining a third process file with a data synchronization relation in the first process file according to a preset synchronization query matrix;
and updating a third data node corresponding to the first data node in the third process file according to the updated first node information and the synchronous identifier of the third process file.
7. The processing method according to any one of claims 1 to 5, further comprising, before said determining, in response to an editing operation of a user on any first data node in the first process file, first node information of the first data node specified by the editing operation, the steps of:
responding to a node creating instruction initiated by the user, and determining the basic data corresponding to the node creating instruction;
if the existing data nodes associated under the basic data comprise the existing data nodes associated with the project identifier, generating the first data node according to the existing data nodes associated with the project identifier;
if the existing data nodes associated under the basic data do not contain the existing data nodes associated with the project identifiers, a duplicate data node corresponding to the basic data is created;
and adding the project identification into the node information of the replica data node to generate the first data node.
8. An apparatus for processing a process document, comprising:
the first node information determining unit is used for responding to the editing operation of a user on any first data node in the first process file and determining the first node information of the first data node specified by the editing operation; the first node information comprises a project identifier to which the first process file belongs, a file identifier of the first process file and a data identifier of basic data corresponding to the first data node; the first data node is generated based on the base data; the basic data is suitable for various types of process files;
a first node information updating unit, configured to update a data attribute in the first node information based on the editing operation, and add a first version identifier corresponding to the editing operation to the first node information;
the synchronous configuration unit is used for receiving synchronous configuration operation of a user on the first process file and setting synchronous parameters of the first process file; the synchronization parameters are used for determining a synchronization mode between the first process file and each second process file; the second process file is another process file having the same item identifier as the first process file.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program with the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method according to any one of claims 1 to 7.
CN202210687204.1A 2022-06-17 2022-06-17 Processing method of process file and electronic equipment Active CN114780506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210687204.1A CN114780506B (en) 2022-06-17 2022-06-17 Processing method of process file and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210687204.1A CN114780506B (en) 2022-06-17 2022-06-17 Processing method of process file and electronic equipment

Publications (2)

Publication Number Publication Date
CN114780506A true CN114780506A (en) 2022-07-22
CN114780506B CN114780506B (en) 2022-10-21

Family

ID=82421153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210687204.1A Active CN114780506B (en) 2022-06-17 2022-06-17 Processing method of process file and electronic equipment

Country Status (1)

Country Link
CN (1) CN114780506B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116610634A (en) * 2023-07-19 2023-08-18 南京中孚信息技术有限公司 File synchronization system and method for network disk terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315687A (en) * 2007-05-31 2008-12-03 国际商业机器公司 Methods and systems for implementing an end-to-end project management system
US20140280697A1 (en) * 2013-03-13 2014-09-18 International Business Machines Corporation File change notifications in a scale-out nas system
CN109615554A (en) * 2018-12-06 2019-04-12 苏州市伽顿服饰有限公司 Synchrodata system and its operating procedure, creation method based on intelligence manufacture
CN113379368A (en) * 2021-05-10 2021-09-10 深圳百胜扬工业电子商务平台发展有限公司 Project matrix management method and device
CN113807828A (en) * 2021-10-22 2021-12-17 河北锦麟工程项目管理有限公司 Method for automatically and parallelly synchronizing data of distributed project management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315687A (en) * 2007-05-31 2008-12-03 国际商业机器公司 Methods and systems for implementing an end-to-end project management system
US20140280697A1 (en) * 2013-03-13 2014-09-18 International Business Machines Corporation File change notifications in a scale-out nas system
CN109615554A (en) * 2018-12-06 2019-04-12 苏州市伽顿服饰有限公司 Synchrodata system and its operating procedure, creation method based on intelligence manufacture
CN113379368A (en) * 2021-05-10 2021-09-10 深圳百胜扬工业电子商务平台发展有限公司 Project matrix management method and device
CN113807828A (en) * 2021-10-22 2021-12-17 河北锦麟工程项目管理有限公司 Method for automatically and parallelly synchronizing data of distributed project management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
路高鹏: "项目管理软件的设计与实现", 《计算机与网络》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116610634A (en) * 2023-07-19 2023-08-18 南京中孚信息技术有限公司 File synchronization system and method for network disk terminal
CN116610634B (en) * 2023-07-19 2023-09-26 南京中孚信息技术有限公司 File synchronization system and method for network disk terminal

Also Published As

Publication number Publication date
CN114780506B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN108153670B (en) Interface testing method and device and electronic equipment
TW201439792A (en) System and method for accessing database
WO2014116527A1 (en) Method and system for using a recursive event listener on a node in hierarchical data structure
CN109977099A (en) Database portion arranging method, user equipment, storage medium and device
CN114780506B (en) Processing method of process file and electronic equipment
US20200065301A1 (en) Blockchain gateway device and associated method of use
CN115878092A (en) Code generation method, device and medium based on micro-service architecture
CN111144837A (en) Flow arrangement method and device, storage medium and electronic equipment
CN107016075A (en) Company-data synchronous method and device
CN114564856B (en) Data sharing method based on FMEA and electronic equipment
CN111723007B (en) Test case merging method, system, equipment and medium
CN113468182B (en) Data storage method and system
KR20200077204A (en) System on vulnerability and management of IT devices
CN112000671B (en) Database table processing method, device and system based on block chain
CN113918627A (en) Data conversion method, device and readable storage medium
CN109788054B (en) Configuration method, server and medium for distributed application coordination service node
JP2018181005A (en) Program analysis device, program analysis method, and analysis program
CN113204558A (en) Method and device for automatically updating data table structure
CN112988879A (en) Method, system, device, storage medium and processor for accessing database
CN110830278A (en) Equipment configuration updating method, equipment configuration updating device and computer readable storage medium
WO2017124877A1 (en) Method and device for realizing data configuration for user resource
CN111522783B (en) Data synchronization method, device, electronic equipment and computer readable storage medium
CN113052463B (en) Workflow verification method, workflow verification device, computer equipment and storage medium
US10778514B1 (en) Universal configurations
CN116643811A (en) Method and device for configuring algorithm parameters of machine vision platform

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