Table data processing method and device and medium
By using M expansion areas to display and replace the detailed objects of table data in the display interface, the problem of low page switching efficiency in the prior art is solved, and the synchronous display and replacement of multiple detailed data is realized, which improves the user experience.
Patent Information
- Application Number
- CN202310703115.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2024-12-17
AI Technical Summary
When displaying multiple pages, the page switching operation in the prior art is low in efficiency, and users need to switch multiple times to find the target page.
By using M expansion areas in the display interface, in response to the detailed display operation, the data of the first and second details objects are displayed without page switching, and the synchronous display and replacement of the details data is realized.
It effectively reduces the steps of page switching, improves the efficiency of page cutting operations, and makes the user experience better.
Smart Images

Figure CN119149148A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, device and medium for processing table data. Background Art
[0002] With the rapid development of display technology, more and more content will be displayed through displays, so that users can view the corresponding display content more intuitively, which makes the user experience better.
[0003] In the prior art, when displaying data through a display, it is necessary to switch back and forth between pages due to the limitation of the screen layout. For example, notebook computers and desktop computers usually use shortcut keys to complete page switching. Especially when switching between 3 or more pages, it is usually the case that the page switched to is not necessarily the target page, so that multiple switching operations are usually performed when switching to the target page, resulting in a low efficiency of the page switching operation when displaying multiple pages. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and medium for processing table data, which can effectively improve the efficiency of page switching operations when displaying multiple pages, thereby providing a better user experience.
[0005] A first aspect of an embodiment of the present invention provides a method for processing table data, the method comprising:
[0006] In the process of displaying the table data in the display interface, obtaining a first detail display operation for a first detail object in a first row of data in the table data;
[0007] In response to the first detail display operation, a detail extension area is displayed in the display interface, and first detail data corresponding to the first detail object is displayed in a first extension area among M extension areas in the detail extension area, where M is an integer greater than 1;
[0008] Obtain a second detail display operation for a second detail object in the first row of data;
[0009] In response to the second detail display operation, second detail data corresponding to the second detail object is displayed in a second expansion area among the M expansion areas.
[0010] Optionally, after displaying the second detail data corresponding to the second detail object in the second extended area among the M extended areas, the method further includes:
[0011] Obtaining an i-th detail display operation for an i-th detail object in the first row of data, where i is an integer greater than 2;
[0012] If i is greater than M, a target extension area is selected from the M extension areas, and the display data in the target extension area is replaced with the i-th detail data corresponding to the i-th detail object.
[0013] Optionally, after obtaining the i-th detail display operation for the i-th detail object in the table data, the method further includes:
[0014] If i is not greater than M, an i-th extended area in a state of not displaying data is selected from the M extended areas, and the i-th detailed data is displayed in the i-th extended area.
[0015] Optionally, displaying first detail data corresponding to the first detail object in a first extension area among the M extension areas in the detail extension area includes:
[0016] Acquire a first expansion area among the M expansion areas as the first expansion area;
[0017] The first detail data is displayed in the first expansion area.
[0018] Optionally, in response to the first detail display operation, displaying a detail expansion area in the display interface includes:
[0019] In response to the first detail display operation, the detail expansion area is displayed in the display interface in a first display mode, wherein the first display mode includes a horizontal display mode and a vertical display mode.
[0020] Optionally, displaying the details expansion area in the display interface in a first display mode includes:
[0021] If the first display mode is a vertical display mode, a blank display area in the display interface is acquired, and the detail expansion area is displayed in the blank display area in the vertical display mode.
[0022] Optionally, after replacing the display data in the target extended area with the i-th detail data corresponding to the i-th detail object, the method further includes:
[0023] Obtaining a data replacement operation for the target extension area;
[0024] In response to the data replacement operation, the current display data in the target extended area is replaced with previous detail data before the current display data.
[0025] A second aspect of an embodiment of the present invention further provides a device for processing table data, the device comprising:
[0026] A first operation acquisition unit, configured to acquire a first detail display operation for a first detail object in a first row of data in the table data during display of the table data in the display interface;
[0027] an extended area control unit, configured to respond to the first detail display operation, display a detail extended area in the display interface, and display first detail data corresponding to the first detail object in a first extended area among M extended areas in the detail extended area, where M is an integer greater than 1;
[0028] A second operation acquisition unit, configured to acquire a second detail display operation for a second detail object in the first row of data;
[0029] The data display unit is used to display second detail data corresponding to the second detail object in a second expansion area among the M expansion areas in response to the second detail display operation.
[0030] A third aspect of an embodiment of the present invention provides an electronic device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute operation instructions corresponding to the method for processing tabular data as provided in the first aspect.
[0031] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps corresponding to the method for processing tabular data provided in the first aspect.
[0032] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:
[0033] Based on the above technical solution, in the process of displaying table data in the display interface, after obtaining the detail display operation for the first detail object and the second detail object in the first row of data in the table data, a detail extension area can be displayed in the display interface, and the first detail data corresponding to the first detail object and the second detail data corresponding to the second detail object are displayed in the first extension area and the second extension area of the M extension areas in the detail extension area. In the prior art, page switching is required to display the first detail data and the second detail data on the page respectively. At this time, the first detail data and the second detail data can be displayed in the display interface without page switching. Instead, multiple detail data can be displayed synchronously by switching the detail data displayed in the M extension areas, and the page switching steps can be effectively reduced, thereby effectively improving the efficiency of page switching operations when displaying multiple pages, so that the user experience is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A flowchart of a method for processing table data provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a structure in which M expansion areas provided in an embodiment of the present application are displayed in a vertical row;
[0036] Figure 3 A schematic diagram of a structure in which M expansion areas provided in an embodiment of the present application are displayed in a horizontal row;
[0037] Figure 4 A block diagram of a device for processing table data provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The main implementation principles, specific implementation methods and corresponding beneficial effects of the technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0040] Example
[0041] Please refer to Figure 1 , an embodiment of the present application provides a method for processing table data, the method comprising:
[0042] S101. In a process of displaying table data in a display interface, obtaining a first detail display operation for a first detail object in a first row of data in the table data;
[0043] S102, in response to the first detail display operation, displaying a detail extension area in the display interface, and displaying first detail data corresponding to the first detail object in a first extension area among M extension areas in the detail extension area, where M is an integer greater than 1;
[0044] S103, obtaining a second detail display operation for a second detail object in the first row of data;
[0045] S104: In response to the second detail display operation, display second detail data corresponding to the second detail object in a second extended area among the M extended areas.
[0046] The method for processing table data in the embodiments of this specification is generally used in a server or a user terminal. The server may be, for example, a desktop computer, a laptop computer, an all-in-one computer, a tablet computer, etc., and the user terminal may be, for example, a desktop computer, a laptop computer, an all-in-one computer, a tablet computer, a smart phone, etc.
[0047] In step S101, it is possible to detect in real time whether table data is displayed in the display interface on the display screen. If it is detected that table data is displayed, it is determined that the display interface is in the process of displaying the table data. Also, when the table data is displayed in the display interface, it is detected whether the user has a click or double-click operation on the first detail object in the first row of data. If so, the detected click or double-click operation is used as the first detail display operation.
[0048] In one embodiment, the first row of data may be any row of data in the table data; further, the first detail object may be a detail display box and a detail button, etc., and the detail button is specifically taken as an example below.
[0049] In one embodiment, the detail object may be a time trend object, a material detail object, a historical data object, etc., and this specification does not impose any specific limitation.
[0050] Specifically, since there are multiple rows of table data in the table data, and each row of table data usually contains multiple detail buttons corresponding to multiple detail objects, if it is detected that the user clicks the first detail button in the third row of table data, then the third row of table data is determined to be the first row of data, and the first detail button in the third row of table data is the first detail object, and the operation of clicking the first detail button is the first detail display operation.
[0051] After the first detail display operation is acquired, step S102 is executed.
[0052] In step S102, after obtaining the first detail display operation, in response to the first detail display operation, the display operation of the detail display area is triggered to display the detail extension area in the display interface, and the detail extension area has M extension areas, and M is an integer greater than 1, and M can be 2, 3, 5, etc., so that the M extension areas can display multiple detail data, and when the number of detail data to be displayed does not exceed M, multiple detail data can be displayed simultaneously through the M extension areas. At this time, it is not necessary to switch pages when displaying multiple detail data, so that the efficiency of page switching operations can be effectively improved when displaying multiple pages, so that the user experience is better. And when the number of detail data to be displayed exceeds M, at this time, the detail data exceeding M will replace the detail data previously displayed in the extension area in the M extension areas, and there is no need to switch pages. It is sufficient to switch the detail data in the extension area. Similarly, it is possible to effectively improve the efficiency of page switching operations when displaying multiple pages, so that the user experience is better.
[0053] And, when the detail extension area is displayed in the display interface, the detail extension area is displayed in the display interface in a first display mode, wherein the first display mode includes a horizontal display mode and a vertical display mode.
[0054] Specifically, when the detail extension area is displayed in the display interface in the first display mode, if the first display mode is a vertical display mode, a blank display area in the display interface is obtained, and the detail extension area is displayed in the vertical display mode in the blank display area. The blank display area is usually located on both sides of the display interface. If the blank area on the right side of the blank display area is larger than the blank area on the left side, the detail extension area is displayed in the blank area on the right side. Of course, the detail extension area can also be displayed in the blank area on the left side.
[0055] Furthermore, if the first display mode is a horizontal display mode, the detail extension area is displayed between the first row of data and the row of data before the first row of data, and the detail extension area can also be displayed between the first row of data and the row of data after the first row of data. In this case, the spacing between the two rows of data used to display the detail extension area is automatically expanded so that there is space between the first row of data and the second row of data to display the detail display area. Of course, the detail display area can also be displayed in the lower blank area of the display interface, and this specification does not make specific restrictions.
[0056] In one embodiment, the second row of data is any row of data in the table data except the first row of data, and this specification does not impose any specific limitation.
[0057] In one embodiment, when displaying the first detailed data in the first extended area, the first extended area among the M extended areas may be first obtained as the first extended area, and then the first detailed data may be displayed in the first extended area. Of course, the middle extended area or the tail extended area among the M extended areas may also be obtained as the first extended area, and then the first detailed data may be displayed in the first extended area.
[0058] After the first detail data is displayed in the first extended area, step S103 is executed.
[0059] In step S103, when displaying the table data in the display interface, it is detected whether the user has clicked or double-clicked the second detail object in the first row of data. If so, the detected click or double-click operation is used as the second detail display operation.
[0060] In one embodiment, the second detail object may be a detail display box, a detail button, etc., and the detail button is specifically taken as an example below.
[0061] Specifically, since there are multiple rows of table data in the table data, and each row of table data usually contains multiple detail buttons corresponding to multiple detail objects, if it is detected that the user has clicked the first detail button in the third row of table data, and then it is detected that the user has also clicked the second detail button in the third row of table data, then it is determined that the second detail button in the third row of table data is the second detail object, and the operation of clicking the second detail button is the second detail display operation, thereby obtaining the second detail display operation.
[0062] After the second detail display operation is acquired, step S104 is executed.
[0063] In step S104, after the second detail display operation is acquired, in response to the second detail display operation, second detail data corresponding to the second detail object is displayed in a second expansion area among the M expansion areas, wherein the first expansion area and the second expansion area are different. If the first expansion area among the M expansion areas is the first expansion area, any expansion area among the M expansion areas except the first expansion area can be used as the second expansion area, for example, the second expansion area among the M expansion areas can be used as the second expansion area, or the last expansion area can be used as the second expansion area, etc.
[0064] In one embodiment, the detail data may be displayed in the M expansion areas in sequence, for example, the first detail data may be displayed in the first expansion area, and the second detail data may be displayed in the second expansion area after the first expansion area (i.e., the second expansion area). Of course, the detail data may also be displayed randomly in the M expansion areas, for example, the first detail data may be displayed in the last expansion area, and the second detail data may be displayed in the first expansion area (i.e., the second expansion area).
[0065] In another embodiment, after displaying the second detail data corresponding to the second detail object in the second expansion area among the M expansion areas, an i-th detail display operation for the i-th detail object in the first row of data can also be obtained, where i is an integer greater than 2; if i is greater than M, a target expansion area is selected from the M expansion areas, and the displayed data in the target expansion area is replaced with the i-th detail data corresponding to the i-th detail object; if i is not greater than M, the i-th expansion area that is in a non-data displaying state is selected from the M expansion areas, and the i-th detail data is displayed in the i-th expansion area.
[0066] If M=3, i=3, at this time, the third detail display operation for the third detail object in the first row of data is obtained. Since the first expansion area and the second expansion area among the M expansion areas both display detail data, only the third expansion area among the M expansion areas is in a state of not displaying data, and the third detail data is displayed in the third expansion area; if M=4, i=3, correspondingly, since the first expansion area and the second expansion area among the M expansion areas both display detail data, only the third expansion area h and the fourth expansion area among the M expansion areas are in a state of not displaying data, and the third detail data is displayed in the third expansion area or the fourth expansion area.
[0067] And, if M=4, i=5, at this time, since i>M, each of the M expansion areas displays detail data, so an expansion area can be randomly selected from the M expansion areas as the target expansion area, and then the data displayed in the target expansion area is replaced with the fifth detail data corresponding to the fifth detail object. Of course, the first displayed detail data can also be replaced with the fifth detail data in order.
[0068] In actual application, take M=3, i from 1 to 5 as an example, when i=3, the first detail data will be displayed in the first extension area of the M extension areas, the second detail data will be displayed in the second extension area, and the third detail data will be displayed in the third extension area, and when i=4, the first detail data displayed in the first extension area is replaced by the fourth detail data; and when i=5, the second detail data displayed in the second extension area is replaced by the fifth detail data. Of course, when i=5, the fourth detail data in the center line of the first extension area can also be replaced by the fifth detail data, or the third detail data displayed in the third extension area can be replaced by the fifth detail data, etc.
[0069] In another embodiment, after the first detail data is displayed in the first expansion area, a sixth detail display operation for the sixth detail object in the second row of data in the table data may also be obtained, wherein the first row of data and the second row of data are different. Accordingly, if after detecting that the user clicks the first detail button in the third row of table data, and further detecting that the user clicks the first detail button in the fourth row of table data, it is determined that the first detail button in the fourth row of table data is the sixth detail object, and the operation of clicking the first detail button in the fourth row of table data is the sixth detail display operation, thereby obtaining the sixth detail display operation.
[0070] In another embodiment, after displaying the i-th detail data in the second extended area, a sixth detail display operation for the sixth detail object in the second row of data in the table data can also be obtained. In response to the sixth detail display operation, if there is an extended area in the M extended areas that is in a state of not displaying data, the sixth detail data corresponding to the sixth detail object is displayed in the extended area in the state of not displaying data; if there is no extended area in the M extended areas that is in a state of not displaying data, an extended area can be randomly selected as the final extended area, and the displayed data in the final extended area is replaced with the sixth detail data; of course, the extended area that first displays data can also be used as the final extended area, and the displayed data in the final extended area is replaced with the sixth detail data. Of course, the above operation can also be performed on other rows of data except the first row of data and the second row of data, so that the extended display area can display the detail data in multiple table data, so that when the user needs to compare data, the steps of page switching can be further reduced when comparing the detail data in multiple table data, so that the data comparison effect is higher and the user experience is better.
[0071] For example, with M=3, the user clicks on 5 detail objects in the first row of data in turn, at this time, i is taken from 1 to 5 in turn; and, when i=3, the first detail data will be displayed in the first expansion area of the M expansion areas, the second detail data will be displayed in the second expansion area, and the third detail data will be displayed in the third expansion area, and when i=4, the first detail data displayed in the first expansion area is replaced with the fourth detail data; and when i=5, the second detail data displayed in the second expansion area is replaced with the fifth detail data. At this time, if it is detected that the user clicks on the first detail button in the second row of data in the table data, the sixth detail data corresponding to the first detail button (sixth detail object) in the second row of data is obtained, and the third detail data displayed in the third expansion area is replaced with the sixth detail data; if it is continued to be detected that the user clicks on the third detail button in the third row of data in the table data, the seventh detail data corresponding to the third detail button (corresponding to the seventh detail) in the third row of data is obtained, and the fourth detail data displayed in the first expansion area is replaced with the seventh detail data.
[0072] In another embodiment, after the display data in the target expansion area is replaced with the i-th detail data corresponding to the i-th detail object, a data replacement operation for the target expansion area can also be obtained; in response to the data replacement operation, the current display data in the target expansion area is replaced with the previous detail data before the current display data.
[0073] Specifically, the data replacement operation can be a pre-set specific shortcut key. If it is detected that the specific shortcut key is triggered, the data replacement operation is obtained; the double-click operation, sliding operation (horizontal sliding or vertical sliding) and other gesture operations for the target expansion area can also be obtained, and the obtained operation is used as the data replacement operation.
[0074] Furthermore, after obtaining the data replacement operation, the currently displayed data in the target expansion area can be replaced with the previous details data. For example, if the currently displayed data in the target expansion area is the fourth details data, and the target expansion area displays the first details data before displaying the fourth details data, then it is determined that the previous details data before the fourth details data is the first details data. Then, after obtaining the operation of double-clicking the target expansion area, the displayed data in the target expansion area is replaced from the fourth details data to the first details data. In this way, when switching data, the data switching can be completed in the target expansion area through the data replacement operation without switching pages, thereby effectively reducing the page switching steps, and then when displaying multiple pages, the efficiency of the page switching operation can be effectively improved, so that the user experience is better.
[0075] In actual application, Figure 2 As shown, when displaying table data on the display interface, if it is detected that the user clicks the detail button A1 in the first row of data 20, three expansion areas are displayed in a vertical row in the blank area on the left side of the display interface, which are expansion area 21, expansion area 22 and expansion area 23 from top to bottom, and since expansion area 21 is the first expansion area, detail data A11 corresponding to detail button A1 is displayed in expansion area 21; if it is detected that the user continues to click detail button A2 and detail button A3 in a row of data 20, detail data A21 corresponding to detail button A2 is displayed in expansion area 22, and detail data A31 corresponding to detail button A3 is displayed in expansion area 23; if the user also clicks another detail button in a row of data 20, the displayed data in expansion area 21 is replaced from A11 to detail data corresponding to another detail button.
[0076] And, if Figure 3 As shown, if it is detected that the user clicks the detail button B1 in a row of data 30, three expansion areas are displayed in a vertical row above the row of data 30, namely, expansion area 31, expansion area 32 and expansion area 33 from top to bottom, and since expansion area 31 is the first expansion area, detail data B11 corresponding to detail button B1 is displayed in expansion area 31; if it is detected that the user continues to click detail button B2 and detail button B3 in a row of data 20, detail data B21 corresponding to detail button B2 is displayed in expansion area 32, and detail data B31 corresponding to detail button B3 is displayed in expansion area 23.
[0077] The above one or at least one technical solution in the embodiments of the present application has at least the following technical effects:
[0078] Based on the above technical solution, in the process of displaying table data in the display interface, after obtaining the detail display operation for the first detail object and the second detail object in the first row of data in the table data, a detail extension area can be displayed in the display interface, and the first detail data corresponding to the first detail object and the second detail data corresponding to the second detail object are displayed in the first extension area and the second extension area of the M extension areas in the detail extension area. In the prior art, page switching is required to display the first detail data and the second detail data on the page respectively. At this time, the first detail data and the second detail data can be displayed in the display interface without page switching. Instead, multiple detail data can be displayed synchronously by switching the detail data displayed in the M extension areas, and the page switching steps can be effectively reduced, thereby effectively improving the efficiency of page switching operations when displaying multiple pages, so that the user experience is better.
[0079] A method for processing table data is provided in the above embodiment. The present application embodiment also provides a device for processing table data. Figure 4 , the device comprises:
[0080] A first operation acquisition unit 401 is used to acquire a first detail display operation for a first detail object in a first row of data in the table data during display of the table data in the display interface;
[0081] An extended area control unit 402 is used to respond to the first detail display operation, display a detail extended area in the display interface, and display first detail data corresponding to the first detail object in a first extended area among M extended areas in the detail extended area, where M is an integer greater than 1;
[0082] A second operation acquisition unit 403 is used to acquire a second detail display operation for a second detail object in the first row of data;
[0083] The data display unit 404 is configured to display second detail data corresponding to the second detail object in a second expansion area among the M expansion areas in response to the second detail display operation.
[0084] In an optional implementation manner, the second operation acquisition unit 403 is further configured to acquire an i-th detail display operation for the i-th detail object in the first row of data after displaying the second detail data corresponding to the second detail object in the second expansion area of the M expansion areas, where i is an integer greater than 2;
[0085] A replacement unit is used for selecting a target expansion area from the M expansion areas if i is greater than M, and replacing the display data in the target expansion area with the i-th detail data corresponding to the i-th detail object.
[0086] In an optional embodiment, the data display unit 404 is used to select the i-th expansion area in a non-data displaying state from the M expansion areas after obtaining the i-th detail display operation for the i-th detail object in the table data, if i is not greater than M, and display the i-th detail data in the i-th expansion area.
[0087] In an optional implementation manner, the expansion area control unit 402 is configured to obtain a first expansion area among the M expansion areas as the first expansion area; and display the first detail data in the first expansion area.
[0088] In an optional implementation, the extended area control unit 402 is used to respond to the first detail display operation and display the detail extended area in the display interface in a first display mode, wherein the first display mode includes a horizontal display mode and a vertical display mode.
[0089] In an optional implementation, the expansion area control unit 402 is used to obtain a blank display area in the display interface if the first display mode is a vertical display mode, and display the detail expansion area in the blank display area in the vertical display mode.
[0090] In an optional implementation, it also includes:
[0091] a replacement operation acquiring unit, configured to acquire a data replacement operation for the target extended area after replacing the display data in the target extended area with the i-th detail data corresponding to the i-th detail object;
[0092] The replacement unit is used to replace the current display data in the target extension area with previous detail data before the current display data in response to the data replacement operation.
[0093] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0094] Figure 5 8 is a block diagram of an electronic device 800 for a method for processing table data according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0095] Reference Figure 5 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / display (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0096] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0097] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0098] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0099] The multimedia component 808 includes a screen that provides a display interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0100] The audio component 810 is configured to present and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for presenting audio signals.
[0101] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0102] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0103] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0104] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0105] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0106] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0107] It should be understood that the present invention is not limited to the precise structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0108] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for processing tabular data, characterized in that: The method comprises: In the process of displaying the table data in the display interface, obtaining a first detail display operation for a first detail object in a first row of data in the table data; In response to the first detail display operation, a detail extension area is displayed in the display interface, and first detail data corresponding to the first detail object is displayed in a first extension area among M extension areas in the detail extension area, where M is an integer greater than 1; Obtain a second detail display operation for a second detail object in the first row of data; In response to the second detail display operation, second detail data corresponding to the second detail object is displayed in a second expansion area among the M expansion areas.
2. The processing method according to claim 1, characterized in that After displaying the second detail data corresponding to the second detail object in the second extended area among the M extended areas, the method further includes: Get the i-th detail display operation for the i-th detail object in the first row of data, where i is an integer greater than 2; If i is greater than M, a target extension area is selected from the M extension areas, and the display data in the target extension area is replaced with the i-th detail data corresponding to the i-th detail object.
3. The processing method according to claim 2, characterized in that: After obtaining the i-th detail display operation for the i-th detail object in the table data, the method includes: If i is not greater than M, an i-th extended area in a state of not displaying data is selected from the M extended areas, and the i-th detailed data is displayed in the i-th extended area.
4. The processing method according to claim 1, characterized in that: The displaying the first detail data corresponding to the first detail object in the first extension area of the M extension areas in the detail extension area includes: Acquire a first expansion area among the M expansion areas as the first expansion area; The first detail data is displayed in the first expansion area.
5. The processing method according to claim 4, characterized in that: In response to the first detail display operation, displaying a detail expansion area in the display interface includes: In response to the first detail display operation, the detail expansion area is displayed in the display interface in a first display mode, wherein the first display mode includes a horizontal display mode and a vertical display mode.
6. The processing method according to claim 5, characterized in that: The displaying the details expansion area in the display interface in a first display mode includes: If the first display mode is a vertical display mode, a blank display area in the display interface is acquired, and the detail expansion area is displayed in the blank display area in the vertical display mode.
7. The processing method according to claim 2, characterized in that: After replacing the display data in the target extended area with the i-th detail data corresponding to the i-th detail object, the method further includes: Obtaining a data replacement operation for the target extension area; In response to the data replacement operation, the current display data in the target extended area is replaced with previous detail data before the current display data.
8. A table data processing device, characterized in that: The device comprises: A first operation acquisition unit, configured to acquire a first detail display operation for a first detail object in a first row of data in the table data during display of the table data in the display interface; an extended area control unit, configured to respond to the first detail display operation, display a detail extended area in the display interface, and display first detail data corresponding to the first detail object in a first extended area among M extended areas in the detail extended area, where M is an integer greater than 1; A second operation acquisition unit, configured to acquire a second detail display operation for a second detail object in the first row of data; The data display unit is used to display second detail data corresponding to the second detail object in a second expansion area among the M expansion areas in response to the second detail display operation.
9. An electronic device, characterized in that: It includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute the operation instructions corresponding to the analysis method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps corresponding to the analysis method according to any one of claims 1 to 7 are implemented.
