WO2025136221A1 - 针对表格文档的交互方法、装置、电子设备及存储介质 - Google Patents
针对表格文档的交互方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2025136221A1 WO2025136221A1 PCT/SG2024/050789 SG2024050789W WO2025136221A1 WO 2025136221 A1 WO2025136221 A1 WO 2025136221A1 SG 2024050789 W SG2024050789 W SG 2024050789W WO 2025136221 A1 WO2025136221 A1 WO 2025136221A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- column
- target
- view page
- interactive interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/258—Heading extraction; Automatic titling; Numbering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/117—Tagging; Marking up; Designating a block; Setting of attributes
Definitions
- the embodiments of the present disclosure provide an interaction method, device, electronic device and storage medium for table documents to overcome the problem of low operation efficiency for table documents.
- an embodiment of the present disclosure provides an interactive method for a table document, comprising: displaying a wide table document in an interactive interface, the wide table document having at least two data columns, at least one of the at least two data columns being unable to be fully displayed in a current view page of the interactive interface; displaying at least one data label corresponding to the data column in the interactive interface based on document content of the wide table document; and controlling the interactive interface to display a positioning view page in response to a trigger operation for the target data label, the positioning view page being used to position and display the data column corresponding to the target data label.
- an embodiment of the present disclosure provides an interactive device for a table document, comprising: a display module, configured to display a wide table document in an interactive interface, wherein the wide table document has at least two data columns, and at least one of the at least two data columns cannot be completely displayed in a current view page of the interactive interface; a processing module, configured to display at least one data label corresponding to the data column in the interactive interface based on the document content of the wide table document; and a control module, configured to control the interactive interface to display a positioning view page in response to a trigger operation for a target data label, wherein the positioning view page is used to position and display the data column corresponding to the target data label.
- an embodiment of the present disclosure provides a computer program product, comprising a computer program, and when the computer program is executed by the processor, the interactive method for table documents as described in the first aspect and various possible designs of the first aspect are implemented.
- FIG. 2 is a flow chart of the interactive method for a table document provided in the embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a data label provided in the embodiment of the present disclosure
- FIG. 4 is a flow chart of a specific implementation method of step S102 in the embodiment shown in FIG. 2
- FIG. 5 is a flow chart of a specific implementation method of step S1021 in the embodiment shown in FIG. 4
- FIG. 6 is a schematic diagram of a process of locating a target data column provided in the embodiment of the present disclosure
- FIG. 7 is a flow chart of a second flow chart of the interactive method for a table document provided in the embodiment of the present disclosure
- FIG. 8 is a flow chart of a specific implementation method of step S204 in the embodiment shown in FIG. 7;
- FIG. 9 is a schematic diagram of a highlighted data label provided in the embodiment of the present disclosure
- FIG. 10 is a flow chart of a specific implementation method of step S206 in the embodiment shown in FIG. 7
- FIG11 is a block diagram of an interactive device for a table document provided in an embodiment of the present disclosure
- FIG12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure
- FIG13 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure.
- the user information including but not limited to user device information, user personal information, etc.
- data including but not limited to data for analysis, stored data, displayed data, etc.
- the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
- Figure 1 is an application scenario diagram of the interactive method for table documents provided by the embodiment of the present disclosure.
- the interactive method for table documents provided by the embodiment of the present disclosure can be applied to an application with the function of displaying table documents, and more specifically, it can be applied to the application scenario of displaying and editing wide table documents.
- the execution subject of this embodiment can be a terminal device running the above-mentioned application with the function of displaying table documents, or a server deploying the server corresponding to the above-mentioned application, or other electronic devices with similar functions. Referring to FIG.
- a table document taking a terminal device as an example, after the terminal device runs the above-mentioned application program (specifically, such as electronic spreadsheet software) with the function of displaying and editing a table document, the table document is loaded online or offline, and displayed in the interactive interface of the application program. Afterwards, the user can view and further edit the table document through the interactive interface.
- a table document generally includes multiple data rows and multiple data columns, each data row corresponds to a data object, and each data column is used to record the object content corresponding to the data object.
- FIG. 2 is a flow chart 1 of the interaction method for a table document provided by the embodiment of the present disclosure. The method of this embodiment can be applied in a terminal device.
- the interactive method for a table document includes: Step S101: Displaying a wide table document in an interactive interface, the wide table document having at least two data columns, at least one of the at least two data columns cannot be fully displayed in a current view page of the interactive interface.
- the terminal device runs an application program (such as spreadsheet software) having a function of displaying a table document
- the wide table document is displayed through an interactive interface of the application program. Specifically, first, through the document loading interface of the application program, a table file stored locally on the terminal device or in the cloud is selected and loaded into the terminal device.
- the terminal device parses the data in the table file and generates a wide table document based on a table style parameter or a table template and displays it in the interactive interface.
- the table style parameter or the table template may be preset in the terminal device (application program).
- the appearance style setting of the wide table document may be implemented, such as setting the table line width, row height, column width, etc.
- the specific implementation method may be set as needed and will not be described one by one here.
- a wide table document is a table document with a special table structure.
- the wide table document has multiple object contents for recording the data object corresponding to the data row under an independent content dimension.
- the data object corresponding to the data row is "user identification”
- the data column corresponding to each "user identification” is used to record the object content under the independent content dimension corresponding to the "user identification”.
- the object content includes, for example, "creation time”, “request content”, “authorization level”, etc.
- the above-mentioned object contents such as “creation time”, “request content”, “authorization level” correspond to independent content dimensions.
- at least two data columns at least one data column cannot be fully displayed in the current view page of the interactive interface. For such wide table documents, it is necessary to view the content by moving the view page horizontally. Afterwards, the terminal device displays the data label corresponding to the data column based on the document content of the wide table document.
- the terminal device can display the data label corresponding to the data column based on the user's trigger instruction, such as clicking a specific trigger button, after the document content of the table document is displayed.
- the terminal device can synchronously display the data label corresponding to the data column, which can be set based on the needs.
- the correspondence between the data label and the data column can be achieved in the same way as the column title of the data column. That is, visually, after the terminal device displays the wide table document, the column title of each data column in the wide table document is displayed in the interactive interface to achieve rapid positioning of each data column.
- the column title can be a title corresponding to each data column, or can be attribute information bound to the data column, which is recorded in the wide table document and obtained when the wide table document is loaded.
- FIG3 is a schematic diagram of a data label provided by an embodiment of the present disclosure. As shown in FIG3, a wide table document data_1 containing N data columns is displayed in the first area of the interactive interface of the terminal device. At the same time, after the terminal device loads the table document data_1, N data labels (label #1, label #2 to label #N) are displayed in the second area of the interactive interface. Each data label corresponds to a data column, and the label content of each data label can be the column title of the data column.
- the above data label is implemented based on a label control group.
- Label control group Set at a specified position of the interactive interface, such as the second area in the embodiment shown in FIG. 3.
- the label control group may be a control set that brings together multiple trigger controls, or a control container that carries a trigger control.
- the display state of the trigger control integrated in the label control group may be set through the label control group, specifically, for example, display and hiding, display position, display style, etc. of the trigger control.
- the specific implementation of step S102 includes: Step S1021: Obtain the column headers corresponding to each data column.
- Step S1022 Determine the target control object in the label control group according to the column header.
- Step S1023 Configure the label control group based on the target control object to display the data label in the label control group.
- the terminal device directly obtains the pre-configured column headers corresponding to each data column.
- the column headers are static information pre-stored in the wide table document, and the implementation will not be repeated.
- the target control object in the label control group is clarified. Specifically, for example, a corresponding number of trigger control objects are created according to the number of column titles, and each trigger control object is mapped to the corresponding data column to generate the target control object.
- the target control object and the positioning anchor point are associated, so that after the target control object is triggered, the view page of the interactive interface can be moved horizontally to the position of the positioning anchor point, thereby realizing the positioning of the data column.
- the control name of each target control object is set to the corresponding column title so that it is displayed as a data label.
- the label control group is configured using the target control object generated above, so that the target control object is displayed in the label control group, and the control name of the target control object is the column title, thereby realizing the display of the data label (column title) corresponding to each data column.
- step S1021 when the wide table document does not contain a pre-configured column title, the column title is dynamically generated according to the data content of each data column, and then the data label is generated for display.
- the specific implementation of step S1021 includes: Step S1021A: obtaining the object content of at least one data object under the data column.
- Step S1021B processing the object content based on the language model to generate the summary content corresponding to the data column.
- Step S1021C generating the column header based on the summary content.
- the terminal device after loading the wide table document, the terminal device first obtains the object content of at least one data object under each data column. Specifically, the data object is based on the data row record.
- the terminal device obtains the data of the first three rows of the loaded wide table document, that is, 3 data objects. Afterwards, for each data column of the three data objects, content extraction is performed to obtain object content.
- data column A corresponds to three object contents (of the data object), namely content A_1, content A_2, and content A_3. Then, the content understanding and summarization capabilities of the Large Language Model (LLM) are used to generate corresponding summary content A_summary, and then the summary content A_summary is used as the column title of data column A.
- data column B also corresponds to three.
- the column title of data column B namely the summary content B summary
- the object content corresponding to each data column can be grouped as a unit to form a content group (for example, content A_1, content A_2, and content A_3 in the previous embodiment are a content group), and sent to the language model for processing in the form of content groups.
- the language model processes the content groups corresponding to the above data columns to generate the summarized content corresponding to each data column.
- the language model can refer to the relevance characteristics of each content group in terms of content, so as to more accurately understand the meaning of the object content recorded in each data column, and then obtain a more accurate column title, thereby improving the efficiency of subsequent positioning of the target data column.
- Step S103 In response to the trigger operation for the target data tag, the control interface moves to the positioning view page, and the positioning view page is used to locate and display the target data column corresponding to the target data tag. Exemplarily, after the data label corresponding to the data column is displayed in the interactive interface, the mapping association between the content and the position is realized between the data label and the corresponding data column.
- the terminal device controls the interactive interface to move horizontally to the positioning view page corresponding to the target data label, so as to realize the positioning of the target data column corresponding to the target data label.
- the positioning anchor point of the target data column corresponding to the target data label is obtained; the interactive interface is controlled to move to the positioning anchor point to display the positioning view page.
- the first case on the leftmost side or the first case on the rightmost side of the positioning view page is the target data column, so that after the interactive interface moves to the positioning view page, the positioning view page can serve the purpose of locating the target data column.
- FIG6 is a schematic diagram of a process of locating a target data column provided by an embodiment of the present disclosure.
- a wide table document is displayed in an interactive interface of a terminal device, and the wide table document includes multiple data columns, wherein in the current view page of the interactive interface, a part of the data columns in all the data columns are fully displayed.
- the column titles of the data columns displayed in the current view page are: data column A, data column B, and data column C.
- the wide table document has at least two data columns, and at least one of the at least two data columns cannot be fully displayed in the current view page of the interactive interface; based on the document content of the wide table document, the data label corresponding to the data column is displayed in the interactive interface; in response to the trigger operation for the target data label, the interactive interface is controlled to move to the positioning view page, and the positioning view page is used to locate and display the target data column corresponding to the target data label.
- the data label corresponding to the data column according to the document content in the table document while displaying the wide table document, the data column is marked, and after responding to the trigger operation for the target data label, the interactive interface is moved to the positioning view page.
- Step S202 Based on the document content of the wide table document, displaying a data label corresponding to the data column in the interactive interface.
- Step S203 Receive a sliding operation on the interactive interface, the sliding operation is used to adjust the current view page of the interactive interface.
- the terminal device may further receive a sliding operation input by the user, wherein the sliding operation refers to an operation for adjusting the current view page of the interactive interface, such as sliding horizontally through the touch screen of the terminal device, so that the current view page of the interactive interface also moves horizontally.
- step S204 includes: Step S2041: In response to the sliding operation, obtain the target column title of the data column displayed at the target position of the current view page. Step S2042: According to the target column title, determine the corresponding target data label, and highlight the target data label.
- the terminal device responds to the sliding operation and moves the current view page of the interactive interface, the updated target position of the current view page is used as an indication point to determine the target data column.
- the leftmost preset area of the current view page is the target position
- the data column located in the preset area is the target data column.
- the column title of the target data column is the target column title.
- the corresponding data label that is, the target data label, is determined.
- the target data label is highlighted, such as by underlining, bolding the font, adding a shadow, etc., so as to achieve the reverse effect of the user operation on the data label.
- the target position of the current view page can be implemented in other forms, for example, the target position of the current view page is the entire area of the current view page.
- the target column title determined by the target position of the current view page is the column title of the data column displayed in the current view page. Therefore, it is possible to use data tags to quickly display the content (column headers) in the current view page, and then use data tags to quickly locate the target data column, thereby improving the overall efficiency of data column positioning, especially the amount of data in the current view page. When the number is large, the operation efficiency of the table document can be effectively improved.
- FIG. 9 is a schematic diagram of highlighting data labels provided by an embodiment of the present disclosure. As shown in FIG.
- the terminal device displays data labels corresponding to each data column of the wide table document in the label control group of the interactive interface, such as label #1 to label #9 in the label control group in the figure.
- the preset target position is the entire area of the current view page.
- label #1 and label #9 are highlighted according to the data columns (for example, including data column A and data column B) displayed in the target position of the first view page in the interactive interface; afterward, the terminal device moves the current view page (first view page) to the second view page in response to the user's sliding operation.
- step S204 includes: Step S2043: In response to the sliding operation, obtaining the column title of the target data column displayed in the current view page.
- Step S2044 Based on the column title of the target data column, updating the data tag displayed in the interactive interface.
- the terminal device controls the current view page of the interactive interface to move in response to the sliding operation, so as to display the updated current view page.
- the content displayed in the corresponding schematic diagram, that is, the data column also changes accordingly.
- the terminal device determines the corresponding target data column, that is, all the data columns displayed in the current view page, according to the content displayed on the current view page updated in response to the sliding operation.
- the data label displayed in the interactive interface is dynamically updated according to the column title of the above target data column.
- the interactive interface when the interactive interface is located in the first view page, according to all the data columns displayed in the first view page in the interactive interface, such as data column #1, data column #2, and data column #3, the corresponding data label A, data label B, and data label C are displayed.
- the terminal device responds to the sliding operation and makes the interactive interface located in the second view page, according to all the data columns displayed in the second view page in the interactive interface, such as data column #4 and data column #5, the corresponding data label D and data label E are displayed.
- Step S205 Determine at least one data column to be selected based on the target data label corresponding to the trigger operation.
- Step S206 Sort at least one data column to be selected to determine the target data column.
- the wide table document includes 1,000 data columns.
- At least one data column to be selected (for example, Infb_1, Info_2, Infb_3 mentioned above) is determined. Then, the above data columns to be selected are sorted to determine the target data column. In a possible implementation, for example, the data columns to be selected are sorted according to the positioning anchor points, and the data columns to be selected corresponding to the anchor point position closest to the current view page are determined as the target data column, and then the target data column is positioned. In a possible implementation, as shown in FIG.
- step S206 includes: Step S2061: obtaining the access frequency of the data column to be selected within the target time period.
- the access includes but is not limited to viewing, saving, copying, modifying, etc.
- the access frequency is stored in the wide table document, and the terminal device obtains the access frequency in the process of loading the wide table document.
- the target time period is a preset value, such as one week, one hour, etc., which can be set as needed.
- the terminal device arranges the candidate data columns from large to small based on the access frequency, and determines the largest one or more candidate data columns as the target data columns.
- the data columns are sorted based on the historical access frequency, so that the frequently accessed data columns are determined first, thereby improving the overall operation efficiency of the wide table document.
- Step S207 Based on the positioning anchor point of the target data column, the current view page of the interactive interface is controlled to move to the positioning view page.
- the view page is moved based on the positioning anchor point of the target data column, and the current view page of the interactive interface can be controlled to move to the positioning view page.
- the concept of the positioning anchor point and the implementation method of moving the schematic diagram using the positioning anchor point have been introduced in the previous embodiment, and will not be repeated here.
- the interactive interface is controlled to move from the current view page to the corresponding positioning view page in sequence.
- the target data column includes data column #1, data column #2 and data column #3.
- FIG. 11 is a structural block diagram of the interactive device for table documents provided in the embodiment of the present disclosure.
- the interactive device 3 for a table document includes: a display module 31, which is used to display a wide table document in an interactive interface, wherein the wide table document has at least two data columns, and at least one of the at least two data columns cannot be completely displayed in the current view page of the interactive interface; a processing module 32, which is used to display at least one data label corresponding to the data column in the interactive interface based on the document content of the wide table document; a control module 33, which is used to control the interactive interface to move to a positioning view page in response to a trigger operation for a target data label, and the positioning view page is used to position and display a target data column corresponding to the target data label.
- a label control group is provided in the interactive interface; the processing module 32 is specifically used to: obtain a column title corresponding to each data column; determine a target control object in the label control group according to the column title; configure the label control group based on the target control object to display the data label in the label control group.
- the processing module 32 when the processing module 32 obtains the column title corresponding to each data column, it is specifically used to: obtain the object content of at least one data object under the data column; process the object content based on the language model to generate the summary content corresponding to the data column; and generate the column title based on the summary content.
- control module 33 is also used to: receive a sliding operation on the interactive interface, the sliding operation is used to adjust the current view page of the interactive interface; in response to the sliding operation, set the data label to the target display mode, wherein the target display mode is determined based on the data column displayed on the current view page.
- control module 33 when the control module 33 sets the data label to the target display mode in response to the sliding operation, it is specifically used to: obtain the target column title of the data column displayed at the target position of the current view page in response to the sliding operation; determine the corresponding target data label according to the target column title, and highlight the target data label.
- control module 33 when the control module 33 sets the data label to the target display mode in response to the sliding operation, it is specifically used to: obtain the column title of the target data column displayed in the current view page in response to the sliding operation; based on the column title of the target data column, update the data label displayed in the interactive interface.
- control module 33 is specifically used to: determine at least one data column to be selected based on the target data label corresponding to the trigger operation; sort at least one data column to be selected to determine the target data column; control the current view page of the interactive interface to move to the positioning view page based on the positioning anchor of the target data column.
- the processing module 32 is also used to: set a column title for the data column in the interactive interface; corresponding positioning anchor point; when the control module 33 controls the current view page of the interactive interface to move to the positioning view page based on the positioning anchor point of the target data column, it is specifically used to: obtain the positioning anchor point of the target data column; control the interactive interface to move to the positioning anchor point to display the positioning view page.
- control module 33 sorts at least one candidate data column and determines the target data column, it is specifically used to: obtain the access frequency of the candidate data column within the target time period; arrange the candidate data columns from large to small based on the access frequency, and determine the largest at least one candidate data column as the target data column.
- the display module 31, the processing module 32 and the control module 33 are connected in sequence.
- the interactive device 3 for the table document provided in this embodiment can execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.
- FIG12 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
- the electronic device 4 includes: a processor 41, and a memory 42 connected to the processor 41 in communication; the memory 42 stores computer-executable instructions; the processor 41 executes the computer-executable instructions stored in the memory 42 to implement the interactive method for a table document in the embodiment shown in FIG2 to FIG10.
- the processor 41 and the memory 42 are connected via a bus 43.
- the relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiment corresponding to FIG2 to FIG10, and no further details are given here.
- the embodiment of the present disclosure provides a computer-readable storage medium, in which a computer-executable instruction is stored.
- the embodiment of the present disclosure provides a computer program product, including a computer program, and when the computer program is executed by the processor, it implements the interactive method for a table document provided in any embodiment corresponding to FIG2 to FIG10 of the present disclosure.
- the embodiment of the present disclosure also provides an electronic device. Referring to FIG13, it shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure, and the electronic device 900 may be a terminal device or a server.
- the terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (PAD), portable multimedia players (PMP), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
- mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (PAD), portable multimedia players (PMP), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
- PDA personal digital assistants
- PDA tablet computers
- PMP portable multimedia players
- vehicle terminals such as vehicle navigation terminals
- fixed terminals such as digital TVs, desktop computers, etc.
- fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may be based on a program stored in a read-only memory (ROM) 902 or from a storage device
- the device 908 loads the program into the random access memory (RAM) 903 to perform various appropriate actions and processes.
- RAM random access memory
- various programs and data required for the operation of the electronic device 900 are also stored.
- the processing device 901, the ROM 902 and the RAM 903 are connected to each other through the bus 904.
- the input/output (I/O) interface 905 is also connected to the bus 904.
- the following devices can be connected to the I/O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909.
- the communication device 909 can allow the electronic device 900 to communicate with other devices wirelessly or wired to exchange data.
- FIG. 13 shows an electronic device 900 with various devices, it should be understood that it is not required to implement or have all the devices shown.
- an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart.
- the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902.
- the processing device 901 the method of the embodiment of the present disclosure is executed. Electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof.
- Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM).
- a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in conjunction with an instruction execution system, device or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code.
- Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof.
- the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate or transmit a program for use by or in combination with an instruction execution system, apparatus or device.
- the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be contained in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the computer-readable medium carries one or more programs.
- the computer program code for executing the operation of the present disclosure can be written in one or more programming languages or a combination thereof.
- the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and a conventional procedural programming language, such as "C" language or similar programming languages.
- the program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server.
- the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
- LAN local area network
- WAN wide area network
- Internet Internet service provider
- each box in the block diagram and/or flowchart, and the combination of boxes in the block diagram and/or flowchart may be implemented by a dedicated hardware-based system that performs a specified function or operation, or may be implemented by a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
- the name of the unit does not constitute a limitation on the unit itself in some cases, for example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
- the functions described above in this article may be at least partially performed by one or more hardware logic components.
- exemplary types of hardware logic components include: field programmable gate array (FPGA), application specific integrated circuit (ASIC), application specific standard product (ASSP), system on chip (SOC), complex programmable logic device (CPLD), etc.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in conjunction with an instruction execution system, device or equipment.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- the machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM). Optical storage devices, magnetic storage devices, Or any suitable combination of the above contents.
- an interactive method for a table document comprising: displaying a wide table document in an interactive interface, the wide table document having at least two data columns, at least one of the at least two data columns cannot be completely displayed in a current view page of the interactive interface; displaying at least one data label corresponding to the data column in the interactive interface based on the document content of the wide table document; in response to a trigger operation for a target data label, controlling the interactive interface to display a positioning view page, the positioning view page being used to position and display a target data column corresponding to the target data label.
- a label control group is provided in the interactive interface; displaying at least one data label corresponding to the data column in the interactive interface based on the document content of the wide table document comprises: acquiring a column title corresponding to each of the data columns; determining a target control object in the label control group according to the column title; configuring the label control group based on the target control object to display the data label in the label control group.
- the obtaining of the column headers corresponding to each of the data columns includes: obtaining the object content of at least one data object under the data column; processing the object content based on a language model to generate the summary content corresponding to the data column; and generating the column header based on the summary content.
- the method further includes: receiving a sliding operation on the interactive interface, the sliding operation being used to adjust the current view page of the interactive interface; in response to the sliding operation, setting the data label to a target display mode, wherein the target display mode is determined based on the data column displayed on the current view page.
- the setting of the data label to a target display mode in response to the sliding operation includes: obtaining a target column header of the data column displayed at a target position of the current view page in response to the sliding operation; determining a corresponding target data label according to the target column header, and highlighting the target data label.
- setting the data label to the target display mode includes: in response to the sliding operation, obtaining the column title of the target data column displayed in the current view page; based on the column title of the target data column, updating the data label displayed in the interactive interface.
- controlling the interactive interface to display the positioning view page includes: determining at least one data column to be selected based on the target data label corresponding to the trigger operation; sorting the at least one data column to be selected to determine the target data column; based on the positioning anchor of the target data column, controlling the current view page of the interactive interface to move to the positioning view page.
- the method further includes: setting a corresponding positioning anchor for the data column in the interactive interface; based on the positioning anchor of the target data column, controlling the current view page of the interactive interface to move to the positioning view page includes: obtaining the positioning anchor of the target data column; controlling the interactive interface to move to the positioning anchor to display the positioning view page.
- the step of sorting the at least one candidate data column to determine the target data column includes: obtaining the access frequency of the candidate data column within a target time period; arranging the candidate data columns from large to small based on the access frequency, and determining the largest at least one candidate data column as the target data column.
- an interactive device for a table document comprising: a display module, configured to display a wide table document in an interactive interface, wherein the wide table document has at least two data columns, and at least one of the at least two data columns cannot be completely displayed in a current view page of the interactive interface; a processing module, configured to display at least one data label corresponding to the data column in the interactive interface based on the document content of the wide table document; a control module, configured to control the interactive interface to display a positioning view page in response to a trigger operation for a target data label, wherein the positioning view page is used to position and display a target data column corresponding to the target data label.
- a label control group is provided in the interactive interface; the processing module is specifically configured to: obtain a column title corresponding to each of the data columns; determine a target control object in the label control group according to the column title; and configure the label control group based on the target control object to display the data label in the label control group.
- the processing module when obtaining the column title corresponding to each of the data columns, is specifically configured to: Obtaining object content of at least one data object under the data column; Processing the object content based on a language model to generate summary content corresponding to the data column; Generating the column title based on the summary content.
- control module is further used to: receive a sliding operation on the interactive interface, the sliding operation being used to adjust the current view page of the interactive interface; In response to the sliding operation, setting the data label to a target display mode, wherein the target display mode is determined based on the data column displayed on the current view page.
- control module when the control module sets the data label to a target display mode in response to the sliding operation, it is specifically used to: obtain a target column title of the data column displayed at a target position of the current view page in response to the sliding operation; determine a corresponding target data label according to the target column title, and highlight the target data label.
- control module when the control module sets the data label to a target display mode in response to the sliding operation, it is specifically used to: obtain a column title of the target data column displayed in the current view page in response to the sliding operation; Based on the column title of the target data column, update the data label displayed in the interactive interface.
- control module is specifically used to: determine at least one data column to be selected based on the target data label corresponding to the trigger operation; sort the at least one data column to be selected to determine the target data column; based on the positioning anchor point of the target data column, control the current view page of the interactive interface to move to the positioning view page.
- the processing module is further used to: set a corresponding positioning anchor point for the data column in the interactive interface; when the control module controls the current view page of the interactive interface to move to the positioning view page based on the positioning anchor point of the target data column, it is specifically used to: obtain the positioning anchor point of the target data column; control the interactive interface to move to the positioning anchor point to display the positioning view page.
- the control module sorts the at least one candidate data column to determine the target data column, it is specifically used to: obtain the access frequency of the candidate data column in the target time period; arrange the candidate data columns from large to small based on the access frequency, and determine the largest at least one candidate data column as the target data column.
- an electronic device comprising: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the interactive method for a table document as described in the first aspect and various possible designs of the first aspect.
- a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the interactive method for a table document as described in the first aspect and various possible designs of the first aspect is implemented.
- a computer program product including a computer program, wherein when the computer program is executed by a processor, the interactive method for a table document as described in the first aspect and various possible designs of the first aspect is implemented.
- the above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used.
- Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept.
- the above features are replaced with the technical features disclosed in the present disclosure (but not limited to) with similar functions to form a technical solution.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开实施例提供一种针对表格文档的交互方法、装置、电子设备及存储介质,通过在交互界面内显示宽表格文档,宽表格文档具有至少两个数据列,至少两个数据列中,至少有一个数据列不能完整显示在交互界面的当前视图页内;基于宽表格文档的文档内容,在交互界面内显示与数据列对应的至少一个数据标签;响应于针对目标数据标签的触发操作,控制交互界面移动至目标视图页,目标视图页用于定位显示目标数据标签所对应的目标数据列。通过显示与数据列对应的数据标签,并在响应于针对目标数据标签的触发操作后,移动至对应的目标视图页,实现了在针对包含多数据列的宽表格文档的交互场景下,对目标数据列的快速定位,提高针对宽表格的交互效率。
Description
针对表格文档的交互方法、 装置、 电子设备及存储介质 本申请要求于 2023年 12月 18日递交的中国专利申请第 202311747223. X号的优 先权, 在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。 技术领域 本公开实施例涉及一种针对表格文档的交互方法、 装置、 电子 7殳备及存储介质。 背景技术 表格文档是一种常见的文档格式, 通过行和列对数据进行记录, 可以非常直观和高效的 实现信息展示和处理的目的。 表格文档通常以一个数据行来记录一个数据对象, 而以一个数 据列来记录数据对象所对应的对象内容。 针对上述表格文档进行查看和编辑的交互过程中,通常需要用户进行手动操作来定位编 辑内容, 存在交互效率低下的问题。 发明内容 本公开实施例提供一种针对表格文档的交互方法、 装置、 电子设备及存储介质, 以克服 针对表格文档的操作效率低下的问题。 第一方面, 本公开实施例提供一种针对表格文档的交互方法, 包括: 在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据列, 所述至少两个数 据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页内; 基于所述宽表格文档的文档内容,在所述交互界面内显示与所述数据列对应的至少一个 数据标签; 响应于针对所述目标数据标签的触发操作, 控制所述交互界面显示定位视图页, 所述定 位视图页用于定位显示所述目标数据标签所对应的数据列。 第二方面, 本公开实施例提供一种针对表格文档的交互装置, 包括: 显示模块, 用于在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据列, 所述至少两个数据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页内; 处理模块, 用于基于所述宽表格文档的文档内容, 在所述交互界面内显示与所述数据列 对应的至少一个数据标签; 控制模块, 用于响应于针对目标数据标签的触发操作, 控制所述交互界面显示定位视图 页, 所述定位视图页用于定位显示所述目标数据标签所对应的数据列。
笫三方面, 本公开实施例提供一种电子设备, 包括: 处理器和存储器; 所述存储器存储计算机执行指令; 所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上 笫一方面以及第一方面各种可能的设计所述的针对表格文档的交互方法。 第四方面, 本公开实施例提供一种计算机可读存储介质, 所述计算机可读存布普介质中存 储有计算机执行指令, 当处理器执行所述计算机执行指令时, 实现如上第一方面以及第一方 面各种可能的设计所述的针对表格文档的交互方法。 笫五方面, 本公开实施例提供一种计算机程序产品, 包括计算机程序, 所述计算机程序 被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的针对表格文档的交 互方法。 附图说明 为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术 描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本公开的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些 附图获得其他的附图 O 图 1为本公开实施例提供的针对表格文档的交互方法的一种应用场景图; 图 2为本公开实施例提供的针对表格文档的交互方法的流程示意图一; 图 3为本公开实施例提供的一种数据标签的示意图; 图 4为图 2所示实施例中步骤 S102的具体实现方式的流程图; 图 5为图 4所示实施例中步骤 S1021的具体实现方式的流程图; 图 6为本公开实施例提供的一种定位目标数据列的过程示意图; 图 7为本公开实施例提供的针对表格文档的交互方法的流程示意图二; 图 8为图 7所示实施例中步骤 S204的具体实现方式的流程图; 图 9为本公开实施例提供的一种突出显示数据标签的示意图; 图 10为图 7所示实施例中步骤 S206的具体实现方式的流程图; 图 11为本公开实施例提供的针对表格文档的交互装置的结构框图; 图 12为本公开实施例提供的一种电子设备的结构示意图; 图 13为本公开实施例提供的电子设备的硬件结构示意图。 具体实施方式 为使本公开实施例的目的、 技术方案和优点更加清楚, 下面将结合本公开实施例中的附 图, 对本公开实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本公开
一部分实施例, 而不是全部的实施例。 基于本公开中的实施例, 本领域普通技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例, 都属于本公开保护的范围。 需要说明的是, 本公开所涉及的用户信息(包括但不限于用户设备信息、 用户个人信息 等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等), 均为经用户授权 或者经过各方充分授权的信息和数据, 并且相关数据的收集、使用和处理需要遵守相关国家 和地区的相关法律法规和标准, 并提供有相应的操作入口, 供用户选择授权或者拒绝。 下面对本公开实施例的应用场景进行解释: 图 1为本公开实施例提供的针对表格文档的交互方法的一种应用场景图,本公开实施例 提供的针对表格文档的交互方法, 可以应用于具有显示表格文档功能的应用程序中, 更具体 地, 可以应用于宽表格文档的显示、 编辑的应用场景中。 本实施例的执行主体, 可以为运行 上述具有显示表格文档功能的应用程序的终端设备 ,也可以为部署上述应用程序所对应的服 务端的服务器, 或者其他起到类似功能的电子设备。 参考图 1中所示, 以终端设备为例, 终 端设备通过运行上述具有显示、编辑表格文档功能的应用程序(具体地,例如电子表格软件) 后, 通过在线或离线的方式, 加载表格文档, 并将其显示在应用程序的交互界面内。 之后, 用户可以通过交互界面, 对该表格文档进行查看和进一步编辑。 如图 1中所示, 表格文档通常包括多个数据行和多个数据列, 每一数据行对应一个数据 对象, 而每一数据列则用于记录数据对象所对应的对象内容。 在针对上述表格文档的交互过 程中, 当表格文档中的数据行过多, 无法通过一个视图页完全展示时, 则需要用户通过上下 翻页操作的方式(例如拖拽滚动条), 来对交互界面的当前视图页进而内切换, 从而显示位 于当前视图页之外的数据对象。 而当表格文档中的数据列过多, 无法通过一个视图页完全展 示时, 则需要用户通过左右翻页操作的方式, 来对交互界面的当前视图页进而内切换, 从而 显示位于当前视图页之外的对象内容。 然而, 在实际应用过程中, 由于数据行的排列通常是基于一个内容维度实现了, 例如基 于 “用户名”、 “对象 ID”等进行有序排列, 因此即使在数据行的数量较多的情况下, 对数据 行的定位也较为容易; 而数据列通常对应一个独立的数据内容维度,例如数据列 #1所记录对 象内容为 “时间”、 数据列 #2所记录对象内容为 “地点”。 各数据列之间相关独立、 且没有序 列关系, 在对宽表格文档的某个数据列进行定位的过程中, 需要用户手动操作交互界面进行 多次的视图横向移动、观察视图内容,因此,由于宽表格文档的数据列对应的内容维度独立, 且多个数据列无法在同一视图页内显示, 因此, 需要进行多次的 “操作-观察”的复杂操作流 程, 从而实现感兴趣目标数据列的定位, 这造成了针对宽表格文档的交互效率低下的问题。 本公开实施例提供一种针对表格文档的交互方法以解决上述问题。 参考图 2, 图 2为本公开实施例提供的针对表格文档的交互方法的流程示意图一。 本实 施例的方法可以应用在终端设备中, 该针对表格文档的交互方法包括:
步骤 S101 : 在交互界面内显示宽表格文档, 宽表格文档具有至少两个数据列, 至少两个 数据列中, 至少有一个数据列不能完整显示在交互界面的当前视图页内。 步骤 S102:基于宽表格文档的文档内容,在交互界面内显示与数据列对应的至少一个数 据标签。 示例性地, 参考图 1所示的应用场景示意图, 终端设备运行具有显示表格文档功能的应 用程序(例如电子表格软件)后,通过应用程序的交互界面,来显示该宽表格文档,具体地, 首先, 通过应用程序的文档加载界面, 选取存储于终端设备本地或者云端的表格文件并加载 到终端设备, 终端设备通过解析表格文件中的数据, 并基于表格样式参数或表格模板, 生成 宽表格文档并显示在交互界面内,其中,表格样式参数或表格模板可以是预设在终端设备(应 用程序)内, 基于表格样式参数或表格模板可以实现上述宽表格文档的外观样式设置, 例如 设置表格线宽、 行高、 列宽等, 具体实现方式可以根据需要设置, 此处不再一一赘述。 进一步地, 结合之前部分的介绍, 宽表格文档是一种具有特殊表格结构的表格文档, 宽 表格文档具有多个用于记录数据行对应的数据对象在一个独立的内容维度下的对象内容,例 如, 数据行对应的数据对象为 “用户标识”, 而每一 “用户标识”对应的数据列, 用于记录该 “用户标识”对应的独立的内容维度下的对象内容, 对象内容例如包括 “创建时间”、 “请求 内容”、 “权限级别” 等。 上述 “创建时间”、 “请求内容 ”、 “权限级别” 等对象内容对应独立 的内容维度。 同时, 在至少两个数据列中, 至少有一个数据列不能完整显示在交互界面的当 前视图页内, 针对此类宽表格文档, 需要通过横向移动视图页来进行内容查看。 之后, 终端设备基于宽表格文档的文档内容, 显示数据列对应的数据标签。 一种可能的 实现方式中, 终端设备可以在表格文档的文档内容显示完成后, 基于用户的触发指令, 例如 点击特定触发按钮后, 显示数据列对应的数据标签。 而在另一种可能的实现方式中, 终端设 备可以在表格文档的文档内容显示完成后, 同步显示数据列对应的数据标签, 具体根据需要 可基于需要设置。 其中, 数据标签与数据列的对应方式, 可以通过数据标签与数据列的列标 题相同的方式实现。 即在视觉上, 终端设备在显示宽表格文档后, 将宽表格文档中各数据列 的列标题显示在交互界面中, 以实现各数据列的快速定位。 更具体地, 列标题可以是各数据 列对应的标题, 可以是与数据列绑定的属性信息, 记录在宽表格文档中, 在加载该宽表格文 档时获取。 图 3为本公开实施例提供的一种数据标签的示意图, 如图 3所示, 在终端设备的交互界 面内的第一区域, 显示有包含 N个数据列的宽表格文档 data_l , 与此同时, 终端设备在加载 该表格文档 data l后, 在交互界面的第二区域内, 显示有 N数据标签(图中示为标签 #1、 标签 #2 至标签# N), 其中, 每一个数据标签对应一个数据列, 而每一数据标签的标签内容, 可以为数据列的列标题。 进一步地, 在一种可能的实现方式中, 上述数据标签基于标签控件组实现。 标签控件组
设置在交互界面指定位置, 例如图 3所示实施例中的第二区域。 该标签控件组可以是集合了 多个触发控件的控件集, 或者承载触发控件的控件容器。 通过标签控件组可以设置集成在该 标签控件组内的触发控件的显示状态, 具体地, 例如触发控件的显示与隐藏、 显示位置、 显 示样式等。 相应的, 一种可能的实现方式中, 如图 4所示, 步骤 S102的具体实现方式包括: 步骤 S1021: 获取各数据列对应的列标题。 步骤 S1022: 根据列标题, 确定标签控件组内的目标控件对象。 步骤 S1023: 基于目标控件对象配置标签控件组, 以在标签控件组内显示数据标签。 示例性地, 首先, 一种可能的实现方式中, 终端设备在加载宽表格文档后, 直接获取各 数据列对应的预配置的列标题, 该列标题是预存储在宽表格文档中的静态信息, 实现方式不 再赘述。 之后, 根据列标题, 明确标签控件组内的目标控件对象, 具体地, 例如通过列标题 的数量, 创建对应数量的触发控件对象, 并将每一触发控件对象映射至对应的数据列, 生成 目标控件对象。 进一步地, 可以通过在交互界面内, 为数据列设置对应的定位锚点, 之后, 对目标控件对象和定位锚点进行关联, 从而使目标控件对象被触发后, 可以使交互界面的视 图页横移至该定位锚点的位置, 从而实现数据列的定位。 其中,每一目标控件对象的控件名称,被设置为对应的列标题,以使其显示为数据标签。 最后, 利用上述生成的目标控件对象配置标签控件组, 从而在标签控件组内显示上述目标控 件对象, 目标控件对象的控件名称为列标题, 进而实现各数据列对应的数据标签(列标题) 的显示。 进一步地, 在另一种可能的实现方式中, 当宽表格文档中不包含有预配置的列标题时, 根据各数据列的数据内容, 动态生成列标题, 进而生成数据标签进行显示。 示例性地, 如图 5所示, 步骤 S1021的具体实现方式包括: 步骤 S1021A: 获取至少一个数据对象在数据列下的对象内容。 步骤 S1021B: 基于语言模型处理对象内容, 生成数据列对应的归纳内容。 步骤 S 1021 C: 基于归纳内容, 生成列标题。 示例性地, 终端设备在加载宽表格文档后, 首先获取至少一个数据对象在各数据列下的 对象内容, 具体地, 数据对象是基于数据行记录的, 因此, 终端设备例如获取加载宽表格文 档的前三行的数据, 也即 3个数据对象。 之后, 针对该 3个数据对象的各数据列, 分别进行 内容提取, 得到对象内容, 例如, 数据列 A对应 3个(数据对象的)对象内容, 分别为内容 A_l、 内容 A_2、 内容 A_3 , 之后, 利用大语言模型(Large Language Model, LLM)的内容 理解和归纳能力, 生成对应的归纳内容 A_ summary, 之后将该归纳内容 A_ summary, 作为 数据列 A的列标题。 类似的, 数据列 B也对应 3个, 基于大语言模型和数据列 B对应的 3 个对象内容, 可以得到数据列 B的列标题, 即归纳内容 B summary, 不再赘述。
进一步地,上述生成归纳内容的过程(步骤 S1021B)中,可以将各数据列对应的对象内 容, 以组为单位, 形成内容组, (例如之前实施例中的内容 A_l、 内容 A_2、 内容 A_3为一 个内容组组), 以内容组的形式同时送入语言模型进行处理, 相应的, 语言模型处理上述各 数据列对应的内容组, 生成各数据列对应的归纳内容。 本实施例步骤中, 通过以内容组的方 式送入语言模型进行处理, 使语言模型能够参考各内容组在内容上的关联性特征, 从而更加 准确的理解各数据列所记录的对象内容的含义, 进而得到更加准确的列标题, 提高后续定位 目标数据列的效率。 步骤 S103: 响应于针对目标数据标签的触发操作,控制交互界面移动至定位视图页,定 位视图页用于定位显示目标数据标签所对应的目标数据列。 示例性地, 在交互界面内显示与数据列对应的数据标签后, 该数据标签与对应的数据列 之间, 实现了内容与位置的映射关联, 之后, 当用户针对目标数据标签施加触发操作后, 终 端设备会控制交互界面横移至目标数据标签对应的定位视图页,从而实现对该目标数据标签 对应的目标数据列的定位。具体地,例如,获取目标数据标签对应的目标数据列的定位锚点; 控制交互界面移动至定位锚点, 以显示定位视图页。 其中, 具体地, 例如, 在定位视图页的 最左伽 I第一例, 或者最右伽 I的第一例, 即为目标数据列, 从而在交互界面移动至定位视图页 后, 该定位视图页能够起到定位目标数据列的目的。 图 6为本公开实施例提供的一种定位目标数据列的过程示意图, 参考图 6所示, 示例性 地, 首先, 在初始状态下, 终端设备的交互界面内显示有宽表格文档, 该宽表格文档包含多 个数据列, 其中在交互界面的当前视图页内, 完整显示有全部数据列中的部分数据列, 例如 图中所示, 当前视图页内所显示的数据列的列标题为: 数据列 A、 数据列 B和数据列 C。 之 后, 用户点击交互界面内的数据标签 #1 , 该数据标签 #1的标签名称为 “任务完成情况”。 之 后, 终端设备基于该数据标签 #1的触发, 控制交互界面的视图页平移, 如图中所示, 在交互 界面的视图页平移至定位视图页后,定位视图页内的左侧第一列, 即为数据标签 #1所对应的 目标数据列, 该目标数据列的列标题为: “任务完成情况”。 而该目标数据列中各行的内容, 即为与 “任务完成情况”相关的数据。 同时, 基于宽表格文本中各数据列之间的原始位置关 系, 在该定位视图页内, 还显示目标数据列之后的另外两页, 其列标题分别为: 数据列 C、 数据列 D。 本实施例中, 通过在交互界面内显示宽表格文档, 宽表格文档具有至少两个数据列, 至 少两个数据列中, 至少有一个数据列不能完整显示在交互界面的当前视图页内; 基于宽表格 文档的文档内容, 在交互界面内显示与数据列对应的数据标签; 响应于针对目标数据标签的 触发操作, 控制交互界面移动至定位视图页, 定位视图页用于定位显示目标数据标签所对应 的目标数据列。 通过在显示宽表格文档的同时, 根据表格文档中的文档内容, 显示与数据列 对应的数据标签, 实现对数据列的标记, 并在响应于针对目标数据标签的触发操作后, 移动
至对应的定位视图页, 以定位该目标数据标签对应的目标数据列。 实现了在针对包含多数据 列的宽表格文档的交互场景下, 对目标数据列的快速定位, 提高针对宽表格的交互效率。 参考图 7, 图 7为本公开实施例提供的针对表格文档的交互方法的流程示意图二。 本实 施例在图 2所示实施例的基础上, 进一步对步骤 S103进行细化, 与用户进行交互的步骤, 该针对表格文档的交互方法包括: 步骤 S201: 在交互界面内显示宽表格文档, 宽表格文档具有至少两个数据列, 至少两个 数据列中, 至少有一个数据列不能完整显示在交互界面的当前视图页内。 步骤 S202:基于宽表格文档的文档内容,在交互界面内显示与数据列对应的数据标签。 步骤 S203:接收针对交互界面的滑动操作,滑动操作用于调整交互界面的当前视图页。 步骤 S204: 响应于滑动操作, 将数据标签 it置为目标显示方式, 其中, 目标显示方式基 于当前视图页所显示的数据列确定” 示例性地, 在交互界面内显示数据标签之后, 终端设备可以进一步接收用户输入的滑动 操作, 其中, 滑动操作是指用于调整交互界面的当前视图页的操作, 例如通过终端设备的触 摸屏进行横向滑动, 从而使交互界面的当前视图页也随之横向移动。 之后, 当滑动操作, 改 变交互界面的当前视图页后, 终端设备会进一步根据改变后的当前视图页内所显示的内容, 对数据标签进行调整, 即改变数据标签的显示方式。 在一种可能的实现方式中, 如图 8所示, 步骤 S204的具体实现方式包括: 步骤 S2041: 响应于滑动操作, 获得当前视图页的目标位置处显示的数据列的目标列标 题。 步骤 S2042: 根据目标列标题, 确定对应目标数据标签, 并对目标数据标签的进行突出 显示。 示例性地, 当终端十殳备响应滑动操作, 移动交互界面的当前视图页后, 将更新后的当前 视图页的目标位置作为指示点, 来确定目标数据列, 例如当前视图页的最左侧的预设区域为 目标位置, 位于该预设区域内的数据列, 为目标数据列, 相应的, 目标数据列的列标题, 即 为目标列标题。 之后,根据动态滑动后确定的当前视图页的目标位置所指示的目标列标题, 来确定对应 的数据标签, 即目标数据标签。 之后, 对该目标数据标签进行高亮显示, 例如下划线标记、 字体加粗、 添加阴影等方式, 从而实现用户操作对数据标签的反向影响。 进一步地, 基于之前步骤的介绍, 当前视图页的目标位置可以有其他实现形式, 例如, 当前视图页的目标位置, 即当前视图页的全部区域, 此种实现方式中, 通过当前视图页的目 标位置所确定的目标列标题, 即当前*见图页中全部显示的数据列的列标题, 因此可以实现利 用数据标签对当前视图页中的内容(列标题)进行快速展示, 进行实现后通过数据标签进行 目标数据列的快速定位的目的, 提高数据列定位的整体效率, 尤其是当前视图页中的数据量
数量较多时, 可以有效提高款表格文档的操作效率。 图 9为本公开实施例提供的一种突出显示数据标签的示意图, 如图 9所示, 示例性地, 终端设备在加载宽表格文档后, 在交互界面的标签控件组内, 显示载宽表格文档的各数据列 对应的数据标签, 例如图中位于标签控件组内的标签 #1至标签 #9。之后,预设目标位置为当 前视图页的全部区域, 在交互界面位于第一视图页的情况下, 根据交互界面中该第一视图页 的目标位置内所显示的数据列 (例如包括数据列 A、 数据列 B), 将标签 #1和标签 #9高亮显 示;之后,终端设备响应于用户的滑动操作,移动当前视图页(第一视图页)至第二视图页, 在交互界面位于第二视图页的情况下,根据交互界面中该第二视图页的目标位置内所显示的 数据列 (例如包括数据列 C、 数据列 D), 将标签 #2和标签 #4高亮显示。 本实施例中, 通过检查当前视图页目标位置的内容, 映射至对应的目标数据标签, 并对 目标数据标签进行突出显示,从而实现利用数据标签对当前视图页中的内容进行快速识别和 展示的目的,便于后续通过数据标签对目标数据列的快速定位,提高数据列定位的整体效率。 在另一种可能的实现方式中, 步骤 S204的具体实现方式包括: 步骤 S2043: 响应于滑动操作, 获得当前视图页内所显示的目标数据列的列标题。 步骤 S2044: 基于目标数据列的列标题, 更新交互界面内显示的数据标签。 示例性地, 在另一种可能的实现方式中, 终端设备响应于滑动操作, 控制交互界面的当 前视图页进行移动, 从而显示更新的当前视图页, 随着当前视图页的改变, 相应的示意图内 所显示的内容, 即数据列也随之改变。 该具体过程在之前实施例中进行详细介绍, 此处不再 赘述。 之后, 终端设备根据响应滑动操作而更新后的当前视图页所展示的内容, 确定对应的 目标数据列,也即当前视图页内所展示的全部数据列。之后,根据上述目标数据列的列标题, 来动态更新交互界面内显示的数据标签。 具体地, 例如, 当交互界面位于第一视图页的情况 下, 根据交互界面中该第一视图页内所显示的全部数据列, 例如数据列 #1、 数据列 #2、 数据 列 #3. 显示对应的数据标签 A、 数据标签 B、 数据标签 C. 而当终端设备响应滑动操作, 使 交互界面位于第二视图页的情况下, 根据交互界面中该第二视图页内所显示的全部数据列, 例如数据列 #4、 数据列 #5。 显示对应的数据标签 D、 数据标签 E。 本实施例中, 通过根据检测当前视图页中所显示的数据列, 映射至对应的数据标签, 实 现数据标签的动态显示, 从而实现小范围 (一个视图页内)的数据筛选的目的, 可以进一步 地提高对宽表格文档的操作效率和人机交互效率 • 步骤 S205 : 基于触发操作对应的目标数据标签, 确定至少一个待选数据列。 步骤 S206: 对至少一个待选数据列进行排序, 确定目标数据列。 示例性地, 对于宽表格数据, 在一种可能的情况下, 数据列的数量过多、 且列标题存在 共用标识的情况下, 可以以一个数据标签对应多个数据列, 从而提高定位效率。 例如, 宽表 格文档包括 1000个数据列,此种情况下,无法为每一数据列对应设置一个独立的数据标签,
或者无法将所有数据标签完全显示在交互界面中, 从而造成操作效率的损失。 此种情况下, 根据数据列的列标题, 将多个具有共用标识的不同列标题, 映射至同一个数据标签。 例如, 宽表格文档中包括某 3个数据列, 其列标题分别为 Infb_K Infb_2> Infb_3„ 则将其共用标识 "Info"映射为一个数据标签,相应的,在交互界面内显示数据标签时,会将该共用标识 “Infb” 作为数据标签进行显示。而该数据标签所对应三个待选数据列,即上文提到的 Infb_l、Infb_2、 lnfb_3 <, 基于上述生成数据标签的过程后, 当终端设备响应于触发操作, 触发该基于共用标识的 目标数据标签后, 会确定至少一个待选数据列 (例如上文提到的 I nfo l . Info_2. Infb_3), 之后, 上述待选数据列进行排序, 来确定目标数据列, 在一种可能的实现方式中, 例如, 根 据待选数据列的定位锚点进行排序, 将最近接当前视图页的锚点位置所对应的待选数据列, 确定为目标数据列, 之后针对该目标数据列进行定位。 而在一种可能的实现方式中, 如图 10所示, 步骤 S206的具体实现方式包括: 步骤 S2061 : 获取待选数据列在目标时间段内的访问频率。 步骤 S2062: 基于访问频率由大至小排列各待选数据列, 将最大的至少一个待选数据列 确定为目标数据列。 示例性地, 在确定待选数据列后, 获取各待选数据列在目标时间段内的访问频率。 更进 一步地, 在终端设备每次接收到一次针对目标数据标签的触发操作、 得到待选数据列后, 会 基于用户进一步对上述待选数据列的访问, 来生成待选数据列对应的访问频率 „ 其中, 上述 访问包括到不限于: 对该数据列进行查看、 保存、 复制、 修改等。 该访问频率存储在宽表格 文档中, 终端设备在加载宽表格文档的过程中, 获得上述访问频率。 目标时间段为预设值, 例如一周、 一小时等, 具体可以按需设置。 之后, 终端设备基于访问频率由大至小排列各待选数据列, 将最大的一个或多个待选数 据列确定为目标数据列。 从而实现基于历史访问频率的数据列排序, 使经常被访问的数据列 较先被定为, 从而提高宽表格文档的整体操作效率。 步骤 S207: 基于目标数据列的定位锚点, 控制交互界面的当前视图页移动至定位视图 页。 示例性地, 在确定目标数据列后, 基于目标数据列的定位锚点进行视图页移动, 即可控 制交互界面的当前视图页移动至定位视图页。对于定位锚点的概念, 以及利用定位锚点进行 示意图移动的实现方式在之前实施例中已进行介绍, 次不再赘述。 其中, 当目标数据列有多个时, 例如步骤 S206实施例中, 基于访问频率确定多个目标 数据列时, 则基于每一个目标数据列的定位锚点, 控制交互界面依次从当前视图页移动至对 应的定位视图页。 例如, 目标数据列包括数据列 #1、 数据列 #2和数据列 #3。 则终端设备每接 收到一次触发操作, 进行依次示意图横向移动, 依次移动到数据列 #1对应的定位视图页、数
据列 #2对应的定位视图页和数据列 #3对应的定位视图页。 从而实现数据列的多轮次定位, 进一步提高宽表格文档的中数据列较多情况下的高效定位和检索。 本实施例中, 步骤 S201 -步骤 S202的实现方式与本公开图 2所示实施例中的步骤 S101- 步骤 S102的实现方式相同, 在此不再 —赘述。 对应于上文实施例的针对表格文档的交互方法, 图 11为本公开实施例提供的针对表格 文档的交互装置的结构框图。 为了便于说明, 仅示出了与本公开实施例相关的部分。 参照图 11 , 针对表格文档的交互装置 3包括: 显示模块 31 , 用于在交互界面内显示宽表格文档, 宽表格文档具有至少两个数据列, 至 少两个数据列中, 至少有一个数据列不能完整显示在交互界面的当前视图页内; 处理模块 32,用于基于宽表格文档的文档内容,在交互界面内显示与数据列对应的至少 一个数据标签; 控制模块 33 ,用于响应于针对目标数据标签的触发操作,控制交互界面移动至定位视图 页, 定位视图页用于定位显示目标数据标签所对应的目标数据列。 根据本公开的一个或多个实施例, 交互界面内设置有标签控件组; 处理模块 32,具体用 于: 获取各数据列对应的列标题; 根据列标题, 确定标签控件组内的目标控件对象; 基于目 标控件对象配置标签控件组, 以在标签控件组内显示数据标签。 根据本公开的一个或多个实施例, 处理模块 32在获取各数据列对应的列标题时, 具体 用于: 获取至少一个数据对象在数据列下的对象内容; 基于语言模型处理对象内容, 生成数 据列对应的归纳内容; 基于归纳内容, 生成列标题。 根据本公开的一个或多个实施例,控制模块 33 ,还用于:接收针对交互界面的滑动操作, 滑动操作用于调整交互界面的当前视图页; 响应于滑动操作, 将数据标签设置为目标显示方 式, 其中, 目标显示方式基于当前视图页所显示的数据列确定。 根据本公开的一个或多个实施例, 控制模块 33在响应于滑动操作, 将数据标签设置为 目标显示方式时, 具体用于: 响应于滑动操作, 获得当前视图页的目标位置处显示的数据列 的目标列标题; 才艮据目标列标题, 确定对应目标数据标签, 并对目标数据标签的进行突出显 示。 根据本公开的一个或多个实施例, 控制模块 33在响应于滑动操作, 将数据标签设置为 目标显示方式时, 具体用于: 响应于滑动操作, 获得当前视图页内所显示的目标数据列的列 标题; 基于目标数据列的列标题, 更新交互界面内显示的数据标签。 根据本公开的一个或多个实施例,控制模块 33 ,具体用于: 基于触发操作对应的目标数 据标签, 确定至少一个待选数据列; 对至少一个待选数据列进行排序, 确定目标数据列; 基 于目标数据列的定位锚点, 控制交互界面的当前视图页移动至定位视图页。 根据本公开的一个或多个实施例, 处理模块 32还用于: 在交互界面内, 为数据列设置
对应的定位锚点; 控制模块 33在基于目标数据列的定位锚点, 控制交互界面的当前视图页 移动至定位视图页时, 具体用于: 获取目标数据列的定位锚点; 控制交互界面移动至定位锚 点, 以显示定位视图页。 根据本公开的一个或多个实施例, 控制模块 33在对至少一个待选数据列进行排序, 确 定目标数据列时, 具体用于: 获取待选数据列在目标时间段内的访问频率; 基于访问频率由 大至小排列各待选数据列, 将最大的至少一个待选数据列确定为目标数据列。 其中,显示模块 31、处理模块 32和控制模块 33依次连接。本实施例提供的针对表格文 档的交互装置 3可以执行上述方法实施例的技术方案, 其实现原理和技术效果类似, 本实施 例此处不再赘述。 图 12为本公开实施例提供的一种电子设备的结构示意图, 如图 12所示, 该电子设备 4 包括: 处理器 41 , 以及与处理器 41通信连接的存储器 42; 存储器 42存储计算机执行指令; 处理器 41执行存储器 42存储的计算机执行指令, 以实现如图 2 -图 10所示实施例中的 针对表格文档的交互方法。 其中, 可选地, 处理器 41和存储器 42通过总线 43连接。 相关说明可以对应参见图 2 -图 10所对应的实施例中的步骤所对应的相关描述和效果进 行理解, 此处不做过多赘述。 本公开实施例提供一种计算机可读存储介质 ,计算机可读存储介质中存储有计算机执行 指令, 计算机执行指令被处理器执行时用于实现本公开图 2 -图 10所对应的实施例中任一实 施例提供的针对表格文档的交互方法。 本公开实施例提供一种计算机程序产品, 包括计算机程序, 计算机程序被处理器执行时 实现本公开图 2 -图 10所对应的实施例中任一实施例提供的针对表格文档的交互方法. 为了实现上述实施例, 本公开实施例还提供了一种电子设备。 参考图 13,其示出了适于用来实现本公开实施例的电子设备 900的结构示意图,该电子 设备 900可以为终端设备或服务器。 其中, 终端设备可以包括但不限于诸如移动电话、 笔记 本电脑、 数字广播接收器、 个人数字助理 ( Personal Digital Assistant , 简称 PDA )、 平板电脑 ( Portable Android Device, 简称 PAD )、 便携式多媒体播放器 ( Portable Media Player, 简称 PMP )、 车载终端 (例如车载导航终端)等等的移动终端以及诸如数字 TV、 台式计算机等等 的固定终端。 图 13示出的电子设备仅仅是一个示例, 不应对本公开实施例的功能和使用范 围带来任何限制。 如图 13所示,电子设备 900可以包括处理装置 (例如中央处理器、图形处理器等 )901 , 其可以根据存储在只读存储器 ( Read Only Memory, 简称 ROM ) 902中的程序或者从存储装
置 908加载到随机访问存储器(Random Access Memory, 简称 RAM) 903中的程序而执行 各种适当的动作和处理。 在 RAM 903中, 还存储有电子设备 900操作所需的各种程序和数 据。 处理装置 901、 ROM 902以及 RAM 903通过总线 904彼此相连。 输入 /输出 (I/O)接口 905也连接至总线 904。 通常, 以下装置可以连接至 I/O接口 905: 包括例如触摸屏、 触摸板、 键盘、 鼠标、 摄 像头、 麦克风、 加速度计、 陀螺仪等的输入装置 906; 包括例如液晶显示器( Liquid Crystal Display, 简称 LCD)、 扬声器、 振动器等的输出装置 907; 包括例如磁带、 硬盘等的存储装 置 908; 以及通信装置 909。 通信装置 909可以允许电子 t殳备 900与其他 t殳备进行无线或有 线通信以交换数据。 虽然图 13示出了具有各种装置的电子设备 900,但是应理解的是, 并不 要求实施或具备所有示出的装置。 可以替代地实施或具备更多或更少的装置。 特别地, 根据本公开的实施例, 上文参考流程图描述的过程可以被实现为计算机软件程 序。 例如, 本公开的实施例包括一种计算机程序产品, 其包括承载在计算机可读介质上的计 算机程序, 该计算机程序包含用于执行流程图所示的方法的程序代码。 在这样的实施例中, 该计算机程序可以通过通信装置 909从网络上被下载和安装, 或者从存储装置 908被安装, 或者从 ROM 902被安装。 在该计算机程序被处理装置 901执行时, 执行本公开实施例的方
电、 磁、 光、 电磁、 红外线、 或半导体的系统、 装置或器件, 或者任意以上的组合。 计算机 可读存储介质的更具体的例子可以包括但不限于: 具有一个或多个导线的电连接、 便携式计 算机磁盘、 硬盘、 随机访问存储器(RAM)、 只读存储器(ROM)、 可擦式可编程只读存储 器 (EPROM或闪存)、 光纤、 便携式紧凑磁盘只读存储器( CD-ROM). 光存储器件、 磁存 储器件、 或者上述的任意合适的组合。 在本公开中, 计算机可读存储介质可以是任何包含或 存储程序的有形介质, 该程序可以被指令执行系统、 装置或者器件使用或者与其结合使用。 而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号 , 其中承载了计算机可读的程序代码。 这种传播的数据信号可以采用多种形式, 包括但不限于 电磁信号、 光信号或上述的任意合适的组合。 计算机可读信号介质还可以是计算机可读存储 介质以外的任何计算机可读介质, 该计算机可读信号介质可以发送、传播或者传输用于由指 令执行系统、 装置或者器件使用或者与其结合使用的程序。 计算机可读介质上包含的程序代 码可以用任何适当的介质传输, 包括但不限于: 电线、 光缆、 RF(射频)等等, 或者上述的 任意合适的组合。 上述计算机可读介质可以是上述电子设备中所包含的; 也可以是单独存在, 而未装配入 该电子设备中。
上述计算机可读介质承载有一个或者多个程序, 当上述一个或者多个程序被该电子设备 执行时, 使得该电子设备执行上述实施例所示的方法。 可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序 代码, 上述程序设计语言包括面向对象的程序设计语言一诸如 Java、 Smalltalk, C++, 还包 括常规的过程式程序设计语言一诸如 “C” 语言或类似的程序设计语言。 程序代码可以完全 地在用户计算机上执行、 部分地在用户计算机上执行、 作为一个独立的软件包执行、 部分在 用户计算机上部分在远程计算机上执行、 或者完全在远程计算机或服务器上执行。在涉及远 程计算机的情形中, 远程计算机可以通过任意种类的网络 —包括局域网 ( Local Area Network, 简称 LAN)或广域网 ( Wide Area Network, 简称 WAN)一连接到用户计算机, 或 者, 可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。 附图中的流程图和框图, 图示了按照本公开各种实施例的系统、 方法和计算机程序产品 的可能实现的体系架构、 功能和操作。 在这点上, 流程图或框图中的每个方框可以代表一个 模块、 程序段、 或代码的一部分, 该模块、 程序段、 或代码的一部分包含一个或多个用于实 现规定的逻辑功能的可执行指令。 也应当注意, 在有些作为替换的实现中, 方框中所标注的 功能也可以以不同于附图中所标注的顺序发生。 例如, 两个接连地表示的方框实际上可以基 本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是, 框图和 /或流程图中的每个方框、 以及框图和/或流程图中的方框的组合, 可以用执行规定的 功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实 现。 描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方 式来实现。 其中, 单元的名称在某种情况下并不构成对该单元本身的限定, 例如, 第一获取 单元还可以被描述为 “获取至少两个网际协议地址的单元”。 本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。 例如, 非限 制性地, 可以使用的示范类型的硬件逻辑部件包括: 现场可编程门阵列(FPGA)、 专用集成 电路(ASIC), 专用标准产品(ASSP)、 片上系统(SOC)、 复杂可编程逻辑设备( CPLD) 等等。 在本公开的上下文中, 机器可读介质可以是有形的介质, 其可以包含或存储以供指令执 行系统、 装置或设备使用或与指令执行系统、 装置或设备结合地使用的程序。 机器可读介质 可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁 性的、 光学的、 电磁的、 红外的、 或半导体系统、 装置或设备, 或者上述内容的任何合适组 合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、 硬盘、 随机存取存储器(RAM)、 只读存储器(ROM)、 可擦除可编程只读存储器(EPROM 或快闪存储器)、光纤、便捷式紧凑盘只读存储器( CD-ROM).光学储存设备、磁储存设备、
或上述内容的任何合适组合。 第一方面, 根据本公开的一个或多个实施例, 提供了一种针对表格文档的交互方法, 包 括: 在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据列, 所述至少两个数 据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页内; 基于所述宽表格 文档的文档内容, 在所述交互界面内显示与所述数据列对应的至少一个数据标签; 响应于针 对目标数据标签的触发操作, 控制所述交互界面显示定位视图页, 所述定位视图页用于定位 显示所述目标数据标签所对应的目标数据列。 根据本公开的一个或多个实施例, 所述交互界面内设置有标签控件组; 所述基于所述宽 表格文档的文档内容,在所述交互界面内显示与所述数据列对应的至少一个数据标签,包括: 获取各所述数据列对应的列标题;才艮据所述列标题,确定所述标签控件组内的目标控件对象; 基于所述目标控件对象配置所述标签控件组, 以在所述标签控件组内显示所述数据标签。 才艮据本公开的一个或多个实施例, 所述获取各所述数据列对应的列标题, 包括: 获取至 少一个数据对象在所述数据列下的对象内容; 基于语言模型处理所述对象内容, 生成所述数 据列对应的归纳内容; 基于所述归纳内容, 生成所述列标题。 根据本公开的一个或多个实施例,所述方法还包括:接收针对所述交互界面的滑动操作, 所述滑动操作用于调整所述交互界面的当前视图页; 响应于所述滑动操作, 将所述数据标签 设置为目标显示方式, 其中, 所述目标显示方式基于所述当前视图页所显示的数据列确定 C 根据本公开的一个或多个实施例, 所述响应于所述滑动操作, 将所述数据标签设置为目 标显示方式, 包括: 响应于所述滑动操作, 获得所述当前视图页的目标位置处显示的数据列 的目标列标题; 才艮据所述目标列标题, 确定对应目标数据标签, 并对所述目标数据标签的进 行突出显示。 根据本公开的一个或多个实施例, 所述响应于所述滑动操作, 将所述数据标签设置为目 标显示方式, 包括: 响应于所述滑动操作, 获得所述当前视图页内所显示的目标数据列的列 标题; 基于所述目标数据列的列标题, 更新所述交互界面内显示的数据标签。 根据本公开的一个或多个实施例, 所述响应于针对目标数据标签的触发操作, 控制所述 交互界面显示定位视图页, 包括: 基于所述触发操作对应的目标数据标签, 确定至少一个待 选数据列; 对所述至少一个待选数据列进行排序, 确定目标数据列; 基于所述目标数据列的 定位锚点, 控制交互界面的当前视图页移动至定位视图页。 根据本公开的一个或多个实施例, 所述方法还包括: 在所述交互界面内, 为所述数据列 设置对应的定位锚点; 所述基于所述目标数据列的定位锚点, 控制交互界面的当前视图页移 动至定位视图页, 包括: 获取所述目标数据列的定位锚点; 控制交互界面移动至所述定位锚 点, 以显示所述定位视图页。
根据本公开的一个或多个实施例, 所述对所述至少一个待选数据列进行排序, 确定目标 数据列, 包括: 获取所述待选数据列在目标时间段内的访问频率; 基于所述访问频率由大至 小排列各所述待选数据列, 将最大的至少一个待选数据列确定为所述目标数据列。 第二方面, 根据本公开的一个或多个实施例, 提供了一种针对表格文档的交互装置, 包 括: 显示模块, 用于在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据列, 所述至少两个数据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页内; 处理模块, 用于基于所述宽表格文档的文档内容, 在所述交互界面内显示与所述数据列 对应的至少一个数据标签; 控制模块, 用于响应于针对目标数据标签的触发操作, 控制所述交互界面显示定位视图 页, 所述定位视图页用于定位显示所述目标数据标签所对应的目标数据列 „ 根据本公开的一个或多个实施例, 所述交互界面内设置有标签控件组; 所述处理模块, 具体用于: 获取各所述数据列对应的列标题; 根据所述列标题, 确定所述标签控件组内的目 标控件对象; 基于所述目标控件对象配置所述标签控件组, 以在所述标签控件组内显示所述 数据标签。 才艮据本公开的一个或多个实施例, 所述处理模块在获取各所述数据列对应的列标题时, 具体用于: 获取至少一个数据对象在所述数据列下的对象内容; 基于语言模型处理所述对象 内容, 生成所述数据列对应的归纳内容; 基于所述归纳内容, 生成所述列标题。 根据本公开的一个或多个实施例, 所述控制模块, 还用于: 接收针对所述交互界面的滑 动操作, 所述滑动操作用于调整所述交互界面的当前视图页; 响应于所述滑动操作, 将所述 数据标签设置为目标显示方式, 其中, 所述目标显示方式基于所述当前视图页所显示的数据 列确定。 根据本公开的一个或多个实施例, 所述控制模块在响应于所述滑动操作, 将所述数据标 签设置为目标显示方式时, 具体用于: 响应于所述滑动操作, 获得所述当前视图页的目标位 置处显示的数据列的目标列标题; 根据所述目标列标题, 确定对应目标数据标签, 并对所述 目标数据标签的进行突出显示。 根据本公开的一个或多个实施例, 所述控制模块在响应于所述滑动操作, 将所述数据标 签设置为目标显示方式时, 具体用于: 响应于所述滑动操作, 获得所述当前视图页内所显示 的目标数据列的列标题; 基于所述目标数据列的列标题, 更新所述交互界面内显示的数据标 签. 根据本公开的一个或多个实施例, 所述控制模块, 具体用于: 基于所述触发操作对应的 目标数据标签, 确定至少一个待选数据列; 对所述至少一个待选数据列进行排序, 确定目标 数据列; 基于所述目标数据列的定位锚点, 控制交互界面的当前视图页移动至定位视图页。
根据本公开的一个或多个实施例, 所述处理模块还用于: 在所述交互界面内, 为所述数 据列设置对应的定位锚点; 所述控制模块在基于所述目标数据列的定位锚点, 控制交互界面 的当前视图页移动至定位视图页时, 具体用于: 获取所述目标数据列的定位锚点; 控制交互 界面移动至所述定位锚点, 以显示所述定位视图页。 根据本公开的一个或多个实施例,所述控制模块在对所述至少一个待选数据列进行排序 , 确定目标数据列时, 具体用于: 获取所述待选数据列在目标时间段内的访问频率; 基于所述 访问频率由大至小排列各所述待选数据列,将最大的至少一个待选数据列确定为所述目标数 据列。 第三方面, 根据本公开的一个或多个实施例, 提供了一种电子设备, 包括: 至少一个处 理器和存储器; 所述存储器存储计算机执行指令; 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器 执行如上第一方面以及第一方面各种可能的设计所述的针对表格文档的交互方法。 第四方面, 根据本公开的一个或多个实施例, 提供了一种计算机可读存储介质, 所述计 算机可读存储介质中存储有计算机执行指令, 当处理器执行所述计算机执行指令时, 实现如 上第一方面以及第一方面各种可能的设计所述的针对表格文档的交互方法。 第五方面, 根据本公开的一个或多个实施例, 提供了一种计算机程序产品, 包括计算机 程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述 的针对表格文档的交互方法。 以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当 理解, 本公开中所涉及的公开范围, 并不限于上述技术特征的特定组合而成的技术方案, 同 时也应涵盖在不脱离上述公开构思的情况下, 由上述技术特征或其等同特征进行任意组合而 形成的其它技术方案。 例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特 征进行互相替换而形成的技术方案。 此外, 虽然采用特定次序描绘了各操作, 但是这不应当理解为要求这些操作以所示出的 特定次序或以顺序次序执行来执行。 在一定环境下, 多任务和并行处理可能是有利的。 同样 地, 虽然在上面论述中包含了若干具体实现细节, 但是这些不应当被解释为对本公开的范围 的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。 相 反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式 实现在多个实施例中。 尽管已经采用特定于结构特征和 /或方法逻辑动作的语言描述了本主题, 但是应当理解 所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反, 上面所描述 的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims
1、 一种针对表格文档的交互方法, 包括: 在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据列, 所述至少两个数 据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页内; 基于所述宽表格文档的文档内容,在所述交互界面内显示与所述数据列对应的至少一个 数据标签; 响应于针对目标数据标签的触发操作, 控制所述交互界面显示定位视图页, 所述定位视 图页用于定位显示所述目标数据标签所对应的数据列。
2、 根据权利要求 1所述的方法, 其中, 所述交互界面内设置有标签控件组; 所述基于 所述宽表格文档的文档内容,在所述交互界面内显示与所述数据列对应的至少一个数据标签, 包括: 获取各所述数据列对应的列标题; 才艮据所述列标题, 确定所述标签控件组内的目标控件对象; 基于所述目标控件对象配置所述标签控件组, 以在所述标签控件组内显示所述数据标签。
3、 根据权利要求 2所述的方法, 其中, 所述获取各所述数据列对应的列标题, 包括: 获取至少一个数据对象在所述数据列下的对象内容; 基于语言模型处理所述对象内容, 生成所述数据列对应的归纳内容; 基于所述归纳内容, 生成所述列标题。
4、 根据权利要求 1-3任一项所述的方法, 还包括: 接收针对所述交互界面的滑动操作, 所述滑动操作用于调整所述交互界面的当前视图页 ; 响应于所述滑动操作, 将所述数据标签匕殳置为目标显示方式, 其中, 所述目标显示方式 基于所述当前视图页所显示的数据列确定 C
5、 根据权利要求 4所述的方法, 其中, 所述响应于所述滑动操作, 将所述数据标签设 置为目标显示方式, 包括: 响应于所述滑动操作, 获得所述当前视图页的目标位置处显示的数据列的目标列标题; 才艮据所述目标列标题,确定对应目标数据标签,并对所述目标数据标签的进行突出显示。
6、 根据权利要求 4所述的方法, 其中, 所述响应于所述滑动操作, 将所述数据标签设 置为目标显示方式, 包括: 响应于所述滑动操作, 获得所述当前视图页内所显示的目标数据列的列标题; 基于所述目标数据列的列标题, 更新所述交互界面内显示的数据标签。
7、根据权利要求 1-6任一项所述的方法, 其中, 所述响应于针对目标数据标签的触发操 作, 控制所述交互界面显示定位视图页, 包括:
基于所述触发操作对应的目标数据标签, 确定至少一个待选数据列; 对所述至少一个待选数据列进行排序, 确定目标数据列; 基于所述目标数据列的定位锚点, 控制交互界面的当前视图页移动至定位视图页。
8、 根据权利要求 7所述的方法, 还包括: 在所述交互界面内, 为所述数据列设置对应的定位锚点; 所述基于所述目标数据列的定位锚点, 控制交互界面的当前视图页移动至定位视图页, 包括: 获取所述目标数据列的定位锚点; 控制交互界面移动至所述定位锚点, 以显示所述定位视图页 O
9、 根据权利要求 7所述的方法, 其中, 所述对所述至少一个待选数据列进行排序, 确 定目标数据列, 包括: 获取所述待选数据列在目标时间段内的访问频率; 基于所述访问频率由大至小排列各所述待选数据列,将最大的至少一个待选数据列确定 为所述目标数据列。
10、 一种针对表格文档的交互装置, 包括: 显示模块, 被配置为在交互界面内显示宽表格文档, 所述宽表格文档具有至少两个数据 列, 所述至少两个数据列中, 至少有一个数据列不能完整显示在所述交互界面的当前视图页 内; 处理模块, 被配置为基于所述宽表格文档的文档内容, 在所述交互界面内显示与所述数 据列对应的至少一个数据标签; 控制模块, 被配置为响应于针对目标数据标签的触发操作, 控制所述交互界面显示定位 视图页, 所述定位视图页用于定位显示所述目标数据标签所对应的数据列。
11、 一种电子设备, 包括: 处理器和存储器; 所述存储器存储计算机执行指令; 所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求 1- 9任一项所述的针对表格文档的交互方法。
12、 一种计算机可读存储介质, 所述计算机可读存储介质中存储有计算机执行指令, 当 处理器执行所述计算机执行指令时, 实现如权利要求 1-9任一项所述的针对表格文档的交互 方法。
13、 一种计算机程序产品, 包括计算机程序, 其中, 所述计算机程序被处理器执行时实 现如权利要求 1-9任一项所述的针对表格文档的交互方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311747223.XA CN120179103A (zh) | 2023-12-18 | 2023-12-18 | 针对表格文档的交互方法、装置、电子设备及存储介质 |
| CN202311747223.X | 2023-12-18 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2025136221A1 true WO2025136221A1 (zh) | 2025-06-26 |
| WO2025136221A9 WO2025136221A9 (zh) | 2025-10-02 |
Family
ID=96042213
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/SG2024/050789 Pending WO2025136221A1 (zh) | 2023-12-18 | 2024-12-12 | 针对表格文档的交互方法、装置、电子设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120179103A (zh) |
| WO (1) | WO2025136221A1 (zh) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113885770A (zh) * | 2021-10-27 | 2022-01-04 | 北京字跳网络技术有限公司 | 表格数据展示方法、装置、电子设备和存储介质 |
| CN114662459A (zh) * | 2020-12-23 | 2022-06-24 | 北京配天技术有限公司 | 电子表格的定位方法、终端及存储装置 |
| CN114997126A (zh) * | 2022-06-07 | 2022-09-02 | 北京五八信息技术有限公司 | 电子表格展示方法、装置、电子设备及存储介质 |
| CN116049592A (zh) * | 2023-02-13 | 2023-05-02 | 中国建设银行股份有限公司 | 一种表格数据的展示方法、装置、设备及介质 |
| CN116415547A (zh) * | 2021-12-29 | 2023-07-11 | 腾讯科技(深圳)有限公司 | 一种文档处理方法、装置、设备、介质及程序产品 |
| CN116522864A (zh) * | 2022-01-20 | 2023-08-01 | 腾讯科技(深圳)有限公司 | 文档处理方法、装置、设备、存储介质和计算机程序产品 |
| CN116933744A (zh) * | 2022-04-07 | 2023-10-24 | 腾讯科技(深圳)有限公司 | 表格内容提示方法和装置、存储介质及电子设备 |
-
2023
- 2023-12-18 CN CN202311747223.XA patent/CN120179103A/zh active Pending
-
2024
- 2024-12-12 WO PCT/SG2024/050789 patent/WO2025136221A1/zh active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114662459A (zh) * | 2020-12-23 | 2022-06-24 | 北京配天技术有限公司 | 电子表格的定位方法、终端及存储装置 |
| CN113885770A (zh) * | 2021-10-27 | 2022-01-04 | 北京字跳网络技术有限公司 | 表格数据展示方法、装置、电子设备和存储介质 |
| CN116415547A (zh) * | 2021-12-29 | 2023-07-11 | 腾讯科技(深圳)有限公司 | 一种文档处理方法、装置、设备、介质及程序产品 |
| CN116522864A (zh) * | 2022-01-20 | 2023-08-01 | 腾讯科技(深圳)有限公司 | 文档处理方法、装置、设备、存储介质和计算机程序产品 |
| CN116933744A (zh) * | 2022-04-07 | 2023-10-24 | 腾讯科技(深圳)有限公司 | 表格内容提示方法和装置、存储介质及电子设备 |
| CN114997126A (zh) * | 2022-06-07 | 2022-09-02 | 北京五八信息技术有限公司 | 电子表格展示方法、装置、电子设备及存储介质 |
| CN116049592A (zh) * | 2023-02-13 | 2023-05-02 | 中国建设银行股份有限公司 | 一种表格数据的展示方法、装置、设备及介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120179103A (zh) | 2025-06-20 |
| WO2025136221A9 (zh) | 2025-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109634598B (zh) | 一种页面显示方法、装置、设备及存储介质 | |
| US12056440B2 (en) | Document update method and apparatus, device, and medium | |
| US20170131872A1 (en) | Mobile User Interface | |
| US20230006952A1 (en) | Information replying method, apparatus, electronic device, computer storage medium, and product | |
| CN113535165A (zh) | 界面生成方法、装置、电子设备及计算机可读存储介质 | |
| US11720235B2 (en) | Method and apparatus for browsing table in document, and electronic device and storage medium | |
| US11934632B2 (en) | Music playing method and apparatus | |
| WO2024183814A1 (zh) | 内容分享方法、装置、设备、计算机可读存储介质及产品 | |
| CN110070593B (zh) | 图片预览信息的显示方法、装置、设备及介质 | |
| CN113032083A (zh) | 数据显示方法、装置、电子设备及介质 | |
| US12190049B2 (en) | Document processing method, apparatus and device, and medium | |
| CN118627481B (zh) | 表格处理方法、装置、终端和存储介质 | |
| US20240411985A1 (en) | Information processing method and apparatus, and terminal and storage medium | |
| WO2022184077A1 (zh) | 文档编辑的方法、装置、终端及非暂时性存储介质 | |
| JP2025516368A (ja) | ビュー生成方法、装置、電子機器、記憶媒体、及びコンピュータプログラム | |
| WO2025148986A1 (zh) | 交互式媒体数据生成方法、装置、电子设备及存储介质 | |
| WO2024175033A1 (zh) | 推荐信息的展示方法、装置、设备及存储介质 | |
| CN105915615A (zh) | 一种在移动设备中显示应用信息的方法和装置 | |
| CN113094286A (zh) | 页面测试方法和装置、存储介质和电子设备 | |
| CN111610949A (zh) | 数据大屏的展示方法及装置、电子设备 | |
| JPH07282079A (ja) | リンク表示方法 | |
| US20240249065A1 (en) | Method, apparatus, terminal and storage medium for document processing | |
| WO2025136221A1 (zh) | 针对表格文档的交互方法、装置、电子设备及存储介质 | |
| CN118627485A (zh) | 表格内容生成方法、装置、设备、介质及产品 | |
| CN116149653A (zh) | 构建列表页面的方法、装置、存储介质及计算机设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24908418 Country of ref document: EP Kind code of ref document: A1 |
