CN110543465A - directory operation method and device, computer equipment and storage medium - Google Patents

directory operation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110543465A
CN110543465A CN201910649493.4A CN201910649493A CN110543465A CN 110543465 A CN110543465 A CN 110543465A CN 201910649493 A CN201910649493 A CN 201910649493A CN 110543465 A CN110543465 A CN 110543465A
Authority
CN
China
Prior art keywords
directory
node
serial number
instruction
data
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
CN201910649493.4A
Other languages
Chinese (zh)
Other versions
CN110543465B (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.)
Digital Guangdong Network Construction Co Ltd
Original Assignee
Digital Guangdong Network Construction 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 Digital Guangdong Network Construction Co Ltd filed Critical Digital Guangdong Network Construction Co Ltd
Priority to CN201910649493.4A priority Critical patent/CN110543465B/en
Publication of CN110543465A publication Critical patent/CN110543465A/en
Application granted granted Critical
Publication of CN110543465B publication Critical patent/CN110543465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees

Abstract

the invention relates to a directory operation method, a device, computer equipment and a storage medium, which are used for acquiring a directory operation request of a terminal, wherein the directory operation request carries a directory operation instruction and a current operation serial number, then acquiring a historical operation serial number, subtracting the current operation serial number from the historical operation serial number and acquiring a difference value of the current operation serial number and the historical operation serial number, comparing the difference value with a set serial number increment, and if the difference value is the same as the serial number increment, executing corresponding operation on a directory according to the directory operation instruction. According to the scheme, the current operation serial number carried in the request can be differentiated from the historical operation serial number, if the difference value is the same as the serial number increment, the directory operation instruction can be judged to be an effective operation instruction, corresponding operation is performed on the directory, the operation sequence of the directory is consistent with the management sequence of the request, the problem that the directory is required to be repeatedly operated for many times due to the fact that the operation sequence of the directory is disordered to generate misoperation is avoided, and the efficiency of operating the directory is improved.

Description

directory operation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a directory operation method, a directory operation apparatus, a computer device, and a computer-readable storage medium.
Background
With the rapid development of information processing technology, the amount of data to be managed by various industries is increasing, and databases are often used for managing data, and the data is put into the database according to a certain rule for unified management, so that a user can perform operations such as adding, querying, updating and deleting on the data in the database.
Directories are used for storing file data in a database, and accurate operation of the directories is particularly important in a process of managing data stored in the database. The directory operation method provided by the traditional technology generally sends a directory operation instruction to a database server by a terminal, and the server directly executes corresponding operation on a directory according to the instruction.
disclosure of Invention
In view of the foregoing, it is desirable to provide a directory operation method, a directory operation apparatus, a computer device, and a computer-readable storage medium, which solve the technical problem of inefficient operation of directories by conventional techniques.
A directory operation method, comprising the steps of:
Acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number;
acquiring a locally pre-stored historical operation serial number;
Performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number;
And if the difference is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
A directory operations apparatus, comprising:
the first acquisition module is used for acquiring a directory operation request of the terminal; the directory operation request carries a directory operation instruction and a current operation serial number;
The second acquisition module is used for acquiring a locally pre-stored historical operation serial number;
a difference value obtaining module, configured to perform difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number;
And the operation execution module is used for executing corresponding operation on the directory according to the directory operation instruction if the difference value is the same as the set serial number increment.
a computer device comprising a processor and a memory, the memory storing a computer program that when executed by the processor performs the steps of:
acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number; acquiring a locally pre-stored historical operation serial number; performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number; and if the difference is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
Acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number; acquiring a locally pre-stored historical operation serial number; performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number; and if the difference is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
The directory operation method, the directory operation device, the computer equipment and the storage medium acquire the directory operation request of the terminal, the directory operation request carries the directory operation instruction and the current operation serial number, then acquire the locally pre-stored historical operation serial number, make a difference between the current operation serial number and the historical operation serial number, acquire a difference value, then compare the difference value with the set serial number increment, and if the difference value is the same as the serial number increment, execute corresponding operation on the directory according to the directory operation instruction carried by the directory operation request. According to the scheme, when a directory operation request is received, the current operation serial number carried by the directory operation request is firstly differed with the historical operation serial number, so that the difference value of the directory operation request is obtained, if the difference value is the same as the set serial number increment, the directory operation instruction can be judged to be an effective operation instruction, then corresponding operation can be executed on the directory according to the directory operation instruction, the operation sequence of the directory can be consistent with the management sequence of the request, the problem that the directory operation sequence is disordered to generate misoperation, the directory needs to be repeatedly operated for many times is avoided, and the efficiency of operating the directory is improved.
drawings
FIG. 1 is a diagram illustrating an exemplary implementation of a directory operation method;
FIG. 2 is a flow diagram illustrating a method for directory operations in one embodiment;
FIG. 3 is a block diagram of a directory management system in one embodiment;
FIG. 4 is a flow diagram that illustrates the processing of the directory management system in one embodiment;
FIG. 5 is a block diagram showing the structure of a directory operation apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The directory operation method provided by the present invention may be applied to an application scenario shown in fig. 1, where fig. 1 is an application scenario diagram of the directory operation method in an embodiment, and the application scenario may include a terminal 100 and a server 200, and the terminal 100 may communicate with the server 200 through a network. The server 200 is used for managing a directory of a database, and the terminal 100 may operate the directory through the server 200. Specifically, the terminal 100 may generate a directory operation request carrying a directory operation instruction and a current operation serial number, and then send the request to the server 200, the server 200 may extract the current operation serial number carried by the directory operation request after receiving the directory operation request, then the server 200 obtains a locally stored historical operation serial number, performs difference processing on the current operation serial number and the historical operation serial number, obtains a difference value between the current operation serial number and the historical operation serial number, and then the server 200 may compare the difference value with a preset serial number increment, and if the difference value is greater than the serial number increment, the server 200 performs a corresponding operation on the directory according to the directory operation instruction.
The terminal 100 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 200 may be implemented by an independent server or a server cluster formed by a plurality of servers.
in an embodiment, a directory operation method is provided, referring to fig. 2, fig. 2 is a schematic flowchart of a directory operation method in an embodiment, which is described by taking the method as an example applied to the server 200 in fig. 1, and the directory operation method may include the following steps:
Step S101, obtaining a directory operation request of the terminal.
in this step, the server 200 may obtain a directory operation request of the terminal 100, where the directory operation request may be initiated by the terminal 100, and the terminal 100 may generate a directory operation instruction according to an actual operation requirement, where the instruction is mainly used to refer to the server 200 performing a corresponding operation on a directory, and the operation on the directory may be to add data in the directory, modify data in the directory, query data of the directory, delete data of the directory, and the like, and a specific operation may be set by a user, for example, if the user needs to add some data in the directory, the content that needs to be added may be input to the terminal 100, and then the terminal 100 generates a directory operation instruction according to the content that needs to be added. Next, the terminal 100 further needs to obtain a current operation serial number, where the current operation serial number is mainly used for identifying an operation serial number that needs to be currently operated on the directory. In practical applications, a string of numbers such as 102 may be used as the current operation serial number, or a combination of a primary and a secondary numbers such as a102 may be used as the current operation serial number. Each time the terminal 100 needs to operate the directory, a directory operation instruction may be generated and a current operation serial number may be obtained, then the directory operation instruction and the current operation serial number may be converted into a directory operation request according to a specific communication protocol, the directory operation request may be sent to the server 200, and after the server 200 obtains the directory operation request, the directory operation instruction and the current operation serial number may be extracted from the request.
and step S102, acquiring a history operation serial number prestored locally.
The step is mainly that the server 200 obtains a historical operation serial number pre-stored locally, where the historical operation serial number is generated when the server 200 operates the directory last time. The server 200 may perform operations on the directory, such as deleting data of the directory, modifying data of the directory, and the like, and each time the server 200 performs a corresponding operation on the directory, an operation serial number may be generated, and before a next directory operation instruction comes, the operation serial number may be stored locally in the server 200 as a historical operation serial number. When the next directory operation instruction comes, that is, after step S101, the server 200 may obtain the historical operation serial number, where the historical operation serial number is used to identify the operation serial number of the server 200 that has last operated on the target, and the server 200 needs to obtain the historical operation serial number first before operating on the directory each time, as a reference for comparing with the current operation serial number of the terminal 100, so as to determine whether to operate on the directory.
step S103, the current operation serial number and the historical operation serial number are subjected to difference processing, and the difference value between the current operation serial number and the historical operation serial number is obtained.
in this step, after obtaining the current operation serial number and the historical operation serial number, the server 200 may perform a numerical difference between the current operation serial number and the historical operation serial number to obtain a difference between the current operation serial number and the historical operation serial number. Specifically, if the current operation serial number is 103 and the historical operation serial number is 102, the difference between the current operation serial number and the historical operation serial number is 1; if the current sequence number is a103 and the historical operation sequence number is a102, only the numerical value parts of the sequence numbers, namely 103 and 102, can be subtracted to obtain a difference value of 1.
And step S104, if the difference value is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
the sequence number increment may be preset in the server 200, and is mainly used for updating the historical operation sequence number each time the server 200 successfully operates the directory, and the sequence number updating operation is incremental, that is, the sequence number increment is added to the original historical operation sequence number to form a new historical operation sequence number. For example, the original historical operation serial number is 101, and the serial number increment is 1, then after the server 200 successfully operates the directory, if the data deletion succeeds, 1 is added on the basis of 101, so as to obtain a new historical serial number 102 to replace the original historical operation serial number. Before the server 200 operates the directory, it needs to first determine whether the directory operation instruction carried in the directory operation request is an effective operation instruction, and for an ineffective operation instruction, the server 200 does not execute a corresponding operation on the directory, that is, the server 200 only executes an operation instruction meeting a certain requirement. Specifically, the server 200 compares the difference between the current operation serial number and the historical operation serial number with a preset serial number increment, and if the difference is the same as the serial number increment (if the difference is 1, the serial number increment is also 1), it may be determined that the directory operation instruction conforms to the operation order of the directory, that is, it may be determined that the directory operation instruction is an effective operation instruction, so that the server 200 may perform a corresponding operation on the directory according to the directory operation instruction; however, if the difference is different from the sequence number increment (for example, the difference is 2, and the sequence number increment is 1), it indicates that the directory operation instruction may have a problem of cross-order operation, if such an operation instruction is executed, data of the directory may be misoperated, there is a risk that the data being modified is modified into other data, and the like, so that an invalid operation instruction is determined when the directory operation instruction is executed, the server 200 may not execute corresponding operation on the directory, thereby ensuring that the operation executed on the directory can be executed according to a certain order, avoiding the problem that the directory operation order is disordered to generate the misoperation, and the directory needs to be repeatedly operated for many times, and improving the efficiency of operating the directory.
In one embodiment, if the difference between the current operation serial number and the historical operation serial number is not the same as the set serial number increment, the server 200 may also transmit its stored historical operation serial number to the terminal 100. If the difference is different from the serial number increment, it indicates that the directory operation instruction sent by the terminal 100 cannot be executed by the server 200, and therefore the directory operation instruction is an invalid instruction for the terminal 100, and the terminal 100 needs to generate a directory operation request again to allow the server 200 to execute the directory operation request to meet the operation requirement of the terminal on the directory. The invalid operation instruction is caused by an error of the current operation serial number when the operation instruction is invalid, that is, the terminal 100 generates an operation serial number which does not meet the requirement, so that the server 200 may transmit the stored historical operation serial number to the terminal 100 when the instruction is invalid, so that the terminal 100 may regenerate the current operation serial number based on the historical operation serial number. Specifically, if the current operation serial number generated by the terminal 100 for the first time is 102, and the historical operation serial number stored by the server 200 is 103 and the serial number increment is 1, a difference value-1 different from the serial number increment 1 is obtained, and at this time, the server 200 may feed back the historical operation serial number 103 to the terminal 100, so that the terminal 100 regenerates the operation serial number 104 according to the historical operation serial number 103, and the requirement of the terminal 100 for operating the directory is met.
when the server 200 operates on the directory, two directory operation results may be obtained, one is successful operation, and the other is failed operation. The two operation results are described by taking the directory modification as an example, when the server 200 modifies the directory, two results of successful modification and failed modification may be obtained, if the server 200 modifies the data a in the directory, the server 200 may first query whether the data a exists in the directory, and in the case that the data a exists, the server 200 can modify the data a, which indicates that the modification is successful; if the directory does not contain the data a, the server 200 cannot modify the data a, and the server 200 obtains a directory operation result of which the modification fails.
Based on this, in some embodiments, the server 200 may obtain a directory operation result of operating the directory after performing a corresponding operation on the directory according to the directory operation instruction, and perform subsequent processing based on the directory operation result.
If the directory operation result is successful, the server 200 needs to update the historical operation serial number by using a serial number increment, for example, before the operation is successful, the historical operation serial number is 102, and the serial number increment is preset to 1, after the operation is successful, the historical operation serial number is updated from 102 to 103, and the updated historical operation serial number is sent to the terminal 100, so that the terminal 100 can regenerate the current operation serial number when the directory is operated next time based on the updated historical operation serial number.
If the directory operation result is an operation failure, the server 200 needs to obtain a prompt message of the reason of the operation failure. The reason prompt information is mainly used for prompting the reason causing the operation failure, for example, when the data a of the directory is modified, if the data a does not exist in the directory, the reason prompt information of the operation failure may be "data a does not exist in the directory". Then, the server 200 may feed back the prompt information of the reason of the operation failure to the terminal 100, and at the same time, the server 200 may also send the stored historical operation serial number and the prompt information of the reason of the operation failure to the terminal 100, so as to facilitate the user to check and correct the error, and facilitate the terminal 100 to resend the directory operation request to the server 200.
the directory operation method comprises the steps of obtaining a directory operation request of a terminal, wherein the directory operation request carries a directory operation instruction and a current operation serial number, then obtaining a locally pre-stored historical operation serial number, subtracting the current operation serial number from the historical operation serial number to obtain a difference value, then comparing the difference value with a set serial number increment, and if the difference value is the same as the serial number increment, executing corresponding operation on a directory according to the directory operation instruction carried by the directory operation request. According to the scheme, when a directory operation request is received, the current operation serial number carried by the directory operation request is firstly differed with the historical operation serial number, so that the difference value of the directory operation request is obtained, if the difference value is the same as the set serial number increment, the directory operation instruction can be judged to be an effective operation instruction, then corresponding operation can be executed on the directory according to the directory operation instruction, the operation sequence of the directory can be consistent with the management sequence of the request, the problem that the directory operation sequence is disordered to generate misoperation, the directory needs to be repeatedly operated for many times is avoided, and the efficiency of operating the directory is improved.
It is understood that what operations the server 200 performs on the directory mainly depends on the directory operation instructions, and the specific form of the directory operation instructions may be various. In one embodiment, the directory operation instructions may include directory lookup instructions, directory modification instructions, directory add instructions, and/or directory delete instructions. The directory query instruction can be used for querying the nodes of the directory, the directory modification instruction can be used for modifying the nodes of the directory, the directory addition instruction can be used for adding the nodes of the directory, and the directory deletion instruction is used for deleting the nodes of the directory.
In one embodiment, the directory in which the server 200 needs to operate may be a tree directory, which is a type of directory that enables efficient organization and management of data. In this embodiment, the directory that the server 200 needs to operate may include a plurality of data nodes and a plurality of relationship nodes, where the plurality of data nodes are configured in the directory according to a set hierarchical relationship, and the relationship nodes are generally used for recording an association relationship between the plurality of data nodes. The server 200 may operate on the data nodes and the relationship nodes in the directory based on the directory operation instruction, and the server 200 may perform different operations according to the directory operation instruction and the nodes of the directory that need to be operated.
Specifically, when the directory operation instruction is a directory query instruction, the step of the server 200 performing corresponding operation on the directory according to the directory operation instruction may include: and acquiring node information of the node, and sending the node information to the terminal. The node may be a data node or a relationship node, and a data leaf node may also be provided below the data node, and the data leaf node may be used to link and describe a specific data resource, and in the case of having a data leaf node, the relationship node may also record an association relationship between each data leaf node. When the server 200 needs to perform the query operation, since the node does not need to be changed and is information of the query node, the server 200 may determine which node the terminal 100 needs to query according to the directory query instruction, extract attribute information (creator, modification time, and the like, which may be customized by a user) from the node, and after obtaining the node information of the node, send the node information to the terminal 100 to complete the query processing.
when the directory operation instruction is a directory modification instruction, the step of the server 200 performing corresponding operation on the directory according to the directory operation instruction may include: if the node is a data node, updating node information of the data node according to the modification content carried by the directory modification instruction; and if the node is the relational node, determining the associated node according to the modification content carried by the directory modification instruction, judging whether the associated node exists, and if so, updating the node information of the relational node according to the node information of the associated node. Specifically, when the server 200 needs to modify a node of the directory, the corresponding modification operation needs to be performed in conjunction with the specific type of the node. If the node that the server 200 needs to modify is a data node, the server 200 may obtain the modification content carried by the directory modification instruction sent by the terminal 100, and update the node information of the data node according to the modification content, where the modification content may also be a content that updates the node information of a data leaf node under the data node, and in this case, the server 200 may update the node information of the corresponding data leaf node. If the server 200 needs to modify the relationship node, since the relationship node records the association relationship between two nodes, and modifying the relationship node can be regarded as modifying the association relationship between some two nodes recorded by the relationship node, when modifying the relationship node, the server 200 can extract specific modification content from the directory modification instruction, where the modification content may be associating the data node X with the data node Y in the relationship node, and associating the data node X with the data node Z, so that after obtaining the modification content, the server 200 can determine whether the association node needing to be modified exists in the directory, for example, modifying the data node X with the data node Y to associate the data node X with the data node Z, and then it needs to determine whether the data node X and the data node Z exist in the directory, if so, updating the node information of the relation node, namely updating the original node information 'association between the data node X and the data node Z' into 'association between the data node X and the data node Z', and finishing the modification operation of the relation node; if data node X or data node Z does not exist in the directory, information of operation failure may be fed back.
When the directory operation instruction is a directory add instruction, the step of the server 200 performing corresponding operation on the directory according to the directory operation instruction may include: if the node is a data node, newly adding the data node in the directory by using newly added data node information carried by the directory adding instruction; if the node is a relationship node, judging whether the corresponding associated node exists in the directory according to the information of the newly added relationship node carried by the directory adding instruction, and if so, newly adding the relationship node in the directory. Specifically, when the server 200 receives a directory addition instruction, a corresponding node may be newly added in the directory according to the instruction. If the node to be newly added is a data node, the server 200 may determine the position of the data node to be newly added in the directory according to the information of the newly added data node (such as information of a position of the newly added node, a creator of the newly added node, a node creation time, and the like) carried in the directory operation instruction, then newly add the data node at the corresponding position in the directory and give the data node related node information; if the node needing to be added is the relationship node, the information of the added relationship node carried by the node needing to be added is extracted from the directory adding instruction, for example, the added relationship node is used for describing the association relationship of the nodes, and the like, and then whether the corresponding association node exists in the directory is further judged, if so, the relationship node is added in the directory, and if not, the information of operation failure can be fed back.
When the directory operation instruction is a directory deletion instruction, the step of the server 200 performing corresponding operation on the directory according to the directory operation instruction may include: if the node is a data node, judging whether a related node associated with the data node exists in the directory by using the relational node, and if not, deleting the data node; and if the node is the relation node, deleting the relation node. Specifically, if the directory operation instruction received by the server 200 is a directory deletion instruction, the server 200 may perform deletion processing on nodes in the directory according to the instruction. If the node to be deleted is a data node, the server 200 needs to determine whether an associated node associated with the data node to be deleted exists in the directory by querying a corresponding relationship node, and if so, the server 200 cannot execute the deletion instruction; if there is no associated node, the data node can be correctly deleted by the server 200. For the relationship node, after the server 200 receives the directory deletion instruction, the position of the relationship node to be deleted may be determined, and then the relationship node may be deleted from the directory without checking.
in an embodiment, when the directory operation instruction is a directory modification instruction, a directory addition instruction, or a directory deletion instruction, the server 200 may obtain and store corresponding operation information (e.g., information about what a specific operation instruction is, what a specific operation object is, etc.). The server 200 may also store the directory information of the directory at certain operation intervals (e.g., every two operation intervals), and store the number of times the directory has been changed, which may be compared with the number of recording operations in the memory directory to ensure consistency of storage. The whole data catalog is existed in the memory and the disk storage at the same time, and only the operation of changing the catalog is sent to the disk storage.
In one embodiment, the directory in which the server 200 needs to operate may be a tree directory for managing government affairs data.
when government affair data is managed, a database is mainly used for managing the government affair data in the traditional technology, and when the government affair data is managed in the database mode, only special fields can be set to mark the owner of each entry, or the data is divided into a plurality of tables according to the organization level for storage and management. When the government affair data is more, the added fields occupy extra storage space, the performance of multi-table query is greatly influenced by massive data tables, and the database scheme is a flat method, has fewer layers, is difficult to manage the access authority of the government affair data resources and is not beneficial to maintaining the government affair data resources.
The embodiment manages government affairs data by adopting a tree directory, and the tree directory can comprise a plurality of data nodes and relationship nodes. The data nodes are configured in a tree-shaped directory according to the hierarchical relationship of the organization, and can also be provided with data leaf nodes which are mainly used for linking and describing government affair data; and the relationship node is used for storing the constraint relationship of any two data leaf nodes. The scheme of the embodiment can use the tree structure to organize the government affair data resources according to the logic of the government affair organization, has clear hierarchy, is convenient for business processing, and is convenient for the work of data management and development based on the business in the future.
In an example application, there is provided a catalog management system, which can be used for managing government affairs data, and referring to fig. 3, fig. 3 is a block diagram of a structure of the catalog management system in an embodiment, which can include: the device comprises an operation distribution module, a directory operation module, a storage module, a log module and an exception handling module; the directory operation module can comprise a relation node operation module and a data node operation module; the storage module may be used for operation storage and directory storage. The application example can manage the government affair data resources by using a tree-shaped directory, data nodes in the tree-shaped directory represent the levels of organizations on the actual business or the levels of affairs, data leaf nodes under the data nodes link and describe the government affair data resources, the directory further comprises a class of nodes as relationship nodes, and the relationship nodes can store the constraint relationship of some two data leaf nodes, for example, when a certain data leaf node or a parent node thereof is deleted, whether the data leaf node has the constraint relationship with other data nodes or not is checked in the relationship nodes.
Referring to fig. 4, fig. 4 is a flowchart illustrating a process of the directory management system in an embodiment, where the specific data process flow is as follows:
In step S201, for a directory management request (for adding, deleting, modifying or querying a data node, a data leaf node or a relationship node), the operation allocation module allocates the requests to the corresponding directory operation modules for processing, and the allocated directory operation modules are recorded by the log module. For the directory management request which can not be processed by finding the corresponding method, an operation exception will be generated, and the exception information will be recorded by the log module.
In step S202, the directory operation module performs corresponding operations on the directory according to the operation instruction carried in the previous directory management request, where the directory operation module is divided into a data node operation module and a relationship node operation module, which include sub operation modules for respective types of nodes.
Specifically, when querying the relationship node and querying the data node, the attribute information in the corresponding node is extracted. When the data nodes are added, the positions, names and other specific attributes of the nodes are set according to the operation instructions carried in the request; when the relationship node is added, the node with the constraint relationship is checked to check whether the node with the constraint relationship exists in the directory, if so, the relationship node is added, otherwise, the operation abnormity can be generated. When the data node is modified, the position of the data node to be modified is determined according to the instruction carried by the request, and the information of the data node is updated; when the relationship node is modified, the position of the relationship node to be modified is determined according to the instruction carried by the request, the information of the node is updated, before the update, whether the associated node exists needs to be checked, and if the associated node exists, the information of the node is updated. When deleting a data node, firstly checking whether the node and child nodes thereof exist and whether constraints exist, and only the nodes which do exist and have no relation node constraints can be correctly deleted; when the relation node is deleted, the relation node is directly removed from the directory without checking.
The above directory operations such as addition, deletion and modification involve the change of the directory, and in order to ensure that the directory operation sequence is consistent with the sequence of the management requests, an operation power of the directory (i.e. the directory operation sequence number) is set, and is increased by 1 every time the directory is successfully modified, and each directory management request involved in the directory modification must have an operation power, and the directory operation module only operates the management requests with more than one operation power than the current operation power.
The abnormal processing module participates in the operation process of the directory, when the position of a positioned node does not exist when the node is sent to add, modify, inquire or delete the node, when the associated node does not exist when the node is added to modify the relationship node or when the data node is deleted, the node still has related node constraint and the like, the operation is abnormal, the abnormal information is generated by the abnormal processing module, and the log module outputs the abnormal information to the log.
in step S203, the result information of the directory operation in step S202 may be returned to the user, the returned information of the successful operation will be in the HTTP 200 state and carries the operation power of the current directory, and the query request will additionally return the information of the expected query node; and if the operation fails, an HTTP 500 error is returned, and the operation power and error reason prompt information of the current directory are carried, so that the user can conveniently check and correct the error.
further, in order to implement persistent storage of the directory, the directory storage module stores operation information capable of generating a directory change, stores the directory information at intervals of two operations, stores the number of times that the directory has been changed, and compares the number of times with the number of times of record operations in the memory directory to ensure consistency of storage.
this application example can carry out the arborescent directory organization with government affairs data resource according to government affairs agency logic for the hierarchy is more clear, causes the problem of complicated authority distribution when can avoiding database resource management, can carry out authority management's control more clearly, has protected government affairs data resource more effectively, and carries out arborescent organization management to government affairs data resource, can also reduce the overhead that directory operations such as data inquiry caused, promotes the efficiency of directory operation.
In an embodiment, there is provided a directory operation apparatus, and referring to fig. 5, fig. 5 is a block diagram illustrating a structure of the directory operation apparatus in an embodiment, where the directory operation apparatus may include:
A first obtaining module 101, configured to obtain a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number;
The second obtaining module 102 is configured to obtain a locally pre-stored historical operation serial number;
A difference value obtaining module 103, configured to perform difference processing on the current operation serial number and the historical operation serial number, and obtain a difference value between the current operation serial number and the historical operation serial number;
And the operation execution module 104 is configured to execute a corresponding operation on the directory according to the directory operation instruction if the difference is the same as the set serial number increment.
In one embodiment, the method may further include:
and the serial number updating unit is used for sending the historical operation serial number to the terminal if the difference value is different from the set serial number increment, and is used for indicating the terminal to update the current operation serial number based on the historical operation serial number.
in one embodiment, the method may further include:
An operation result acquisition unit configured to acquire a directory operation result of operating a directory;
And the operation success processing unit is used for updating the historical operation serial number by using the serial number increment if the operation result of the directory is that the operation is successful, and sending the updated historical operation serial number to the terminal.
In one embodiment, the method may further include:
The operation failure processing unit is used for acquiring reason prompt information of operation failure if the directory operation result is operation failure; and sending the reason prompt information and the historical operation serial number to the terminal.
In one embodiment, the directory operation instructions may include directory query instructions, directory modification instructions, directory add instructions, and/or directory delete instructions; the directory query instruction is used for querying nodes of the directory; the directory modification instruction is used for modifying the nodes of the directory; the directory adding instruction is used for adding a node of the directory; the directory delete instruction is used to delete a node of the directory.
In one embodiment, the nodes of the directory may include data nodes and relationship nodes; the number of the data nodes is multiple, and the data nodes are configured in the directory according to a set hierarchical relationship; and the relation node is used for recording the incidence relation among the data nodes.
In one embodiment, the directory operation instruction is a directory query instruction; the operation execution module 104 is further configured to: and acquiring node information of the node, and sending the node information to the terminal.
In one embodiment, the directory operation instruction is a directory modification instruction; the operation execution module 104 is further configured to: if the node is a data node, updating node information of the data node according to the modification content carried by the directory modification instruction; and if the node is the relational node, determining the associated node according to the modification content carried by the directory modification instruction, judging whether the associated node exists, and if so, updating the node information of the relational node according to the node information of the associated node.
In one embodiment, the directory operation instruction is a directory add instruction; the operation execution module 104 is further configured to: if the node is a data node, newly adding the data node in the directory by using newly added data node information carried by the directory adding instruction; if the node is a relationship node, judging whether the corresponding associated node exists in the directory according to the information of the newly added relationship node carried by the directory adding instruction, and if so, newly adding the relationship node in the directory.
In one embodiment, the directory operation instruction is a directory delete instruction; the operation execution module 104 is further configured to: if the node is a data node, judging whether a related node associated with the data node exists in the directory by using the relational node, and if not, deleting the data node; and if the node is the relation node, deleting the relation node.
In one embodiment, the method may further include:
and the information processing unit is used for acquiring and storing corresponding operation information if the directory operation instruction is a directory modification instruction, a directory adding instruction or a directory deleting instruction, storing the directory information of the directory according to a certain operation interval, storing the number of times that the directory has been changed, comparing the number of times that the directory has been changed with the number of times of recording operation in the memory directory, and judging the storage consistency of the directory information according to the comparison result.
in one embodiment, the directory is a tree directory for managing government data; the tree directory comprises a plurality of data nodes and relationship nodes; a plurality of data nodes are configured in the tree directory according to the hierarchical relationship of the mechanism; the data nodes are provided with data leaf nodes and used for linking and describing government affair data; and the relation node is used for storing the constraint relation of any two data leaf nodes.
The directory operation device of the present invention corresponds to the directory operation method of the present invention one to one, and for the specific limitations of the directory operation device, reference may be made to the limitations of the directory operation method in the foregoing. The modules in the directory operation device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
in one embodiment, a computer device is provided, the computer device may be a server, the internal structure of which may be as shown in fig. 6, fig. 6 is an internal structure of the computer device in one embodiment. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a directory operation method.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
in one embodiment, a computer device is provided, comprising a processor and a memory, the memory storing a computer program, the processor implementing the directory operation method as described in any one of the above embodiments when executing the computer program.
In one embodiment, there is provided a computer device comprising a processor and a memory, the memory storing a computer program which when executed by the processor performs the steps of:
Acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number; acquiring a locally pre-stored historical operation serial number; performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number; and if the difference value is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
And if the difference value is different from the set serial number increment, sending the historical operation serial number to the terminal, and indicating the terminal to update the current operation serial number based on the historical operation serial number.
in one embodiment, the processor, when executing the computer program, further performs the steps of:
Acquiring a directory operation result for operating a directory; and if the directory operation result is that the operation is successful, updating the historical operation serial number by using the serial number increment, and sending the updated historical operation serial number to the terminal.
in one embodiment, the processor, when executing the computer program, further performs the steps of:
if the directory operation result is operation failure, acquiring reason prompt information of the operation failure; and sending the reason prompt information and the historical operation serial number to the terminal.
In one embodiment, the directory operation instructions include directory query instructions, directory modification instructions, directory add instructions, and/or directory delete instructions; the directory query instruction is used for querying nodes of the directory; the directory modification instruction is used for modifying the nodes of the directory; the directory adding instruction is used for adding a node of the directory; the directory delete instruction is used to delete a node of the directory.
In one embodiment, the nodes of the directory include data nodes and relationship nodes; the number of the data nodes is multiple, and the data nodes are configured in the directory according to a set hierarchical relationship; and the relation node is used for recording the incidence relation among the data nodes.
In one embodiment, the directory operation instruction is a directory query instruction; the processor, when executing the computer program, further performs the steps of: and acquiring node information of the node, and sending the node information to the terminal.
In one embodiment, the directory operation instruction is a directory modification instruction; the processor, when executing the computer program, further performs the steps of: if the node is a data node, updating node information of the data node according to the modification content carried by the directory modification instruction; and if the node is the relational node, determining the associated node according to the modification content carried by the directory modification instruction, judging whether the associated node exists, and if so, updating the node information of the relational node according to the node information of the associated node.
in one embodiment, the directory operation instruction is a directory add instruction; the processor, when executing the computer program, further performs the steps of: if the node is a data node, newly adding the data node in the directory by using newly added data node information carried by the directory adding instruction; if the node is a relationship node, judging whether the corresponding associated node exists in the directory according to the information of the newly added relationship node carried by the directory adding instruction, and if so, newly adding the relationship node in the directory.
In one embodiment, the directory operation instruction is a directory delete instruction; the processor, when executing the computer program, further performs the steps of: if the node is a data node, judging whether a related node associated with the data node exists in the directory by using the relational node, and if not, deleting the data node; and if the node is the relation node, deleting the relation node.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
If the directory operation instruction is a directory modification instruction, a directory addition instruction or a directory deletion instruction, acquiring and storing corresponding operation information, storing the directory information of the directory according to a certain operation interval, storing the times of the directory which is changed, comparing the times with the recording operation times in the memory directory, and judging the storage consistency of the directory information according to the comparison result.
in one embodiment, the directory is a tree directory for managing government data; the tree directory comprises a plurality of data nodes and relationship nodes; a plurality of data nodes are configured in the tree directory according to the hierarchical relationship of the mechanism; the data nodes are provided with data leaf nodes and used for linking and describing government affair data; and the relation node is used for storing the constraint relation of any two data leaf nodes.
According to the computer equipment, when a catalog operation request is received, the current operation serial number carried by the catalog operation request is firstly differed from the historical operation serial number through the computer program running on the processor, so that the difference value is obtained, if the difference value is the same as the set serial number increment, the catalog operation instruction can be judged to be an effective operation instruction, then corresponding operation can be executed on the catalog according to the catalog operation instruction, the operation sequence of the catalog can be consistent with the management sequence of the request, the problem that the catalog operation is mistakenly operated due to disorder of the catalog operation sequence and the catalog needs to be repeatedly operated for many times is avoided, and the efficiency of operating the catalog is improved.
It will be understood by those skilled in the art that all or part of the processes of the directory operation method described in any of the above embodiments may be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and the computer program can include the processes of the above embodiments of the methods when executed. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
accordingly, in an embodiment, a computer-readable storage medium is also provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the directory operation method as described in any one of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
Acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number; acquiring a locally pre-stored historical operation serial number; performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number; and if the difference value is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
In one embodiment, the computer program when executed by the processor further performs the steps of:
And if the difference value is different from the set serial number increment, sending the historical operation serial number to the terminal, and indicating the terminal to update the current operation serial number based on the historical operation serial number.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Acquiring a directory operation result for operating a directory; and if the directory operation result is that the operation is successful, updating the historical operation serial number by using the serial number increment, and sending the updated historical operation serial number to the terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
If the directory operation result is operation failure, acquiring reason prompt information of the operation failure; and sending the reason prompt information and the historical operation serial number to the terminal.
In one embodiment, the directory operation instructions include directory query instructions, directory modification instructions, directory add instructions, and/or directory delete instructions; the directory query instruction is used for querying nodes of the directory; the directory modification instruction is used for modifying the nodes of the directory; the directory adding instruction is used for adding a node of the directory; the directory delete instruction is used to delete a node of the directory.
In one embodiment, the nodes of the directory include data nodes and relationship nodes; the number of the data nodes is multiple, and the data nodes are configured in the directory according to a set hierarchical relationship; and the relation node is used for recording the incidence relation among the data nodes.
In one embodiment, the directory operation instruction is a directory query instruction; the computer program when executed by the processor further realizes the steps of: and acquiring node information of the node, and sending the node information to the terminal.
In one embodiment, the directory operation instruction is a directory modification instruction; the computer program when executed by the processor further realizes the steps of: if the node is a data node, updating node information of the data node according to the modification content carried by the directory modification instruction; and if the node is the relational node, determining the associated node according to the modification content carried by the directory modification instruction, judging whether the associated node exists, and if so, updating the node information of the relational node according to the node information of the associated node.
in one embodiment, the directory operation instruction is a directory add instruction; the computer program when executed by the processor further realizes the steps of: if the node is a data node, newly adding the data node in the directory by using newly added data node information carried by the directory adding instruction; if the node is a relationship node, judging whether the corresponding associated node exists in the directory according to the information of the newly added relationship node carried by the directory adding instruction, and if so, newly adding the relationship node in the directory.
In one embodiment, the directory operation instruction is a directory delete instruction; the computer program when executed by the processor further realizes the steps of: if the node is a data node, judging whether a related node associated with the data node exists in the directory by using the relational node, and if not, deleting the data node; and if the node is the relation node, deleting the relation node.
in one embodiment, the computer program when executed by the processor further performs the steps of:
If the directory operation instruction is a directory modification instruction, a directory addition instruction or a directory deletion instruction, acquiring and storing corresponding operation information, storing the directory information of the directory according to a certain operation interval, storing the times of the directory which is changed, comparing the times with the recording operation times in the memory directory, and judging the storage consistency of the directory information according to the comparison result.
In one embodiment, the directory is a tree directory for managing government data; the tree directory comprises a plurality of data nodes and relationship nodes; a plurality of data nodes are configured in the tree directory according to the hierarchical relationship of the mechanism; the data nodes are provided with data leaf nodes and used for linking and describing government affair data; and the relation node is used for storing the constraint relation of any two data leaf nodes.
according to the computer readable storage medium, when a directory operation request is received, a difference value is obtained by subtracting a current operation serial number carried by the directory operation request from a historical operation serial number through a computer program stored in the computer readable storage medium, if the difference value is the same as a set serial number increment, the directory operation instruction can be judged to be an effective operation instruction, then corresponding operation can be executed on the directory according to the directory operation instruction, the operation sequence of the directory can be consistent with the management sequence of the request, the problem that the directory operation sequence is disordered to generate misoperation and the directory needs to be operated repeatedly for many times is avoided, and the efficiency of operating the directory is improved.
the technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. a method of directory operations, comprising the steps of:
Acquiring a directory operation request of a terminal; the directory operation request carries a directory operation instruction and a current operation serial number;
Acquiring a locally pre-stored historical operation serial number;
performing difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number;
And if the difference is the same as the set serial number increment, executing corresponding operation on the directory according to the directory operation instruction.
2. the method of claim 1, further comprising the step of:
And if the difference is different from the set serial number increment, sending the historical operation serial number to the terminal, and indicating the terminal to update the current operation serial number based on the historical operation serial number.
3. The method according to claim 1, further comprising, after the step of performing the corresponding operation on the directory according to the directory operation instruction:
Acquiring a directory operation result for operating the directory;
And if the directory operation result is successful, updating the historical operation serial number by using the serial number increment, and sending the updated historical operation serial number to the terminal.
4. the method of claim 3, further comprising the step of:
If the directory operation result is operation failure, acquiring reason prompt information of the operation failure;
and sending the reason prompt information and the historical operation serial number to the terminal.
5. the method according to any one of claims 1 to 4, wherein the directory operation instruction comprises a directory query instruction, a directory modification instruction, a directory addition instruction, and/or a directory deletion instruction; the directory query instruction is used for querying nodes of the directory; the directory modification instruction is used for modifying the nodes of the directory; the directory adding instruction is used for adding nodes of the directory; the directory deletion instruction is used for deleting the nodes of the directory.
6. the method of claim 5, wherein the nodes of the directory comprise data nodes and relationship nodes; the number of the data nodes is multiple, and the data nodes are configured in the directory according to a set hierarchical relationship; and the relationship node is used for recording the incidence relationship among the plurality of data nodes.
7. The method of claim 6,
the directory operation instruction is a directory query instruction; the step of executing the corresponding operation on the directory according to the directory operation instruction comprises the following steps: acquiring node information of the node, and sending the node information to the terminal;
The directory operation instruction is a directory modification instruction; the step of executing the corresponding operation on the directory according to the directory operation instruction comprises the following steps: if the node is a data node, updating the node information of the data node according to the modification content carried by the directory modification instruction; if the node is a relational node, determining a related node according to the modification content carried by the directory modification instruction, judging whether the related node exists, and if so, updating the node information of the relational node according to the node information of the related node;
The directory operation instruction is a directory adding instruction; the step of executing the corresponding operation on the directory according to the directory operation instruction comprises the following steps: if the node is a data node, newly adding the data node in the directory by using newly added data node information carried by the directory adding instruction; if the node is a relationship node, judging whether a corresponding associated node exists in the directory according to newly added relationship node information carried by the directory adding instruction, if so, newly adding the relationship node in the directory;
And/or
the directory operation instruction is a directory deletion instruction; the step of executing the corresponding operation on the directory according to the directory operation instruction comprises the following steps: if the node is a data node, judging whether a related node associated with the data node exists in the directory by using a relation node, and if not, deleting the data node; and if the node is a relation node, deleting the relation node.
8. The method of claim 7, further comprising the step of:
if the directory operation instruction is a directory modification instruction, a directory addition instruction or a directory deletion instruction, acquiring and storing corresponding operation information, storing the directory information of the directory according to a certain operation interval, storing the times of the directory which has been changed, comparing the times with the recording operation times in the memory directory, and judging the storage consistency of the directory information according to the comparison result.
9. the method according to claim 1, wherein the directory is a tree directory for managing government affairs data; wherein the tree directory comprises a plurality of data nodes and relationship nodes; the data nodes are configured in the tree directory according to the hierarchical relationship of the mechanism; the data nodes are provided with data leaf nodes and used for linking and describing the government affair data; and the relationship node is used for storing the constraint relationship of any two data leaf nodes.
10. A directory operation apparatus, comprising:
the first acquisition module is used for acquiring a directory operation request of the terminal; the directory operation request carries a directory operation instruction and a current operation serial number;
The second acquisition module is used for acquiring a locally pre-stored historical operation serial number;
A difference value obtaining module, configured to perform difference processing on the current operation serial number and the historical operation serial number to obtain a difference value between the current operation serial number and the historical operation serial number;
and the operation execution module is used for executing corresponding operation on the directory according to the directory operation instruction if the difference value is the same as the set serial number increment.
11. a computer device comprising a processor and a memory, said memory storing a computer program, characterized in that said processor, when executing said computer program, implements the steps of the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN201910649493.4A 2019-07-18 2019-07-18 Directory operation method and device, computer equipment and storage medium Active CN110543465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910649493.4A CN110543465B (en) 2019-07-18 2019-07-18 Directory operation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910649493.4A CN110543465B (en) 2019-07-18 2019-07-18 Directory operation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110543465A true CN110543465A (en) 2019-12-06
CN110543465B CN110543465B (en) 2022-10-25

Family

ID=68710456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910649493.4A Active CN110543465B (en) 2019-07-18 2019-07-18 Directory operation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110543465B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134884A (en) * 2020-09-23 2020-12-25 普联技术有限公司 Message serial number updating method
CN115794853A (en) * 2023-02-03 2023-03-14 天翼云科技有限公司 Method and device for updating government affair data resource catalog, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196929A (en) * 2007-12-29 2008-06-11 中国科学院计算技术研究所 Metadata management method for splitting name space
US20080270629A1 (en) * 2007-04-27 2008-10-30 Yahoo! Inc. Data snychronization and device handling using sequence numbers
CN106126583A (en) * 2016-06-20 2016-11-16 环球大数据科技有限公司 The collection group strong compatibility processing method of a kind of distributed chart database and system
CN109471838A (en) * 2018-10-19 2019-03-15 天津字节跳动科技有限公司 The operating method of Catalog Documents, device, electronic equipment, readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270629A1 (en) * 2007-04-27 2008-10-30 Yahoo! Inc. Data snychronization and device handling using sequence numbers
CN101196929A (en) * 2007-12-29 2008-06-11 中国科学院计算技术研究所 Metadata management method for splitting name space
CN106126583A (en) * 2016-06-20 2016-11-16 环球大数据科技有限公司 The collection group strong compatibility processing method of a kind of distributed chart database and system
CN109471838A (en) * 2018-10-19 2019-03-15 天津字节跳动科技有限公司 The operating method of Catalog Documents, device, electronic equipment, readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134884A (en) * 2020-09-23 2020-12-25 普联技术有限公司 Message serial number updating method
CN112134884B (en) * 2020-09-23 2022-10-14 普联技术有限公司 Message serial number updating method
CN115794853A (en) * 2023-02-03 2023-03-14 天翼云科技有限公司 Method and device for updating government affair data resource catalog, electronic equipment and medium

Also Published As

Publication number Publication date
CN110543465B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN109558440B (en) Data batch processing method and device, computer equipment and storage medium
CN107391758B (en) Database switching method, device and equipment
CN109766349B (en) Task duplicate prevention method, device, computer equipment and storage medium
CN111181975B (en) Account management method, device, equipment and storage medium
CN112363979A (en) Distributed index method and system based on graph database
CN110781214A (en) Database reading and writing method and device, computer equipment and storage medium
CN109460252B (en) Configuration file processing method and device based on git and computer equipment
CN112965936B (en) Processing method, device, equipment and storage medium of heterogeneous distributed model
CN110543465B (en) Directory operation method and device, computer equipment and storage medium
CN110727724A (en) Data extraction method and device, computer equipment and storage medium
CN112613993A (en) Transaction data processing method and device, computer equipment and storage medium
US9513997B2 (en) Test data management
CN110008665B (en) Authority control method and device for blockchain
CN112632375B (en) Session information processing method, server and storage medium
CN112363997B (en) Data version management method, device and storage medium
US20240037264A1 (en) Systems and methods for providing network-based permissioning using security node hash identifiers
CN116070294B (en) Authority management method, system, device, server and storage medium
CN113535563A (en) Test case duplication removing method and device, computer equipment and storage medium
CN112069223A (en) Data acquisition demand processing method and device, computer equipment and storage medium
CN109101232B (en) Method, device, computer equipment and storage medium for product development
CN115203260A (en) Abnormal data determination method and device, electronic equipment and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN111708795A (en) Object identification generation method, object identification updating device, computer equipment and medium
CN114268540B (en) Rule engine optimization method, device and equipment
CN116302206B (en) Presto data source hot loading method based on MQ

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