Data table construction method, system and device based on shuttle editing
By retrieving data items from local storage, marking and sorting them during shuttle editing, and constructing and editing a reliable data table, the problem of traditional shuttle boxes being unable to be directly edited and generated is solved. This achieves efficient and concise data table management, improving user experience and operational efficiency.
Patent Information
- Application Number
- CN202410669122.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-06
AI Technical Summary
Traditional shuttle boxes cannot efficiently support direct editing and generation when selecting and editing data tables, resulting in a complex interaction process, increased user learning costs, and reduced user experience and operational efficiency. This is especially true in scenarios with multiple information selections where the page has a high signal-to-noise ratio and poor interactivity.
By retrieving data items from local storage, marking and caching them in a trusted cache space, sorting and building a trusted data table, and mapping the data items to a trusted mapping space for editing, a mapped data table is constructed, providing a flexible data management method.
It enables efficient and concise management of data tables without damaging the original data, reducing interaction complexity, improving interaction accuracy and efficiency, and optimizing user experience.
Smart Images

Figure CN118607490A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and in particular to a method, system and device for constructing a data table based on shuttle editing. Background Art
[0002] For B-end products, the primary task is to enable users to complete their work efficiently, quickly select and edit, and achieve operational goals. For scenarios where a large amount of complex information needs to be selected, the shuttle box is one of the most efficient components and is a control for viewing and selecting information that cannot be bypassed by the product.
[0003] Most traditional shuttle boxes only support selection, but do not support direct editing or generation after editing. The selected content needs to be displayed on the page and edited before generation. Although this method meets the needs of editing and generating after selection, it has the following shortcomings:
[0004] 1. In scenarios where multiple tables need to be generated after repeated addition and editing, the ordinary shuttle box cannot cover this scenario and needs to be compensated by other methods. The entire interaction process becomes complicated, increasing the user learning cost and reducing the user experience.
[0005] 2. When a large amount of information is selected and a normal shuttle box is used, if editing is required, the content selected in the shuttle box needs to be displayed separately on the page. This method will increase the signal-to-noise ratio of the page, reduce the screen effect, and the user operation area is not concentrated, the interactivity is poor, and it is easy to reduce operating efficiency.
[0006] Therefore, how to provide a more efficient, concise and accurate shuttle frame management method has become a technical problem that needs to be solved urgently. Summary of the invention
[0007] In view of this, in order to overcome the deficiencies of the prior art, the present invention aims to provide a data table construction method, system and device based on shuttle editing.
[0008] According to a first aspect of the present invention, a method for constructing a data table based on shuttle editing is provided, the method comprising:
[0009] Obtain data items from local storage, mark the obtained data items, and cache the marked data items in a trusted cache space;
[0010] Sort the marked data items in the trusted cache space, and build a trusted data table based on the sorted data items;
[0011] Map data items in the trusted data table to the trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table based on the edited data items.
[0012] Preferably, the present invention is based on a data table construction method of shuttle editing, marks the acquired data items, and caches the marked data items in a trusted cache space, including: calculating attribute values of the acquired data items, generating data item tags according to the names of the data items and the attribute values of the data items, marking the data items with the generated data item tags, and caching the marked data items and the corresponding data item tags in the trusted cache space.
[0013] Preferably, the present invention is based on a data table construction method of shuttle editing, which generates a data item label according to the name of the data item and the attribute value of the data item, including: using the name of the data item as the key, the attribute value of the data item as the value, using the name of the data item and the attribute value of the data item to construct a key-value pair, and using the constructed key-value pair as the data item label of the data item.
[0014] Preferably, the present invention is based on a data table construction method of shuttle editing, sorts the marked data items in a trusted cache space, and constructs a trusted data table according to the sorted data items, including: sorting the data item tags, constructing a data item tag index using the sorted data item tags, sorting the data items in the trusted cache space according to the constructed data item tag index, and constructing a trusted data table.
[0015] Preferably, the present invention is based on a data table construction method of shuttle editing, sorts data item tags, constructs a data item tag index using the sorted data item tags, sorts data items in a trusted cache space according to the constructed data item tag index, and constructs a trusted data table, including: obtaining the name of the corresponding data item and the attribute value of the data item according to the data item tag, sorting the data item tags according to the name of the data item, constructing a data item tag index using the sorted data item tags, sorting the data items in the trusted cache space according to the sorting order of the data item tags in the data item tag index, and constructing a trusted data table.
[0016] Preferably, in the data table construction method based on shuttle editing of the present invention, when the names of the data items obtained from the data item tags are the same, the data item tags are sorted according to the attribute values of the obtained data items.
[0017] Preferably, the present invention maps data items in a trusted data table to a trusted mapping space based on a data table construction method of shuttle editing, including: setting a mapping port for the data items in the trusted data table, and selecting data items from the trusted data table through the mapping port to map to the trusted mapping space.
[0018] Preferably, the present invention edits data items in a trusted mapping space and constructs a mapping data table based on a data table construction method based on shuttle editing, including: setting an editing port for the data items in the trusted mapping space, editing the corresponding data items through the editing port, and constructing a mapping data table based on the edited data items.
[0019] According to a second aspect of the present invention, there is provided a data table construction system based on shuttle editing, the system comprising a data table construction server, the data table construction server being used to: obtain data items from local storage, mark the obtained data items, and cache the marked data items into a trusted cache space; sort the marked data items in the trusted cache space, and construct a trusted data table according to the sorted data items; map the data items in the trusted data table to a trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table according to the edited data items.
[0020] According to a third aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect of the present invention when executing the program.
[0021] According to the data table construction method, system and device based on shuttle editing of the embodiments of the present invention, by obtaining data items from local storage, marking the obtained data items, and caching the marked data items in a trusted cache space, damage to the original data is avoided; by sorting the marked data items in the trusted cache space, a trusted data table is constructed according to the sorted data items, and a trusted data table is constructed without affecting the original data, providing a data basis for the subsequent construction and management of mapping data tables; by mapping data items in the trusted data table to the trusted mapping space, editing the data items in the trusted mapping space, and constructing a mapping data table according to the edited data items, higher flexibility is provided for the construction, adjustment and display of data tables, and users can manage data more efficiently and accurately according to business needs without destroying the original data. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 An exemplary system for a data table construction system based on shuttle editing according to an embodiment of the present invention;
[0024] Figure 2 A flowchart of a method for constructing a data table based on shuttle editing according to an exemplary embodiment of the present invention;
[0025] Figure 3 A schematic diagram of the structure of the device provided by the present invention. DETAILED DESCRIPTION
[0026] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0027] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.
[0028] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0029] Figure 1 This is an exemplary system for constructing a data table based on shuttle editing according to an embodiment of the present invention. Figure 1 As shown, the system may include a data table construction server 101, a communication network 102 and / or one or more data table construction clients 103. Figure 1 The example in FIG. 1 constructs a client 103 for multiple data tables.
[0030] The data table construction server 101 can be any appropriate server for storing information, data, programs and / or any other suitable type of content. In some embodiments, the data table construction server 101 can perform appropriate functions. For example, in some embodiments, the data table construction server 101 can be used to construct a data table. As an optional example, in some embodiments, the data table construction server 101 can be used to implement the construction of a data table based on shuttle editing. For example, the data table construction server 101 can be used to: obtain data items from local storage, mark the obtained data items, and cache the marked data items to a trusted cache space; sort the marked data items in the trusted cache space, and construct a trusted data table based on the sorted data items; map the data items in the trusted data table to the trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table based on the edited data items.
[0031] As another example, in some embodiments, the data table construction server 101 may send the data table construction method based on shuttle editing to the data table construction client 103 for the user to use according to the request of the data table construction client 103 .
[0032] As an optional example, in some embodiments, the data table construction client 103 is used to provide a visual construction interface, which is used to receive a user's selection input operation for constructing a data table based on shuttle editing, and, in response to the selection input operation, obtain a construction interface corresponding to the option selected by the selection input operation from the data table construction server 101 and display the construction interface, wherein the construction interface at least displays information on constructing the data table based on shuttle editing and operation options for the information on constructing the data table based on shuttle editing.
[0033] In some embodiments, the communication network 102 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 102 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN), and / or any other suitable communication network. The data table construction client 103 can be connected to the communication network 102 via one or more communication links (e.g., communication link 104), and the communication network 102 can be linked to the data table construction server 101 via one or more communication links (e.g., communication link 105). The communication link can be any communication link suitable for transmitting data between the data table construction client 103 and the data table construction server 101, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link, or any suitable combination of such links.
[0034] The data table construction client 103 may include any one or more clients that present an interface related to building a data table based on shuttle editing in an appropriate form for use and operation by a user. In some embodiments, the data table construction client 103 may include any suitable type of device. For example, in some embodiments, the data table construction client 103 may include a mobile device, a tablet computer, a laptop computer, a desktop computer, and / or any other suitable type of client device.
[0035] Although the data table construction server 101 is illustrated as one device, in some embodiments, any appropriate number of devices may be used to perform the functions performed by the data table construction server 101. For example, in some embodiments, multiple devices may be used to implement the functions performed by the data table construction server 101. Alternatively, a cloud service may be used to implement the functions of the data table construction server 101.
[0036] Based on the above system, an embodiment of the present application provides a method for constructing a data table based on shuttle editing, which is described below through the following embodiments.
[0037] Figure 2 The following is a flowchart of a method for constructing a data table based on shuttle editing according to an exemplary embodiment of the present invention. The method for constructing a data table based on shuttle editing according to this embodiment can be executed on a data table construction server, and the method for constructing a data table based on shuttle editing includes the following steps:
[0038] Step S201: Obtain data items from local storage, mark the obtained data items, and cache the marked data items into a trusted cache space.
[0039] As an optional example, in the method of this embodiment, the attribute value of the acquired data item is calculated, a data item tag is generated according to the name of the data item and the attribute value of the data item, the data item is marked with the generated data item tag, and the marked data item and the corresponding data item tag are cached in the trusted cache space. In this embodiment, the name of the data item is used as the key, the attribute value of the data item is used as the value, a key-value pair is constructed using the name of the data item and the attribute value of the data item, and the constructed key-value pair is used as the data item tag of the data item.
[0040] Step S202: sorting the marked data items in the trusted cache space, and constructing a trusted data table according to the sorted data items.
[0041] As an optional example, in the method of this embodiment, the data item tags are sorted, the sorted data item tags are used to construct a data item tag index, the data items in the trusted cache space are sorted according to the constructed data item tag index, and a trusted data table is constructed. Specifically, this embodiment obtains the name of the corresponding data item and the attribute value of the data item according to the data item tag, sorts the data item tags according to the name of the data item, constructs a data item tag index using the sorted data item tags, sorts the data items in the trusted cache space according to the sorting order of the data item tags in the data item tag index, and constructs a trusted data table. It should be noted that in the method of this embodiment, when the names of the data items obtained from the data item tags are the same, the data item tags are sorted according to the attribute values of the obtained data items.
[0042] Step S203: Map the data items in the trusted data table to the trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table according to the edited data items.
[0043] As an optional example, in the method of this embodiment, a mapping port is set for a data item in a trusted data table, and a data item is selected from the trusted data table and mapped to the trusted mapping space through the mapping port. After the selected data item in the trusted data table is mapped to the trusted mapping space, this embodiment sets an edit port for the data item in the trusted mapping space, edits the corresponding data item through the edit port, and constructs a mapping data table according to the edited data item.
[0044] like Figure 3 As shown, the present invention also provides a device, including a processor 310, a communication interface 320, a memory 330 for storing a computer program executable by the processor, and a communication bus 340. The processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 implements the above-mentioned data table construction method based on shuttle editing by running the executable computer program.
[0045] Among them, the computer program in the memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0046] According to the data table construction method, system and device based on shuttle editing of the embodiments of the present invention, by obtaining data items from local storage, marking the obtained data items, and caching the marked data items in a trusted cache space, damage to the original data is avoided; by sorting the marked data items in the trusted cache space, a trusted data table is constructed according to the sorted data items, and a trusted data table is constructed without affecting the original data, providing a data basis for the subsequent construction and management of mapping data tables; by mapping data items in the trusted data table to the trusted mapping space, editing the data items in the trusted mapping space, and constructing a mapping data table according to the edited data items, higher flexibility is provided for the construction, adjustment and display of data tables, and users can manage data more efficiently and accurately according to business needs without destroying the original data.
[0047] When the data table construction method, system and device based on shuttle editing of this embodiment are applied to the application field of shuttle box, it can be suitable for scenarios of repeatedly adding and editing tables, reducing the complexity of interaction, reducing the signal-to-noise ratio of the page, and improving the accuracy and efficiency of interaction.
[0048] The system embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected based on actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0049] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0050] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for constructing a data table based on shuttle editing, characterized in that: The method comprises: Obtain data items from local storage, mark the obtained data items, and cache the marked data items in a trusted cache space; Sort the marked data items in the trusted cache space, and build a trusted data table based on the sorted data items; Map data items in the trusted data table to the trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table based on the edited data items.
2. The method for constructing a data table based on shuttle editing according to claim 1, characterized in that: Marking the acquired data items and caching the marked data items into a trusted cache space, including: calculating attribute values of the acquired data items, generating data item labels according to the names of the data items and the attribute values of the data items, marking the data items with the generated data item labels, and caching the marked data items and the corresponding data item labels into a trusted cache space.
3. The method for constructing a data table based on shuttle editing according to claim 2, characterized in that: Generate a data item label according to the name of the data item and the attribute value of the data item, including: using the name of the data item as the key, using the attribute value of the data item as the value, using the name of the data item and the attribute value of the data item to construct a key-value pair, and using the constructed key-value pair as the data item label of the data item.
4. The method for constructing a data table based on shuttle editing according to claim 1, characterized in that: Sorting the labeled data items in the trusted cache space and constructing a trusted data table based on the sorted data items includes: sorting the data item labels, constructing a data item label index using the sorted data item labels, sorting the data items in the trusted cache space based on the constructed data item label index, and constructing a trusted data table.
5. The method for constructing a data table based on shuttle editing according to claim 4, characterized in that: The data item labels are sorted, a data item label index is constructed using the sorted data item labels, the data items in the trusted cache space are sorted according to the constructed data item label index, and a trusted data table is constructed, including: obtaining the name of the corresponding data item and the attribute value of the data item according to the data item label, sorting the data item labels according to the name of the data item, constructing a data item label index using the sorted data item labels, sorting the data items in the trusted cache space according to the sorting order of the data item labels in the data item label index, and constructing a trusted data table.
6. The method for constructing a data table based on shuttle editing according to claim 5, characterized in that: When the names of the data items obtained from the data item tags are the same, the data item tags are sorted according to the attribute values of the obtained data items.
7. The method for constructing a data table based on shuttle editing according to claim 1, characterized in that: Mapping data items in a trusted data table to a trusted mapping space includes: setting a mapping port for the data items in the trusted data table, and selecting data items from the trusted data table through the mapping port to map to the trusted mapping space.
8. The method for constructing a data table based on shuttle editing according to claim 1, characterized in that: The data items in the trusted mapping space are edited, and a mapping data table is constructed according to the edited data items, including: setting an editing port for the data items in the trusted mapping space, editing the corresponding data items through the editing port, and constructing a mapping data table according to the edited data items.
9. A data table construction system based on shuttle editing, characterized in that: The system includes a data table construction server, which is used to: obtain data items from local storage, mark the obtained data items, and cache the marked data items in a trusted cache space; sort the marked data items in the trusted cache space, and construct a trusted data table according to the sorted data items; Map data items in the trusted data table to the trusted mapping space, edit the data items in the trusted mapping space, and construct a mapping data table based on the edited data items.
10. A computer device, characterized in that: The computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 8 when executing the program.
