CN111506571A - Management method, device and equipment of short link data and storage medium - Google Patents

Management method, device and equipment of short link data and storage medium Download PDF

Info

Publication number
CN111506571A
CN111506571A CN202010170595.0A CN202010170595A CN111506571A CN 111506571 A CN111506571 A CN 111506571A CN 202010170595 A CN202010170595 A CN 202010170595A CN 111506571 A CN111506571 A CN 111506571A
Authority
CN
China
Prior art keywords
data
short link
link data
user
updated
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.)
Pending
Application number
CN202010170595.0A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010170595.0A priority Critical patent/CN111506571A/en
Publication of CN111506571A publication Critical patent/CN111506571A/en
Pending legal-status Critical Current

Links

Images

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • 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/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a management method, a device, equipment and a storage medium of short link data, namely judging whether a current user is a common user; if the current user is the common user, processing the first short link data in a first data table based on a first operation instruction to generate target short link data; and when a data updating instruction triggered by the authority user is received, updating short link data to be updated in the second data table into target short link data based on the position of the target short link data in the first data table, and applying the updated second data table to the server. According to the data updating method and the data updating system, the two tables are provided, the first data table is used for recording data updating operation of the user, when the authorized user passes the data updating request submitted by the user, the data updating operation is synchronized to the second data table, and the second data table is pushed to the server for use, so that the management efficiency of short link data is improved, and the user experience is improved.

Description

Management method, device and equipment of short link data and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for managing short link data.
Background
At present, when system short link (i.e. short address) data maintenance is performed, if a user submits a delete or modify request, an administrator changes the state of the short link data into modification in a data table, and before the administrator does not approve or after the administrator rejects modification, the states of the short link data are all in modification, so that the short link data cannot be used, the user cannot enter a destination page based on the short link data, the management efficiency of the short link data is reduced, and the user experience is reduced. Therefore, how to solve the problem of low management efficiency of the conventional short link data becomes a technical problem to be solved at present.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for managing short link data and a computer readable storage medium, and aims to solve the technical problem that the existing short link data management efficiency is low.
In order to achieve the above object, the present invention provides a method for managing short link data, comprising the steps of:
when a data operation instruction triggered by user operation is received, judging whether a current user is a common user or not;
if the current user is the common user, determining a first operation instruction and first short link data based on the data operation instruction, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data;
when a data updating instruction triggered by an authority user is received, determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated into the target short link data;
and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
Optionally, after the step of determining a first operation instruction and first short link data based on the data operation instruction and processing the first short link data in a first data table based on the first operation instruction to generate target short link data, if the current user is the common user, the method further includes:
when detecting that data updating occurs in the first data table, acquiring current updated short link data in the first data table;
and generating a data updating request according to the data identifier corresponding to the current updating short-link data, and sending the data updating request to the authority user so that the authority user can examine and approve the updating operation corresponding to the current updating short-link data.
Optionally, when a data update instruction triggered by an authorized user is received, the step of determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated to the target short link data specifically includes:
when a data updating instruction triggered by the authority user based on the data updating request is received, determining the position of the target short link data in the first data table, and determining the target component ID of the target short link data according to the position;
synchronizing a data update operation in the first data table to the second data table based on the target component ID;
and determining short link data to be updated in the second data table, and updating the short link data to be updated into the target short link data.
Optionally, after the step of generating a data update request according to the data identifier corresponding to the currently updated short link data and sending the data update request to the authorized user so that the authorized user approves the update operation corresponding to the currently updated short link data, the method further includes:
if an update rejection instruction triggered by the authority user based on the data update request is received, modifying the current updated short link data into initial short link data before updating in the first data table;
and generating a failure reminding message that the data updating request is not approved, and sending the failure reminding message to the current user so as to remind the current user that the data updating request submitted by the current user is not approved.
Optionally, after the step of determining whether the current user is an authorized user or an ordinary user when the data operation instruction triggered by the user operation is received, the method further includes:
if the current user is not the ordinary user, when the current user is the authority user, second short link data in the data operation instruction is acquired and serves as short link data to be updated;
according to a second operation instruction in the data operation instructions, performing corresponding updating operation on the short link data to be updated in the second data table;
and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
Optionally, the step of mapping the updated second data table with the server to apply the updated second data table to the server specifically includes:
storing the updated second data table to a memory database Redis, and establishing mapping connection between the updated second data table in the Redis and the server so as to apply the updated second data table to the server.
Optionally, after the step of determining short link data to be updated in a second data table based on the position of the target short link data in the first data table when a data update instruction triggered by an authorized user is received, and updating the short link data to be updated to the target short link data, the method further includes:
when detecting that data updating occurs in the second data table, acquiring a data updating record in the second data table, and adding the data updating record to a data updating list;
and when the data updating abnormity is detected, rolling back the data according to the data updating record in the data updating list.
In addition, to achieve the above object, the present invention provides a short link data management device, including:
the user identity judging module is used for judging whether the current user is a common user or not when receiving a data operation instruction triggered by user operation;
the first data updating module is used for determining a first operation instruction and first short link data based on the data operation instruction if the current user is the common user, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data;
the second data updating module is used for determining short link data to be updated in a second data table based on the position of the target short link data in the first data table when a data updating instruction triggered by an authority user is received, and updating the short link data to be updated into the target short link data;
and the updated data application module is used for establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
In addition, in order to achieve the above object, the present invention further provides a management device for short link data, which includes a processor, a memory, and a management program for short link data stored on the memory and executable by the processor, wherein when the management program for short link data is executed by the processor, the steps of the management method for short link data as described above are implemented.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a short link data management program, wherein when the short link data management program is executed by a processor, the steps of the short link data management method are implemented.
The invention provides a management method of short link data, which judges whether a current user is a common user or not when receiving a data operation instruction triggered by user operation; if the current user is the common user, determining a first operation instruction and first short link data based on the data operation instruction, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data; when a data updating instruction triggered by an authority user is received, determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated into the target short link data; and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server. Through the mode, the two tables are provided, the first data table is used for recording the data updating operation of the user, when the authorized user passes the data updating request submitted by the user, the data updating operation is synchronized to the second data table, and the second data table is pushed to the server for using the short link data, so that the short link data failure caused by the user updating operation can be prevented, the modification operation of the receiving user and the background updating operation of the data can be simultaneously carried out, the management efficiency of the short link data is improved, the user experience is improved, and the technical problem of low management efficiency of the existing short link data is solved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of a short link data management device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for managing short-link data according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a short-link data management method according to the present invention;
FIG. 4 is a flowchart illustrating a method for managing short-link data according to a third embodiment of the present invention;
fig. 5 is a functional block diagram of a management apparatus for short link data according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
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 short link data management method related in the embodiment of the invention is mainly applied to short link data management equipment, and the short link data management equipment can be equipment with display and processing functions, such as a PC (personal computer), a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a short link data management device according to an embodiment of the present invention. In this embodiment of the present invention, the short link data management device may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the management device of short link data, and may include more or less components than those shown, or combine some components, or a different arrangement of components.
With continued reference to FIG. 1, memory 1005 of FIG. 1, which is one type of computer-readable storage medium, may include an operating system, a network communication module, and a short link data hypervisor.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; the processor 1001 may call a management program of short link data stored in the memory 1005, and execute the method for managing short link data according to the embodiment of the present invention.
The embodiment of the invention provides a management method of short link data.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for managing short link data according to a first embodiment of the present invention.
In this embodiment, the management method of the short link data includes the following steps:
step S10, when receiving a data operation instruction triggered by user operation, judging whether the current user is a common user;
when system short link (namely short address) data maintenance is carried out, if a user submits a delete or modify request, an administrator can change the state of the short link data into modification in a data table, and before the administrator does not approve or after the administrator refuses to modify, the states of the short link data are all modified, so that the short link data cannot be used, the user cannot enter a target page based on the short link data, the management efficiency of the short link data is reduced, and the user experience is reduced. In order to solve the above problem, in this embodiment, two tables are provided, where a first data table is used to record data update operation of a user, and when an authorized user passes a data update request submitted by the user, the data update operation is synchronized to a second data table, and the second data table is pushed to a server to use short link data, so that not only can failure of the short link data caused by the user update operation be prevented, but also a modification operation of a receiving user and a background update operation of the data can be performed at the same time, and management efficiency of the short link data is improved. Specifically, one of the data tables visible to the user, namely a first data table (called A), and the other data table really effective, namely a second data table (B), wherein the data of the A table is associated with the data of the B table, the data of the B table cannot be changed no matter how the user operates the A data, and the A data can be synchronized to the B data only after an authorized person (an administrator) passes the approval. When a data operation instruction of a user is received, whether the current user is an authorized user or a common user is judged, and whether the data is modified in the A table or the B table is determined according to the user identity.
Step S20, if the current user is the common user, determining a first operation instruction and first short link data based on the data operation instruction, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data;
in this embodiment, if the current user is a common user, a current operation instruction and current short link data are determined based on a data operation instruction triggered by the current user operation, where the current operation instruction is a corresponding instruction triggered by an operation such as application, modification, or deletion of the current user, and the current short link data is short link data selected by the user in the first data table or short link data imported from the outside. Then, the current short link data is newly added in the first data table or the short link data selected by the user is used as the current short link data to perform corresponding operation of the current operation instruction, such as modification or deletion operation, so that the corresponding target short link data is generated in the first data table.
Step S30, when a data updating instruction triggered by an authorized user is received, determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated into the target short link data;
in this embodiment, when a data update instruction triggered by an operation approved by an authorized user is received, the short link data to be updated is determined in the second data table based on the target short link data identifier in the data update instruction. And then, based on the data updating operation in the first data table, performing data updating on short link data to be updated in the second data table to generate target short link data.
Step S40, establishing a mapping connection between the updated second data table and the server, so as to apply the updated second data table to the server.
In this embodiment, a mapping connection is established between the updated second data table and the server, and short link data in the updated second data table is mapped to the server, that is, the updated second data table is applied to the server, so that the updated target short link data becomes effective, and a user can conveniently click the short link data in the server to access a corresponding page.
Further, after the step S40, the method further includes:
when detecting that data updating occurs in the second data table, acquiring a data updating record in the second data table, and adding the data updating record to a data updating list;
and when the data updating abnormity is detected, rolling back the data according to the data updating record in the data updating list.
In this embodiment, in order to cancel the data update operation, when it is detected that the second data table has data update, that is, the generation data has update operation, the data update record corresponding to the currently updated data is added to the data update list. And when data updating abnormity is detected, such as data updating interruption caused by power failure and network disconnection, or when a data rollback instruction is received, performing corresponding data rollback according to the data updating record. In further embodiments, data rollback may be performed for a corresponding operation user, for example, data rollback is performed on a data update record corresponding to the general user a.
The embodiment provides a short link data management method, which judges whether a current user is a common user or not by receiving a data operation instruction triggered by user operation; if the current user is the common user, determining a first operation instruction and first short link data based on the data operation instruction, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data; when a data updating instruction triggered by an authority user is received, determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated into the target short link data; and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server. Through the mode, the two tables are provided, the first data table is used for recording the data updating operation of the user, when the authorized user passes the data updating request submitted by the user, the data updating operation is synchronized to the second data table, and the second data table is pushed to the server for using the short link data, so that the short link data failure caused by the user updating operation can be prevented, the modification operation of the receiving user and the background updating operation of the data can be simultaneously carried out, the management efficiency of the short link data is improved, the user experience is improved, and the technical problem of low management efficiency of the existing short link data is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a short-link data management method according to the present invention.
Based on the foregoing embodiment shown in fig. 2, in this embodiment, after step S20, the method further includes:
step S50, when detecting that the data in the first data table is updated, acquiring the current updated short link data in the first data table;
and step S60, generating a data updating request according to the data identification corresponding to the current updating short-link data, and sending the data updating request to the authority user so that the authority user can examine and approve the updating operation corresponding to the current updating short-link data.
Wherein, step S50 specifically includes:
when a data updating instruction triggered by the authority user based on the data updating request is received, determining the position of the target short link data in the first data table, and determining the target component ID of the target short link data according to the position;
synchronizing a data update operation in the first data table to the second data table based on the target component ID;
and determining short link data to be updated in the second data table, and updating the short link data to be updated into the target short link data.
In this embodiment, when it is detected that data update occurs in the first data table, current updated short link data in the first data table, that is, relevant short link data before and after the update and a data identifier corresponding to the updated data are obtained, where the data identifier is used to identify the updated data, such as a component ID. The first data table and the second data table have the same component ID, and therefore the updating operation of the data in the first data table can be synchronized to the second data table based on the component ID. And generating a corresponding data updating request according to the current short link data before and after updating and the data identifier corresponding to the current data. The data updating request is a request for synchronizing the data updating operation in the first data table to the second data table. And sending the data updating request to an authorized user so that the authorized user can verify the data updating request according to a relevant verification rule, such as accepting a modification operation or refusing the modification operation. And triggers the corresponding data update instruction (receives the modification operation trigger) or rejects the update instruction (rejects the modification operation).
Further, after the step S60, the method further includes:
if an update rejection instruction triggered by the authority user based on the data update request is received, modifying the current updated short link data into initial short link data before updating in the first data table;
and generating a failure reminding message that the data updating request is not approved, and sending the failure reminding message to the current user so as to remind the current user that the data updating request submitted by the current user is not approved.
In this embodiment, if the update data in the data update request passes the audit of the authorized user, the authorized user may trigger a rejection update instruction. When the update refusing instruction is detected, rolling back the update operation corresponding to the current updated short link data in the first data table, and returning back the initial short link data before modification. And meanwhile, generating a failure reminding message which fails to pass the examination and approval, and sending the failure reminding message to the current user initiating the data updating request so as to remind the current user that the data updating request submitted by the current user fails to pass the examination and approval.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for managing short link data according to a third embodiment of the present invention.
Based on the foregoing embodiment shown in fig. 3, in this embodiment, after step S10, the method further includes:
step S70, if the current user is not the ordinary user, when the current user is the authority user, acquiring second short link data in the data operation instruction as short link data to be updated;
step S80, performing corresponding updating operation on the short link data to be updated in the second data table according to a second operation instruction in the data operation instructions;
step S90, establishing a mapping connection between the updated second data table and the server, so as to apply the updated second data table to the server.
The updated second data table is stored in a memory database Redis, and a mapping connection is established between the updated second data table in the Redis and the server, so that the updated second data table is applied to the server.
In this embodiment, if the current user is an authorized user, that is, the updated data is effectively updated, the second short link data in the second data table based on the data operation instruction is the short link data to be updated, then, according to the operation type in the data operation instruction, the short link data to be updated is subjected to corresponding data processing in the second data table to generate target short link data, and then, the updated second data table is applied to the server to enable the updated target short link data to take effect, so that the user can use the updated target short link data by clicking. In a specific embodiment, the updated second data table is stored in the memory database Redis, and since the data storage speed of the Redis is high, the data updating efficiency can be further improved.
In addition, the embodiment of the invention also provides a management device of short link data.
Referring to fig. 5, fig. 5 is a functional module diagram of a management apparatus for short link data according to a first embodiment of the present invention.
In this embodiment, the management apparatus for short link data includes:
the user identity judging module 10 is configured to, when receiving a data operation instruction triggered by a user operation, judge whether a current user is an ordinary user;
a first data updating module 20, configured to determine, based on the data operation instruction, a first operation instruction and first short link data if the current user is the common user, and process, based on the first operation instruction, the first short link data in a first data table to generate target short link data;
the second data updating module 30 is configured to, when a data updating instruction triggered by an authorized user is received, determine short link data to be updated in a second data table based on a position of the target short link data in the first data table, and update the short link data to be updated into the target short link data;
and the update data application module 40 is configured to establish a mapping connection between the updated second data table and the server, so as to apply the updated second data table to the server.
Further, the management apparatus of the short link data further includes:
the update data acquisition module is used for acquiring current update short link data in the first data table when the data update of the first data table is detected;
and the update data approval module is used for generating a data update request according to the data identifier corresponding to the current update short-link data and sending the data update request to the authority user so that the authority user can approve the update operation corresponding to the current update short-link data.
Further, the second data updating module 30 specifically includes:
the component ID determining unit is used for determining the position of the target short link data in the first data table when receiving a data updating instruction triggered by the authority user based on the data updating request, and determining the target component ID of the target short link data according to the position;
an update data synchronization unit configured to synchronize a data update operation in the first data table to the second data table based on the target component ID;
and the target data updating unit is used for determining short link data to be updated in the second data table and updating the short link data to be updated into the target short link data.
Further, the management apparatus for short link data further includes an update failure reminding module, and the update failure reminding module is further configured to:
if an update rejection instruction triggered by the authority user based on the data update request is received, modifying the current updated short link data into initial short link data before updating in the first data table;
and generating a failure reminding message that the data updating request is not approved, and sending the failure reminding message to the current user so as to remind the current user that the data updating request submitted by the current user is not approved.
Further, the management apparatus for short-link data further includes a third data updating module, where the third data updating module is further configured to:
if the current user is not the ordinary user, when the current user is the authority user, second short link data in the data operation instruction is acquired and serves as short link data to be updated;
according to a second operation instruction in the data operation instructions, performing corresponding updating operation on the short link data to be updated in the second data table;
and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
Further, the update failure reminding module is further configured to:
storing the updated second data table to a memory database Redis, and establishing mapping connection between the updated second data table in the Redis and the server so as to apply the updated second data table to the server.
Further, the management apparatus for short link data further includes an update data recording module, and the update data recording module is further configured to:
when detecting that data updating occurs in the second data table, acquiring a data updating record in the second data table, and adding the data updating record to a data updating list;
and when the data updating abnormity is detected, rolling back the data according to the data updating record in the data updating list.
Each module in the management apparatus for short link data corresponds to each step in the management method embodiment for short link data, and the functions and implementation processes thereof are not described in detail herein.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a short link data management program, wherein the short link data management program, when executed by a processor, implements the steps of the short link data management method as described above.
The method for implementing the short-link data management program when executed may refer to various embodiments of the short-link data management method of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A management method of short link data is characterized by comprising the following steps:
when a data operation instruction triggered by user operation is received, judging whether a current user is a common user or not;
if the current user is the common user, determining a first operation instruction and first short link data based on the data operation instruction, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data;
when a data updating instruction triggered by an authority user is received, determining short link data to be updated in a second data table based on the position of the target short link data in the first data table, and updating the short link data to be updated into the target short link data;
and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
2. The method for managing short link data according to claim 1, wherein, after the step of determining a first operation instruction and first short link data based on the data operation instruction and processing the first short link data in a first data table based on the first operation instruction to generate target short link data, if the current user is the normal user, the method further comprises:
when detecting that data updating occurs in the first data table, acquiring current updated short link data in the first data table;
and generating a data updating request according to the data identifier corresponding to the current updating short-link data, and sending the data updating request to the authority user so that the authority user can examine and approve the updating operation corresponding to the current updating short-link data.
3. The method for managing short link data according to claim 2, wherein the step of determining short link data to be updated in a second data table based on the position of the target short link data in the first data table when receiving a data update instruction triggered by an authorized user, and updating the short link data to be updated to the target short link data specifically comprises:
when a data updating instruction triggered by the authority user based on the data updating request is received, determining the position of the target short link data in the first data table, and determining the target component ID of the target short link data according to the position;
synchronizing a data update operation in the first data table to the second data table based on the target component ID;
and determining short link data to be updated in the second data table, and updating the short link data to be updated into the target short link data.
4. The short-link data management method according to claim 2, wherein after the step of generating a data update request according to the data identifier corresponding to the currently updated short-link data and sending the data update request to the authorized user, so that the authorized user approves the update operation corresponding to the currently updated short-link data, the method further comprises:
if an update rejection instruction triggered by the authority user based on the data update request is received, modifying the current updated short link data into initial short link data before updating in the first data table;
and generating a failure reminding message that the data updating request is not approved, and sending the failure reminding message to the current user so as to remind the current user that the data updating request submitted by the current user is not approved.
5. The method for managing short link data according to claim 1, wherein after the step of determining whether the current user is an authorized user or a normal user when receiving the data operation command triggered by the user operation, the method further comprises:
if the current user is not the ordinary user, when the current user is the authority user, second short link data in the data operation instruction is acquired and serves as short link data to be updated;
according to a second operation instruction in the data operation instructions, performing corresponding updating operation on the short link data to be updated in the second data table;
and establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
6. The method for managing short link data according to claim 5, wherein the step of mapping the updated second data table with the server to apply the updated second data table to the server specifically includes:
storing the updated second data table to a memory database Redis, and establishing mapping connection between the updated second data table in the Redis and the server so as to apply the updated second data table to the server.
7. The method for managing short link data according to any one of claims 1 to 6, wherein after the step of determining short link data to be updated in a second data table based on the position of the target short link data in the first data table and updating the short link data to be updated to the target short link data when receiving a data update instruction triggered by an authorized user, the method further comprises:
when detecting that data updating occurs in the second data table, acquiring a data updating record in the second data table, and adding the data updating record to a data updating list;
and when the data updating abnormity is detected, rolling back the data according to the data updating record in the data updating list.
8. A management apparatus for short link data, the management apparatus for short link data comprising:
the user identity judging module is used for judging whether the current user is a common user or not when receiving a data operation instruction triggered by user operation;
the first data updating module is used for determining a first operation instruction and first short link data based on the data operation instruction if the current user is the common user, and processing the first short link data in a first data table based on the first operation instruction to generate target short link data;
the second data updating module is used for determining short link data to be updated in a second data table based on the position of the target short link data in the first data table when a data updating instruction triggered by an authority user is received, and updating the short link data to be updated into the target short link data;
and the updated data application module is used for establishing mapping connection between the updated second data table and the server so as to apply the updated second data table to the server.
9. A short-link data management device, characterized in that the short-link data management device comprises a processor, a memory, and a short-link data management program stored on the memory and executable by the processor, wherein the short-link data management program, when executed by the processor, implements the steps of the short-link data management method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a short-link data management program is stored, wherein the short-link data management program, when executed by a processor, implements the steps of the short-link data management method according to any one of claims 1 to 7.
CN202010170595.0A 2020-03-12 2020-03-12 Management method, device and equipment of short link data and storage medium Pending CN111506571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010170595.0A CN111506571A (en) 2020-03-12 2020-03-12 Management method, device and equipment of short link data and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010170595.0A CN111506571A (en) 2020-03-12 2020-03-12 Management method, device and equipment of short link data and storage medium

Publications (1)

Publication Number Publication Date
CN111506571A true CN111506571A (en) 2020-08-07

Family

ID=71863858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010170595.0A Pending CN111506571A (en) 2020-03-12 2020-03-12 Management method, device and equipment of short link data and storage medium

Country Status (1)

Country Link
CN (1) CN111506571A (en)

Similar Documents

Publication Publication Date Title
CN108228814B (en) Data synchronization method and device
CN109688186B (en) Data interaction method, device, equipment and readable storage medium
CN110324338B (en) Data interaction method, device, fort machine and computer readable storage medium
CN107146074B (en) Work order task cooperative processing method and device and computer readable storage medium
CN110661662B (en) Lightweight microservice configuration method
WO2021031905A1 (en) Data management method, apparatus, device and system and computer-readable storage medium
CN109768980B (en) Server access method, device, mobile terminal and computer readable storage medium
CN109088812A (en) Information processing method, device, computer equipment and storage medium
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
CN112800410A (en) Multi-product login management method, device, equipment and storage medium
US11232205B2 (en) File storage service initiation of antivirus software locally installed on a user device
CN108494749B (en) Method, device and equipment for disabling IP address and computer readable storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
US10362065B2 (en) Management of actions initiated by applications in client devices
US20060015744A1 (en) Method for ensuring security, data storage apparatus, security ensuring server, and storage medium storing program for the same
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN109951549B (en) Network page access method and device and computer readable storage medium
CN110417601B (en) Information prompting method, device and system in client and readable storage medium
CN111045725A (en) Control method, device and storage medium of code management system
CN108632348B (en) Service checking method and device
CN111506571A (en) Management method, device and equipment of short link data and storage medium
CN110674153A (en) Data consistency detection method and device and electronic equipment
CN114968822A (en) Interface testing method and device, computer equipment and storage medium
CN107872493A (en) A kind of information processing method, terminal and server
CN111984893B (en) System log configuration conflict reminding method, device and system

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