CN110727430A - Data processing method, device, system, medium executed by server - Google Patents
Data processing method, device, system, medium executed by server Download PDFInfo
- Publication number
- CN110727430A CN110727430A CN201910947214.2A CN201910947214A CN110727430A CN 110727430 A CN110727430 A CN 110727430A CN 201910947214 A CN201910947214 A CN 201910947214A CN 110727430 A CN110727430 A CN 110727430A
- Authority
- CN
- China
- Prior art keywords
- component
- target
- target component
- executable
- server
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 32
- 230000003993 interaction Effects 0.000 claims description 86
- 230000006870 function Effects 0.000 claims description 34
- 230000004044 response Effects 0.000 claims description 34
- 230000002452 interceptive effect Effects 0.000 claims description 30
- 230000004048 modification Effects 0.000 claims description 16
- 238000012986 modification Methods 0.000 claims description 16
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 230000008676 import Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 18
- 238000004590 computer program Methods 0.000 description 14
- 230000003287 optical effect Effects 0.000 description 7
- 230000000007 visual effect Effects 0.000 description 6
- 230000009191 jumping Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000004065 semiconductor Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides a data processing method performed by a server, including: the method comprises the steps of receiving an adding request, wherein the adding request is used for requesting to add a component to be added to a server, responding to the adding request, and adding the component to be added to the server, wherein the server comprises at least one component, the at least one component is configured to be used for executing a preset function, and the identification of the at least one component is displayed through a display interface, so that a user can select the at least one component to execute the preset function based on the identification of the at least one component. The present disclosure also provides a data processing apparatus, a computing device, and a computer-readable storage medium.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method performed by a server, a data processing apparatus, a data processing system, and a computer-readable storage medium.
Background
During software development, the relevant functionality is typically achieved by embedding various components in program code. However, if the relevant components need to be modified or more components need to be added to the program code subsequently, the program code needs to be modified manually, which not only has high labor cost, but also easily causes unpredictable errors in the program code. Therefore, a method for conveniently managing components is needed to quickly and conveniently modify or add components.
Disclosure of Invention
One aspect of the present disclosure provides a data processing method performed by a server, including: receiving an adding request, wherein the adding request is used for requesting to add a component to be added to the server, and the component to be added is added to the server in response to the adding request, wherein the server comprises at least one component, the at least one component is configured to execute a preset function, and the identification of the at least one component is displayed through a display interface, so that a user can select the at least one component to execute the preset function based on the identification of the at least one component.
According to an embodiment of the present disclosure, the method further includes: and receiving a loading operation executed by a user through the display interface, wherein the loading operation aims at the identification of a target component in the at least one component, responding to the loading operation, processing the target component to obtain an executable target component, and displaying the executable target component in the display interface so that the user can execute a predetermined function based on the executable target component.
According to an embodiment of the present disclosure, each of the at least one component includes: interactive files, configuration files, icon files. The displaying, via the display interface, the identification of the at least one component includes: and acquiring the icon file of each component in the at least one component and displaying the identifier of the at least one component based on the icon file of each component. The processing the target component to obtain an executable target component in response to the load operation comprises: and responding to the loading operation, calling the interactive file and the configuration file of the target component, and processing the interactive file and the configuration file of the target component to obtain the executable target component.
According to the embodiment of the present disclosure, the identifier of the target component has an association relationship with the interaction file and the configuration file. The invoking of the interaction file and the configuration file of the target component in response to the loading operation comprises: and responding to the loading operation aiming at the identification of the target component, acquiring the incidence relation, and calling the interaction file and the configuration file of the target component based on the identification of the target component and the incidence relation.
According to the embodiment of the disclosure, each of the at least one component includes a plurality of executable elements, the interaction file of the target component includes first interaction information and second interaction information, the first interaction information includes interaction information between the plurality of executable elements in the target component, and the second interaction information includes interaction information between the target component and the interactive component in the at least one component.
According to an embodiment of the present disclosure, the method further includes: receiving a first editing operation of a user aiming at a target executable element in the target assembly, determining interaction information corresponding to the target executable element based on the first editing operation, displaying another executable element corresponding to the target executable element in the target assembly in response to determining that the interaction information corresponding to the target executable element is the first interaction information, and displaying the executable element corresponding to the target executable element in the interaction assembly in response to determining that the interaction information corresponding to the target executable element is the second interaction information.
According to an embodiment of the present disclosure, the method further includes: and updating the configuration file of the target component. The updating the configuration file of the target component includes at least one of: and updating the configuration file based on the modification operation executed by the user aiming at the script information of the target component, and updating the configuration file based on the modification operation executed by the user aiming at the configuration interface of the target component.
According to an embodiment of the present disclosure, the method further includes: receiving a second editing operation performed by a user on the at least one component through the display interface, and updating the at least one component in the server and the display interface in response to the second editing operation.
According to an embodiment of the present disclosure, the second editing operation includes at least one of: modification operation, deletion operation, import operation and export operation.
Another aspect of the present disclosure provides a data processing apparatus including: the device comprises a first receiving module, an adding module and a first display module. The first receiving module receives an adding request, wherein the adding request is used for requesting to add the component to be added to the server. An adding module, responding to the adding request, and adding the component to be added to the server, wherein the server comprises at least one component, and the at least one component is configured to execute a predetermined function. The first display module displays the identification of the at least one component through a display interface so that a user can select the at least one component to execute the preset function based on the identification of the at least one component.
According to the embodiment of the present disclosure, the apparatus further includes: the device comprises a second receiving module, a processing module and a second display module. The second receiving module receives a loading operation executed by a user through the display interface, wherein the loading operation aims at the identification of a target component in the at least one component. And the processing module responds to the loading operation and processes the target component to obtain an executable target component. The second display module displays the executable target component in the display interface so that a user can execute a predetermined function based on the executable target component.
According to an embodiment of the present disclosure, each of the at least one component includes: interactive files, configuration files, icon files. The displaying, via the display interface, the identification of the at least one component includes: and acquiring the icon file of each component in the at least one component and displaying the identifier of the at least one component based on the icon file of each component. The processing the target component to obtain an executable target component in response to the load operation comprises: and responding to the loading operation, calling the interactive file and the configuration file of the target component, and processing the interactive file and the configuration file of the target component to obtain the executable target component.
According to the embodiment of the present disclosure, the identifier of the target component has an association relationship with the interaction file and the configuration file. The invoking of the interaction file and the configuration file of the target component in response to the loading operation comprises: and responding to the loading operation aiming at the identification of the target component, acquiring the incidence relation, and calling the interaction file and the configuration file of the target component based on the identification of the target component and the incidence relation.
According to the embodiment of the disclosure, each of the at least one component includes a plurality of executable elements, the interaction file of the target component includes first interaction information and second interaction information, the first interaction information includes interaction information between the plurality of executable elements in the target component, and the second interaction information includes interaction information between the target component and the interactive component in the at least one component.
According to the embodiment of the present disclosure, the apparatus further includes: the device comprises a third receiving module, a determining module, a third display module and a fourth display module. The third receiving module receives a first editing operation of a user for a target executable element in the target component. The determining module determines interaction information corresponding to the target executable element based on the first editing operation. The third display module displays another executable element corresponding to the target executable element in the target component in response to determining that the interaction information corresponding to the target executable element is the first interaction information. The fourth display module displays the executable element corresponding to the target executable element in the interactive component in response to determining that the interactive information corresponding to the target executable element is the second interactive information.
According to the embodiment of the present disclosure, the apparatus further includes: a first update module that updates a configuration file of the target component. The updating the configuration file of the target component includes at least one of: and updating the configuration file based on the modification operation executed by the user aiming at the script information of the target component, and updating the configuration file based on the modification operation executed by the user aiming at the configuration interface of the target component.
According to the embodiment of the present disclosure, the apparatus further includes: a fourth receiving module and a second updating module. The fourth receiving module receives a second editing operation executed by the user for the at least one component through the display interface. A second update module updates the at least one component in the server and updates the display interface in response to the second editing operation.
According to an embodiment of the present disclosure, the second editing operation includes at least one of: modification operation, deletion operation, import operation and export operation.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows an application scenario of a data processing method and a data processing apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of a data processing method performed by a server according to an embodiment of the present disclosure;
fig. 3 schematically shows a flow chart of a data processing method performed by a server according to another embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a modify operation on a component, according to an embodiment of the disclosure;
5-6 illustrate diagrams of updating a configuration file according to embodiments of the present disclosure;
FIG. 7 schematically shows a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 8 schematically shows a block diagram of a data processing apparatus according to another embodiment of the present disclosure; and
FIG. 9 schematically shows a block diagram of a computer system for implementing data processing according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
An embodiment of the present disclosure provides a data processing method performed by a server, including: and receiving an adding request, wherein the adding request is used for requesting to add the component to be added to the server, and responding to the adding request. Then, the component to be added is added to a server, wherein the server comprises at least one component configured for performing a predetermined function. Finally, an identification of the at least one component is displayed via the display interface for a user to select the at least one component to perform a predetermined function based on the identification of the at least one component.
Fig. 1 schematically shows an application scenario of a data processing method and a data processing apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the application scenario 100 may include, for example, a plurality of components 111, 112, 113, etc., a server 120, and a display interface 130.
Different components, for example, can implement different functionality according to embodiments of the present disclosure, e.g., the multiple components can include a line drawing component, a bar graph component, a detail form component, a drop-down component, a note component, a funnel drawing component, a pie drawing component, a progress bar component, and so forth, with fig. 1 merely exemplary showing a line drawing component, a bar graph component, a detail form component, a drop-down component.
Wherein each of the plurality of components may be developed separately, for example, and the developed components may be packaged to upload the packaged components to the server 120. The process of uploading the component may be, for example, an add operation performed by the user through the display interface 130. In addition, the embodiment of the present disclosure may further display, through the display interface 130 connected to the server 120, an identifier of a component existing in the server 120, so that a user may perform a corresponding operation on the corresponding component based on the displayed identifier of the component. For example, when the user uses the component, the user may perform a drag operation on the identifier of the component on the display interface 130 to drag the component to a corresponding operation interface of the display interface 130, so as to use the component displayed on the operation interface to perform a desired function. For example, after the user drags the line drawing component to the operation interface, the user may use the line drawing component on the operation interface to implement a function of data statistics.
In addition, the display interface 130 may also display grouping information of the components, so that a user can quickly find a corresponding component according to the grouping information.
It can be understood that according to the technical scheme of the embodiment of the disclosure, if a user needs to modify an existing component correspondingly, the component can be modified through the visual component information on the display interface. Or when the user needs to add the component, the adding operation can be carried out on the display interface at any time so as to add the component to the server. It can be understood that, in the embodiment of the present disclosure, no matter the component is modified or the component is added, only the user needs to perform the visual operation on the display interface, and the user does not need to modify the program code, so that the management flexibility of the component is greatly improved, and the unpredictable error caused by manually modifying the program code is avoided as much as possible.
An information processing method according to an exemplary embodiment of the present disclosure is described below with reference to fig. 2 to 6 in conjunction with an application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. Rather, embodiments of the present disclosure may be applied to any scenario where applicable.
Fig. 2 schematically shows a flow chart of a data processing method performed by a server according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S230.
In operation S210, an addition request for requesting addition of a component to be added to a server is received.
According to the embodiment of the present disclosure, the addition request may be, for example, a request generated by a user performing an addition operation on a display interface. The adding operation of the user is to upload the component to be added to the server. Alternatively, the addition request may also be an addition request instruction that is automatically generated when the component to be added is detected, and the server may add the component to be added to the server based on the addition request instruction.
In operation S220, a component to be added is added to a server in response to an addition request, wherein the server includes at least one component configured to perform a predetermined function.
In the embodiment of the disclosure, the server responds to the adding request and uploads the component to be added to the server for storage. The server can store a plurality of components, and uploads the components to the server in real time when the components need to be added, and program codes do not need to be modified manually. Wherein each component stored in the server is capable of performing a corresponding predetermined function, such as a line graph component capable of performing a data statistics function.
In operation S230, an identification of at least one component is displayed through the display interface so that the user selects the at least one component to perform a predetermined function based on the identification of the at least one component.
In embodiments of the present disclosure, after a component is added to a server, an identification of the component may be displayed in a display interface, for example. The user may select a corresponding component based on the component's identification to facilitate performing a predetermined function with the selected component. For example, if the user selects the line graph component, the user may implement a data statistics function using the line graph component.
The technical scheme of the embodiment of the disclosure provides a management mode of a visual component, and a user can add the component to a server in real time in the visual mode. And the identification of the component is displayed through the display interface, so that a user can conveniently perform related operation on the component according to the displayed identification so as to execute a preset function through the component. It can be understood that through the technical scheme of the embodiment of the present disclosure, the components can be managed in batch conveniently, for example, the components can be loaded dynamically, a user does not need to modify program codes, the management flexibility of the components is greatly improved, and unpredictable errors caused by manual modification of the program codes are avoided as much as possible.
Fig. 3 schematically shows a flow chart of a data processing method performed by a server according to another embodiment of the present disclosure.
As shown in fig. 3, an information processing method according to another embodiment of the present disclosure may further include and operations S310 to S330, in addition to, for example, the method shown in fig. 2 including operations S210 to S230.
In operation S310, a loading operation performed by a user through a display interface is received, wherein the loading operation is directed to an identification of a target component in at least one component.
According to the embodiment of the disclosure, a plurality of components in the server can be visually displayed on the display interface, and a user can perform a loading operation on the corresponding identifier on the display interface, for example, the loading operation is a dragging operation. For example, the user drags the component identification to an operation interface in the display interface, and the server loads the component in response to the dragging of the user.
In operation S320, in response to the load operation, the processing target component gets an executable target component.
For example, each of the at least one components includes: interactive files, configuration files, icon files. After each component is developed, the interactive file, the configuration file and the icon file of the component can be packaged to obtain a component package, the component package is uploaded to the server, the server can further identify the file information in the component package, and the interactive file is stored in the database, so that the interactive file can be conveniently called by other servers or other services. And storing the configuration file and the icon file in a file server.
According to the embodiment of the disclosure, the interaction file may be, for example, a js (javascript) file, and the interaction file includes, for example, interaction information of the component, and the interaction information includes, for example, how the component responds to a click operation of the user after the user performs the click operation on the component. The configuration file may be, for example, a json (javascript Object notification) file, and may include, for example, display style information of the component, such as a title content, a title color, a title size, and the like of the component. The icon file is, for example, a visual icon of a component, i.e., a component identification displayed on the display interface.
Wherein displaying the identity of the at least one component via the display interface comprises: an icon file for each of the at least one component is obtained and an identification of the at least one component is displayed based on the icon file for each component. In other words, the component identifier displayed on the display interface may be a component icon.
According to the embodiment of the disclosure, when a user drags the component, the server responds to a loading operation (dragging operation), calls the interactive file and the configuration file of the target component, and processes the interactive file and the configuration file of the target component to obtain the executable target component.
And the identification of the target component has an incidence relation with the interaction file and the configuration file. The server can respond to the loading operation of the user for the identification of the target component, acquire the association relation, and call the interaction file and the configuration file of the target component based on the identification of the target component and the association relation. In other words, the interactive file, the configuration file and the icon file of each component have an association relationship, and after the component identifier is displayed on the display interface based on the icon file, if a user performs a drag operation on the component identifier, the interactive file and the configuration file corresponding to the component can be found according to the association relationship.
In operation S330, the executable target component is displayed in the display interface so that the user performs a predetermined function based on the executable target component.
According to the embodiment of the disclosure, for example, after the interaction file and the configuration file corresponding to the component are found according to the association relationship, the interaction file and the configuration file may be rendered to obtain an executable target component, and the user may perform a related operation on the executable target component, for example, modify the display style information of the component, and the like. Alternatively, the user may also perform a predetermined function using the executable target component, for example, a data statistics function using a line graph component.
According to the embodiment of the disclosure, each of the at least one component comprises a plurality of executable elements, the interaction file of the target component comprises first interaction information and second interaction information, the first interaction information comprises interaction information between the plurality of executable elements in the target component, and the second interaction information comprises interaction information between the target component and the interaction component in the at least one component.
For example, taking the target component as a table component for example, the plurality of executable elements in the table component may include a header, a plurality of cells, and the like. The user may click on the header or any one of the cells of the table. The first interaction information may be, for example, when the user clicks one cell of the form component, jumping to another cell of the form component or displaying the content in another cell of the form component in response to the user clicking. The second interactive information may be, for example, when the user clicks on one cell (or header) of a table component, jumping to another table component or displaying the contents of the corresponding cell in the other table component in response to the user clicking.
According to the embodiment of the disclosure, the server can receive a first editing operation of a user on a target executable element in a target component, and determine interaction information corresponding to the target executable element based on the first editing operation. Wherein the first editing operation may be a click operation.
If the interaction mode is the first interaction mode, the server may respond to determining that the interaction information corresponding to the target executable element is the first interaction information and display another executable element corresponding to the target executable element in the target component. For example, when a user clicks on one cell in a form component (target component), jumping to or displaying the contents in another cell of the form component is performed in response to the user clicking.
If the interaction means is the second interaction means, the server may respond to determining that the interaction information corresponding to the target executable element is the second interaction information, and display an executable element corresponding to the target executable element in the interaction component (another component). Wherein the target component is associated with another component. For example, when a user clicks on one cell (or header) of a form component (target component), jumping to another form component (interactive component) or displaying the contents of the corresponding cell in the other form (interactive component) is performed in response to the user clicking.
According to the embodiment of the disclosure, a plurality of components contained in the server can be displayed on the display interface in a component identification mode. The server may receive, in real time, a second editing operation performed by the user for the at least one component through the display interface. The second editing operation includes at least one of: modification operation, deletion operation, import operation and export operation. Wherein the server may update the at least one component in the server and update the display interface in response to the second editing operation. For example, if the second editing operation is a deletion operation, the component targeted by the user in the server is deleted, and the display interface is updated, and the updated display interface does not have the identifier of the deleted component.
It can be understood that according to the technical solution of the embodiment of the present disclosure, when a user dynamically executes a second editing operation for a component in a server, it is not necessary to relocate all server components as a whole, and it is also not necessary to restart the system, and it is only necessary to perform an incremental operation on the component corresponding to the currently executed second editing operation, thereby implementing hot plug of the component and improving the operational flexibility of the component.
FIG. 4 illustrates a schematic diagram of a modify operation on a component, according to an embodiment of the disclosure.
As shown in FIG. 4, the modify operation on the component may include, for example, modifying version information of the component. For example, with respect to the form component, the server includes, for example, multiple versions of the form component, including, for example, version 1.0.1, version 1.0.2, version 1.0.3, and so forth. If the table component identifier displayed in the display interface is the identifier of the version 1.0.1, the identifier of the version 1.0.1 displayed in the display interface can be modified into the identifier of the version 1.0.2 by modifying the version information, so that a user can conveniently drag and drop the table component of the version 1.0.2 through the display interface.
According to the embodiment of the disclosure, the configuration file of the target component can be updated in real time. Wherein, updating the configuration file of the target component may include the following two ways, for example. These two ways are shown in fig. 5 and 6, respectively.
Fig. 5-6 illustrate schematic diagrams of updating a configuration file according to an embodiment of the disclosure.
As shown in FIG. 5, for example, the configuration file may be updated based on a modification operation performed by a user with respect to the script information of the target component. The style information of the target component may be modified, for example, by updating script information. Such as modifying the title content, title color, title size, etc. of the target component.
As shown in FIG. 6, the configuration file may be updated, for example, based on a modification operation performed by a user with respect to the configuration interface of the target component. That is, the configuration interface is a visual interface, and the user can modify the style information of the target component by performing a selection operation or information input on the configuration interface. Such as modifying the title content, title color, title size, etc. of the target component.
The embodiment of the disclosure provides a plurality of ways for the user to update the configuration file of the component, so that the user can conveniently select the inclined way for operation, and the operation experience of the user is improved.
Fig. 7 schematically shows a block diagram of a data processing method according to an embodiment of the present disclosure.
As shown in fig. 7, the data processing apparatus 700 includes a first receiving module 710, an adding module 720, and a first displaying module 730.
The first receiving module 710 may be configured to receive an addition request, where the addition request is used to request that a component to be added to a server. According to the embodiment of the present disclosure, the first receiving module 710 may, for example, perform operation S210 described above with reference to fig. 2, which is not described herein again.
The adding module 720 may be configured to add the component to be added to the server based on responding to the addition request, wherein the server includes at least one component configured to perform a predetermined function. According to the embodiment of the present disclosure, the adding module 720 may perform, for example, the operation S220 described above with reference to fig. 2, which is not described herein again.
The first display module 730 may be configured to display the identification of the at least one component via the display interface for the user to select the at least one component to perform the predetermined function based on the identification of the at least one component. According to the embodiment of the present disclosure, the first display module 730 may perform the operation S230 described above with reference to fig. 2, for example, and is not described herein again.
Fig. 8 schematically shows a block diagram of a data processing device according to another embodiment of the present disclosure.
As shown in fig. 8, the data processing apparatus 800 includes a first receiving module 710, an adding module 720, a first display module 730, a second receiving module 810, a processing module 820, and a second display module 830. The first receiving module 710, the adding module 720 and the first displaying module 730 are the same as or similar to the modules described above with reference to fig. 7, and are not repeated herein.
The second receiving module 810 may be configured to receive a loading operation performed by a user through a display interface, where the loading operation is directed to an identification of a target component in at least one component. According to an embodiment of the present disclosure, the second receiving module 810 may perform, for example, the operation S310 described above with reference to fig. 3, which is not described herein again.
The processing module 820 may be used to process the target component into an executable target component in response to a load operation. According to the embodiment of the present disclosure, the processing module 820 may perform, for example, the operation S320 described above with reference to fig. 3, which is not described herein again.
The first display module 730 may be used to display the executable target component in the display interface so that the user performs a predetermined function based on the executable target component. According to the embodiment of the present disclosure, the first display module 730 may perform, for example, the operation S330 described above with reference to fig. 3, which is not described herein again.
According to an embodiment of the present disclosure, each of the at least one component comprises: interactive files, configuration files, icon files. Displaying, via the display interface, an identification of the at least one component includes: an icon file for each of the at least one component is obtained and an identification of the at least one component is displayed based on the icon file for each component. In response to the load operation, processing the target component to obtain an executable target component comprises: and responding to the loading operation, calling the interactive file and the configuration file of the target component, and processing the interactive file and the configuration file of the target component to obtain the executable target component.
According to the embodiment of the disclosure, the identification of the target component has an association relationship with the interaction file and the configuration file. In response to the load operation, invoking the interaction file and the configuration file of the target component comprises: and responding to the loading operation aiming at the identification of the target component, acquiring the incidence relation, and calling the interaction file and the configuration file of the target component based on the identification and the incidence relation of the target component.
According to the embodiment of the disclosure, each of the at least one component comprises a plurality of executable elements, the interaction file of the target component comprises first interaction information and second interaction information, the first interaction information comprises interaction information between the plurality of executable elements in the target component, and the second interaction information comprises interaction information between the target component and the interaction component in the at least one component.
According to an embodiment of the present disclosure, the data processing apparatus further includes: the device comprises a third receiving module, a determining module, a third display module and a fourth display module. The third receiving module receives a first editing operation of a user for a target executable element in a target component. The determination module determines interaction information corresponding to the target executable element based on the first editing operation. The third display module displays another executable element in the target component corresponding to the target executable element in response to determining that the interaction information corresponding to the target executable element is the first interaction information. The fourth display module displays the executable element corresponding to the target executable element in the interactive component in response to determining that the interactive information corresponding to the target executable element is the second interactive information.
According to an embodiment of the present disclosure, the data processing apparatus further includes: and the first updating module updates the configuration file of the target component. Updating the configuration file of the target component includes at least one of: and updating the configuration file based on the modification operation executed by the user aiming at the script information of the target component, and updating the configuration file based on the modification operation executed by the user aiming at the configuration interface of the target component.
According to an embodiment of the present disclosure, the data processing apparatus further includes: a fourth receiving module and a second updating module. The fourth receiving module receives a second editing operation executed by the user for at least one component through the display interface. The second update module updates the at least one component in the server and updates the display interface in response to the second editing operation.
According to an embodiment of the present disclosure, the second editing operation includes at least one of: modification operation, deletion operation, import operation and export operation.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the first receiving module 710, the adding module 720, the first display module 730, the second receiving module 810, the processing module 820, and the second display module 830 may be combined and implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first receiving module 710, the adding module 720, the first displaying module 730, the second receiving module 810, the processing module 820 and the second displaying module 830 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or by a suitable combination of any of them. Alternatively, at least one of the first receiving module 710, the adding module 720, the first display module 730, the second receiving module 810, the processing module 820 and the second display module 830 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
FIG. 9 schematically shows a block diagram of a computer system for implementing data processing according to an embodiment of the present disclosure. The computer system illustrated in FIG. 9 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 9, a computer system 900 implementing the control includes a processor 901, a computer-readable storage medium 902. The system 900 may perform a method according to an embodiment of the disclosure.
In particular, processor 901 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 901 may also include on-board memory for caching purposes. The processor 901 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
Computer-readable storage medium 902 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 902 may comprise a computer program 903, which computer program 903 may comprise code/computer-executable instructions that, when executed by a processor 901, cause the processor 901 to perform a method according to an embodiment of the disclosure or any variant thereof.
The computer program 903 may be configured with computer program code, for example, comprising computer program modules. For example, in an example embodiment, code in computer program 903 may include one or more program modules, including for example 903A, 903B, … …. It should be noted that the division and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 901 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 901.
According to an embodiment of the present invention, at least one of the first receiving module 710, the adding module 720, the first display module 730, the second receiving module 810, the processing module 820 and the second display module 830 may be implemented as a computer program module described with reference to fig. 9, which, when executed by the processor 901, may implement the corresponding operations described above.
The present disclosure also provides a computer-readable medium, which may be embodied in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable medium carries one or more programs which, when executed, implement the above data processing method.
According to embodiments of the present disclosure, a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (12)
1. A data processing method performed by a server, comprising:
receiving an adding request, wherein the adding request is used for requesting to add a component to be added to the server;
adding the component to be added to the server in response to the addition request, wherein the server comprises at least one component configured for performing a predetermined function; and
displaying, via a display interface, the identification of the at least one component for a user to select the at least one component to perform the predetermined function based on the identification of the at least one component.
2. The method of claim 1, further comprising:
receiving a loading operation executed by a user through the display interface, wherein the loading operation aims at the identification of a target component in the at least one component;
in response to the loading operation, processing the target component to obtain an executable target component; and
displaying the executable target component in the display interface so that a user executes a predetermined function based on the executable target component.
3. The method of claim 2, wherein:
each of the at least one component includes: interactive files, configuration files and icon files;
the displaying, via the display interface, the identification of the at least one component includes: acquiring an icon file of each component in the at least one component and displaying an identifier of the at least one component based on the icon file of each component;
the processing the target component to obtain an executable target component in response to the load operation comprises:
in response to the loading operation, calling an interaction file and a configuration file of the target component; and
and processing the interactive file and the configuration file of the target component to obtain the executable target component.
4. The method of claim 3, wherein the identification of the target component has an association relationship with the interaction file and configuration file; the invoking of the interaction file and the configuration file of the target component in response to the loading operation comprises:
obtaining the incidence relation in response to the loading operation aiming at the identification of the target component; and
and calling the interaction file and the configuration file of the target component based on the identification of the target component and the incidence relation.
5. The method of claim 3, wherein each of the at least one component includes a plurality of executable elements, the interaction file of the target component includes first interaction information including interaction information between the plurality of executable elements in the target component and second interaction information including interaction information between the target component and an interaction component in the at least one component.
6. The method of claim 5, further comprising:
receiving a first editing operation of a user for a target executable element in the target component;
determining interaction information corresponding to the target executable element based on the first editing operation;
in response to determining that the interaction information corresponding to the target executable element is the first interaction information, displaying another executable element in the target component corresponding to the target executable element; and
in response to determining that the interaction information corresponding to the target executable element is the second interaction information, displaying an executable element in the interaction component corresponding to the target executable element.
7. The method of claim 3, further comprising: updating the configuration file of the target component; the updating the configuration file of the target component includes at least one of:
updating the configuration file based on the modification operation executed by the user aiming at the script information of the target component; and
and updating the configuration file based on the modification operation performed by the user aiming at the configuration interface of the target component.
8. The method of claim 3, further comprising:
receiving a second editing operation performed by a user for the at least one component through the display interface; and
updating the at least one component in the server and updating the display interface in response to the second editing operation.
9. The method of claim 8, wherein the second editing operation comprises at least one of: modification operation, deletion operation, import operation and export operation.
10. A data processing apparatus comprising:
the first receiving module is used for receiving an adding request, and the adding request is used for requesting to add the component to be added to the server;
an adding module, responding to the adding request, and adding the component to be added to the server, wherein the server comprises at least one component configured to execute a predetermined function; and
the first display module displays the identification of the at least one component through a display interface so that a user can select the at least one component to execute the preset function based on the identification of the at least one component.
11. A computing device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-9.
12. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910947214.2A CN110727430B (en) | 2019-09-30 | 2019-09-30 | Data processing method, device, system and medium executed by server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910947214.2A CN110727430B (en) | 2019-09-30 | 2019-09-30 | Data processing method, device, system and medium executed by server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110727430A true CN110727430A (en) | 2020-01-24 |
CN110727430B CN110727430B (en) | 2023-08-25 |
Family
ID=69220778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910947214.2A Active CN110727430B (en) | 2019-09-30 | 2019-09-30 | Data processing method, device, system and medium executed by server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110727430B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
US20110209181A1 (en) * | 2010-01-13 | 2011-08-25 | Qualcomm Incorporated | Notification of interactivity event asset delivery sources in a mobile broadcast communication system |
US20120284735A1 (en) * | 2011-05-06 | 2012-11-08 | Microsoft Corporation | Interaction-Based Interface to a Logical Client |
CN108958736A (en) * | 2018-07-20 | 2018-12-07 | 北京三快在线科技有限公司 | Page generation method, device, electronic equipment and computer-readable medium |
-
2019
- 2019-09-30 CN CN201910947214.2A patent/CN110727430B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
US20110209181A1 (en) * | 2010-01-13 | 2011-08-25 | Qualcomm Incorporated | Notification of interactivity event asset delivery sources in a mobile broadcast communication system |
US20120284735A1 (en) * | 2011-05-06 | 2012-11-08 | Microsoft Corporation | Interaction-Based Interface to a Logical Client |
CN108958736A (en) * | 2018-07-20 | 2018-12-07 | 北京三快在线科技有限公司 | Page generation method, device, electronic equipment and computer-readable medium |
Non-Patent Citations (1)
Title |
---|
张震伟;马雁云;: "基于超元数据缓存的高速数据访问系统" * |
Also Published As
Publication number | Publication date |
---|---|
CN110727430B (en) | 2023-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108293081B (en) | Deep linking of program playback to mobile application state through user interface events | |
US20100031248A1 (en) | Installation Sequence Manager | |
WO2021040994A1 (en) | Systems, method, and media for determining security compliance of continuous build software | |
US20200142680A1 (en) | Container image layer reordering | |
CN107220066B (en) | Method and device for releasing application software in application store | |
CN109684188B (en) | Test method and device | |
CN109542468B (en) | Application program release method and device and electronic equipment | |
CN110619100B (en) | Method and apparatus for acquiring data | |
US20140289761A1 (en) | Systems and Methods of Processing Data Involving Presentation of Information on Android Devices | |
CN107329721A (en) | Display methods, electronic equipment and computer-readable recording medium | |
EP2778962A1 (en) | Silo-aware databases | |
CN110059064B (en) | Log file processing method and device and computer readable storage medium | |
CN111752834A (en) | Automatic testing method and device | |
US20210096853A1 (en) | Migration of web applications between different web application frameworks | |
US9311215B2 (en) | Defining multi-channel tests system and method | |
CN111782210A (en) | Page management method and device, electronic equipment and computer readable medium | |
CN110727430B (en) | Data processing method, device, system and medium executed by server | |
US10997269B1 (en) | Using web application components with different web application frameworks in a web application | |
CN110443034B (en) | Risk program file identification method and device, computing equipment and medium | |
US9407697B2 (en) | System and method for automating identification and download of web assets or web artifacts | |
KR20180076020A (en) | Apparatus and method for application test automation | |
CN110704321A (en) | Program debugging method and device | |
CN110555181B (en) | Page cross-skip method and device | |
US10142764B2 (en) | Method and system for overlay display control | |
CN112068895B (en) | Code configuration method, device, video playing equipment and storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088 Applicant after: QAX Technology Group Inc. Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd. Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088 Applicant before: QAX Technology Group Inc. Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |