CN117492735A - Method and device for archiving instantiation data of entity, storage medium and terminal device - Google Patents

Method and device for archiving instantiation data of entity, storage medium and terminal device Download PDF

Info

Publication number
CN117492735A
CN117492735A CN202311409223.9A CN202311409223A CN117492735A CN 117492735 A CN117492735 A CN 117492735A CN 202311409223 A CN202311409223 A CN 202311409223A CN 117492735 A CN117492735 A CN 117492735A
Authority
CN
China
Prior art keywords
data
entity
archive
version number
archiving
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
CN202311409223.9A
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.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software 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 Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN202311409223.9A priority Critical patent/CN117492735A/en
Publication of CN117492735A publication Critical patent/CN117492735A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/144Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1873Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application discloses an entity instantiation data archiving method, device, storage medium and terminal equipment, and relates to the field of data processing. Selecting an entity from an entity list as a current entity; setting a version number coding format of the current entity through a version management parameter setting interface; setting archive association information between a current entity and an associated business entity through an association archive setting interface; according to the archive association information, the instantiation data of the current entity and the instantiation data of the associated service entity are associated to generate archive association data, the version number of the archive association data is generated according to the version number coding format, and the archive association data version number is stored, so that the instantiation data can be managed under the condition of zero codes, the data management difficulty is reduced, and the data archiving requirements of different users are flexibly met.

Description

Method and device for archiving instantiation data of entity, storage medium and terminal device
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and apparatus for archiving instantiated data of an entity, a storage medium, and a terminal device.
Background
Along with the advancement of enterprise informatization construction, the data volume of an application system is more and more huge, the data structure is more and more complex, along with the standardized management of enterprises, the archiving requirement is more and more increased, developers need to rely on complex data structure relations of the enterprise, for different businesses, the developers need to configure instantiation data to be archived in a mode of modifying codes, and then the codes are started to realize the archiving of the instantiation data in the running period of the application program. However, this archiving method needs to be implemented by modifying the code by a developer, and the configuration workload is large and difficult. The developer relies on the archiving management device, so that the development efficiency of the application program can be greatly improved, and archiving management logic of each entity and related entities is realized in a configuration mode in the development period.
Disclosure of Invention
The embodiment of the application provides an entity instantiation data archiving method, device, storage medium and terminal equipment, which can solve the problems of large workload and high difficulty in the setting process of data archiving in the prior art. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an entity's instantiated data archiving method, where the method includes:
selecting an entity from the entity list as a current entity;
setting a version number coding format of the current entity through a version management parameter setting interface;
setting archive association information between the current entity and an associated business entity through an association archive setting interface;
generating archive associated data after associating the instantiation data of the current entity with the instantiation data of the associated service entity according to the archive associated information, generating a version number of the archive associated data according to the version number coding format, and storing the archive associated data and the generated version number;
according to the inquiry instruction of the user, inquiring the archive associated data of each version number, selecting the archive associated data of one version number based on the selection instruction of the user, and loading and analyzing the selected archive associated data according to the preset page format.
In a second aspect, embodiments of the present application provide an entity's instantiated data archive apparatus, the apparatus comprising:
a selecting unit, configured to select an entity in the entity list as a current entity;
the setting unit is used for setting the version number coding format of the current entity through a version management parameter setting interface;
the setting unit is further used for setting archive associated information between the current entity and the associated business entity through an associated archive setting interface;
and the archiving unit is used for generating archiving associated data after associating the instantiation data of the current entity with the instantiation data of the associated business entity according to the archiving associated information, generating a version number of the archiving associated data according to the version number coding format and storing the archiving associated data and the generated version number.
And the inquiring unit is used for inquiring the archive associated data of each version number according to the inquiring instruction of the user, selecting the archive associated data of one version number based on the selecting instruction of the user, and loading and analyzing the selected archive associated data according to the preset page format.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a fourth aspect, an embodiment of the present application provides a terminal device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by some embodiments of the present application has the beneficial effects that at least includes:
the filing operation of the instantiation data of a plurality of entities of different services is realized through the graphical interface, and the requirements of different service scenes can be met. The version number of the current entity and the associated business entity are associated through the graphical interface, then the instantiated data is archived according to the configured information, the instantiated data is managed under the condition of zero codes, the data management difficulty is reduced, and the data archiving requirements of different users are flexibly met. And the archiving associated data is managed and controlled through the version number, so that a user can conveniently view historical archiving tracks and data details later, and the data operation and maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
FIG. 2 is a flow chart of an exemplary data archiving method for an entity provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a property settings and archive management parameter settings window provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a version management parameter setting interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an associated archive settings interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of an archive record query interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of an exemplary data archive device of an entity provided herein;
fig. 8 is a schematic structural diagram of a terminal device provided in the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be noted that, the method for archiving the instantiation data of the entity provided in the present application is generally executed by the terminal device, and accordingly, the device for archiving the instantiation data of the entity is generally set in the terminal device.
FIG. 1 illustrates an exemplary system architecture of an instantiated data archiving method or an instantiated data archiving apparatus that may be applied to the entities of the present application.
As shown in fig. 1, the system architecture may include: a terminal device 101 and a server 102. The communication between the terminal device 101 and the server 102 may be performed through a network for the medium providing the communication link between the above-mentioned respective units. The network may include various types of wired or wireless communication links, such as: the wired communication link includes an optical fiber, a twisted pair wire, a coaxial cable, or the like, and the WIreless communication link includes a bluetooth communication link, a WIreless-FIdelity (Wi-Fi) communication link, a microwave communication link, or the like.
Wherein, the server 102 stores therein instantiation data of a plurality of entities, and the terminal device 101 performs persistent storage on the instantiation data of the associated entity.
The terminal device 101 and the server 102 may be hardware or software. When the terminal apparatus 101 and the server 102 are hardware, they may be realized as a distributed server cluster composed of a plurality of servers, or as a single server. When the terminal device 101 and the server 102 are software, they may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, which is not particularly limited herein.
Various communication client applications can be installed on the terminal device of the present application, for example: video recording applications, video playing applications, voice interaction applications, search class applications, instant messaging tools, mailbox clients, social platform software, and the like.
The terminal device may be hardware or software. When the terminal device is hardware, it may be various terminal devices with a display screen including, but not limited to, smartphones, tablet computers, laptop and desktop computers, and the like. When the terminal device is software, the terminal device may be installed in the above-listed terminal device. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module, without limitation.
When the terminal equipment is hardware, a display device and a camera can be arranged on the terminal equipment, the display device can be various equipment capable of realizing the display function, and the camera is used for collecting video streams; for example: the display device may be a cathode ray tube display (cathode ray tube display, CR), a light-emitting diode display (light-emitting diode display, LED), an electronic ink screen, a liquid crystal display (liquid crystal display, LCD), a plasma display panel (plasma displaypanel, PDP), or the like. The user can view the displayed text, picture, video and other information by using the display device on the terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks, and servers may be used as desired for implementation.
An exemplary data archiving method for an entity according to an embodiment of the present application will be described in detail with reference to fig. 2. The data archiving device for instantiation of the entity in the embodiment of the present application may be the terminal device shown in fig. 1.
Referring to fig. 2, a flow chart of an exemplary data archiving method for an entity is provided in an embodiment of the present application. As shown in fig. 2, the method according to the embodiment of the present application may include the following steps:
s201, selecting an entity from the entity list as a current entity.
The entity list comprises a plurality of entities in the data model, the entity list comprises a header row and a plurality of data rows, each data row corresponds to one entity, each data row is used for storing field values of the entity, and the header row is used for storing fields for describing attributes of the entity. The user selects an entity in the entity list as the current entity through an input unit (mouse, keyboard, etc.) of the terminal device. For example: the terminal equipment displays a data model detail interface through a display unit, wherein an entity list is arranged on the data model detail interface, and fields for describing entity attributes of a user in the entity list comprise: model name, belonging category, version number, release status, source, etc. And clicking a certain data line in the entity list by a user through a mouse, and highlighting the background color of the data line to indicate that the entity corresponding to the data line is selected as the current entity.
S202, setting a version number coding format of the current entity through a version management parameter setting interface.
The terminal device displays a version management parameter setting interface according to a preset trigger action of a user, and then sets a version number coding format of the current entity selected in S201 on the version management parameter setting interface through an input unit, wherein the version number coding format represents a coding rule for generating a version number of instantiation data of the current entity.
For example, referring to fig. 3, after a user selects a current entity, a pop-up property settings window is triggered through a property settings button on a data model detail interface, and then related properties of the current entity are set on the property settings window through an input unit. When the user needs to archive the instantiation data of the current entity, the archive characteristics of the current entity are set on the setting characteristic interface. Specifically, a data row is set in the characteristic data table through a new button on the characteristic setting popup window, the data row corresponds to a characteristic, and each cell in the data row is used for storing field values respectively: the field value of the property, the field value of the property category, the field value of the scene, the field value of the parameter setting (representing the setting state), the field value of the owner. When the terminal equipment detects a preset trigger action (such as a left click action of a mouse) of a cell for storing a field value of parameter setting, an archiving parameter setting window is popped up on a characteristic setting popup window, wherein the archiving parameter setting window comprises two state controls: the system comprises a first state control and a second state space, wherein the first state control is used for displaying the setting state of the version number coding format of the current entity, the second state control is used for displaying the setting state of the archiving associated information of the current entity, and all the setting states are displayed in fig. 3. When the terminal device detects a preset trigger action on the first state space, the version management parameter setting interface of fig. 4 is triggered and displayed, and a user inputs the coding format of the current entity on the version parameter setting interface through an input unit.
Referring to fig. 4, the version management parameter setting interface is divided into a coding format display area and an addition setting area, the coding format display area includes a display window and an operation control, the display window is used for displaying the set version number sample, the operation control includes a deletion control, a clearing control, a left-shift control and a right-shift control, the deletion control is used for deleting characters selected by a user in the display window, the clearing control is used for clearing content in the display window, the left-shift control is used for moving the characters selected by the user to the left by one position, and the right-shift control is used for moving the characters selected by the user to the right by one position. The added item setting area comprises an item setting control, a character string or letter setting control, a number base setting control, a length setting control and an extended item setting control, wherein the item setting control is used for adding a field value of a certain attribute of a current entity into a version number, the character string or character is used for adding a character or letter at a designated position of the version number, the number coding base control is used for setting a starting number of the version number, and the length control is used for setting the length of a digital character; the extension item control is used for adding a field value of a certain attribute of other entities (for example, the other entities are business entities associated with the current entity), so that a user can know the association relationship between the current entity and the associated business entities through the version number. Before the version number is set for the version management parameter setting interface, the parameter value of the version number format of the current entity is displayed as unset, and when the terminal device detects a preset trigger action on a confirmation button below the version management parameter setting interface of fig. 4, the parameter value of the version number format is switched to be set.
S203, setting archive association information between the current entity and the associated business entity through an association archive setting interface.
The terminal device displays the associated archiving setting interface through the display unit through a preset trigger action of the user, and then sets archiving associated information between the current entity and the associated business entity through the input unit on the associated archiving setting interface, wherein the archiving associated information can be realized by adopting a conditional expression, for example: if the entity ID of the current entity is the same as the entity ID of the associated service entity, the two entities are indicated to have an association relationship.
For example, when the terminal device detects a preset trigger action (for example, a left click action of a mouse) of the second state control in the archive management parameter setting popup window of fig. 3, the terminal device triggers and displays the associated archive setting interface shown in fig. 5, where the associated archive setting interface sets a new adding button and a deleting button, and an associated mapping table, where the associated mapping table is composed of a header row and a data row, the header row is used to store fields of an entity type, an item, a condition, a current entity, a value, etc., the data row is used to store field values of each field, each data row in the associated mapping table corresponds to one archive associated information, the new adding button is used to add a new archive associated information based on the preset trigger action of the user, and the deleting button is used to delete a field value in a certain data row or a certain cell in the associated mapping table. Learning from the first data line in the association mapping table: the current entity is a sales contract, the business entity is a contract object detail, and the association relationship is represented by setting the same contract ID of the contract object detail and the ID of the sales contract; the 2 nd data line knows that the current entity is a sales contract, the business entity is a contract collection plan, and the association relationship is represented by setting the contract ID of the contract collection plan to be the same as the ID of the sales contract.
Before the setting of the archiving related information is completed, the parameter value of the related archiving of the current entity is displayed as unset, and when the terminal equipment detects the preset trigger action on the confirmation button below the related archiving setting interface of fig. 5, the parameter value of the related archiving is switched to be set.
S204, according to the archive association information, associating the instantiation data of the current entity with the instantiation data of the associated business entity to generate archive association data, and according to the version number coding format, generating the version number of the archive association data, and storing the archive association data and the generated version number.
Wherein the instantiation data represents an entity of a particular entity, for example: when an entity is a contract, the instantiation data represents the content data of the particular contract. According to the archive association information set in S203, the instantiation data of the current entity and the instantiation data of the associated business entity are queried in the database, the two instantiation data are packed into archive association data, and then a version number is generated according to the encoding format set in S202, for example: incremental increases of 1 are made based on the last version number. And storing the archiving associated data and the generated version number in a persistent mode. Further, the archiving operation in S204 may be performed periodically or multiple times according to a preset trigger condition, since the instantiation data of the entity may be dynamically updated, the archiving-related data stored each time may be different, and the version number of the archiving-related data stored each time may be different. Further, the terminal device may further perform aggregate processing on the instantiation data of the current entity and the instantiation data of the associated service entity, for example: performing head-to-tail splicing, wherein the front-to-back sequence of the instantiation data of the two entities is not limited; and the data processed by the aggregation is compressed to obtain the archiving associated data, so that the data redundancy is reduced, and the data storage space is saved. Furthermore, the terminal device may write the archive associated data and the version number into the hash database in a hash mapping manner, specifically: and combining the archiving associated data with the version number to obtain combined data, calculating a hash value of the combined data by using a hash algorithm, and writing the hash value, the archiving associated data and the version number into a hash database, so that a user can query the archiving associated data by using the hash value as an index, and the query speed is convenient to improve.
S205, inquiring the archive associated data of each version number according to the inquiry instruction of the user, selecting the archive associated data of one version number based on the selection instruction of the user, and loading and analyzing the selected archive associated data according to the preset page format.
When the terminal device stores the archive associated data, archive record information is set for each archive associated data, the archive record information comprises field values of fields such as version numbers, operators, operation time and the like, and then the required archive associated data is queried based on query instructions carrying query conditions input by a user to query the archive associated data with a plurality of different version numbers.
For example, referring to the archive record query interface shown in fig. 6, after the user triggers the archive record query interface to be displayed, archive record information of each stored archive associated data is displayed, the archive record information is represented by an archive record table, archive record tables of different archive associated data are set in a classified manner, and field values of version numbers, operators and operation time of a plurality of archive associated data archived for the same archive associated information are stored in the archive record table. When detecting a selection action (for example, a left click action of a mouse) of a user on a certain data line through an input unit, the terminal equipment highlights the data line to indicate that the data line is selected, and then when detecting a preset trigger action on a view button, the terminal equipment displays details of the archive associated data corresponding to the data line on a page according to a preset page format.
When the embodiment of the application files the instantiation data, the archiving operation of the instantiation data of a plurality of entities of different services is realized through the graphical interface, so that the requirements of different service scenes can be met. The version number of the current entity and the associated business entity are associated through the graphical interface, then the instantiated data is archived according to the configured information, the instantiated data is managed under the condition of zero codes, the data management difficulty is reduced, and the data archiving requirements of different users are flexibly met. And the archiving associated data is managed and controlled through the version number, so that a user can conveniently view historical archiving tracks and data details later, and the data operation and maintenance efficiency is improved.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Referring to fig. 7, a schematic structural diagram of an exemplary data archiving apparatus for entities according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as apparatus 7. The means 7 may be implemented as all or part of the terminal device by software, hardware or a combination of both. The device 7 comprises: a selection unit 701, a setting unit 702, an archiving unit 703, and a query unit 704.
A selecting unit 701, configured to select an entity in the entity list as a current entity;
a setting unit 702, configured to set a version number encoding format of the current entity through a version management parameter setting interface;
the setting unit 702 is further configured to set archive association information between the current entity and an associated service entity through an association archive setting interface;
an archiving unit 703, configured to associate the current entity's instantiation data with the associated business entity's instantiation data according to the archiving association information to generate archiving association data, generate a version number of the archiving association data according to the version number encoding format, and store the archiving association data and the generated version number;
and a query unit 704, configured to query the archive associated data of each version number according to a query instruction of the user, select archive associated data of one version number based on a selection instruction of the user, and load and analyze the selected archive associated data according to a preset page format.
In one or more possible embodiments, the selecting an entity in the entity list as the current entity includes:
displaying a data model detail interface; the data model detail interface is provided with an entity list, wherein the entity list comprises a plurality of data rows, and each data row corresponds to one entity;
when a selection action of one data line in the plurality of data lines is detected, the data line is highlighted and the corresponding entity is taken as the current entity.
In one or more possible embodiments, the version management parameter setting interface is divided into an encoding format display area and an add-on setting area, where the encoding format display area includes a display window and an operation control, where the display window is used to display a set version number style, and the operation control includes: deleting a control, emptying the control, moving left the control and moving right the control; the addition item setting area includes: item setting controls, letter setting controls, number base setting controls, and length setting controls.
In one or more possible embodiments, the associated archive settings interface includes: the system comprises a new control, a deletion control and an association mapping table, wherein the association mapping table comprises one or more data rows, each data row corresponds to one piece of archiving relation information, and each data row is used for storing the name of the current entity and the name of the associated business entity.
In one or more possible embodiments, the generating archive association data after associating the instantiation data of the current entity with the instantiation data of the associated service entity according to the archive association information includes:
carrying out aggregation processing on the instantiation data of the current entity and the instantiation data of the associated service entity;
and compressing the data processed by the aggregation to obtain the archiving associated data.
In one or more possible embodiments, further comprising:
the query unit is used for displaying an archive record query interface; the archive record query interface comprises an archive record table, wherein the archive record table comprises one or more data rows, each data row corresponds to one version of archive associated data, and each data row stores a version number, field values of an operator and operation time;
when a selection operation for one of the plurality of data lines is detected, highlighting the data line;
when a click operation on the view button is detected, detailed information of archive associated data corresponding to the data line is displayed.
In one or more possible embodiments, the storing the archive associated data and the generated version number includes:
and generating a hash value according to the archiving associated data and the generated version number, and writing the hash value, the archiving associated data and the version number into a hash database.
It should be noted that, when the apparatus 7 provided in the foregoing embodiment performs the method for archiving data by an entity, only the division of the foregoing functional modules is used as an example, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the foregoing functions. In addition, the embodiment of the foregoing embodiment of the present invention provides an entity instantiation data archiving device and an entity instantiation data archiving method embodiment that belong to the same concept, which embody a detailed implementation process in the method embodiment, and are not described herein again.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the method steps of the embodiment shown in fig. 2, and the specific execution process may refer to the specific description of the embodiment shown in fig. 2, which is not repeated herein.
The present application also provides a computer program product storing at least one instruction that is loaded and executed by the processor to implement the method of instantiated data archiving of an entity as described in various embodiments above.
Referring to fig. 8, a schematic structural diagram of a terminal device is provided in an embodiment of the present application. As shown in fig. 8, the terminal device 800 may include: at least one processor 801, at least one network interface 804, a user interface 803, memory 805, at least one communication bus 802.
Wherein a communication bus 802 is used to enable connected communication between these components.
The user interface 803 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 803 may further include a standard wired interface and a wireless interface.
The network interface 804 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 801 may include one or more processing cores. The processor 801 connects various parts within the overall terminal device 800 using various interfaces and lines, performs various functions of the terminal device 800 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 805, and invoking data stored in the memory 805. Alternatively, the processor 801 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field-Programmable gate array (FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 801 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 801 and may be implemented on a single chip.
The Memory 805 may include a random access Memory (RandomAccess Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 805 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 805 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 805 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 805 may also optionally be at least one storage device located remotely from the aforementioned processor 801. As shown in fig. 8, an operating system, a network communication module, a user interface module, and application programs may be included in the memory 805, which is one type of computer storage medium.
In the terminal device 800 shown in fig. 8, the user interface 803 is mainly used for providing an input interface for a user, and acquiring data input by the user; the processor 801 may be configured to invoke an application program stored in the memory 805, and specifically execute the method shown in fig. 2, and the specific process may be shown in fig. 2, which is not described herein.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (10)

1. A method for archiving instantiated data of an entity, comprising:
selecting an entity from the entity list as a current entity;
setting a version number coding format of the current entity through a version management parameter setting interface;
setting archive association information between the current entity and an associated business entity through an association archive setting interface;
generating archive associated data after associating the instantiation data of the current entity with the instantiation data of the associated service entity according to the archive associated information, generating a version number of the archive associated data according to the version number coding format, and storing the archive associated data and the generated version number;
according to the inquiry instruction of the user, inquiring the archive associated data of each version number, selecting the archive associated data of one version number based on the selection instruction of the user, and loading and analyzing the selected archive associated data according to the preset page format.
2. The method of claim 1, wherein selecting an entity in the list of entities as the current entity comprises:
displaying a data model detail interface; the data model detail interface is provided with an entity list, wherein the entity list comprises a plurality of data rows, and each data row corresponds to one entity;
when a selection action of one data line in the plurality of data lines is detected, the data line is highlighted and the corresponding entity is taken as the current entity.
3. The method according to claim 1 or 2, wherein the version management parameter setting interface is divided into an encoding format presentation area and an add-on setting area, the encoding format presentation area comprising: the display window is used for displaying the set version number style, and the operation control comprises: deleting a control, emptying the control, moving left the control and moving right the control; the addition item setting area includes: item setting controls, letter setting controls, number base setting controls, and length setting controls.
4. The method of claim 3, wherein the associated archive settings interface comprises: the system comprises a new control, a deletion control and an association mapping table, wherein the association mapping table comprises one or more data rows, each data row corresponds to one piece of archiving relation information, and each data row is used for storing the name of the current entity and the name of the associated business entity.
5. The method of claim 1, 2 or 4, wherein generating archive association data after associating the instantiation data of the current entity with the instantiation data of an associated business entity according to the archive association information comprises:
carrying out aggregation processing on the instantiation data of the current entity and the instantiation data of the associated service entity;
and compressing the data processed by the aggregation to obtain the archiving associated data.
6. The method as recited in claim 5, further comprising:
displaying an archive record query interface; the archive record query interface comprises an archive record table, wherein the archive record table comprises one or more data rows, each data row corresponds to one version of archive associated data, and each data row stores a version number, field values of an operator and operation time;
when a selection operation for one of the plurality of data lines is detected, highlighting the data line;
when a click operation on the view button is detected, detailed information of archive associated data corresponding to the data line is displayed.
7. The method of claim 1 or 2 or 4 or 6, wherein said storing the archive associated data and the generated version number comprises:
and generating a hash value according to the archiving associated data and the generated version number, and writing the hash value, the archiving associated data and the version number into a hash database.
8. An entity's instantiation data archival device, comprising:
a selecting unit, configured to select an entity in the entity list as a current entity;
the setting unit is used for setting the version number coding format of the current entity through a version management parameter setting interface;
the setting unit is further used for setting archive associated information between the current entity and the associated business entity through an associated archive setting interface;
an archiving unit, configured to associate the current entity's instantiation data with the associated business entity's instantiation data according to the archiving association information to generate archiving association data, generate a version number of the archiving association data according to the version number encoding format, and store the archiving association data and the generated version number;
and the inquiring unit is used for inquiring the archive associated data of each version number according to the inquiring instruction of the user, selecting the archive associated data of one version number based on the selecting instruction of the user, and loading and analyzing the selected archive associated data according to the preset page format.
9. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 7.
10. A terminal device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.
CN202311409223.9A 2023-10-27 2023-10-27 Method and device for archiving instantiation data of entity, storage medium and terminal device Pending CN117492735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311409223.9A CN117492735A (en) 2023-10-27 2023-10-27 Method and device for archiving instantiation data of entity, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311409223.9A CN117492735A (en) 2023-10-27 2023-10-27 Method and device for archiving instantiation data of entity, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN117492735A true CN117492735A (en) 2024-02-02

Family

ID=89679257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311409223.9A Pending CN117492735A (en) 2023-10-27 2023-10-27 Method and device for archiving instantiation data of entity, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN117492735A (en)

Similar Documents

Publication Publication Date Title
US10270795B2 (en) Identifying network security risks
US11032410B2 (en) Mobile data insight platforms for data analysis
JP6542880B2 (en) Simplified invocation of import procedure to transfer data from data source to data target
US20180129373A1 (en) Insight objects as portable user application objects
US20180129372A1 (en) Dynamic insight objects for user application data
CN111666280B (en) Comment ordering method, comment ordering device, comment ordering equipment and computer storage medium
WO2022048329A1 (en) Menu display method and apparatus
US10147071B2 (en) Visual representation of an email chain
CN115022272B (en) Information processing method, apparatus, electronic device and storage medium
US11308131B2 (en) Combining visualizations in a business analytic application
CN115617441A (en) Method and device for binding model and primitive, storage medium and computer equipment
CN113138760B (en) Page generation method and device, electronic equipment and medium
CN115222500A (en) Capital monitoring method, device, storage medium and computer equipment
CN117492735A (en) Method and device for archiving instantiation data of entity, storage medium and terminal device
CN113342450B (en) Page processing method, device, electronic equipment and computer readable medium
CN115130442A (en) Report generation method and device, storage medium and computer equipment
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
US20210109894A1 (en) Automated customized modeling of datasets with intuitive user interfaces
CN114995931A (en) Display method and device of project bulletin board, storage medium and computer equipment
CN112947918A (en) Data display method and device
CN116992095A (en) Query method and device for data model, storage medium and terminal equipment
US20240054145A1 (en) Object Lineage Analysis For Package Transport
CN116628079A (en) Data synchronization method and device for business system, storage medium and computer equipment
CN115730096A (en) Primitive customization method and device, storage medium and computer equipment
CN113723062A (en) Report label editing method and device, storage medium and terminal equipment

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