WO2022237553A1 - 表格展示方法、装置、设备及介质 - Google Patents

表格展示方法、装置、设备及介质 Download PDF

Info

Publication number
WO2022237553A1
WO2022237553A1 PCT/CN2022/089776 CN2022089776W WO2022237553A1 WO 2022237553 A1 WO2022237553 A1 WO 2022237553A1 CN 2022089776 W CN2022089776 W CN 2022089776W WO 2022237553 A1 WO2022237553 A1 WO 2022237553A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display mode
current interface
displayed
area
Prior art date
Application number
PCT/CN2022/089776
Other languages
English (en)
French (fr)
Inventor
万世奇
辛泓晓
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Priority to JP2023564425A priority Critical patent/JP2024515693A/ja
Publication of WO2022237553A1 publication Critical patent/WO2022237553A1/zh
Priority to US18/490,391 priority patent/US20240046025A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/163Indexing scheme relating to constructional details of the computer
    • G06F2200/1637Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • the present disclosure relates to the technical field of data front-end processing, and in particular to a table display method, device, equipment and medium.
  • tables that store online data are becoming more and more common.
  • tables usually store the relationship between data and objects, and are generally composed of vertical columns and horizontal rows.
  • each column contains a certain type of information for all authors, such as "last name", and each row contains all information for a specific author: last name, name, address, etc.
  • the disclosure provides a table display method, device, equipment and medium.
  • An embodiment of the present disclosure provides a method for displaying a table, the method comprising: determining a display mode of the table on the current interface; in response to a browsing trigger operation on the table, displaying the display on the current interface according to the display mode Table information for size matching.
  • An embodiment of the present disclosure also provides a table display device, the device includes: a determination module, configured to determine the display mode of the table on the current interface; a display module, used to respond to the browsing trigger operation on the table, according to the The display mode displays table information matching the display size of the current interface.
  • An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing instructions executable by the processor; and the processor, for reading the instruction from the memory.
  • the instructions can be executed, and the instructions are executed to implement the table display method provided by the embodiment of the present disclosure.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the table presentation method provided by the embodiment of the present disclosure.
  • An embodiment of the present disclosure further provides a computer program, including: instructions, which, when executed by a processor, cause the processor to execute the method for displaying a table according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further provides a computer program product, including instructions, which, when executed by a processor, cause the processor to execute the method for displaying a table according to the embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a table display method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a current interface for displaying tabular information provided by an embodiment of the present disclosure
  • Fig. 3(a) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 3(b) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 4(a) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 4(b) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of another table display method provided by an embodiment of the present disclosure.
  • Fig. 6(a) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 6(b) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 6(c) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 6(d) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 7(a) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • Fig. 7(b) is a schematic diagram of the current interface of another form information display provided by the embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a table display device provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • the entire table is exported to the terminal device as a picture, and the user views the data by dragging the picture.
  • the above-mentioned method relies on the user manually dragging and viewing the form.
  • the user needs to drag the picture of the form to the corresponding direction to view it according to the viewing requirements.
  • the form is large, it is necessary to continuously zoom in or shrink the picture of the form to view it. View, resulting in more inconvenient table viewing.
  • an embodiment of the present disclosure proposes a method for displaying tables with high readability. Relying on the user's manual dragging and display ensures the flexibility of the table display. On the other hand, it adapts to the display size of the current interface for display, and does not require the user to manually zoom in or zoom out the table for viewing, which improves the legibility of the table.
  • the above-mentioned current interface can be located on any terminal device, which includes but not limited to a mobile phone with a display screen, a notebook computer, a wearable device, etc.
  • the above-mentioned table can be a traditional database table, or any other
  • the data information displayed in the form of a table for example, although some data information does not come from the database, but is displayed in the form of a table when displayed, the data information also belongs to the table in this embodiment.
  • Fig. 1 is a schematic flowchart of a table display method provided by an embodiment of the present disclosure.
  • the method can be executed by a table display device, wherein the device can be implemented by software and/or hardware, and generally can be integrated into an electronic device.
  • the method includes:
  • Step 101 determine the display mode of the table on the current interface.
  • the display mode in this embodiment is used to define the display content of the table in the current interface (including but not limited to the index field of the table, the data in the cells in the table, etc.), the display format (including but not limited to the display position of the display content, One or more of display animation, display font size), etc.
  • the display mode of the table on the current interface is determined, so as to further determine the specific content of the table displayed on the current interface according to the display mode.
  • the way to determine the display mode of the table on the mobile terminal is different.
  • the default display mode of the receiving system is received, that is, in this embodiment, the display mode is determined by the system default setting;
  • a list of candidate display modes may be preset, and the list of candidate display modes may include multiple display modes, so that the display mode selected by the user from the list of candidate display modes is received as a table in The display mode of the mobile terminal.
  • the switching sequence of different display modes is preset, and in response to the switching operation of the current display mode, the switched display mode is determined, that is, if the user performs a switching operation, the display mode is switched to The next display mode of the current display mode, for example, if it is determined that display mode 1, display mode 2 and display mode 3 are sequentially switched, then if the current display mode is display mode 1 and the user performs a switching operation, then determine that display mode 2 is The display mode of the table on the mobile terminal.
  • Step 102 in response to the trigger operation for browsing the table, display the table information matching the display size of the current interface according to the display mode.
  • the browsing trigger operation in response to the browsing trigger operation on the table, the browsing trigger operation may be realized by the user on the current interface through the trigger track of the table, or by the user through voice, or it may be The realization of the user's triggering of the browsing control of the preset table, etc., will not be listed here.
  • the table information is displayed according to the display mode.
  • the display mode determines the display content and display format of the table. Therefore, based on the display mode, you can Flexibly determine the visual display content of the table.
  • the table information is also matched according to the display size of the current interface, by Therefore, the form information is displayed in combination with the display mode and the display size of the current interface, intuitively giving the user a feeling that the form information fits well with the current interface.
  • the row position and column position of the displayed table are determined based on the length and width of the display size (wherein, for the smoothness of the display, as shown in Figure 2,
  • the row and column here may not be an integer, that is, a partial area of a certain row or a partial area of a certain column may be displayed according to the display size, etc.).
  • the display size can be a horizontal screen size or a vertical screen size, that is, in this embodiment, the table information that matches the horizontal screen viewing size of the current interface can be displayed according to the display mode, or Table information that matches the vertical viewing size of the current interface can be displayed according to the presentation mode.
  • the table display method of the embodiment of the present disclosure determines the display mode of the table on the current interface, and then, in response to the browsing trigger operation on the table, displays the table information matching the display size of the current interface according to the display mode. Therefore, the content of the table is displayed by adapting to the display size and display mode of the mobile terminal, which improves the legibility of the table and provides convenience for viewing the content in the table.
  • the table information in the embodiment of the present disclosure is displayed based on the display mode.
  • the table information in the table is automatically adapted and split through the display mode, and the user does not need to manually drag the table to view the table information, which breaks the traditional table information.
  • the display method improves the legibility of the table.
  • the presentation mode is the first presentation mode.
  • the sliding direction of the sliding browsing operation in response to the sliding browsing operation on the table, the sliding direction of the sliding browsing operation is associated, and the table information matching the display size is continuously displayed by sliding on the current interface.
  • the sliding browsing operation can be a left and right sliding browsing operation, at this time, the sliding direction of the sliding browsing operation is the left and right directions;
  • the sliding direction of the sliding browsing operation may also be other directions, such as lower left, upper left, etc., which are not listed here.
  • the tables on the current interface display table information such as field names and specific cell contents in the form of a list.
  • the content can be freely switched according to the sliding browsing operation.
  • the switch display of the table information in the first presentation mode may also be triggered by a control.
  • the table browsing control when the display mode is the first display mode, in response to the trigger operation on the table browsing control, the table browsing control can be integrated with hardware controls such as volume on the mobile terminal, or it can be a virtual control displayed on the current interface .
  • the page-turning direction of the associated trigger operation such as double-clicking the browsing control is associated with forward page-turning
  • long-pressing the browsing control is associated with page-turning backward, etc.
  • the continuous display and display size of page turning in the current interface intuitively gives users a feeling of turning pages to display table information. When users view tables, they feel similar to reading online content such as e-books, and the viewing is convenient.
  • the presentation mode is the second presentation mode.
  • table information matching the display size of the current interface is displayed according to the display mode, including:
  • Step 501 when the display mode is the second display mode, in response to the sliding browsing operation on the table, continuously display the index fields in the table in the first associated area of the current interface.
  • the sliding browsing operation can be a left and right sliding browsing operation.
  • the sliding direction of the sliding browsing operation is the left and right direction, or an up and down sliding browsing operation.
  • the sliding direction of the sliding browsing operation is the up and down direction, etc.
  • the sliding direction of the operation may also be other directions, for example, lower left, upper left, etc., which will not be listed here.
  • the index field in the table is continuously displayed in the first associated area of the current interface, so that no matter which cells of the table the table information corresponds to, the user can clearly know the index field corresponding to the cell content on the current interface .
  • the above-mentioned first association area may be any blank area of the area where the form information corresponding to the index field is located, or may be a background area of the area where the form information corresponding to the index field is located, etc., and there is no limitation here.
  • Step 502 associating with the sliding direction of the sliding browsing operation, sliding and continuously displaying table information matching the display size and corresponding to the index fields in the second associated area of the current interface.
  • the sliding direction of the sliding browsing operation is associated, and the table information matching the display size and corresponding to the index field is slid and continuously displayed in the second associated area of the current interface, that is, the second associated area can be understood as an index field
  • the display area of the table information in the corresponding cell on the current interface thereby ensuring that the index field is always displayed in the first associated area when the table information is switched.
  • the index field is the user name
  • the first associated area is any blank area on the area where the table information corresponding to the index field is located
  • the switching display of the table information in the second display mode may also be triggered by a control.
  • the index field in the table will be continuously displayed in the first associated area of the current interface.
  • the table browsing control can be integrated in the volume of the mobile terminal It can also be a virtual control displayed on the current interface.
  • the direction of page turning is associated with the triggered operation, such as double-clicking on the browsing control to turn the page forward, and long-pressing the browsing control to turn the page backward, etc., and the pages are continuously displayed and displayed in the second associated area of the current interface Table information that matches the size and corresponds to the index field. Therefore, it is ensured that the index field name is always displayed in the first associated area when the table information is displayed by turning pages.
  • the display mode is the second display mode
  • the index field is the user name
  • the first associated area is any blank area on the area where the table information corresponding to the index field is located
  • the second associated area on the current interface will turn the page backwards to match the display size
  • the index field is displayed on the first association area, no matter which cell the table information corresponds to, the index field to which the table information belongs can be known on the current interface.
  • the display mode of the first association area and the second association area can also be processed, as follows:
  • the index fields in the table when the above-mentioned index fields in the table are continuously displayed in the first associated area of the current interface, the index fields may be displayed continuously in the first associated area, or in order to improve the interest of the display, the An associated field flashes continuously to show the index field.
  • the information displayed on the first association area and the second association area may be enlarged and displayed in the form of a card, so that the user can learn the table information more intuitively.
  • the information displayed in the matching first association area and the second association area is displayed in a vertically adjacent manner.
  • the first association area is located at the Above the two associated areas, or, the information displayed in the matching first associated area and the second associated area is displayed in a left-right adjacent manner, for example, as shown in Figure 6(c), when the table is displayed in a vertical screen size , the information displayed in the matching first associated area and the second associated area is displayed in a left-right adjacent manner.
  • the index fields of the table include the first index field and the second index field, wherein the first index field can be understood as the index field described in the above embodiment, that is, it can uniquely locate the table
  • the field of the object to which the information belongs for example, the "name” index field in Figure 6(a), etc.
  • the second index field can be understood as used to separate multiple table information under each first index field to point to the object to which it belongs
  • the first index field is "name”
  • the corresponding second index field can be "age”, "height", “gender” and so on.
  • the first index field is displayed in the first associated area
  • the browsing trigger operation of the associated table includes a trigger operation on the browsing control or a sliding browsing operation, etc.
  • the second index field that matches the display size is displayed in the third associated area of the current interface, thereby intuitively indicating which attribute each table information corresponds to, wherein the third associated area can be the same attribute corresponding The associated area in the row or column where the table information is located, such as a blank area in the row or column, or the first cell area in the row or column where the corresponding table information is located.
  • the table information corresponding to the first index field and the second index field is displayed in the second association area in conjunction with the third association area.
  • the first association area and the second association area will be adjusted accordingly based on the amount of table data.
  • the first association area can be the area corresponding to the first index field of all data rows, or the area corresponding to a single first index field of any data row;
  • the second association area can be the area corresponding to the table information of all data rows , can also be the area corresponding to a certain form information of any data row.
  • the first index field is the "Name” field
  • the second index field is "Age”, “Grade”, “Gender” and other indexes field
  • the third associated area is the area where the first cell of the column corresponding to the table information corresponding to the second index field is located, then in response to the browsing trigger operation, when the "name" index field is fixedly displayed, the second index field and the corresponding form information.
  • the form information is displayed according to the display mode adaptation, which further improves the legibility of the form information.
  • the display modes can be switched.
  • the display of the table is also adjusted. The following takes the switching between the first presentation mode and the second presentation mode as an example for illustration.
  • Mode switching to the switching instruction of the second display mode changes the data structure of the table and the display position of the fields, wherein the data structure includes but not limited to one or more of the positional relationship of rows or columns in the table.
  • some index fields in the first display mode are changed from the original area of the table to the association in the content row of the table information corresponding to the remaining index fields
  • the area is fixedly displayed to realize the change of the data structure of the table.
  • some index fields in the table information can be the above-mentioned first index field, etc., or they can be the first index field and some second index fields that are not displayed on the current interface, etc. Which index field a part of the index field corresponds to can be determined according to the scene settings, which are not displayed here.
  • the associated area in the content row of the table information may be the first associated area in the above embodiment, etc.
  • the associated area in the content row of the table information can also be the first cell area in the content row of the corresponding table information.
  • the partial index field is "name” index field
  • when switching to the second display mode change the "name" index field in the first display mode from the original area of the table to the first cell in the content row of the table information corresponding to the remaining index fields
  • the region is fixedly displayed, and at this time, other index fields and corresponding table information adjust their positions adaptively.
  • the display position of the fields in the table can also be adjusted adaptively, that is, when switching to the second display mode, the line spacing of the content rows in the table changes from the first display mode corresponding to the first display mode.
  • the first distance is converted to the second distance corresponding to the second display mode, wherein the first distance and the second distance can be calibrated by experimental data, or can be adapted according to the font size of the table information in the content row in the table.
  • the above-mentioned embodiment only takes the row spacing as an example for illustration, and in actual application, the column width can also be adjusted, and the adjustment logic of the column width is the same as that of the row spacing, so it will not be repeated here.
  • the table display method of the embodiment of the present disclosure is suitable for switching display modes, adjusts the data structure and display position of the table, and improves the smoothness of switching display modes.
  • the table display solution provided by the embodiments of the present disclosure determines the display mode of the table on the current interface, and then, in response to the browsing trigger operation on the table, according to the display mode Display table information that matches the display size of the current interface. Therefore, the content of the table is displayed by adapting to the display size and display mode of the mobile terminal, which improves the legibility of the table and provides convenience for viewing the content in the table.
  • the present disclosure also proposes a form display device.
  • FIG. 8 is a schematic structural diagram of a table display device provided by an embodiment of the present disclosure.
  • the device can be implemented by software and/or hardware, and can generally be integrated into an electronic device. As shown in FIG. 8, the device includes: a determination module 810 and a display module 820, wherein,
  • a determining module 810 configured to determine the display mode of the form on the current interface
  • the display module 820 is configured to display table information that matches the display size of the current interface according to the display mode in response to a trigger operation for browsing the table.
  • the table display device provided by the embodiments of the present disclosure can execute the table display method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
  • the present disclosure further proposes a computer program product, including computer programs/instructions, and when the computer programs/instructions are executed by a processor, the table presentation method of the above-mentioned embodiments is implemented.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 9 shows a schematic structural diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure.
  • the electronic device 900 in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal ( Mobile terminals such as car navigation terminals) and stationary terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 9 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 901, which may be randomly accessed according to a program stored in a read-only memory (ROM) 902 or loaded from a storage device 908.
  • a processing device such as a central processing unit, a graphics processing unit, etc.
  • RAM read-only memory
  • various appropriate actions and processes are executed by programs in the memory (RAM) 903 .
  • RAM 903 In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, ROM 902, and RAM 903 are connected to each other through a bus 904.
  • An 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: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909.
  • the communication means 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data. While FIG. 9 shows electronic device 900 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 909, or from storage means 908, or from ROM 902.
  • the processing device 901 When the computer program is executed by the processing device 901, the above-mentioned functions defined in the table presentation method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:
  • a display mode of the table on the current interface is determined, and then, in response to a browsing trigger operation on the table, table information matching the display size of the current interface is displayed according to the display mode. Therefore, the content of the table is displayed by adapting to the display size and display mode of the mobile terminal, which improves the legibility of the table and provides convenience for viewing the content in the table.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , 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. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the present disclosure provides a table display method, including: determining the display mode of the table on the current interface; in response to a browsing trigger operation on the table, displaying and displaying the table according to the display mode The display size of the current interface matches the table information.
  • the determining the display mode of the table on the mobile terminal includes:
  • the switched display mode is determined.
  • the displaying the table information matching the display size of the current interface according to the display mode includes:
  • the table information matching the vertical viewing size of the current interface is displayed.
  • the displaying the table information matching the display size of the current interface according to the display mode in response to the browsing trigger operation of the table includes:
  • the display mode is the first display mode
  • the sliding direction of the sliding browsing operation is associated, and the table information matching the display size is continuously displayed by sliding on the current interface.
  • the sliding browsing operation includes:
  • the table that matches the display size of the current interface is displayed according to the display mode information, including:
  • the display mode is the first display mode
  • the forward and backward page turning direction of the trigger operation is associated, and pages matching the display size are continuously displayed on the current interface form information.
  • the table that matches the display size of the current interface is displayed according to the display mode information, including:
  • the display mode is the second display mode
  • the index fields in the table are continuously displayed in the first associated area of the current interface
  • the table information matching the display size and corresponding to the index field is continuously displayed by sliding in the second associated area of the current interface.
  • the table that matches the display size of the current interface is displayed according to the display mode information, including:
  • the display mode is the second display mode
  • the index fields in the table are continuously displayed in the first associated area of the current interface
  • the table information matching the display size and corresponding to the index field is continuously displayed by turning pages in the second associated area of the current interface.
  • the index fields in the table are continuously displayed in the first associated area of the current interface, including:
  • Blinking in the first association area continuously displays the index field.
  • the information displayed in the matching first association area and the second association area is displayed adjacently up and down; or,
  • the information displayed in the matched first associated area and the second associated area is displayed in a left-right adjacent manner.
  • the table display method provided in the present disclosure further includes:
  • the information displayed on the first association area and the second association area is enlarged and displayed in the form of cards.
  • the present disclosure provides a table display device, including: a determining module, configured to determine a display mode of a table on a current interface;
  • the display module is configured to display table information matching the display size of the current interface according to the display mode in response to a browsing trigger operation on the table.
  • the determination module is specifically used for:
  • the switched display mode is determined.
  • the display module is specifically used for:
  • the table information matching the vertical viewing size of the current interface is displayed.
  • the display module is specifically used for:
  • the display mode is the first display mode
  • the sliding direction of the sliding browsing operation is associated, and the table information matching the display size is continuously displayed by sliding on the current interface.
  • the sliding browsing operation includes:
  • the display module is specifically configured to: respond to the triggering of the table browsing control when the display mode is the first display mode Operation, associated with the forward and backward page turning direction of the trigger operation, page turning on the current interface and continuously displaying table information matching the display size.
  • the display module is specifically used for:
  • the display mode is the second display mode
  • the index fields in the table are continuously displayed in the first associated area of the current interface
  • the table information matching the display size and corresponding to the index field is continuously displayed by sliding in the second associated area of the current interface.
  • the index fields of the table include: a first index field and a second index field
  • the display module is further configured to:
  • the display module includes:
  • the display unit is configured to continuously display the index fields in the table in the first associated area of the current interface in response to a trigger operation on the table browsing control when the display mode is the second display mode;
  • the display unit is configured to correlate the forward and backward page turning directions of the trigger operation, and continuously display the table information matching the display size and corresponding to the index field when turning pages in the second associated area of the current interface.
  • the display unit is specifically used for:
  • Blinking in the first association area continuously displays the index field.
  • the information displayed in the matched first association area and the second association area is displayed in a vertically adjacent manner; or,
  • the information displayed in the matched first associated area and the second associated area is displayed in a left-right adjacent manner.
  • the display module is further configured to: zoom in and display the information displayed on the first association area and the second association area in the form of a card. information.
  • the display module is further configured to: respond to switching from the first display mode to the second display mode, the data structure of the table and The placement of the field changes.
  • the display module is specifically configured to: when switching to the second display mode, display part of the index fields in the first display mode Changing from the original area of the table to the associated area in the content row of the table information corresponding to the remaining index fields is fixedly displayed.
  • the display module is specifically configured to: when switching to the second display mode, the line spacing of the content rows in the table is changed from the first The first distance corresponding to a display mode is transformed into the second distance corresponding to the second display mode.
  • modules or units may be implemented as software components executed on one or more general-purpose processors, or as hardware that performs certain functions or a combination thereof, such as programmable logic devices and/or application-specific integrated circuits.
  • these modules or units can be embodied in the form of software products, which can be stored in non-volatile storage media, and these non-volatile storage media include computer devices (such as personal computers, servers, etc.) , network device, mobile terminal, etc.) to implement the methods described in the embodiments of the present disclosure.
  • the above-mentioned modules or units may also be implemented on a single device, or may be distributed on multiple devices. The functions of these modules or units can be combined with each other, and can also be further divided into multiple subunits.
  • the present disclosure provides an electronic device, including:
  • the processor is configured to read the executable instruction from the memory, and execute the instruction to realize any one of the table presentation methods provided by the present disclosure.
  • the present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute any of the tables provided in the present disclosure Show method.
  • An embodiment of the present disclosure further provides a computer program, including: instructions, which, when executed by a processor, cause the processor to execute the method for displaying a table according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further provides a computer program product, including instructions, which, when executed by a processor, cause the processor to execute the method for displaying a table according to the embodiment of the present disclosure.

Abstract

本公开实施例涉及一种表格展示方法、装置、设备及介质,其中该方法包括:确定表格在当前界面的展示模式;响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息。由此,适配移动终端的展示尺寸和展示模式进行表格内容的展示,提升了表格的易读性,为查看表格中的内容提供了便捷。

Description

表格展示方法、装置、设备及介质
相关申请的交叉引用
本申请是以中国申请号为202110507031.6,申请日为2021年5月10日的申请为基础,并主张其优先权,该中国申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及数据前端处理技术领域,尤其涉及一种表格展示方法、装置、设备及介质。
背景技术
随着计算机技术的发展,线上生产生活成为普遍,从而,存储线上数据的表格也越发常见,其中,表格中通常存储数据和对象之间的关系,一般由纵向的列和横向的行组成,例如,一个有关作者信息的名的表格中,每个列包含的是所有作者的某个特定类型的信息,比如“姓氏”,而每行则包含了某个特定作者的所有信息:姓、名、住址等等。
发明内容
本公开提供了一种表格展示方法、装置、设备及介质。
本公开实施例提供了一种表格展示方法,所述方法包括:确定表格在当前界面的展示模式;响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
本公开实施例还提供了一种表格展示装置,所述装置包括:确定模块,用于确定表格在当前界面的展示模式;显示模块,用于响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
本公开实施例还提供了一种电子设备,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现如本公开实施例提供的表格展示方法。
本公开实施例还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开实施例提供的表格展示方法。
本公开实施例还提供了一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据如本公开实施例提供的表格展示方法。
本公开实施例还提供了一种计算机程序产品,包括指令,所述指令当由处理器执行时使所述处理器执行根据如本公开实施例提供的表格展示方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种表格展示方法的流程示意图;
图2为本公开实施例提供的一种表格信息展示的当前界面示意图;
图3(a)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图3(b)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图4(a)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图4(b)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图5为本公开实施例提供的另一种表格展示方法的流程示意图;
图6(a)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图6(b)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图6(c)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图6(d)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图7(a)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图7(b)为本公开实施例提供的另一种表格信息展示的当前界面示意图;
图8为本公开实施例提供的一种表格展示装置的结构示意图;
图9为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里 阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
相关技术中,在进行表格查看时,将整张表格作为图片导出到终端设备上,用户通过拖动图片进行数据查看。
然而,上述依赖于用户手动拖动查看表格的方式,用户需要根据查看需求,向对应方向拖动表格的图片进行查看,而且,当表格较大时,还需要不断的放大或者缩小表格的图片进行查看,导致表格的查看较为不方便。
为了解决上述表格查看不方便的问题,本公开的实施例中提出了一种易读性较高的表格的展示方法,在该方法中,一方面,结合展示模式进行表格的展示,而不是仅仅依赖用户的手动拖动展示,保证了表格展示的灵活性,另一方面,适配当前界面的展示尺寸进行展示,无需用户手动放大或者缩小表格进行查看,提高了表格的易读性。
其中,上述当前界面可以位于任意终端设备上,该终端设备包括但不限于带有显示屏幕的手机、笔记本电脑、可穿戴式设备等,上述表格可以为传统的数据库表格,也可以为其他任意以表格形式展示的数据信息,比如,某些数据信息虽然不来源于数据库,但是其展示时以表格形式展示,则该数据信息也属于本实施例中的表格。
下面结合具体的实施例对表格展示方法进行介绍。
图1为本公开实施例提供的一种表格展示方法的流程示意图,该方法可以由表格展示装置执行,其中该装置可以采用软件和/或硬件实现,一般可集成在电子设备中。如图1所示,该方法包括:
步骤101,确定表格在当前界面的展示模式。
本实施例中的展示模式用于限定表格在当前界面的展示内容(包括但不限于表格的索引字段、表格中单元格内的数据等)、展示格式(包括但不限于展示内容的展示位置、展示动画、展示字号中的一种或多种)等。
在本实施例中,确定表格在当前界面的展示模式,以便于进一步根据展示模式确定在当前界面上展示的表格的具体内容。
需要说明的是,在不同的应用场景中,确定表格在移动端的展示模式的方式不同,在一些可能的实施例中,接收系统默认设置的展示模式,即在本实施例中,展示模式由系统默认设置;
在另一些可能的实施例中,可以预先设置候选的展示模式列表,候选的展示模式列表中可以包括多个展示模式,由此,接收用户从候选的展示模式列表中选择的展示模式作为表格在移动端的展示模式。
在还一些可能的实施例中,预先设置不同的展示模式的切换顺序,响应于对当前展示模式的切换操作,确定切换后的展示模式,即若是用户执行一次切换操作,则将展示模式切换为当前展示模式的下一个展示模式,比如,确定展示模式1、展示模式2和展示模式3是顺序切换,则若当前展示模式是展示模式1,且用户执行一次切换操作,则确定展示模式2为表格在移动端的展示模式。
步骤102,响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息。
其中,本实施例中的,响应于对表格的浏览触发操作,该浏览触发操作可以是用户在当前界面上,通过对表格的触发轨迹实现的、也可以是用户通过语音实现的,也可以是用户对预设的表格的浏览控件的触发实现的等,在此不一一列举。
因此,在本实施例中,响应于对表格的浏览触发操作,根据展示模式显示表格信息,正如以上提到的,展示模式决定了对表格的展示内容以及展示格式等,因此,基于展示模式可以灵活决定表格的直观展示内容。
并且,为了避免表格信息的尺寸过大导致表格信息显示有限,或者,表格信息的尺寸 较小,用户难以清晰获知表格信息,在本实施例中,还根据当前界面的展示尺寸匹配表格信息,由此,结合展示模式和当前界面的展示尺寸显示表格信息,直观上给用户一种表格信息和当前界面十分贴合的感受。
比如,当展示模式包括表格的默认展示行高和列宽时,基于展示尺寸的长和宽,确定展示的表格的行位置和列位置(其中,为了展示的平滑性,如图2所示,这里的行和列可以不是整数,即可以根据展示尺寸展示某一行的部分区域或者某一列的部分区域等)。
其中,在一些可能的实施例中,展示尺寸可以为横屏尺寸也可以为竖屏尺寸,即在本实施例中,可以根据展示模式显示与当前界面的横屏观看尺寸匹配的表格信息,也可以根据展示模式显示与当前界面的竖屏观看尺寸匹配的表格信息。
其中,在本实施例中,若是表格的行较多,列较少,则如图3(a)所示,在横屏观看尺寸下,控制表格的行在横屏方向切换显示,在竖屏观看尺寸下,控制表格的行对应的内容在竖屏方向切换显示。
反之,若是表格的行较少,列较多,则如图3(b)所示,在横屏观看尺寸下,控制表格的列在横屏方向切换显示,在竖屏观看尺寸下,控制表格的列在竖屏方向切换显示。
综上,本公开实施例的表格展示方法,确定表格在当前界面的展示模式,进而,响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息。由此,适配移动终端的展示尺寸和展示模式进行表格内容的展示,提升了表格的易读性,为查看表格中的内容提供了便捷。
本公开实施例中的表格信息基于展示模式进行展示,直观上将表格中的表格信息通过展示模式自动适配拆分展示,无需用户手动拖动表格进行表格信息的查看,打破了传统的表格信息的显示方式,提升了表格的易读性。
为了使得本领域的技术人员更加清楚的了解,本公开实施例的表格如何通过展示模式展示,下面分别结合不同的展示模式示例说明:
示例一:
在本示例中,展示模式为第一展示模式。
在本实施例中,响应于对表格的滑动浏览操作,关联滑动浏览操作的滑动方向,在当前界面滑动连续显示与展示尺寸匹配的表格信息。其中,滑动浏览操作可以为左右滑动浏览操作,此时,滑动浏览操作的滑动方向为左右方向;或者,滑动浏览操作可以为上下滑 动浏览操作,此时,滑动浏览操作的滑动方向为上下方向等,当然,滑动浏览操作的滑动方向也可以为其他方向,比如,左下、左上等,在此不一一列举。
可以理解,在本实施例中,当前界面上的表格按照列表的方式展示字段名称以及具体的单元格内容等表格信息,以列表的形式进行呈现时,可根据滑动浏览操作进行内容的自由切换。
举例而言,如图4(a)所示,当展示模式为第一展示模式,响应于对表格的由右到左的滑动浏览操作,将表格由右到左切换显示,直观上给用户平滑切换的感受。
当然,在本示例中,也可以通过控件触发第一展示模式下的表格信息的切换显示。
在本示例中,当展示模式为第一展示模式,响应于对表格浏览控件的触发操作,该表格浏览控件可以集成在移动端的音量等硬件控件上,也可以是显示在当前界面上的虚拟控件。
在本实施例中,关联触发操作的前后翻页方向,比如对浏览控件双击操作关联往前翻页,对浏览控件长按操作关联往后翻页等,在当前界面翻页连续显示与展示尺寸匹配的表格信息,以直观的给用户一种翻页显示表格信息的感受,用户查看表格时和阅读电子书等线上内容的感受类似,查看便捷。
举例而言,如图4(b)所示,当浏览控件为显示在当前界面上的“上一页”和“下一页”虚拟控件时,若是用户点击“下一页”,则在当前界面上向后翻页显示与展示尺寸匹配的表格信息。
示例二:
在本示例中,展示模式为第二展示模式。
在本示例中,如图5所示,响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息,包括:
步骤501,当展示模式为第二展示模式,响应于对表格的滑动浏览操作,在当前界面的第一关联区域持续展示表格中的索引字段。
其中,滑动浏览操作可以为左右滑动浏览操作,此时,滑动浏览操作的滑动方向为左右方向,或者,上下滑动浏览操作,此时,滑动浏览操作的滑动方向为上下方向等,当然,滑动浏览操作的滑动方向也可以为其他方向,比如,左下、左上等,在此不一一列举。
在本实施例中,考虑到在很多场景下,当表格较大时,在显示非索引字段所在单元格内容时,用户难以获知当前查看的单元格内容对应于哪一索引字段,比如,当索引字段包 括用户姓名时,用户在查看至不包含用户姓名所在索引字段的当前界面的表格信息时,无法获知当前表格信息到底对应于哪一个用户,因此,为了进一步增加表格的易读性,在本实施例中,在当前界面的第一关联区域持续展示表格中的索引字段,从而,无论表格信息对应于表格的哪些单元格内,用户都可以在当前界面上清晰获知单元格内容对应的索引字段。
其中,上述第一关联区域可以为索引字段所对应的表格信息所在区域的任意空白区域,也可以为索引字段所对应的表格信息所在区域的背景区域等,在此不作限制。
步骤502,关联滑动浏览操作的滑动方向,在当前界面的第二关联区域滑动连续显示与展示尺寸匹配的、且与索引字段对应的表格信息。
在本实施例中,关联滑动浏览操作的滑动方向,在当前界面的第二关联区域滑动连续显示与展示尺寸匹配的、且与索引字段对应的表格信息,即第二关联区域可以理解为索引字段对应的单元格中的表格信息在当前界面上的显示区域,从而,保证了在切换表格信息时,始终在第一关联区域显示索引字段。举例而言,如图6(a)所示,当展示模式为第二展示模式,索引字段为用户姓名,第一关联区域为索引字段所对应的表格信息所在区域上的任意空白区域,响应于对表格的由右到左的滑动浏览操作,将表格的表格信息在第二关联区域由右到左切换显示,始终在第一关联区域显示索引字段,无论表格信息对应哪个单元格,都可以在当前界面上获知表格信息所属的索引字段。
同样的,在本示例中,也可以通过控件触发第二展示模式下的表格信息的切换显示。
在本示例中,当展示模式为第二展示模式,响应于对表格浏览控件的触发操作,在当前界面的第一关联区域持续展示表格中的索引字段,该表格浏览控件可以集成在移动端的音量等硬件控件上,也可以是显示在当前界面上的虚拟控件。
进而,关联触发操作的前后翻页方向,比如对浏览控件双击操作关联往前翻页,对浏览控件长按操作关联往后翻页等,在当前界面的第二关联区域翻页连续显示与展示尺寸匹配的、且与索引字段对应的表格信息。从而,保证了在翻页显示表格信息时,始终在第一关联区域显示索引字段名。
举例而言,如图6(b)所示,当浏览控件为显示在当前界面上的“上一页”和“下一页”虚拟控件,展示模式为第二展示模式,索引字段为用户姓名,第一关联区域为索引字段所对应的表格信息所在区域上的任意空白区域时,若是用户点击“下一页”,则在当前界面上的第二关联区域向后翻页显示与展示尺寸匹配的表格信息,在第一关联区域上显示索 引字段,无论表格信息对应哪个单元格,都可以在当前界面上获知表格信息所属的索引字段。
基于上述描述,为了进一步提升表格的易读性,还可以针对第一关联区域和第二关联区域进行显示方式的处理,示例如下:
在本公开的一个实施例中,上述在当前界面的第一关联区域持续展示表格中的索引字段时,可以在第一关联区域固定持续展示索引字段,也可以为了提高显示的趣味性,在第一关联区域闪烁持续展示索引字段。
在本公开的一个实施例中,可以通过卡片形式放大展示第一关联区域和第二关联区域上显示的信息,使得用户可以更直观的获知表格信息。
在本公开的另一个实施例中,相匹配的第一关联区域和第二关联区域所显示的信息通过上下相邻方式展示,比如,如图6(b)所示,第一关联区域位于第二关联区域的上方,或者,相匹配的第一关联区域和第二关联区域所显示的信息通过左右相邻方式展示,比如,如图6(c)所示,当表格按照竖屏尺寸显示时,相匹配的第一关联区域和第二关联区域所显示的信息通过左右相邻方式展示。
需要强调的是,在实际应用中,表格的索引字段包括第一索引字段和第二索引字段,其中,第一索引字段可以理解为上述实施例中所描述的索引字段,即为可以唯一定位表格信息所属对象的字段,比如,如图6(a)中的“姓名”索引字段等,第二索引字段可以理解为用于分出每个第一索引字段下的多个表格信息分别指向所属对象的哪个属性,比如,当第一索引字段为“姓名”,则对应的第二索引字段可以为“年龄”、“身高”、“性别”等。
在本实施例中,为了进一步提高表格的易读性,在第一关联区域展示第一索引字段,关联表格的浏览触发操作(该浏览触发操作包括对浏览控件的触发操作或者是滑动浏览操作等),在当前界面的第三关联区域变化显示与展示尺寸匹配的第二索引字段,由此,直观地指示每个表格信息对应于哪个属性,其中,第三关联区域可以为同一个属性对应的表格信息所在行或者列中的关联区域,比如是所在行或者列中的空白区域,或者是,对应的表格信息所在行或者列的首个单元格区域等。在本实施例中,为了直观地指示每个表格信息对应于哪个属性,在第二关联区域联动第三关联区域变化显示与第一索引字段和所述第二索引字段对应的表格信息。
在本公开的一些实施例中,第一关联区域和第二关联区域会基于表格数据的数量而进行相应的调整。第一关联区域可以为所有数据行的第一索引字段对应的区域,也可以为任 一数据行的单个第一索引字段对应的区域;第二关联区域可以为所有数据行的表格信息对应的区域,也可以为任一数据行的某一表格信息对应的区域。
继续以图6(a)所示的场景为例,参照图6(d),第一索引字段为“姓名”字段,第二索引字段为“年龄”、“年级”、“性别”等其他索引字段,第三关联区域为第二索引字段对应的表格信息所在列的首个单元格所在区域,则响应于浏览触发操作,在固定展示“姓名”索引字段时,联动展示第二索引字段和对应的表格信息。
综上,本公开实施例的表格展示方法,根据展示模式适配表格信息进行展示,进一步提升了表格信息的易读性。
正如以上实施例所提到的,展示模式之间是可以进行切换的,在切换展示模式时,为了提高切换的平滑感,在本公开的实施例中,还对表格进行显示上的调整。下面以第一展示模式和第二展示模式之间的切换为例说明。
在本公开的一个实施例中,响应于从第一展示模式切换至第二展示模式,比如,用户触发了第一展示模式切换至第二展示模式的切换控件等,则会触发从第一展示模式切换至第二展示模式的切换指令,将表格的数据结构和字段的展示位置进行变化,其中,数据结构包括但不限于表格的中行或者列的位置关系等中的一种或多种。
在本公开的一个实施例中,在切换到第二展示模式时,将第一展示模式中的部分索引字段从表格的原始区域变化到、与剩余索引字段对应的表格信息的内容行中的关联区域进行固定显示,以实现对表格的数据结构的变化。
其中,表格信息中的部分索引字段可以为上述第一索引字段等,也可以为第一索引字段和部分没有显示在当前界面的第二索引字段等,部分索引字段对应于哪个索引字段可以根据场景设置,在此不作显示。另外,表格信息的内容行中的关联区域可以为上述实施例中的第一关联区域等。
当然,表格信息的内容行中的关联区域也可以为对应的表格信息的内容行中的首个单元格区域,举例而言,如图7(a)所示,当部分索引字段为“姓名”索引字段,则在切换到第二展示模式时,将第一展示模式中的“姓名”索引字段从表格的原始区域变化到、与剩余索引字段对应的表格信息的内容行中的首个单元格区域,进行固定显示,此时,其他索引字段和对应的表格信息适应性调整位置。
在本实施例中,为了进一步提高切换平滑性,还可以适应性地调整表格中字段的展示 位置,即在切换到第二展示模式时,表格中内容行的行距从第一展示模式对应的第一距离变换到第二展示模式对应的第二距离,其中,第一距离和第二距离可以由实验数据标定,也可以根据表格中内容行中的表格信息的字号适配。
继续以图7(a)所示的场景为例,如图7(b)所示,在切换到第二展示模式时,为了清晰地展示索引字段以及对应的表格信息,适应性地调整行高等。
当然,上述实施例中仅仅以行距为例说明,在实际应用时,也可以调整列宽等,列宽的调整逻辑与行距的调整逻辑相同,在此不再赘述。
综上,本公开实施例的表格展示方法,适应于展示模式的切换,调整表格的数据结构和展示位置,提高了展示模式的切换平滑性。
本公开实施例提供的技术方案与相关技术相比具有如下优点:本公开实施例提供的表格展示方案,确定表格在当前界面的展示模式,进而,响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息。由此,适配移动终端的展示尺寸和展示模式进行表格内容的展示,提升了表格的易读性,为查看表格中的内容提供了便捷。
为了实现上述实施例,本公开还提出了一种表格展示装置。
图8为本公开实施例提供的一种表格展示装置的结构示意图,该装置可由软件和/或硬件实现,一般可集成在电子设备中。如图8所示,该装置包括:确定模块810和显示模块820,其中,
确定模块810,用于确定表格在当前界面的展示模式;
显示模块820,用于响应于对表格的浏览触发操作,根据展示模式显示与当前界面的展示尺寸匹配的表格信息。
本公开实施例所提供的表格展示装置可执行本公开任意实施例所提供的表格展示方法,具备执行方法相应的功能模块和有益效果。
为了实现上述实施例,本公开还提出一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述实施例的表格展示方法。
图9为本公开实施例提供的一种电子设备的结构示意图。
下面具体参考图9,其示出了适于用来实现本公开实施例中的电子设备900的结构示意图。本公开实施例中的电子设备900可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、 车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的表格展示方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分 传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:
确定表格在当前界面的展示模式,进而,响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。由此,适配移动终端的展示尺寸和展示模式进行表格内容的展示,提升了表格的易读性,为查看表格中的内容提供了便捷。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表 一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种表格展示方法,包括:确定表格在当前界面的展示模式;响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述确定表格在移动端的展示模式,包括:
接收系统默认设置的展示模式,或者,
接收用户从候选的展示模式列表里选择的展示模式,或者,
响应于对当前展示模式的切换操作,确定切换后的展示模式。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
根据所述展示模式显示与所述当前界面的横屏观看尺寸匹配的表格信息,
或者,
根据所述展示模式显示与所述当前界面的竖屏观看尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,
所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
当所述展示模式为第一展示模式,响应于对所述表格的滑动浏览操作,关联所述滑动浏览操作的滑动方向,在所述当前界面滑动连续显示与所述展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述滑动浏览操作包括:
左右滑动浏览操作,或者,上下滑动浏览操作。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
当所述展示模式为第一展示模式,响应于对所述表格浏览控件的触发操作,关联所述触发操作的前后翻页方向,在所述当前界面翻页连续显示与所述展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
当所述展示模式为第二展示模式,响应于对所述表格的滑动浏览操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
关联所述滑动浏览操作的滑动方向,在所述当前界面的第二关联区域滑动连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
当所述展示模式为第二展示模式,响应于对所述表格浏览控件的触发操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
关联所述触发操作的前后翻页方向,在所述当前界面的第二关联区域翻页连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,
在所述当前界面的第一关联区域持续展示所述表格中的索引字段,包括:
在所述第一关联区域固定持续展示所述索引字段;或者,
在所述第一关联区域闪烁持续展示所述索引字段。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过上下相邻方式展示;或者,
相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过左右相邻方式展示。
根据本公开的一个或多个实施例,本公开提供的表格展示方法中,还包括:
通过卡片形式放大展示所述第一关联区域和所述第二关联区域上显示的信息。
根据本公开的一个或多个实施例,本公开提供了一种表格展示装置,包括:确定模块,用于确定表格在当前界面的展示模式;
显示模块,用于响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述确定模块,具体用于:
接收系统默认设置的展示模式,或者,
接收用户从候选的展示模式列表里选择的展示模式,或者,
响应于对当前展示模式的切换操作,确定切换后的展示模式。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具体用于:
根据所述展示模式显示与所述当前界面的横屏观看尺寸匹配的表格信息,
或者,
根据所述展示模式显示与所述当前界面的竖屏观看尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具 体用于:
当所述展示模式为第一展示模式,响应于对所述表格的滑动浏览操作,关联所述滑动浏览操作的滑动方向,在所述当前界面滑动连续显示与所述展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述滑动浏览操作包括:
左右滑动浏览操作,或者,上下滑动浏览操作。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具体用于:当所述展示模式为第一展示模式,响应于对所述表格浏览控件的触发操作,关联所述触发操作的前后翻页方向,在所述当前界面翻页连续显示与所述展示尺寸匹配的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具体用于:
当所述展示模式为第二展示模式,响应于对所述表格的滑动浏览操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
关联所述滑动浏览操作的滑动方向,在所述当前界面的第二关联区域滑动连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述表格的索引字段包括:第一索引字段和第二索引字段,所述显示模块,还用于:
在所述第一关联区域展示所述第一索引字段;
关联所述表格的浏览触发操作,在所述当前界面的第三关联区域变化显示与所述展示尺寸匹配的第二索引字段,同时,在所述第二关联区域联动所述第三关联区域变化显示与所述第一索引字段和所述第二索引字段对应的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,包括:
展示单元,用于当所述展示模式为第二展示模式,响应于对所述表格浏览控件的触发操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
显示单元,用于关联所述触发操作的前后翻页方向,在所述当前界面的第二关联区域翻页连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示单元,具 体用于:
在所述第一关联区域固定持续展示所述索引字段;或者,
在所述第一关联区域闪烁持续展示所述索引字段。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过上下相邻方式展示;或者,
相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过左右相邻方式展示。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,还用于:通过卡片形式放大展示所述第一关联区域和所述第二关联区域上显示的信息。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,还用于:响应于从第一展示模式切换至第二展示模式,所述表格的数据结构和字段的展示位置进行变化。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具体用于:在切换到第二展示模式时,将所述第一展示模式中的部分索引字段从所述表格的原始区域变化到、与剩余索引字段对应的表格信息的内容行中的关联区域,进行固定显示。
根据本公开的一个或多个实施例,本公开提供的表格展示装置中,所述显示模块,具体用于:在切换到第二展示模式时,所述表格中内容行的行距从所述第一展示模式对应的第一距离变换到所述第二展示模式对应的第二距离。
上述模块或单元可以被实现为在一个或多个通用处理器上执行的软件组件,也可以被实现为诸如执行某些功能或其组合的硬件,诸如可编程逻辑设备和/或专用集成电路。在一些实施例中,这些模块或单元可以体现为软件产品的形式,该软件产品可以存储在非易失性存储介质中,这些非易失性存储介质中包括使得计算机设备(例如个人计算机、服务器、网络设备、移动终端等)实现本公开实施例中描述的方法。在另一些实施例中,上述模块或单元还可以在单个设备上实现,也可以分布在多个设备上。这些模块或单元的功能可以相互合并,也可以进一步拆分为多个子单元。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:
处理器;
用于存储所述处理器可执行指令的存储器;
所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现如本 公开提供的任一所述的表格展示方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开提供的任一所述的表格展示方法。
本公开实施例还提供了一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据如本公开实施例提供的表格展示方法。
本公开实施例还提供了一种计算机程序产品,包括指令,所述指令当由处理器执行时使所述处理器执行根据如本公开实施例提供的表格展示方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (20)

  1. 一种表格展示方法,包括:
    确定表格在当前界面的展示模式;
    响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
  2. 根据权利要求1所述的表格展示方法,其中,所述确定表格在移动端的展示模式,包括:
    接收系统默认设置的展示模式,或者,
    接收用户从候选的展示模式列表里选择的展示模式,或者,
    响应于对当前展示模式的切换操作,确定切换后的展示模式。
  3. 根据权利要求1或2所述的表格展示方法,其中,所述根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
    根据所述展示模式显示与所述当前界面的横屏观看尺寸匹配的表格信息,或者,根据所述展示模式显示与所述当前界面的竖屏观看尺寸匹配的表格信息。
  4. 根据权利要求1-3任一项所述的表格展示方法,其中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
    当所述展示模式为第一展示模式,响应于对所述表格的滑动浏览操作,关联所述滑动浏览操作的滑动方向,在所述当前界面滑动连续显示与所述展示尺寸匹配的表格信息。
  5. 根据权利要求4所述的方法,其中,所述滑动浏览操作包括:
    左右滑动浏览操作,或者,上下滑动浏览操作。
  6. 根据权利要求1-5任一项所述的表格展示方法,其中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
    当所述展示模式为第一展示模式,响应于对所述表格浏览控件的触发操作,关联所述触发操作的前后翻页方向,在所述当前界面翻页连续显示与所述展示尺寸匹配的表格信息。
  7. 根据权利要求1-6任一项所述的表格展示方法,其中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
    当所述展示模式为第二展示模式,响应于对所述表格的滑动浏览操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
    关联所述滑动浏览操作的滑动方向,在所述当前界面的第二关联区域滑动连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
  8. 根据权利要求1-7任一项所述的表格展示方法,其中,所述响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息,包括:
    当所述展示模式为第二展示模式,响应于对所述表格浏览控件的触发操作,在所述当前界面的第一关联区域持续展示所述表格中的索引字段;
    关联所述触发操作的前后翻页方向,在所述当前界面的第二关联区域翻页连续显示与所述展示尺寸匹配的、且与所述索引字段对应的表格信息。
  9. 根据权利要求7或8所述的表格展示方法,其中,所述表格的索引字段包括:第一索引字段和第二索引字段,所述表格展示方法还包括:
    在所述第一关联区域展示所述第一索引字段;
    关联所述表格的浏览触发操作,在所述当前界面的第三关联区域变化显示与所述展示尺寸匹配的第二索引字段,同时,在所述第二关联区域联动所述第三关联区域变化显示与所述第一索引字段和所述第二索引字段对应的表格信息。
  10. 根据权利要求7-9任一项所述的表格展示方法,其中,在所述当前界面的第一关联区域持续展示所述表格中的索引字段,包括:
    在所述第一关联区域固定持续展示所述索引字段,或者,在所述第一关联区域闪烁持续展示所述索引字段。
  11. 根据权利要求7-10任一项所述的表格展示方法,还包括:
    相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过上下相邻方式展示,或者,相匹配的所述第一关联区域和所述第二关联区域所显示的信息通过左右相邻方式展示。
  12. 根据权利要求7-11任一项所述的表格展示方法,还包括:
    通过卡片形式放大展示所述第一关联区域和所述第二关联区域上显示的信息。
  13. 根据权利要求1-12任一项所述的表格展示方法,还包括:
    响应于从第一展示模式切换至第二展示模式,所述表格的数据结构和字段的展示位置进行变化。
  14. 根据权利要求13所述的表格展示方法,其中,所述表格的数据结构和字段的展示位置进行变化,包括:
    在切换到第二展示模式时,将所述第一展示模式中的部分索引字段从所述表格的原始区域变化到、与剩余索引字段对应的表格信息的内容行中的关联区域,进行固定显示。
  15. 根据权利要求14所述的表格展示方法,其中,所述表格的数据结构和字段的展示位置进行变化,还包括:
    在切换到第二展示模式时,所述表格中内容行的行距从所述第一展示模式对应的第一距离变换到所述第二展示模式对应的第二距离。
  16. 一种表格展示装置,包括:
    确定模块,用于确定表格在当前界面的展示模式;
    显示模块,用于响应于对所述表格的浏览触发操作,根据所述展示模式显示与所述当前界面的展示尺寸匹配的表格信息。
  17. 一种电子设备,包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述权利要求1-15中任一所述的表格展示方法。
  18. 一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-15中任一所述的表格展示方法。
  19. 一种计算机程序,包括:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-15任一项所述的表格展示方法。
  20. 一种计算机程序产品,包括指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-15任一项所述的表格展示方法。
PCT/CN2022/089776 2021-05-10 2022-04-28 表格展示方法、装置、设备及介质 WO2022237553A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023564425A JP2024515693A (ja) 2021-05-10 2022-04-28 テーブル展示方法、装置、機器及び媒体
US18/490,391 US20240046025A1 (en) 2021-05-10 2023-10-19 Table displaying method, device and medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110507031.6A CN113238688B (zh) 2021-05-10 2021-05-10 表格展示方法、装置、设备及介质
CN202110507031.6 2021-05-10

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/490,391 Continuation US20240046025A1 (en) 2021-05-10 2023-10-19 Table displaying method, device and medium

Publications (1)

Publication Number Publication Date
WO2022237553A1 true WO2022237553A1 (zh) 2022-11-17

Family

ID=77133026

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089776 WO2022237553A1 (zh) 2021-05-10 2022-04-28 表格展示方法、装置、设备及介质

Country Status (4)

Country Link
US (1) US20240046025A1 (zh)
JP (1) JP2024515693A (zh)
CN (1) CN113238688B (zh)
WO (1) WO2022237553A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238688B (zh) * 2021-05-10 2023-06-27 北京字跳网络技术有限公司 表格展示方法、装置、设备及介质
CN116579309A (zh) * 2023-07-13 2023-08-11 天津中新智冠信息技术有限公司 信息填报方法、装置、电子设备及存储介质

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359322A (zh) * 2008-07-30 2009-02-04 金蝶软件(中国)有限公司 一种表格显示方法及装置
CN101441656A (zh) * 2008-12-23 2009-05-27 金蝶软件(中国)有限公司 表格设置方案的处理方法、装置和企业资源计划系统
US20140033093A1 (en) * 2012-07-25 2014-01-30 Microsoft Corporation Manipulating tables with touch gestures
CN104571862A (zh) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 一种移动终端页面中展示数据的方法和装置
CN108037974A (zh) * 2017-12-22 2018-05-15 武汉楚鼎信息技术有限公司 一种在移动端展示长表格的交互方法及系统装置
CN108446152A (zh) * 2018-02-02 2018-08-24 阿里巴巴集团控股有限公司 页面显示方法及装置
CN109670157A (zh) * 2018-12-25 2019-04-23 金蝶软件(中国)有限公司 一种表格高度的控制方法及相关设备
CN111950241A (zh) * 2019-05-16 2020-11-17 珠海金山办公软件有限公司 一种显示表格数据的方法、系统、终端和存储介质
CN113238688A (zh) * 2021-05-10 2021-08-10 北京字跳网络技术有限公司 表格展示方法、装置、设备及介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5347295A (en) * 1990-10-31 1994-09-13 Go Corporation Control of a computer through a position-sensed stylus
WO2004072867A1 (en) * 2003-02-14 2004-08-26 Access Co., Ltd. Browser program for performing table-layout
US7793217B1 (en) * 2004-07-07 2010-09-07 Young Kim System and method for automated report generation of ophthalmic examinations from digital drawings
US7779346B2 (en) * 2006-10-03 2010-08-17 Research In Motion Limited System and method for freezing columns and rows in a UI table
US8217964B2 (en) * 2008-02-14 2012-07-10 Nokia Corporation Information presentation based on display screen orientation
US10185488B2 (en) * 2014-07-08 2019-01-22 Sony Corporation Device and method for displaying information
US10540435B2 (en) * 2015-11-02 2020-01-21 Microsoft Technology Licensing, Llc Decks, cards, and mobile UI
CN109271618B (zh) * 2018-08-30 2023-09-26 浪潮通用软件有限公司 一种可记忆用户操作习惯的表格组件实现方法
CN112286603A (zh) * 2020-09-28 2021-01-29 长沙市到家悠享网络科技有限公司 一种表格展示方法、装置、电子设备及存储介质

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359322A (zh) * 2008-07-30 2009-02-04 金蝶软件(中国)有限公司 一种表格显示方法及装置
CN101441656A (zh) * 2008-12-23 2009-05-27 金蝶软件(中国)有限公司 表格设置方案的处理方法、装置和企业资源计划系统
US20140033093A1 (en) * 2012-07-25 2014-01-30 Microsoft Corporation Manipulating tables with touch gestures
CN104571862A (zh) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 一种移动终端页面中展示数据的方法和装置
CN108037974A (zh) * 2017-12-22 2018-05-15 武汉楚鼎信息技术有限公司 一种在移动端展示长表格的交互方法及系统装置
CN108446152A (zh) * 2018-02-02 2018-08-24 阿里巴巴集团控股有限公司 页面显示方法及装置
CN109670157A (zh) * 2018-12-25 2019-04-23 金蝶软件(中国)有限公司 一种表格高度的控制方法及相关设备
CN111950241A (zh) * 2019-05-16 2020-11-17 珠海金山办公软件有限公司 一种显示表格数据的方法、系统、终端和存储介质
CN113238688A (zh) * 2021-05-10 2021-08-10 北京字跳网络技术有限公司 表格展示方法、装置、设备及介质

Also Published As

Publication number Publication date
US20240046025A1 (en) 2024-02-08
JP2024515693A (ja) 2024-04-10
CN113238688B (zh) 2023-06-27
CN113238688A (zh) 2021-08-10

Similar Documents

Publication Publication Date Title
WO2022237553A1 (zh) 表格展示方法、装置、设备及介质
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2020233444A1 (zh) 在线文档插入信息方法及装置
US11720235B2 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
JP7267434B2 (ja) ドキュメント入力内容の処理方法、装置、電子機器及び記憶媒体
JP7318016B2 (ja) テーブル情報の表示方法、装置、機器および記憶媒体
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
CN113238706B (zh) 一种视图展示方法、装置、设备及介质
WO2022111569A1 (zh) 页面切换显示方法、装置、存储介质及电子设备
WO2023011259A1 (zh) 一种信息显示方法、装置、电子设备和存储介质
US20220353587A1 (en) Method and apparatus for generating music poster, electronic device, and medium
WO2022218034A1 (zh) 交互方法、装置和电子设备
US20230229382A1 (en) Method and apparatus for synchronizing audio and text, readable medium, and electronic device
WO2023125164A1 (zh) 页面显示方法、装置、电子设备和存储介质
WO2023143070A1 (zh) 协同编辑的信息展示方法、装置、电子设备和可读介质
WO2023030224A1 (zh) 一种信息展示方法、装置、电子设备和存储介质
WO2023035835A1 (zh) 一种信息展示方法、装置、设备及介质
US20220247809A1 (en) Information indicating method and apparatus, electronic device and storage medium
WO2023143071A2 (zh) 内容展示方法、装置、电子设备及存储介质
CN114327732B (zh) 页面配置方法、装置、电子设备和计算机可读介质
WO2022242441A1 (zh) 电子表格导入方法、装置、设备及介质
US20230367963A1 (en) Character display method and apparatus, electronic device, and computer-readable storage medium
WO2022083273A1 (zh) 文字显示方法、装置、电子设备以及计算机可读存储介质
WO2023056901A1 (zh) 文档的处理方法、装置、终端和存储介质
CN115033148B (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: 22806522

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023564425

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE