Data shuttling method and device, chip and computer readable storage medium

Through the analysis and retraction instructions in the shuttleterstores to obtain data structure and shuttle strategies, screening and transmitting data items, the problem of low accuracy of data shuttle in existing technologies has been solved. sex.

CN119377465APending Publication Date: 2025-01-28CHINA GRIDCOM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411456213.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The existing shuttle box is prone to chaos and fusion during the data shuttle, resulting in low accuracy of data shuttle.

Method used

By selecting the data item to generate the retracting instruction in the constituency, the call parameter is obtained. The parameters include the data structure and shuttle strategy corresponding to the data item, and the selected data to form a shuttle data set. The selection is shuttled to the shuttle area.

Benefits of technology

Effectively avoids the confusion and data fusion caused by the differences in different data structures, which improves the accuracy and accuracy of data shuttle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119377465A_ABST
    Figure CN119377465A_ABST
Patent Text Reader

Abstract

The invention discloses a data shuttling method and device, a chip and a computer readable storage medium. The shuttling frame comprises a selectable area and a shuttling area, the selectable area comprises a plurality of data items, and a plurality of shuttling strategies are pre-stored in the shuttling frame. The data shuttling method of the shuttling box comprises the following steps: selecting required data items in a selectable area to generate a calling instruction; the calling instruction is analyzed to obtain calling parameters, the calling parameters comprise a data structure corresponding to each data item, and the data structure has a corresponding shuttling strategy; acquiring data corresponding to the required data item according to the calling parameter to serve as selected data; screening the selected data, and forming a shuttling data set by using the selected data set meeting the condition; and determining a shuttling strategy corresponding to the data structure based on an input shuttling instruction, and shuttling the shuttling data set from the selectable area to the shuttling area according to the shuttling strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a data shuttling method of a shuttle frame, a data shuttling device, a chip, and a computer-readable storage medium. Background Art

[0002] When using a web page, users often need to select specific data items in a certain area (selectable area), and then transfer the selected data items to another area (shuttle area) in the form of a shuttle box for further screening and processing. In the related art, although the existing shuttle box can shuttle data, the data is easily confused and merged, resulting in low accuracy of data shuttle. Summary of the invention

[0003] The embodiments of the present application provide a data shuttling method of a shuttle frame, a data shuttling device, a chip and a computer-readable storage medium.

[0004] In the data shuttling method of the shuttle box of the embodiment of the present application, the shuttle box includes an optional area and a shuttle area, the optional area includes multiple data items, and the shuttle box has multiple shuttle strategies pre-stored. The data shuttling method includes: selecting the required data items in the optional area to generate a call instruction; parsing the call instruction to obtain a call parameter, the call parameter includes a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy; according to the call parameter, the data corresponding to the required data item is obtained as the selected data; the selected data is filtered, and the selected data set that meets the conditions is formed into a shuttle data set; and based on the input shuttle instruction, the shuttle strategy corresponding to the data structure is determined, and the shuttle data set is shuttled from the optional area to the shuttle area according to the shuttle strategy.

[0005] The data shuttling device of the embodiment of the present application includes a generation module, a parsing module, an acquisition module, a screening module and a shuttle module. The generation module is used to select the required data items in the optional area to generate a call instruction. The parsing module is used to parse the call instruction to obtain a call parameter, and the call parameter includes a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy. The acquisition module is used to obtain the data corresponding to the required data item according to the call parameter as the selected data. The screening module is used to screen the selected data, and form a shuttle data set with the selected data set that meets the conditions. The shuttle module is used to determine the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0006] The data shuttle device of the embodiment of the present application includes a processor and a memory connected to the processor. The memory stores computer execution instructions. The processor executes the computer execution instructions stored in the memory, and when the processor executes the computer execution instructions, it implements the following data shuttle method of the shuttle box: select the required data items in the optional area to generate a call instruction; parse the call instruction to obtain a call parameter, the call parameter includes a data structure corresponding to each data item, and the data structure has the corresponding shuttle strategy; obtain the data corresponding to the required data item according to the call parameter as the selected data; filter the selected data, and form a shuttle data set with the selected data set that meets the conditions; and determine the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0007] The chip of the embodiment of the present application includes a memory and a processor, the memory is configured to store a computer program, and the processor implements the following data shuttling method of the shuttle box when executing the computer program: select the required data items in the optional area to generate a call instruction; parse the call instruction to obtain a call parameter, the call parameter includes a data structure corresponding to each of the data items, and the data structure has the corresponding shuttling strategy; obtain data corresponding to the required data items according to the call parameter as selected data; filter the selected data, and form a shuttle data set with the selected data set that meets the conditions; and determine the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0008] A computer-readable storage medium of an embodiment of the present application stores a computer program, which, when executed by a processor, implements the following data shuttling method of a shuttle box: selecting a required data item in the optional area to generate a call instruction; parsing the call instruction to obtain a call parameter, wherein the call parameter includes a data structure corresponding to each of the data items, and the data structure has a corresponding shuttling strategy; acquiring data corresponding to the required data item according to the call parameter as selected data; filtering the selected data, and forming a shuttle data set with the selected data set that meets the conditions; and determining the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttling the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1 is a flowchart of a data shuttling method of a shuttle box in some embodiments of the present application;

[0012] Figure 2 is a schematic diagram of the structure of a data shuttle device in some embodiments of the present application;

[0013] Figure 3 is a schematic diagram of the structure of a data shuttle device in some embodiments of the present application;

[0014] Figure 4 is a schematic diagram of a data shuttling device according to some embodiments of the present application;

[0015] Figure 5 is an application scenario diagram of the data shuttle device in some embodiments of the present application;

[0016] Figure 6 is a schematic diagram of the structure of the shuttle frame of some embodiments of the present application;

[0017] Figure 7 is a flowchart of a data shuttling method of a shuttle box in some embodiments of the present application;

[0018] Figure 8 is a flowchart of a data shuttling method of a shuttle box in some embodiments of the present application;

[0019] Fig. 9 is a flowchart of a data shuttling method of a shuttle box in some embodiments of the present application;

[0020] Fig.10 is a flowchart of a data shuttling method of a shuttle box in some embodiments of the present application;

[0021] Fig.11 is a schematic diagram of the structure of a data shuttle device in some other embodiments of the present application;

[0022] Fig.12 is a flowchart of a data shuttle device in some other embodiments of the present application;

[0023] Fig.13 is a schematic diagram of the structure of a data shuttle device in some embodiments of the present application;

[0024] Fig.14 is a schematic diagram of the structure of a chip in some embodiments of the present application;

[0025] Fig.15 It is a schematic diagram of the connection status of a computer-readable storage medium and a processor in certain embodiments of the present application.

[0026] Description of main component symbols:

[0027] Data shuttle device 100; processor 110, memory 130; generation module 10, analysis module 20, acquisition module 30, screening module 40, shuttle module 50, refresh module 60; chip 300; memory 310, processor 330; computer readable storage medium 500; computer program 510. DETAILED DESCRIPTION

[0028] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0029] When using a web page, users often need to select specific data items in a certain area (selectable area), and then transfer the selected data items to another area (shuttle area) in the form of a shuttle box for further screening and processing. In the related art, although the existing shuttle box can shuttle data, the data is easily confused and merged, resulting in low accuracy of data shuttle.

[0030] To solve this problem, the present application provides a data shuttle method (such as Figure 1 , Figures 6 to 10 , Fig.12 As shown), the data shuttle device 100 (as shown Figure 2 , Figure 3 , Figure 4 , Figure 5 and Fig.11 As shown), chip 300 (as shown Fig.13 ) and computer readable storage medium 500 (as shown Fig.14 shown).

[0031] See also Figure 1 and Figure 2In certain embodiments, the construction of the data shuttling device 100 of the present application relies on the MVVM (Model-View-ViewModel) framework, which divides the application into three parts: model, view, and view model. The model is used to process the data and business logic of the data shuttling device 100, which is implemented in the present application through JavaScript and may involve communication with back-end services. The view is used for the visualization of the user interface, and the structure is constructed through HTML in the present application, and CSS is used for the style of the user interface display. The view model is used to associate the model and the view, which is implemented through Vue in the present application. Vue is used to manage the logic of data shuttling in the data shuttling device 100, that is, Vue is provided with a pre-stored shuttling strategy, and Vue is used to automatically reflect changes in data status to the view. When the data in the view model changes, the view will be updated immediately. In addition, user interactions (such as clicks on the user interface) will also update the data in the view model through Vue's event system.

[0032] Therefore, in the data shuttle device 100, JavaScript can construct and implement the view model, and is also used to process the model's data and interaction with the view. CSS is used to beautify the view and provide a friendly user interface. HTML, as the basis of the view, defines the structure and content of the user interface. Therefore, the MVVM framework can make the data shuttle device 100 more modular, efficient and easy to maintain. The introduction of Vue.js, especially its responsive and componentized features, further simplifies the implementation of the MVVM model, allowing developers to focus on building business logic and user experience without having to deal with complex data status synchronization issues.

[0033] See also Figure 1 and Figure 3 , the data shuttling device 100 can also monitor and transmit the message changes in the data shuttling device 100 to ensure the security of the messages in the data shuttling device 100. Specifically, the data listener can monitor all properties of the data object. When the properties of the object change, the data shuttling device 100 will generate a message (such as a shuttle instruction or a call instruction) and notify the subscriber. The instruction parser is used to scan and parse each message, parse the message into a computer-recognizable language, and execute the callback function bound to the message. Subscribers can subscribe and receive notifications for each message and execute the callback function bound to the message. The dependency collector is used to notify all subscribers when the message changes. The updater is used to call the update function to trigger the re-rendering of the view (i.e., the display interface).

[0034] See also Figure 1 , Figure 4 , Figure 5 and Figure 6 , the data shuttling method of the shuttle frame of the embodiment of the present application includes:

[0035] 01: Select the required data item in the optional area to generate a call instruction;

[0036] 03: Parse the call instruction to obtain the call parameters, which include the data structure corresponding to each data item, and the data structure has a corresponding shuttle strategy;

[0037] 04: Get the data corresponding to the required data item according to the calling parameters as the selected data;

[0038] 05: Filter the selected data and form a shuttle data set with the selected data set that meets the conditions; and

[0039] 07: Based on the input shuttle instruction, determine the shuttle strategy corresponding to the data structure, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0040] The data shuttling method of the above-mentioned shuttle box can be applied to the data shuttling device 100. The data shuttling device 100 of the embodiment of the present application includes a generation module 10, a parsing module 20, an acquisition module 30, a screening module 40 and a shuttle module 50. The generation module 10 is used to select the required data items in the optional area to generate a call instruction; the parsing module 20 is used to parse the call instruction to obtain the call parameters, and the call parameters include the data structure corresponding to each data item, and the data structure has a corresponding shuttle strategy; the acquisition module 30 is used to obtain the data corresponding to the required data item according to the call parameters as the selected data; the screening module 40 is used to screen the selected data, and form a shuttle data set with the selected data set that meets the conditions; the shuttle module 50 is used to determine the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0041] Specifically, the shuttle box is used to realize the movement and display of data between the optional area and the shuttle area. The optional area is a part of the shuttle box, including multiple data items, and the user can select the required data items from the optional area based on the needs. The shuttle area is another part of the shuttle box, which is used to display the data items that the user has selected and shuttled from the optional area to the shuttle area. The number of optional areas and shuttle areas in the shuttle box is not limited. The present application is explained as a shuttle box including one optional area and one shuttle area. Among them, the roles of the optional area and the shuttle area can be interchanged. For example, when the data is shuttled from the left area to the right area, the left area is the optional area and the right area is the shuttle area; conversely, when the data is shuttled from the right area back to the left area, the right area becomes the optional area and the left area is the shuttle area.

[0042] In the shuttle box, a data item is the smallest operation unit that can be selected in the optional area. Each data item includes one or more groups of information. Users perform specific data operations by selecting these data items. For example, in a contact management system, a data item may be a single contact record, which includes the name of the contact and the phone number of the contact. There are multiple shuttle strategies pre-stored in the shuttle box. The shuttle strategy is the rule followed by the data in the shuttle box process. It defines how the data is shuttled from the optional area to the shuttle area. The shuttle strategy includes but is not limited to operations such as data filtering, conversion or mapping. By parsing the call instruction and obtaining the call parameters, the system can automatically identify the processing method required for each data item, ensuring that subsequent operations can be performed according to the predetermined rules. Different data structures or user needs will correspond to different shuttle strategies. For example, in a file system, pictures and documents belong to different data structures, and different shuttle strategies may be used for data shuttle. Through different shuttle strategies, the shuttle box can automatically process different types of data items to ensure the accuracy and effectiveness of data shuttle.

[0043] In the method of 01, the user selects the required data items through the optional area, and the required data items may be one or more. The user's selection behavior includes but is not limited to clicking, dragging, and the like. When the user selects the required data items, the data shuttle device 100 will automatically trigger the generation module 10, and the generation module 10 will generate a call instruction based on the required data items. That is, the generation of the call instruction depends on the user's selection behavior, and the call instruction clearly identifies the required data items selected by the user, and indicates that the subsequent data processing flow should process these required data items. The call instruction ensures that the data shuttle device 100 can accurately receive the user's operating intentions, and ensures that the data shuttle device 100 can clearly receive the user's operating intentions.

[0044] In the method of 03, after the call instruction is generated, the parsing module 20 is used to parse the call instruction and convert the user's selection behavior in the display interface (front end) into a call parameter that the data shuttle device 100 can understand and execute in the back end. The call parameter includes detailed information of each required data item to ensure that the data shuttle device 100 can correctly identify and process the data selected by the user. The information in the call parameter includes not only the identifier of the data item, but also the specific data structure of each data item. The data structure is the organization form or storage method of the data item. The data structure includes but is not limited to character arrays and object arrays. For example, the user selects multiple contact information as the required data item in the optional area, and the multiple contact information may be represented in the front end as a contact list. However, when processing in the back end, the parsing module 20 can convert the contact information into a format that the data shuttle device 100 can understand, such as parsing each contact information into an object array, and the object array includes attributes such as the contact name, telephone number, and email address. For another example, in a file management system, the user selects multiple files as the required data items, and the multiple files can be stored in the form of a character array, and each element in the character array represents the name, path or type of a file. The parsing module 20 improves the efficiency of the data shuttle device 100 and also allows the system to process more complex data types and structures. For example, for the processing of object arrays, the system can automatically identify and process multi-layer nested data structures, such as complex data including multiple sub-objects or fields. Through the conversion and optimization of the parsing module 20, the system can adapt to diverse data scenarios, making the processing of data in the shuttle process more flexible and accurate.

[0045] In the method of 04, the acquisition module 30 can access the storage unit based on the calling parameters, and the storage unit stores the data corresponding to the required data items. The storage unit includes but is not limited to the database or external API of the data legend device. Furthermore, the acquisition module 30 can also use the data corresponding to the required data items as selected data. The selected data is the specific data content that the user hopes to shuttle from the optional area to the shuttle area through the data shuttle device 100. For example, in a file management system, the user selects the file names of multiple files as the required data items, and the acquisition module 30 extracts the actual content of the file corresponding to the file name from the storage unit by calling the parameters as the selected data.

[0046] In the method of 05, after obtaining the selected data, the screening module 40 further screens the selected data to ensure that only the selected data that meets the conditions will be processed and finally shuttled to the shuttle area. The screening conditions include but are not limited to data structure, data size, data creation date, data modification date or other attributes. For example, in electronic spreadsheet processing, the user may only want to select data items with a file type of ".xlsx", or only select files larger than 1MB to meet specific needs. For another example, in data analysis, the screened shuttle data set may only include records related to a specific project, reducing data redundancy and improving the reliability of the analysis results. After screening, the selected data that meets the conditions is sorted and packaged into a shuttle data set. The shuttle data set is the final data for shuttle, including all the optional data that has been screened and meets the conditions. The screening module 40 can effectively filter out the optional data that does not meet the conditions, avoid bringing unnecessary optional data into the subsequent processing link, not only improve the efficiency of data processing, but also significantly improve the accuracy.

[0047] In the method of 07, the shuttle module 50 determines the shuttle strategy of the shuttle data set according to the shuttle instruction input by the user. The shuttle strategy defines how the shuttle data set is shuttled to the shuttle area. The shuttle strategy may include data conversion, format mapping, data merging, data merging and splitting or other operations. Different data structures correspond to different shuttle strategies, that is, different data structures have different corresponding shuttle strategies. The shuttle module 50 shuttles the shuttle data set from the optional area to the shuttle area according to the shuttle strategy to complete the data shuttling operation. The shuttle data set is then displayed as a data item in the shuttle area according to the display strategy preset in the shuttle area. The shuttle module 50 automatically handles operations such as data transmission, conversion and mapping, thereby improving the efficiency of data management and the user's operating experience.

[0048] The corresponding relationship of the data in the present application is: each data item in the optional area has corresponding data, and the data corresponding to the data item in the optional area selected by the user is the selected data (that is, the data corresponding to the data item is bidirectionally bound to the data item). After the selected data is screened, the set formed by the selected data that meets the conditions is the shuttle data set (that is, the shuttle data set includes one or more selected data that meet the conditions). After the shuttle data set shuttles to the shuttle area, each selected data that meets the conditions corresponds to a data item in the shuttle area.

[0049] The data shuttling method of the shuttle box of the present application generates a call instruction by selecting the required data items in the optional area, parsing the call instruction to obtain the call parameter, the call parameter includes the data structure corresponding to each data item, and obtains the data corresponding to the required data item as the selected data according to the call parameter, forms a qualified shuttle data set when screening the selected data, determines the shuttle strategy corresponding to the data structure based on the input shuttle instruction, ensures that the shuttle data set is transmitted from the optional area to the shuttle area according to the predetermined strategy, thereby effectively avoiding the confusion and data fusion that may be caused by the difference in different data structures during the data shuttling process, improves the accuracy of data shuttling, and ensures the accuracy of data.

[0050] See also Figure 7 and Figure 8 In some embodiments, the call parameter further includes a data identifier corresponding to each data item. 04: Acquiring data corresponding to the required data item according to the call parameter as selected data, including:

[0051] 041: Locate and call the data interface of the shuttle frame based on the data structure; and

[0052] 043: Based on the data identifier, obtain data corresponding to the required data item from the data interface as selected data.

[0053] The data shuttling method of the shuttle box can be applied to the data shuttling device 100, and the acquisition module 30 is also used to: locate and call the data interface of the shuttle box based on the data structure and data identifier; and obtain data corresponding to the required data item from the data interface as selected data.

[0054] A data identifier is a tag used to uniquely identify each data item, usually a unique ID or index number, which is used to obtain the data corresponding to the required data item.

[0055] In the method of 041, the acquisition module 30 locates and calls the data interface in the shuttle box based on the data structure. The data interface is a communication channel between the shuttle box and the storage unit, which is used to acquire, transmit and process the required data items. The acquisition module 30 can identify the specific data structure of each data item and select the data interface corresponding to the data structure accordingly. Specifically, different data structures correspond to different data interfaces. In the embodiment of the present application, the data structure includes a first data structure and a second data structure. The first data structure is a character array, and the second data structure is an object array. The character array is a linear data structure with characters as basic units, which is usually used to process text or string data; the object array is a complex data structure, including multiple attributes and methods, which is used to represent object data with multi-dimensional characteristics. Since the formats and organizational methods of these two data structures are different, they require independent interfaces for processing. Therefore, the data items of the character array will be transmitted through the data interface dedicated to the character array, while the data items of the object array will be processed through the data interface dedicated to the object array. As a result, the acquisition module 30 ensures that the data items of different data structures can be accurately transmitted and processed through the corresponding data interface, avoiding the occurrence of data confusion or transmission errors.

[0056] In the method of 043, the data identifier is a unique identifier for each data item, and the data identifier is used to locate the data corresponding to the required data item, ensuring that the corresponding data obtained is completely consistent with the required data item selected by the user. Through the data identifier, the acquisition module 30 can extract the data corresponding to the required data item from the storage unit as the selected data.

[0057] See also Fig. 9 In some embodiments, 05: screening selected data and forming a shuttle data set with selected data sets that meet the conditions, including:

[0058] 051: Verify whether the selected data meets the shuttle conditions;

[0059] 053: traverse the selected data that meets the shuttle conditions and remove duplicates from the selected data; and

[0060] 055: Pack the selected data after deduplication to form a shuttle data set.

[0061] The data shuttling method of the above-mentioned shuttle frame can be applied to the data shuttling device 100, and the screening module 40 is also used to: verify whether the selected data meets the shuttling conditions; traverse the selected data that meets the shuttling conditions and deduplicate the selected data; and pack the deduplicated selected data into a shuttle data set.

[0062] In the method of 051, the shuttle condition is a preset rule in the screening module 40, which is used to verify the selected data and determine whether the selected data can be shuttled. The screening module 40 can verify each selected data to ensure that it meets the shuttle condition. If the selected data fails to pass the verification, the shuttle box will trigger a reminder to prompt the user that it cannot be selected. The shuttle condition can be a single or a combination of multiple conditions. For example, the shuttle condition can be a data size limit to ensure that only selected data with a data size less than a specific value meets the shuttle condition. For another example, in some embodiments, the shuttle condition is that no more than 10 selected data can be selected for shuttle at a time. If the user attempts to select more than 10 selected data, the screening module 40 will block and trigger a reminder, prompting the user that the selected data cannot be selected in excess of the specified number. The limit on the number of selected data can effectively prevent the shuttle box from having performance problems due to overload during the transmission process.

[0063] In the method of 053, the shuttle box deduplicates the selected data that meets the shuttling conditions by traversing. Deduplication is used to ensure that no duplicate selected data appears during the data shuttling process, so as to avoid wasting shuttle box memory or operating errors due to data redundancy. Specifically, the screening module 40 can identify duplicates based on the data identifier of the selected data or other information of the selected data. The data identifier is a unique mark for each selected data, which can distinguish different selected data. The screening module 40 compares the data identifier of each selected data. If the data identifiers of two selected data are consistent, the screening module 40 determines that they are the same selected data, and the screening module 40 will deduplicate and retain only one selected data. Other features include but are not limited to data content, timestamp, category or type, metadata, and contextual information. For example, if the timestamps of two selected data are consistent, the screening module 40 determines that they are the same selected data, and the screening module 40 will deduplicate and retain only one selected data. Through traversal and deduplication, the screening module 40 ensures the uniqueness of the selected data and avoids the transmission of duplicate data, thereby improving the accuracy and efficiency of the shuttle operation.

[0064] In the method of 055, the screening module 40 packages the selected data after deduplication processing to form a shuttle data set. The shuttle data set is a set of selected data after screening and deduplication, representing the specific data that the user wants to transfer in the shuttle operation. The screening module 40 integrates all qualified selected data into a shuttle data set in a specific format. The screening module 40 integrates the deduplicated selected data into a unified shuttle data set, which can reduce the complexity of data processing and improve the efficiency of data shuttling.

[0065] See also Figure 4 and Figure 7In some embodiments, the shuttle strategy includes a first shuttle strategy and a second shuttle strategy, the first data structure corresponds to the first shuttle strategy, the second data structure corresponds to the second shuttle strategy, and the first data structure and the second data structure are different.

[0066] In the method of 07, the shuttle box determines the shuttle strategy corresponding to the data structure through the input shuttle instruction, thereby realizing the effective transmission of the shuttle data set. Specifically, the shuttle strategy is divided into a first shuttle strategy and a second shuttle strategy to adapt to different data structures. Among them, the first data structure is in the form of a character array, and the second data structure exists in the form of an object array. This distinction ensures that the shuttle box can apply a specific shuttle strategy when processing different types of data, thereby optimizing the data movement process.

[0067] When the shuttle box receives the shuttle instruction, it first identifies the data item type included in the shuttle data set. For the first data structure corresponding to the character array, the shuttle box applies a first shuttle strategy, which may involve a simple movement of data, such as directly moving the selected string data from the optional area to the shuttle area. The advantage of this strategy is that it has a fast processing speed and is suitable for use in scenarios where a large amount of simple data needs to be transmitted quickly.

[0068] On the other hand, when the shuttle box recognizes that the shuttle data set includes a second data structure represented in the form of an object array, the second shuttle strategy will be applied. This strategy usually involves more complex processing steps, such as data conversion, mapping or other operations. For example, when the user selects multiple contact data including user details in the optional area, the shuttle box needs to use the second shuttle strategy to move these contact information from the optional area to the shuttle area according to specific attribute mapping rules. This may include integrating information such as contact name, phone number and email into a structured data record for subsequent processing.

[0069] In this way, the shuttle box can accurately handle the shuttle strategies required by different data structures when shuttling data. This flexibility allows the shuttle box to not only improve the efficiency of data shuttling, but also ensure that different types of data will not be confused during the transmission process. Different shuttle strategies target the characteristics of different data structures, ensuring the integrity and accuracy of the data to the greatest extent, thereby improving the user experience and convenience of operation.

[0070] See also Figure 4 and Figure 7 In some embodiments, the shuttling strategy includes defining a field mapping for shuttling a data set from an optional region to a shuttle region.

[0071] Field mapping means that during the shuttle process, the shuttle box can correspond and convert the fields in the data items in the optional area with the fields in the data items after the shuttle. For example, in the method of 07, when the data corresponding to the data items in the optional area is a contact record, the data corresponding to each data item may include multiple fields, such as data identifier, data structure, name, phone number, email and address. The shuttle box needs to accurately correspond the fields from the object array in the optional area to the data items in the shuttle box according to the preset field mapping rules. Through the preset field mapping rules, the shuttle box can automatically handle the conversion of data structures and reduce data inconsistencies caused by human errors.

[0072] See also Fig.10 and Fig.11 In some embodiments, the data shuttling method further comprises:

[0073] 09: Update the display of the selectable area and shuttle area.

[0074] The data shuttling method of the shuttle box can be applied to the data shuttling device 100. The data shuttling device 100 further includes a refresh module 60. The refresh module 60 is used to update the display of the selectable area and the shuttle area.

[0075] In the method of 09, the refresh module 60 is used to update the display of the optional area and the shuttle area to ensure that the user interface can reflect the changes in the optional area and the shuttle area after the data is shuttled. For example, if the user selects the required data items from the optional area, and the data corresponding to the required data items are also successfully shuttled to the shuttle area, then these data items should no longer be displayed in the optional area. If new data items are added to the optional area, these data items need to be displayed in the optional area. For the shuttle area, the shuttle box also needs to update the display to reflect the data items shuttled from the optional area to the shuttle area. After the user completes the shuttle operation, the shuttle area should display all data items that have been successfully transferred through the shuttle strategy. The refresh module 60 updates the display content of the optional area and the shuttle area, which can ensure the accuracy of the shuttle box display.

[0076] See also Fig.11 and Fig.12 In some embodiments, 09: updating the display of the optional area and the shuttle area includes:

[0077] 091: Remove the data of the shuttle data set from the optional area; and

[0078] 093: Add the data of the shuttle data set to the shuttle area.

[0079] The data shuttling method of the shuttle frame can be applied to the data shuttling device 100, and the refreshing module 60 is further used to: remove the data of the shuttle data set from the optional area; and add the data of the shuttle data set to the shuttle area.

[0080] In the method of 091, by removing the data of the shuttled data set from the optional area, the refresh module 60 can remove the data items that have been shuttled in the optional area, preventing the user from repeatedly selecting the data items that have been shuttled, thereby avoiding repeated operations. In addition, the refresh module 60 also helps to maintain a clear user interface for the optional box, allowing the user to intuitively see the remaining optional data items and maintain data consistency.

[0081] In the method of 093, by adding the data of the shuttle data set to the shuttle area, the refresh module 60 can intuitively display the results of the data shuttling. In addition, the refresh module 60 also helps to maintain a clear user interface for the optional box, allowing the user to intuitively see the remaining optional data items and maintain data consistency; in addition, the refresh module 60 also helps to maintain a clear user interface for the shuttle box, allowing the user to intuitively see the data items that have been successfully shuttled and maintain data consistency.

[0082] See also Fig.14 and Fig.11 In some embodiments, the shuttle box also includes a data source component, which is used to configure the content of the data displayed in the optional area.

[0083] Specifically, the data source component is used to configure the content of the data displayed in the optional area, that is, the data source component is used to configure which data in the storage unit and which fields of the data are displayed in the optional area.

[0084] More specifically, the storage unit includes data corresponding to multiple data items, each data includes one or more fields, and each field represents different attributes of the data. For one data, in the display interface, the data item can choose to display all fields of the data, that is, the fields displayed by the data item are consistent with the fields of the data corresponding to the data item; the data item can also choose not to display all fields, that is, only part of the fields of the data corresponding to the data item are displayed in the data item. For multiple data, the display interface can display the data items corresponding to all data, or the display interface can only display the data items corresponding to part of the data. Among them, the displayed content represents the collection of content displayed in the user interface of the data in the storage unit. Therefore, the data source component can only display the content that needs to be displayed in the optional area on the premise of ensuring that data is not lost, thereby avoiding interface congestion in the optional area.

[0085] See also Fig.14 and Fig.11 In some embodiments, the shuttle frame further includes a custom shuttle component, which is used to customize the content displayed in the optional area and / or the shuttle area.

[0086] Specifically, the custom shuttle component can customize the content displayed in the optional area and / or the shuttle area. The displayed content includes but is not limited to text, icons or buttons, thereby displaying the content that needs to be displayed in the user interface and hiding the content that does not need to be displayed, thereby simplifying the interface.

[0087] See also Fig.14 and Fig.11 In some embodiments, the shuttle frame further includes a retrieval component, which is disposed in the optional area and / or the shuttle area. The retrieval component is used to filter the data in the optional area and / or the shuttle area and form a data item.

[0088] Specifically, the search component is set in the optional area and / or the shuttle area, and the user can quickly find and locate the data item by entering a keyword or selecting a specific condition. For example, the user can enter "Zhang San" in the search component, and the shuttle box will automatically filter out all related data items named "Zhang San". In the case where the search component is set in the optional area, the search component can quickly find the data items in the optional area to quickly locate the required data items; in the case where the search component is set in the shuttle area, the search component can quickly find the data items in the shuttle area to confirm the data that has been shuttled to avoid repeated searches in the optional area.

[0089] See also Fig.14 and Fig.11 In some embodiments, the shuttle box further includes a selection component, the selection component includes a selection button, the selection button is used to trigger the shuttle instruction, and text for indication is displayed on the selection button.

[0090] Specifically, the selection component includes a selection button, which is used to trigger the shuttle instruction and instruct the shuttle box to perform a data shuttling operation. The selection component can be set in the optional area and / or the shuttle area, or it can be set in other areas of the shuttle box. In the present application, the selection component is set in other areas of the shuttle box, thereby making the selection component clearer and making the display effect of the optional area and the shuttle area in the user interface more concise and refreshing. The selection button displays instructive text in the user interface, such as "add" or "remove", to clearly convey the function and operation intention of the button. By clicking the selection button, the user can quickly perform the required shuttle operation.

[0091] See also Fig.14 and Fig.11 In some embodiments, the shuttle frame further includes a display component, and the display component is disposed in the optional area and / or the shuttle area, and the display component is used to display the name of the optional area and / or the shuttle area.

[0092] Specifically, the display component is provided in the selection area and / or the shuttle area to display the name of the selection area and / or the shuttle area. For example, the selection area can be named "tasks to be processed" and the shuttle area can be named "tasks processed", thereby helping users to quickly identify the functions of the selection area and the shuttle area, making data operation more intuitive.

[0093] In summary, in the data shuttling method, data shuttling device 100, chip 300 and computer-readable storage medium 500 of the shuttle box provided by the present application, the shuttle box generates a call instruction by selecting the required data items in the optional area, and parses the call instruction to obtain the call parameters, the call parameters include the data structure corresponding to each data item, and obtains the data corresponding to the required data item as the selected data according to the call parameters, and forms a qualified shuttle data set when screening the selected data, determines the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and ensures that the shuttle data set is transmitted from the optional area to the shuttle area according to the predetermined strategy, thereby effectively avoiding the confusion and data fusion that may be caused by the differences in different data structures during the data shuttling process, improving the accuracy of data shuttling, and ensuring the accuracy of the data.

[0094] See also Fig.13 In some embodiments, the present application further provides a data processing device, which includes a processor 110 and a memory 130, wherein the memory 130 is configured to store a computer program 510, and when the processor 110 executes the computer program 510, the method in any one of the above embodiments is implemented.

[0095] When the processor 110 executes the computer program 510 stored in the memory 130, the following method is implemented:

[0096] 01: Select the required data item in the optional area to generate a call instruction;

[0097] 03: parsing the call instruction to obtain call parameters, wherein the call parameters include a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy;

[0098] 04: Acquire data corresponding to the required data item according to the calling parameter to serve as selected data;

[0099] 05: Filter the selected data, and form a shuttle data set with the selected data set that meets the conditions; and

[0100] 07: Based on the input shuttle instruction, determine the shuttle strategy corresponding to the data structure, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0101] For another example, when the processor 110 executes the computer program 510 stored in the memory 130, the methods in 041, 043, 051, 053, 055, 09, 091 and 093 can also be implemented.

[0102] The data processing device provided by the present application generates a call instruction by selecting a required data item in an optional area, parsing the call instruction to obtain a call parameter, wherein the call parameter includes a data structure corresponding to each data item, and obtains the data corresponding to the required data item according to the call parameter as the selected data, and forms a qualified shuttle data set when screening the selected data, determines a shuttle strategy corresponding to the data structure based on the input shuttle instruction, and ensures that the shuttle data set is transmitted from the optional area to the shuttle area according to a predetermined strategy, thereby effectively avoiding confusion and data fusion that may be caused by differences in different data structures during the data shuttling process, improving the accuracy of data shuttling, and ensuring the accuracy of the data.

[0103] See also Fig.14 In some embodiments, the present application further provides a chip 300, the chip 300 includes a memory 310 and a processor 330, the memory 310 is configured to store a computer program 510, and the processor 330 implements the method in any of the above embodiments when executing the computer program 510.

[0104] When the processor 330 executes the computer program 510 stored in the memory 310, the following method is implemented:

[0105] 01: Select the required data item in the optional area to generate a call instruction;

[0106] 03: parsing the call instruction to obtain call parameters, wherein the call parameters include a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy;

[0107] 04: Acquire data corresponding to the required data item according to the calling parameter to serve as selected data;

[0108] 05: Filter the selected data, and form a shuttle data set with the selected data set that meets the conditions; and

[0109] 07: Based on the input shuttle instruction, determine the shuttle strategy corresponding to the data structure, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0110] For another example, when the processor 330 executes the computer program 510 stored in the memory 310, the methods in 041, 043, 051, 053, 055, 09, 091 and 093 can also be implemented.

[0111] The chip 300 provided in the present application generates a call instruction by selecting the required data items in the optional area, parsing the call instruction to obtain call parameters, the call parameters include the data structure corresponding to each data item, and obtains the data corresponding to the required data items as selected data according to the call parameters. When screening the selected data, a qualified shuttle data set is formed, and a shuttle strategy corresponding to the data structure is determined based on the input shuttle instruction to ensure that the shuttle data set is transferred from the optional area to the shuttle area according to a predetermined strategy. This can effectively avoid confusion and data fusion that may be caused by differences in different data structures during data shuttling, thereby improving the accuracy of data shuttling and ensuring data accuracy.

[0112] See also Fig.15 In some embodiments, the present application further provides a computer-readable storage medium 500 on which a computer program 510 is stored, and when the program is executed by the processor 110, the method in any of the above embodiments is implemented.

[0113] For example, when the processor 110 executes the computer program 510 stored in the memory 130, the following method is implemented:

[0114] 01: Select the required data item in the optional area to generate a call instruction;

[0115] 03: parsing the call instruction to obtain call parameters, wherein the call parameters include a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy;

[0116] 04: Acquire data corresponding to the required data item according to the calling parameter to serve as selected data;

[0117] 05: Filter the selected data, and form a shuttle data set with the selected data set that meets the conditions; and

[0118] 07: Based on the input shuttle instruction, determine the shuttle strategy corresponding to the data structure, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

[0119] For another example, when the processor 110 executes the computer program 510 stored in the memory 130, the methods in 041, 043, 051, 053, 055, 09, 091 and 093 can also be implemented.

[0120] The computer-readable storage medium 500 provided in the present application generates a call instruction by selecting a required data item in an optional area, parsing the call instruction to obtain a call parameter, wherein the call parameter includes a data structure corresponding to each data item, and obtains the data corresponding to the required data item according to the call parameter as the selected data, and forms a qualified shuttle data set when screening the selected data, and determines a shuttle strategy corresponding to the data structure based on the input shuttle instruction, ensuring that the shuttle data set is transferred from the optional area to the shuttle area according to a predetermined strategy, thereby effectively avoiding confusion and data fusion that may be caused by differences in different data structures during the data shuttling process, improving the accuracy of data shuttling, and ensuring the accuracy of the data.

[0121] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0122] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0123] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A data shuttle method in a shuttle box, wherein the shuttle box comprises an optional area and a shuttle area, wherein the optional area comprises a plurality of data items, and wherein a plurality of shuttle strategies are pre-stored in the shuttle box; characterized in that: include: Selecting a required data item in the optional area to generate a call instruction; Parsing the call instruction to obtain call parameters, wherein the call parameters include a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy; Acquire data corresponding to the required data item according to the calling parameter to serve as selected data; Screening the selected data, and forming a shuttle data set with the selected data set that meets the conditions; and Based on the input shuttle instruction, the shuttle strategy corresponding to the data structure is determined, and the shuttle data set is shuttled from the optional area to the shuttle area according to the shuttle strategy.

2. The data shuttling method according to claim 1, characterized in that: The calling parameters also include a data identifier corresponding to each of the data items; acquiring data corresponding to the required data items according to the calling parameters as selected data, including: Locating and calling the data interface of the shuttle frame based on the data structure; and Data corresponding to the required data item is acquired from the data interface based on the data identifier as selected data.

3. The data shuttling method according to claim 1, characterized in that: Screening the selected data and forming a shuttle data set with the selected data set that meets the conditions, including: Verifying whether the selected data meets the shuttle condition; Traversing the selected data that meets the shuttle condition, and removing duplicates from the selected data; and The selected data after deduplication is packaged to form the shuttle data set.

4. The data shuttling method according to claim 1, characterized in that: The data structure includes a first data structure and a second data structure, the shuttle strategy includes a first shuttle strategy and a second shuttle strategy, the first data structure corresponds to the first shuttle strategy, the second data structure corresponds to the second shuttle strategy, and the first data structure and the second data structure are different.

5. The data shuttling method according to claim 4, characterized in that: The first data structure is a character array, and the second data structure is an object array.

6. The data shuttling method according to claim 1, characterized in that: The shuttling strategy includes a field mapping that defines the shuttling of the shuttle data set from the optional area to the shuttle area.

7. The data shuttling method according to claim 1, characterized in that: The data shuttling method further comprises: The display of the selectable area and the shuttle area is updated.

8. The data shuttling method according to claim 7, characterized in that: Updating the display of the optional area and the shuttle area includes: removing data of the shuttle data set from the optional area; The data of the shuttle data set is added to the shuttle area.

9. The data shuttling method according to claim 1, characterized in that: The shuttle box also includes a data source component, which is used to configure the content of the data displayed in the optional area.

10. The data shuttling method according to claim 1, characterized in that: The shuttle frame further includes a custom shuttle component, and the custom shuttle component is used to customize the optional area and / or the content displayed in the shuttle area.

11. The data shuttling method according to claim 1, characterized in that: The shuttle frame further includes a retrieval component, which is disposed in the optional area and / or the shuttle area. The retrieval component is used to filter the data in the optional area and / or the shuttle area and form a data item.

12. The data shuttling method according to claim 1, characterized in that: The shuttle frame further includes a selection component, and the selection component includes a selection button, and the selection button is used to trigger the shuttle instruction, and text for indicating is displayed on the selection button.

13. The data shuttling method according to claim 1, characterized in that: The shuttle frame further comprises a display component, which is arranged in the optional area and / or the shuttle area, and is used to display the name of the optional area and / or the shuttle area.

14. A data shuttle device, characterized in that: include: A generation module, used for selecting a required data item in the optional area to generate a call instruction; A parsing module, used for parsing the call instruction to obtain call parameters, wherein the call parameters include a data structure corresponding to each of the data items, and the data structure has the corresponding shuttle strategy; An acquisition module, used for acquiring data corresponding to the required data item according to the calling parameter, as selected data; A screening module, used for screening the selected data, and forming a shuttle data set with the selected data set meeting the conditions; and The shuttle module is used to determine the shuttle strategy corresponding to the data structure based on the input shuttle instruction, and shuttle the shuttle data set from the optional area to the shuttle area according to the shuttle strategy.

15. A data shuttle device, characterized in that: include: A processor and a memory connected to the processor; The memory stores computer-executable instructions; and The processor executes the computer-executable instructions stored in the memory to implement the data shuttling method according to any one of claims 1 to 13.

16. A chip, characterized in that: The chip includes a memory and a processor, the memory is configured to store a computer program, and the processor implements the method according to any one of claims 1 to 13 when executing the computer program.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 13 is implemented.