CN111967702A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111967702A
CN111967702A CN201910419375.4A CN201910419375A CN111967702A CN 111967702 A CN111967702 A CN 111967702A CN 201910419375 A CN201910419375 A CN 201910419375A CN 111967702 A CN111967702 A CN 111967702A
Authority
CN
China
Prior art keywords
data
target
display
target area
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910419375.4A
Other languages
Chinese (zh)
Inventor
王丽莎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910419375.4A priority Critical patent/CN111967702A/en
Publication of CN111967702A publication Critical patent/CN111967702A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • G06Q50/40

Abstract

The application discloses a data processing method and a data processing system. Wherein, the method comprises the following steps: acquiring a target display object, wherein the target display object comprises data corresponding to at least one target field, and at least one level of containment relationship exists in the at least one target field; displaying first data contained in a target display object in a target area; and displaying second data contained in the target display object in the target area through the detected first operation. The method and the device solve the technical problems that the data processing method in the related technology can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations.

Description

Data processing method and system
Technical Field
The present application relates to the field of data processing, and in particular, to a data processing method and system.
Background
In an intelligent flight recovery product, the marshalling data details of 'fleet balance' need to be shown for a user in a list mode, and due to the aviation business attribute, a two-level and three-level nested inclusion relationship can occur when 3 fields are laid out in a fleet-model-layout mode; and the aircraft fleet and other fields can have nested inclusion relations.
For information with a nesting relation characteristic, a common list is generally shown in a form of a parent-child list, as shown in fig. 1, wherein the parent-child list can only satisfy the overall full-field nesting relation, such as the relation ABCDE-ABCDE shown in fig. 2. However, for information of multi-level field nesting relationship, for example, the relationship of a1-B1\ B2-C1\ C2\ C3 shown in fig. 3, the common list form cannot meet the browsing and viewing requirements of the user.
Aiming at the problem that the data processing method in the related technology can only meet the data display requirement of the field with the single-level inclusion relation and can not meet the data display requirement of the field with the multi-level inclusion relation, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the application provides a data processing method and a data processing system, which are used for at least solving the technical problems that a data processing method in the related technology can only meet the data display requirements of fields with single-level inclusion relations and can not meet the data display requirements of fields with multi-level inclusion relations.
According to an aspect of an embodiment of the present application, there is provided a data processing method, including: acquiring a target display object, wherein the target display object comprises data corresponding to at least one target field, and at least one level of containment relationship exists in the at least one target field; displaying first data contained in a target display object in a target area; and displaying second data contained in the target display object in the target area through the detected first operation.
According to another aspect of the embodiments of the present application, there is also provided a data processing system, including: the processor is used for acquiring a target display object, wherein the target display object comprises data corresponding to at least one target field, and at least one target field has at least one level of inclusion relation; the display is connected with the processor and used for displaying first data contained in the target display object in the target area; and the processor is further used for displaying second data contained in the target display object in the target area through the detected first operation.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program, wherein when the program runs, a device on which the storage medium is located is controlled to execute the data processing method described in the present application.
According to another aspect of the embodiments of the present application, there is also provided an information processing system including: a processor; and a memory connected to the processor, the processor being configured to execute the program, wherein the data processing method described in the present application is executed when the program is executed.
In the embodiment of the application, for at least one target field with at least one level of containment relationship, data corresponding to the at least one target field may be encapsulated in a target display object, then first data is displayed in a target area, a first control is displayed in a first preset range, and when a first operation is detected in the first preset range, second data may be displayed in the target area, so as to realize presentation of field data with a multi-level containment relationship. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram showing a parent-child list according to the prior art;
FIG. 2 is a schematic diagram of an ABCDE-ABCDE relationship in accordance with the prior art;
FIG. 3 is a diagram of the relationship of A1-B1\ B2-C1\ C2\ C3 according to the prior art;
fig. 4 is a block diagram of a hardware structure of a server for implementing a data processing method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a server as a receiving end according to an embodiment of the present application;
FIG. 6 is a flow chart of a method of data processing according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an alternative flight intelligence recovery product in accordance with an embodiment of the present application;
FIG. 8a is a diagram of a default presentation of an alternative form component according to an embodiment of the present application;
FIG. 8b is a schematic diagram of an alternative mouse hover according to an embodiment of the present application;
FIG. 8c is a schematic diagram of an alternative mouse click on an icon in accordance with embodiments of the present application;
FIG. 8d is a schematic diagram of an alternative scrolling of data to a last row according to an embodiment of the application;
FIG. 8e is a schematic diagram of an alternative mouse click reversal icon in accordance with embodiments of the present application;
FIG. 8f is a schematic diagram of an alternative mouse after it is left according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a data processing system according to an embodiment of the present application; and
fig. 11 is a block diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
list of field nesting relationships: the fields of the common list have parallel peer-to-peer relationship with the fields; in the field nesting relationship list, a multi-level field inclusion nesting relationship appears. For example, the relationship of A1-B1\ B2-C1\ C2\ C3, an object A1 under the A field contains two objects B1 and B2 in the B field, and B1 and B2 respectively contain three objects C1, C2 and C3 in the C field. In actual demand, objects contained in the B, C two-level nested field may be as many as several tens of objects.
A main key: i.e., a primary key, is one or more fields in the table whose value is used to uniquely identify a record in the table. In a two table relationship, the primary key is used to reference a particular record in one table from the other table. The primary key is a unique key that is part of the table definition. The primary key of a table may be composed of multiple keys in common, and the columns of the primary key may not contain a null value. The primary key is optional and may be defined in the CREATE TABLE or ALTER TABLE statements.
Parent object: the primary key in the list is compared with the child object as the secondary key.
Example 1
There is also provided, in accordance with an embodiment of the present application, an embodiment of a data processing method, to note that the steps illustrated in the flowchart of the figure may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
The method provided in embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device, or may be executed in a cluster of computing devices. Fig. 4 shows a hardware configuration block diagram of a server for implementing the data processing method. As shown in fig. 4, the server 40 may include one or more (shown as 402a, 402b, … …, 402 n) processors 402 (the processors 402 may include, but are not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA, etc.), memories 404 for storing data, and a transmission device 406 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration and is not intended to limit the structure of the electronic device. For example, server 40 may also include more or fewer components than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
It should be noted that the one or more processors 402 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the server 40. As referred to in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path to interface with).
The memory 404 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the data processing method in the embodiment of the present application, and the processor 402 executes the software programs and modules stored in the memory 404 to perform various functional applications and data processing, i.e., implement the data processing method described above. The memory 404 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 404 may further include memory located remotely from processor 402, which may be connected to server 40 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 406 is used for receiving or sending data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 40. In one example, the transmission device 406 includes a Network adapter (NIC) that can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 406 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with the user interface of the server 40.
Fig. 4 is a block diagram of a hardware configuration, and in an alternative embodiment, fig. 5 is a block diagram of an embodiment that uses the server 40 shown in fig. 4 as a receiving end. As shown in fig. 5, server 40 may be connected via a data network connection or electronically to one or more client devices 50. In an alternative embodiment, the client device may be any mobile computing device or the like. The data network connection may be a local area network connection, a wide area network connection, an internet connection, or other type of data network connection.
Under the above operating environment, the present application provides a data processing method as shown in fig. 6. Fig. 6 is a flowchart of a data processing method according to an embodiment of the present application. As shown in fig. 6, the method includes the steps of:
step S602, a target display object is obtained, where the target display object includes data corresponding to at least one target field, and at least one target field has at least one level of inclusion relationship.
Specifically, the target field may be a multi-level nested field determined according to user requirements. In an application scenario of the flight intelligent recovery product, the at least one target field may include: the flight control system comprises a fleet field, a model field and a layout field of the flight, wherein the fleet field, the model field and the layout field have three levels of containment relations.
In order to realize the display of the data of the multilevel inclusion relationship, the multilevel nested fields can be packaged in a form component, the complex data is displayed and packaged as a form component unit, and the flexible calling is performed when similar scenes appear. The data interface layer is realized through a web technology, the realization steps are that the form component packaging returns a customizable data column through an ajax calling data interface, and the form component selects a personalized data column according to the requirement defined by a user.
In step S604, first data included in the target display object is displayed in the target area.
And a first control is displayed in a first preset range of the target area.
Specifically, the display can be performed in a module card type information layout mode, different display areas can be set for different modules in advance, and the form component can be used as a module to be displayed in a set target area independently. For example, in an application scenario of a flight intelligence recovery product, the target area is shown as a block in fig. 7. Because the size of the target area is limited and the number of data columns corresponding to at least one target field is large, only part of the data columns (i.e. the first data) in the form component can be displayed in the target area. In order to facilitate the user to view other data columns, a first control may be displayed in the lower right corner of the entire target area (i.e., the first preset range mentioned above), and the first control may be an icon identifier indicating "show more".
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. Before the user does nothing, as shown in FIG. 8a, the default data column in the form component can be exposed in the target area, and an icon of "double arrow" is displayed in the lower right corner.
In step S606, the second data included in the target display object is displayed in the target area by the detected first operation.
Specifically, the first operation may be a single-click operation, a double-click operation, a long-press operation, and the like, and in the embodiment of the present application, the single-click operation is taken as an example for description. The second data may be data that needs to be displayed and is determined according to the first operation, and the second data may be partially the same as the first data or completely different from the first data, for example, when the user clicks the first control, the column of data displayed in the target area may scroll up by one row, and then the first data and the second data contain the same data. And if the user clicks the first control, the data column displayed in the target area can be continuously scrolled upwards by multiple rows, and the first data and the second data do not contain the same data.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. When the user needs to view the undisplayed data column, as shown in fig. 8b, the user may click on the icon at the lower right corner (where the dashed box in fig. 8b represents the size of the first preset range), so that the first operation may be detected within the first preset range, and the content displayed in the target area is scrolled upwards by one line, as shown in fig. 8 c.
Based on the scheme provided by the above embodiment of the application, for at least one target field having at least one level of containment relationship, data corresponding to the at least one target field may be encapsulated in a target display object, then first data is displayed in a target area, and a first control is displayed in a first preset range, and in a case that a first operation is detected in the first preset range, second data may be displayed in the target area, so as to achieve presentation of field data having a multi-level containment relationship. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
Optionally, in the foregoing embodiment of the present application, displaying second data in the target display object in the target area includes: acquiring operation information of a first operation; acquiring second data based on the first data and the operation information; and displaying the second data in the target area.
Optionally, the operation information may include at least one of: operation times and operation time. The more times and the longer the operation time are, the more the data column the user needs to view is in the form component, and the more the number of lines the content displayed in the target area needs to be scrolled is. In the embodiments of the present application, the number of operations is described as an example.
In an optional embodiment, when the user clicks the first control, that is, the first operation is detected within a first preset range, the operation frequency of the first operation may be obtained, the number of rows to be scrolled is determined based on the operation frequency, and further, according to the first data, the data column to be displayed is determined, that is, the second data is obtained and displayed in the target area. For example, if the number of times of operation is n, it is determined that the number of rows to be scrolled is n, a data column displayed after n +1 rows in the first data may be acquired, an n-row data column displayed after the last row in the form component may be acquired, and the second data may be obtained and displayed according to the acquired data column.
It should be noted that the content in the target area may not only be scrolled upwards, but also be scrolled downwards, and specifically may be determined by the direction of the arrow in the icon, for example, the direction of the arrow may be changed in the downward direction and in the upward direction, and when the content in the target area is required to be scrolled upwards, the user may click on the icon when the direction of the arrow is downward; when it is desired to scroll down the content in the target area, the user may click on the icon when the direction of the arrow is up.
Optionally, in the foregoing embodiment of the present application, acquiring the second data based on the first data and the operation information includes: acquiring a first display position of first data in a target display object; determining a position offset based on the operation information; obtaining a second display position based on the first display position and the position offset; and acquiring data corresponding to a second display position in the target display object to obtain second data.
Specifically, the form component may reserve a fixed slot (i.e., a display position of each data column) for each data column, and display data at a corresponding position according to the relative anchor point. The above-mentioned positional offset amount may refer to the number of scrolling lines determined according to the number of operations or the operation time.
In an optional embodiment, the slot position in the form component may be determined according to the currently displayed data column to obtain the first display position, and meanwhile, the number of lines that need to be scrolled may be determined according to the operation information, and further, the corresponding slot position in the form component may be determined according to the number of lines that need to be scrolled, and the data column corresponding to the slot position may be further obtained, thereby obtaining the second data.
Optionally, in the foregoing embodiment of the present application, before displaying the second data in the target display object in the target area, the method may further include the following steps: acquiring a first display position of first data in a target display object; judging whether the first display position reaches a first preset position of the target display object; displaying second data in the target area under the condition that the first display position does not reach the first preset position; and displaying the first data according to a first display mode under the condition that the first display position reaches a first preset position.
Due to the limited number of data columns corresponding to at least one target field, in the process of viewing more data columns by a user, the content in the target area may have scrolled to the last row, and other data columns cannot be displayed continuously. Therefore, after the first operation is detected within the first preset range, it is necessary to first determine whether the currently displayed content is the last data in the form component, that is, whether the slot of the currently displayed data column in the form component is located at the last of the form component (i.e., the first preset position).
If so, it is determined that the currently displayed content has scrolled to the last line, and a prompt needs to be provided to the user through a special display effect (i.e., the first display manner described above), specifically, the first display manner may be an effect indicating that the content is ended and cannot be scrolled, for example, a text prompt of "content reaches the bottom" is displayed, or a frame of the target area is lightened, but is not limited thereto. In the embodiment of the present application, the frame of the target area is brightened as an example.
If not, it is determined that the currently displayed content has not scrolled to the last row and the display of other data columns may continue as described above.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. When the currently displayed content scrolls to the last line, as shown in fig. 8d, the border of the entire target area may be lightened to prompt the user that the scrolling cannot be continued.
Optionally, in the foregoing embodiment of the present application, when the first display position is located at the first preset position, the second control is displayed within a second preset range of the target area, where the method may further include the following steps: under the condition that a second operation is detected in a second preset range, acquiring data corresponding to a second preset position in the target display object to obtain third data; and displaying the third data in the target area.
Specifically, the second preset range may also be the lower right corner of the target area, and the second control may be a reverse icon representing the content going back to the top, as shown in fig. 8 d. The second operation may be a single-click operation, a double-click operation, a long-press operation, and the like. Since the second control is used to go back to the top, that is, to re-display the top data, the second preset position may be a slot located at the beginning of the target display object, and the third data may be a data column corresponding to the slot of the beginning.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. When the currently displayed content scrolls to the last line, a reverse icon may be displayed in the lower right corner as shown in FIG. 8 d. The user can go back directly to the top data by clicking on the icon, as shown in FIG. 8e, i.e., by clicking on the reverse icon, can go back directly to the original default presentation state.
Optionally, in the foregoing embodiment of the present application, through the detected first operation, the method may further include at least one of the following steps: displaying a scroll bar within a third preset range of the target area; and displaying the rectangular frame in a fourth preset range of the target area according to a second display mode.
Specifically, the third preset range may be above, below, left side, right side, etc. of the target area, and in the embodiment of the present application, the right side is taken as an example for explanation. The fourth preset range may be a display area of the data column in the target area, and the second display mode may be that the color of the rectangular frame is blue, that is, a blue rectangular frame is displayed outside the display area of the data column.
It should be noted that, because the user clicks the first control, the content displayed in the target area may be scrolled, and the specific position of the scroll bar may be determined according to the number of lines of the data that needs to be scrolled.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. When it is detected that the user clicks on the icon in the lower right corner, a blue rectangular box can be displayed outside the entire column of data and a scroll bar on the right side, as shown in FIG. 8 c.
Optionally, in the foregoing embodiment of the present application, when a third operation is detected in the target area, the first data is displayed according to a third display mode, and the first control is displayed according to a fourth display mode.
Specifically, the third operation may be a hovering operation of a mouse. When the hovering operation is detected, it may be determined that the user needs to operate the form component, where the third display mode may be a target area highlighting display, and the fourth mode may be an icon up-and-down jumping display.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. Before the user does not perform any operation, as shown in fig. 8a, when it is detected that the user mouse is hovered in the area, as shown in fig. 8b, the whole area is highlighted, and the icon at the lower right corner jumps up and down, so that the user is prompted to operate on the display content of the area, and thus the user can view the currently undisplayed data column in the form component by clicking the icon.
Optionally, in the foregoing embodiment of the present application, when the third operation is not detected in the target area, the second data is displayed according to a fifth display manner, where a first control is displayed in a first preset range in the target area.
Specifically, the fifth display mode may be a mode of gradually changing to keep the remaining gray and hiding the scroll bar to remind the user that the form data is no longer operated. The gradation preserving of the remaining gray here may mean that the default display state is restored, that is, the central portion of the target area is highlighted and the peripheral portion has gradation.
For example, the application scenario of the flight intelligent recovery product shown in fig. 7 is still used as an example for explanation. After the user scrolls the display content upwards by clicking the icon at the lower right corner for one line, the user keeps the mouse away from the module, and at the moment, the hovering operation of the mouse cannot be detected in the target area, as shown in fig. 8f, the scroll bar is hidden, the blue rectangular box is not displayed any more, and the whole module is gradually changed and kept with the remaining gray. After the user directly returns to the top content by clicking the reverse icon at the lower right corner, the user keeps the mouse away from the module, the hovering operation of the mouse cannot be detected in the target area at the moment, the mouse can directly return to the initial default display state, as shown in fig. 8a, the scroll bar is hidden, the blue rectangular frame is not displayed any more, and the whole module is gradually changed and kept with the remaining gray.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Example 2
According to an embodiment of the present application, there is also provided a data processing apparatus for implementing the data processing method, as shown in fig. 9, the apparatus 900 includes: a first acquisition module 902, a first display module 904, and a second display module 906.
The first obtaining module 902 is configured to obtain a target display object, where the target display object includes data corresponding to at least one target field, and the at least one target field has at least one level of containment relationship; the first display module 904 is configured to display first data included in the target display object in the target area; the second display module 906 is configured to display second data included in the target display object in the target area through the detected first operation.
Specifically, the target field may be a multi-level nested field determined according to user requirements. In an application scenario of the flight intelligent recovery product, the at least one target field may include: the method comprises the steps of obtaining a flight model of the airplane, and obtaining a model of the flight, wherein the flight model comprises a fleet field, a model field and a layout field of the flight, and the fleet field, the model field and the layout field have three-level nested inclusion relation.
The display can be carried out in a mode of module card type information layout, different display areas can be set for different modules in advance, and the form component can be used as a module to be displayed independently in a set target area. For example, in an application scenario of a flight intelligence recovery product, the target area is shown as a block in fig. 7. Because the size of the target area is limited and the number of data columns corresponding to at least one target field is large, only part of the data columns (i.e. the first data) in the form component can be displayed in the target area. In order to facilitate the user to view other data columns, a first control may be displayed in the lower right corner of the entire target area (i.e., the first preset range mentioned above), and the first control may be an icon identifier indicating "show more".
The first operation may be a single-click operation, a double-click operation, a long-press operation, and the like. The second data may be data that needs to be displayed and is determined according to the first operation, and the second data may be partially the same as the first data or completely different from the first data, for example, when the user clicks the first control, the column of data displayed in the target area may scroll up by one row, and then the first data and the second data contain the same data. And if the user clicks the first control, the data column displayed in the target area can be continuously scrolled upwards by multiple rows, and the first data and the second data do not contain the same data.
It should be noted here that the first obtaining module 902, the first displaying module 904, and the second displaying module 906 correspond to steps S602 to S606 in embodiment 1, and the three modules are the same as the corresponding steps in the implementation example and the application scenario, but are not limited to the disclosure in embodiment 1. It should be noted that the above modules may be operated in the server 40 provided in embodiment 1 as a part of the apparatus.
Based on the scheme provided by the above embodiment of the application, for at least one target field having at least one level of containment relationship, data corresponding to the at least one target field may be encapsulated in a target display object, then first data is displayed in a target area, and a first control is displayed in a first preset range, and in a case that a first operation is detected in the first preset range, second data may be displayed in the target area, so as to achieve presentation of field data having a multi-level containment relationship. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
Optionally, in the foregoing embodiment of the present application, the second display module includes: the device comprises a first obtaining submodule, a second obtaining submodule and a display submodule.
The first obtaining submodule is used for obtaining operation information of a first operation; the second obtaining submodule is used for obtaining second data based on the first data and the operation information; the display submodule is used for displaying the second data in the target area.
Optionally, the operation information may include at least one of: operation times and operation time.
Optionally, in the foregoing embodiment of the present application, the second obtaining sub-module includes: the device comprises a first acquisition unit, a determination unit, a processing unit and a second acquisition unit.
The first acquisition unit is used for acquiring a first display position of first data in a target display object; the determination unit is used for determining the position offset based on the operation information; the processing unit is used for obtaining a second display position based on the first display position and the position offset; the second obtaining unit is used for obtaining data corresponding to a second display position in the target display object to obtain second data.
Optionally, in the foregoing embodiment of the present application, the apparatus further includes: the device comprises a second acquisition module, a judgment module and a third display module.
The second acquisition module is used for acquiring a first display position of the first data in the target display object; the judging module is used for judging whether the first display position reaches a first preset position of the target display object; the second display module is also used for displaying second data in the target area under the condition that the first display position does not reach the first preset position; the third display module is used for displaying the first data according to the first display mode under the condition that the first display position reaches the first preset position.
Optionally, in the foregoing embodiment of the present application, the apparatus further includes: the device comprises a fourth display module, a third acquisition module and a fifth display module.
The fourth display module is used for displaying a second control in a second preset range of the target area under the condition that the first display position is located at the first preset position; the third acquisition module is used for acquiring data corresponding to a second preset position in the target display object to obtain third data under the condition that a second operation is detected in a second preset range; the fifth display module is used for displaying the third data in the target area.
Optionally, in the foregoing embodiment of the present application, the apparatus further includes: and a sixth display module.
The sixth display module is used for displaying a scroll bar in a third preset range of the target area under the condition that the first operation is detected in the first preset range; and/or displaying the rectangular frame in a fourth preset range of the target area according to a second display mode.
Optionally, in the foregoing embodiment of the present application, the apparatus further includes: and a seventh display module.
The seventh display module is configured to display the first data according to a third display mode and display the first control according to a fourth display mode when the third operation is detected in the target area.
Optionally, in the foregoing embodiment of the present application, the apparatus further includes: and an eighth display module.
The eighth display module is further configured to display the second data according to a fifth display mode when the third operation is not detected in the target area, where the first control is displayed in the first preset range in the target area.
Example 3
According to an embodiment of the present application, there is also provided a data processing system, as shown in fig. 10, including: a processor 12 and a display 14.
The processor 12 is configured to obtain a target display object, where the target display object includes data corresponding to at least one target field, and the at least one target field has at least one level of containment relationship.
Specifically, the target field may be a multi-level nested field determined according to user requirements. In an application scenario of the flight intelligent recovery product, the at least one target field may include: the method comprises the steps of obtaining a flight model of the airplane, and obtaining a model of the flight, wherein the flight model comprises a fleet field, a model field and a layout field of the flight, and the fleet field, the model field and the layout field have three-level nested inclusion relation.
In order to realize the display of the data of the multilevel inclusion relationship, the multilevel nested fields can be packaged in a form component, the complex data is displayed and packaged as a form component unit, and the flexible calling is performed when similar scenes appear. The data interface layer is realized through a web technology, the realization steps are that the form component packaging returns a customizable data column through an ajax calling data interface, and the form component selects a personalized data column according to the requirement defined by a user.
The display 14 is connected to the processor for displaying the first data contained in the target display object in the target area.
Specifically, the display can be performed in a module card type information layout mode, different display areas can be set for different modules in advance, and the form component can be used as a module to be displayed in a set target area independently. For example, in an application scenario of a flight intelligence recovery product, the target area is shown as a block in fig. 7. Because the size of the target area is limited and the number of data columns corresponding to at least one target field is large, only part of the data columns (i.e. the first data) in the form component can be displayed in the target area. In order to facilitate the user to view other data columns, a first control may be displayed in the lower right corner of the entire target area (i.e., the first preset range mentioned above), and the first control may be an icon identifier indicating "show more".
And the processor 12 is further configured to display second data included in the target display object in the target area through the detected first operation.
Specifically, the first operation may be a single-click operation, a double-click operation, a long-press operation, and the like, and in the embodiment of the present application, the single-click operation is taken as an example for description. The second data may be data that needs to be displayed and is determined according to the first operation, and the second data may be partially the same as the first data or completely different from the first data, for example, when the user clicks the first control, the column of data displayed in the target area may scroll up by one row, and then the first data and the second data contain the same data. And if the user clicks the first control, the data column displayed in the target area can be continuously scrolled upwards by multiple rows, and the first data and the second data do not contain the same data.
Based on the scheme provided by the above embodiment of the application, for at least one target field having at least one level of containment relationship, data corresponding to the at least one target field may be encapsulated in a target display object, then first data is displayed in a target area, and a first control is displayed in a first preset range, and in a case that a first operation is detected in the first preset range, second data may be displayed in the target area, so as to achieve presentation of field data having a multi-level containment relationship. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
Optionally, in the foregoing embodiment of the present application, the processor is further configured to obtain operation information of the first operation, and obtain the second data based on the first data and the operation information.
Optionally, the operation information may include at least one of: operation times and operation time.
Optionally, in the foregoing embodiment of the present application, the processor is further configured to obtain a first display position of the first data in the target display object, determine a position offset based on the operation information, obtain a second display position based on the first display position and the position offset, and obtain data corresponding to the second display position in the target display object, to obtain the second data.
Optionally, in the foregoing embodiment of the present application, the processor is further configured to obtain a first display position of the first data in the target display object, and determine whether the first display position reaches a first preset position of the target display object; the display is also used for displaying second data in the target area under the condition that the first display position does not reach the first preset position; and displaying the first data according to a first display mode under the condition that the first display position reaches a first preset position.
Optionally, in the foregoing embodiment of the present application, the display is further configured to display a second control in a second preset range of the target area when the first display position is located at the first preset position; the processor is further configured to acquire data corresponding to a second preset position in the target display object to obtain third data when a second operation is detected within a second preset range; the display is also for displaying third data within the target area.
Optionally, in the foregoing embodiment of the present application, the display is further configured to display a scroll bar in a third preset range of the target area when the first operation is detected in the first preset range; and/or displaying the rectangular frame in a fourth preset range of the target area according to a second display mode.
Optionally, in the foregoing embodiment of the present application, the display is further configured to display the first data according to a third display mode and display the first control according to a fourth display mode when the third operation is detected in the target area.
Optionally, in the foregoing embodiment of the application, the display is further configured to display the second data according to a fifth display mode when the third operation is not detected in the target area, where a first control is displayed in a first preset range in the target area.
It should be noted that, in the above example 3 of the present application, the preferred embodiment is the same as the scheme and application scenario implementation process provided in example 1, but is not limited to the scheme provided in example 1.
Example 4
According to an embodiment of the present application, there is also provided a data processing system including:
a processor; and a memory connected to the processor, the processor being configured to execute the program, wherein the data processing method described in embodiment 1 of the present application is executed when the program is executed.
Based on the scheme provided by the above embodiment of the application, for at least one target field having at least one level of containment relationship, data corresponding to the at least one target field may be encapsulated in a target display object, then first data is displayed in a target area, and a first control is displayed in a first preset range, and in a case that a first operation is detected in the first preset range, second data may be displayed in the target area, so as to achieve presentation of field data having a multi-level containment relationship. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
It should be noted that, in the above-mentioned example 4 of the present application, the preferred embodiment is the same as the scheme and application scenario implementation process provided in example 1, but is not limited to the scheme provided in example 1.
Example 5
Embodiments of the present application may provide a server, which may be any one of a cluster of servers. Optionally, in this embodiment, the server may also be a cloud server.
In the present embodiment, the server described above may execute the program code of each step in the data processing method provided in embodiment 1 described above.
Optionally, fig. 11 is a block diagram of a server according to an embodiment of the present application. As shown in fig. 11, the server a may include: one or more processors 1102 (only one of which is shown), and a memory 1104.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the data processing method and apparatus in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, so as to implement the data processing method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, and these remote memories may be connected to the server a through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information stored in the memory and the application program through the transmission device to execute the program code of each step in the information processing method provided in embodiment 1 described above.
By adopting the embodiment of the application, for at least one target field with at least one stage of inclusion relationship, the data corresponding to the at least one target field can be packaged in the target display object, then the first data is displayed in the target area, the first control is displayed in the first preset range, and the second data can be displayed in the target area under the condition that the first operation is detected in the first preset range, so that the display of the field data with the multi-stage inclusion relationship is realized. Compared with the prior art, the scheme provided by the embodiment of the application can encapsulate the nested fields in the target display object, display and encapsulate the complex information into the target display object unit, and realize data display by operating the first control in the first preset range, so that the technical effects of meeting the browsing and viewing requirements of users and simplifying the user operation are achieved, and the technical problems that the data processing method in the prior art can only meet the data display requirements of the fields with single-level inclusion relations and can not meet the data display requirements of the fields with multi-level inclusion relations are solved.
It will be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration, and fig. 11 is not intended to limit the structure of the electronic device. For example, server A may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing a server-related hardware, and the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 4
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be configured to store the program code executed by the data processing method provided in embodiment 1.
Optionally, in this embodiment, the storage medium may be located in any one of the servers in the server cluster.
Alternatively, in the present embodiment, a storage medium is provided to store program codes for executing each step in the data processing method provided in embodiment 1 described above.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (15)

1. A method of data processing, comprising:
acquiring a target display object, wherein the target display object comprises data corresponding to at least one target field, and the at least one target field has at least one level of containment relationship;
displaying first data contained in the target display object in a target area;
and displaying second data contained in the target display object in the target area through the detected first operation.
2. The method of claim 1, wherein displaying second data contained by the target display object within the target area comprises:
acquiring operation information of the first operation;
acquiring the second data based on the first data and the operation information;
displaying the second data in the target area.
3. The method of claim 2, wherein obtaining the second data based on the first data and the operational information comprises:
acquiring a first display position of the first data in the target display object;
determining a position offset based on the operation information;
obtaining a second display position based on the first display position and the position offset;
and acquiring data corresponding to the second display position in the target display object to obtain the second data.
4. The method of claim 2, wherein the operational information comprises at least one of: operation times and operation time.
5. The method of claim 1, wherein prior to displaying second data contained by the target display object within the target region, the method further comprises:
acquiring a first display position of the first data in the target display object;
judging whether the first display position reaches a first preset position of the target display object;
displaying the second data in the target area under the condition that the first display position does not reach the first preset position;
and displaying the first data according to a first display mode under the condition that the first display position reaches the first preset position.
6. The method of claim 5, wherein a second control is displayed within a second preset range of the target area with the first display position at the first preset position, wherein the method further comprises:
under the condition that a second operation is detected in the second preset range, acquiring data corresponding to a second preset position in the target display object to obtain third data;
displaying the third data within the target area.
7. The method of claim 1, wherein, with the detected first operation, the method further comprises at least one of:
displaying a scroll bar within a third preset range of the target area;
and displaying the rectangular frame in a fourth preset range of the target area according to a second display mode.
8. The method of claim 1, wherein, in the event that a third operation is detected within the target region, displaying the first data in a third display manner and displaying a first control in a fourth display manner.
9. The method according to claim 1, wherein in a case that the third operation is not detected in the target area, the second data is displayed in a fifth display manner, wherein a first control is displayed in a first preset range in the target area.
10. The method of claim 1, wherein the at least one target field comprises: a fleet field, a model field, and a layout field for the flight.
11. A data processing system comprising:
the processor is used for acquiring a target display object, wherein the target display object comprises data corresponding to at least one target field, and the at least one target field has at least one level of containment relationship;
the display is connected with the processor and used for displaying first data contained in the target display object in a target area;
the processor is further configured to display second data included in the target display object in the target area through the detected first operation.
12. The system of claim 11, wherein,
the processor is further configured to obtain operation information of the first operation, and obtain the second data based on the first data and the operation information;
the display is further configured to display the second data in the target area.
13. The system of claim 11, wherein,
the processor is further configured to obtain a first display position of the first data in the target display object, and determine whether the first display position reaches a first preset position of the target display object;
the display is further used for displaying the second data in the target area under the condition that the first display position does not reach the first preset position; and displaying the first data according to a first display mode under the condition that the first display position reaches the first preset position.
14. A storage medium comprising a stored program, wherein an apparatus in which the storage medium is located is controlled to execute the data processing method of any one of claims 1 to 10 when the program is run.
15. An information processing system comprising:
a processor; and
a memory connected to the processor, the processor being configured to run a program, wherein the data processing method of any one of claims 1 to 10 is performed when the program is run.
CN201910419375.4A 2019-05-20 2019-05-20 Data processing method and system Pending CN111967702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910419375.4A CN111967702A (en) 2019-05-20 2019-05-20 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910419375.4A CN111967702A (en) 2019-05-20 2019-05-20 Data processing method and system

Publications (1)

Publication Number Publication Date
CN111967702A true CN111967702A (en) 2020-11-20

Family

ID=73358177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910419375.4A Pending CN111967702A (en) 2019-05-20 2019-05-20 Data processing method and system

Country Status (1)

Country Link
CN (1) CN111967702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863008A (en) * 2022-06-02 2022-08-05 北京新唐思创教育科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114863008A (en) * 2022-06-02 2022-08-05 北京新唐思创教育科技有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN114863008B (en) * 2022-06-02 2023-03-10 北京新唐思创教育科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9128595B2 (en) Managing data content on a computing device
US20180150215A1 (en) Method for implementing dialing keypad of touch screen and smart watch
CN104156408A (en) Contact information provision method, system and device
CN109783757B (en) Method, device and system for rendering webpage, storage medium and electronic device
CN105354022A (en) Generation method and device of page layout file
US9311726B2 (en) System and method for mapping and comparing choroplethic housing statistics
CN107193440A (en) A kind of method for showing interface and device, computer installation and readable storage medium storing program for executing
CN107066244B (en) Method and device for generating application interface of mobile terminal
WO2014194656A1 (en) Method and device for data screening
CN111680246B (en) Grouping title top-setting method, device and equipment based on recylerview left-right linkage control
CN115599363A (en) Configuration method, device and system of visual component
CN103123623A (en) Method and device for providing webpage hierarchy information
CN111967702A (en) Data processing method and system
CN110599242A (en) Method, device and storage medium for making and issuing marketing picture
CN110968386A (en) Navigation bar processing method and system
US10768789B1 (en) Dynamic rendering of interactive user experience cards
CN108984061B (en) Object searching method, device, equipment and computer readable storage medium
CN109257643B (en) Live broadcast room display method, terminal equipment and storage medium
US11061892B2 (en) Techniques for automated database query generation
CN111177609A (en) Processing method and device for displaying three-dimensional data table in page and electronic equipment
CN112579664A (en) Processing method and device for chart linkage
CN113221524A (en) Tree-type table display method and device, storage medium and electronic device
CN112328139B (en) Display method, display device and storage medium
CN103500105A (en) Visualization configuration method and terminal
CN106775222B (en) Dimension information display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination