CN112685127A - Data source operation method and system based on content management system - Google Patents

Data source operation method and system based on content management system Download PDF

Info

Publication number
CN112685127A
CN112685127A CN202110089733.7A CN202110089733A CN112685127A CN 112685127 A CN112685127 A CN 112685127A CN 202110089733 A CN202110089733 A CN 202110089733A CN 112685127 A CN112685127 A CN 112685127A
Authority
CN
China
Prior art keywords
control
interface
interfaces
splicing
data source
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
CN202110089733.7A
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.)
Konami Sports Club Co Ltd
Original Assignee
People Co 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 People Co Ltd filed Critical People Co Ltd
Publication of CN112685127A publication Critical patent/CN112685127A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a data source operation method and a system based on a content management system, which comprises the following steps: displaying pre-generated operation controls corresponding to various operation tools in the candidate control area; responding to an interaction instruction triggered by the operation control in the candidate control area, and displaying the operation control corresponding to the interaction instruction in the control splicing area; detecting whether operation interfaces of at least two adjacent operation controls in the control splicing region are matched or not; if so, splicing at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control; and responding to a data source operation instruction triggered by the control splicing group, and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group. This approach facilitates performing a series of coherent processes for a data source by way of control mosaic groups.

Description

Data source operation method and system based on content management system
Technical Field
The invention relates to the field of electronic information, in particular to a data source operation method and system based on a content management system.
Background
The Content Management System (CMS) for news media websites is typically a software system located between the front end of the Web and the back end of media resources. Content creators, editors, publishers, and the like, use the content management system to submit, modify, approve, and publish content. The content mainly includes information such as text, pictures and videos which need to be published to a website. In the conventional manner, a simple operation interface is provided in an operation interface of the content management system, for example, a simple content operation function is provided in the form of a search box, an input box, or the like.
However, the inventor finds that the traditional operation interface can only provide simple operation interfaces, and the operation interfaces are isolated from each other, so that a user cannot simultaneously perform multiple operations on a data source by using multiple operation interfaces. Moreover, many operator interfaces require complex parameter inputs that are difficult to use for users who are unaware of programming techniques.
Disclosure of Invention
In view of the above, the present invention has been made to provide a data source operating method and system based on a content management system that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, there is provided a data source operation method based on a content management system, including:
displaying pre-generated operation controls corresponding to various operation tools in the candidate control area;
responding to an interaction instruction triggered by the operation control in the candidate control area, and displaying the operation control corresponding to the interaction instruction in a control splicing area;
detecting whether the operation interfaces of at least two adjacent operation controls in the control splicing region are matched or not; if so, splicing the at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control;
and responding to a data source operation instruction triggered by the control splicing group, and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
Optionally, before the method is executed, the method further includes:
acquiring data parameters corresponding to each operating tool in advance, and determining the parameter type of each data parameter;
and respectively configuring interface attribute information of the operation interfaces corresponding to the parameter types, and setting the operation interfaces corresponding to the operation controls of the operation tools according to the interface attribute information of the operation interfaces.
Optionally, the interface attribute information of the operation interface includes: the number of interfaces, the location of the interfaces, the size of the interfaces, the direction of the interfaces, and/or the type of the interfaces;
the setting of the operation interface corresponding to the operation control of each operation tool according to the interface attribute information of the operation interface includes:
acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool to be configured;
and inquiring interface attribute information of the operation interface matched with the parameter type according to the parameter type of the input parameter and/or the output parameter, and configuring an operation control of the operation tool according to the inquired interface attribute information.
Optionally, the displaying the operation control corresponding to the interaction instruction after the control splicing area further includes:
and modifying the operation logic corresponding to the operation control according to the received control configuration instruction triggered aiming at the operation control.
Optionally, after the at least two adjacent operation controls are spliced into one control splicing group, the method further includes:
and responding to a saving instruction triggered by the control splicing group, and storing the control splicing group to the candidate control area.
According to another aspect of the present invention, there is provided a data source operating system based on a content management system, including:
the control display module is suitable for displaying pre-generated operation controls corresponding to various operation tools in the candidate control area;
the control splicing module is suitable for responding to an interaction instruction triggered by the operation control in the candidate control area and displaying the operation control corresponding to the interaction instruction in the control splicing area;
the detection module is suitable for detecting whether the operation interfaces of at least two adjacent operation controls in the control splicing area are matched or not; if so, splicing the at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control;
and the operation module is suitable for responding to a data source operation instruction triggered by the control splicing group and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
Optionally, the system further comprises:
the configuration module is suitable for acquiring data parameters corresponding to each operation tool in advance and determining the parameter type of each data parameter; and respectively configuring interface attribute information of the operation interfaces corresponding to the parameter types, and setting the operation interfaces corresponding to the operation controls of the operation tools according to the interface attribute information of the operation interfaces.
Optionally, the interface attribute information of the operation interface includes: the number of interfaces, the location of the interfaces, the size of the interfaces, the direction of the interfaces, and/or the type of the interfaces;
the configuration module is specifically adapted to:
acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool to be configured;
and inquiring interface attribute information of the operation interface matched with the parameter type according to the parameter type of the input parameter and/or the output parameter, and configuring an operation control of the operation tool according to the inquired interface attribute information.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the data source operation method based on the content management system.
According to still another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the data source operation method based on the content management system as described above.
In the data source operation method and system based on the content management system, provided by the invention, a traditional operation tool is packaged into a visual operation control, and when the operation interfaces of a plurality of operation controls are matched with each other, the plurality of operation controls can be spliced into a control splicing group, so that the operation logic corresponding to each operation control is executed on the data source through the control splicing group. It can be seen that this approach facilitates performing a series of consecutive processes for a data source by way of control mosaic groups. And the operation control is a visual graphic control, is more intuitive and is easy to use for users who are not familiar with programming technology.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a data source operation method based on a content management system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data source operation method based on a content management system according to a second embodiment of the present invention;
fig. 3 is a block diagram illustrating a data source operating apparatus based on a content management system according to a third embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the structure of an operation control;
FIG. 6 shows a schematic interface diagram when a contribution selection operation is performed on a contribution data source.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 shows a flowchart of a data source operation method based on a content management system according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S110: and displaying the pre-generated operation controls corresponding to various operation tools in the candidate control area.
The candidate control area is used for displaying various operation controls which can be selected and used by a user. The operation control is a control which is generated in advance and corresponds to the operation tool, and is used for providing the corresponding function of the operation tool in a graphical form. Accordingly, in the present embodiment, operation controls corresponding to various operation tools need to be generated in advance. The operation controls corresponding to different operation tools are different not only in appearance, but also in function code level.
Step S120: and responding to an interaction instruction triggered by the operation control in the candidate control area, and displaying the operation control corresponding to the interaction instruction in the control splicing area.
Specifically, the user can trigger an interaction instruction for the operation control in the candidate control region, so that the corresponding operation control is displayed in the control splicing region. The interaction instruction may be various types of instructions such as a click instruction or a drag instruction, which is not limited in the present invention.
In addition, the control splicing area is used for realizing splicing operation among the multiple operation controls, so that the spliced multiple operation controls can be combined with each other to realize a combination function.
Step S130: detecting whether operation interfaces of at least two adjacent operation controls in the control splicing region are matched or not; if so, splicing at least two adjacent operation controls into a control splicing group; and the operation interface of the operation control is determined according to the data parameter corresponding to the operation control.
Specifically, the control splicing region comprises a plurality of control containers which are arranged in sequence, and a user can put a plurality of operation controls into each control container in sequence through an interactive instruction. Correspondingly, the system automatically splices the operation controls placed in the adjacent control containers into a control splicing group.
During specific splicing, whether the operation interfaces of the adjacent operation controls are matched needs to be judged, and judgment is specifically carried out according to the number and/or the type of the operation interfaces. The operation interface usually comprises an input operation interface and an output operation interface, and if the type of the output operation interface of the front control is consistent with that of the input operation interface of the rear control, the two are matched, so that the splicing can be successful; otherwise, the two are inconsistent and the splicing cannot be successful.
During specific implementation, the number of the controls included in the control splicing group can be multiple, and each operation control needs to be matched with both the corresponding preceding control and the corresponding subsequent control.
Step S140: and responding to a data source operation instruction triggered by the control splicing group, and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
And the data source operation instruction is used for executing operation processing corresponding to the control splicing group aiming at the data source. Specifically, the data source may be determined in a variety of ways, for example, the data source to be operated may also be dragged as a control to a first container included in the control splicing region. Of course, the data source to be processed may also be selected by the selection instruction, and the invention is not limited to the specific details.
During specific implementation, the data source is sequentially operated and processed according to the operation logic of each operation control contained in the control splicing group. For example, assuming that the control splicing group includes three operation controls arranged in sequence, the operations corresponding to the operation controls are sequentially executed on the data source according to the arrangement sequence of the three operation controls.
Therefore, in the data source operation method based on the content management system provided by the invention, the traditional operation tool is packaged into the visual operation control, and when the operation interfaces of the operation controls are matched with each other, the operation controls can be spliced into a control splicing group, so that the operation logic corresponding to each operation control is executed on the data source through the control splicing group. It can be seen that this approach facilitates performing a series of consecutive processes for a data source by way of control mosaic groups. And the operation control is a visual graphic control, is more intuitive and is easy to use for users who are not familiar with programming technology.
Example two
Fig. 2 is a flowchart illustrating a data source operation method based on a content management system according to a second embodiment of the present invention. As shown in fig. 2, the method includes:
step S200: operation controls corresponding to various operation tools are generated in advance.
In specific implementation, the operation control is generated in the following way:
firstly, acquiring data parameters corresponding to each operating tool in advance, and determining the parameter type of each data parameter; then, interface attribute information of the operation interfaces corresponding to the parameter types is configured respectively, and the operation interfaces corresponding to the operation controls of the operation tools are set according to the interface attribute information of the operation interfaces. Wherein, the operation instrument means: the tools for realizing the specific operation functions have different program codes corresponding to different operation tools, and the processing of the corresponding functions can be realized through the program codes.
In specific implementation, the data parameters corresponding to each operating tool may be stored in a preset parameter data table, where the data parameters corresponding to the operating tool include various types such as input parameters and output parameters. Then, the parameters stored in the parameter data table are analyzed to determine the number of the parameter types, thereby setting different interface attribute information for different parameter types, respectively.
Therefore, the parameters of the same type can be represented by the same interface attribute information, so that the forms of the operation interfaces corresponding to the parameters of the same type are ensured to be consistent. Wherein, the interface attribute information of the operation interface comprises: the number of interfaces, the location of the interfaces, the size of the interfaces (e.g., the width, depth, etc. of the interfaces), the orientation of the interfaces (e.g., inserted from front to back, or inserted from back to back, etc.), and/or the type of interfaces (e.g., input or output interfaces), etc.
Correspondingly, when the operation interfaces corresponding to the operation controls of the operation tools are set according to the interface attribute information of the operation interfaces, the method is realized in the following mode: firstly, acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool with an operation control to be configured; and then, according to the parameter types of the input parameters and/or the output parameters, inquiring the interface attribute information of the operation interface matched with the parameter types, and configuring the operation control of the operation tool according to the inquired interface attribute information.
For example, if the operation tool to be configured with the operation control only has input parameters but not output parameters, the corresponding operation interface is set to have only an input operation interface but not an output operation interface; on the contrary, if the operation tool to be configured with the operation control only has the output parameters but does not have the input parameters, the corresponding operation interface is set to be in the form of only having the output operation interface but not having the input operation interface. In addition, if the operation tool to be configured with the operation control has input parameters and output parameters at the same time, the corresponding operation interface is set to have the form of an input operation interface and an output operation interface at the same time.
Similarly, two operation controls having input-type operation interfaces have different input-type operation interfaces if the types of input parameters of the corresponding operation tools are different. Therefore, in the above process, it is necessary to set external configuration features such as width, depth, and position of the interface according to the parameter type for the input-class operation interface and the output-class operation interface, so as to ensure that the input interfaces of the same type have the same configuration features, and the input interfaces of different types have different configuration features.
Step S210: and displaying the pre-generated operation controls corresponding to various operation tools in the candidate control area.
The candidate control area is used for displaying various operation controls which can be selected and used by a user. The operation control is a control corresponding to the operation tool generated in advance in step S200, and is used to provide a corresponding function of the operation tool in a graphical form.
Step S220: and responding to an interaction instruction triggered by the operation control in the candidate control area, and displaying the operation control corresponding to the interaction instruction in the control splicing area.
Specifically, the user can trigger an interaction instruction for the operation control in the candidate control region, so that the corresponding operation control is displayed in the control splicing region. The interaction instruction may be various types of instructions such as a click instruction or a drag instruction, which is not limited in the present invention. In addition, the control splicing area is used for realizing splicing operation among the multiple operation controls, so that the spliced multiple operation controls can be combined with each other to realize a combination function.
Step S230: detecting whether operation interfaces of at least two adjacent operation controls in the control splicing region are matched or not; if so, splicing at least two adjacent operation controls into a control splicing group; and the operation interface of the operation control is determined according to the data parameter corresponding to the operation control.
Specifically, the control splicing region comprises a plurality of control containers which are arranged in sequence, and a user can put a plurality of operation controls into each control container in sequence through an interactive instruction. Correspondingly, the system automatically splices the operation controls placed in the adjacent control containers into a control splicing group. During specific splicing, whether the operation interfaces of the adjacent operation controls are matched needs to be judged, and judgment is specifically carried out according to the number and/or the type of the operation interfaces. The operation interface usually comprises an input operation interface and an output operation interface, and if the type of the output operation interface of the front control is consistent with that of the input operation interface of the rear control, the two are matched, so that the splicing can be successful; otherwise, the two are inconsistent and the splicing cannot be successful. During specific implementation, the number of the controls included in the control splicing group can be multiple, and each operation control needs to be matched with both the corresponding preceding control and the corresponding subsequent control.
Because the type and the form of the operation interface of the operation control are determined according to the corresponding parameter type, if the parameters corresponding to the adjacent operation controls are consistent, if the parameter type of the output parameter of the previous control is consistent with the parameter type of the input parameter of the next control, the form of the output class operation interface of the previous control is matched with the form of the input class operation interface of the next control, so that the splicing can be successful like a jigsaw puzzle.
During specific implementation, each operation control in the control splicing area is determined as a target control in sequence, and whether the target control can be successfully spliced with a corresponding preceding control (namely, a preceding control of the target control) and/or a following control (namely, a following control of the target control) is judged. And if the operation control is unsuccessful, displaying a unmatched prompt message to prompt the user to reselect the operation control to be spliced.
Step S240: and modifying the operation logic corresponding to the operation control according to the received control configuration instruction triggered aiming at the operation control.
This step is an optional step, and may be omitted in other embodiments of the present invention. Through the step, the operation logic of the operation control can be further modified aiming at the operation control which is successfully spliced in the control splicing area. For example, assuming that the operation control is a control for recognizing a human face, a human face feature to be recognized may be input to the operation control through the control configuration instruction, so that the operation control is dedicated to recognizing the human face having the human face feature. In short, each operation control in the control splicing region can have a personalized additional function through the control configuration instruction, so as to be dedicated to realizing personalized operation processing.
Step S250: and responding to a data source operation instruction triggered by the control splicing group, and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
And the data source operation instruction is used for executing operation processing corresponding to the control splicing group aiming at the data source. Specifically, the data source may be determined in a variety of ways, for example, the data source to be operated may also be dragged as a control to a first container included in the control splicing region. Of course, the data source to be processed may also be selected by the selection instruction, and the invention is not limited to the specific details. During specific implementation, the data source is sequentially operated and processed according to the operation logic of each operation control contained in the control splicing group. For example, assuming that the control splicing group includes three operation controls arranged in sequence, the operations corresponding to the operation controls are sequentially executed on the data source according to the arrangement sequence of the three operation controls.
Further optionally, after at least two adjacent operation controls are spliced into one control splicing group, the method further includes the following steps: and responding to a saving instruction triggered by the control splicing group, and storing the control splicing group to the candidate control area. Through the operation, the saved control splicing group can be directly used in the subsequent editing process. The control splicing group not only stores the mutual combination relation among the plurality of controls, but also stores the personalized setting executed by the user aiming at each operation control, so that convenience can be provided for subsequent editing operation of the same type. Of course, the user can also name the saved control splicing group for the convenience of subsequent use.
Therefore, the splicing operation among the multiple operation controls can be realized in a graphical visualization mode, the multiple operation processes with complex logics are simplified into a visual processing mode in a splicing mode, and the working efficiency of editors is greatly improved. And, compared with the traditional code mode, the graphical mode is easier to operate. In addition, the embodiment simplifies the checking and matching process between complex data parameters into the jigsaw matching process between visual operation interfaces, further reduces the matching error rate, and improves the matching efficiency.
For convenience of understanding, the following describes specific implementation details of the second embodiment of the present invention in detail by taking a specific example as an example:
first, a specific application scenario of the present example is introduced: one scenario of using the content management system in the news media website is that a user performs manuscript selection, statistics and other operations on various background data sources (data sources for short) located at the rear end of a media resource. For convenience of description, the following description will be given of an example of the selecting and editing user performing the manuscript selecting operation on the manuscript data source; other data sources and examples of operations may be analogized.
The manuscript selection operation of the editing user is to select a manuscript from a manuscript data source and add the manuscript to the content management system. The manuscript selection operation interface of the editing user usually comprises a manuscript data source list, and after clicking a certain manuscript data source in the list and a next column of the manuscript data source, the manuscript in the manuscript data source list can be checked by using a mouse. Because the number of manuscripts in a manuscript data source is large and the manuscripts are difficult to view one by one, the content management system generally provides a simple manuscript query function.
With the continuous development of new technologies such as artificial intelligence, the requirements of editing users on the manuscript selection function gradually increase. For example, an editing user may wish to add a new option function to the content management system to enable finding articles whose article content embodies "positive energy". The traditional solution is to add a draft selection condition such as "positive energy" to the draft selection page. However, this method is not flexible enough, and is difficult to solve the complex draft selection situation, such as difficult to express the combined logical relationship between multiple draft selection conditions. Moreover, as the manuscript selection function is continuously increased, if all the manuscript selection conditions and the logic relations thereof are listed in the manuscript selection page, the contents are too complex, the editing user is difficult to use, and the editing user is easy to make mistakes and is more difficult to find out the reasons of the mistakes.
To solve the above technical problem, the present example provides a method and system for operating a background data source in a content management system. The method comprises the following operations: visualizing a data source and an operation tool as a control; the user carries out jigsaw puzzle and configuration on the control; interpreting the puzzle and configuration as an operational language; and executing the operation language and displaying an execution result.
Optionally, when the control pieces are used for making a jigsaw, if the head interface graph of the control piece can be completely inserted after being vertically aligned with the tail interface graph of the previous control piece, the control piece is displayed in green, which indicates that the control piece is successfully made into a jigsaw with the previous control piece; otherwise, the picture is displayed as red, which indicates that the jigsaw fails.
Optionally, the method further comprises the following steps: after the user completes the control configuration, the system displays the text description of the functions realized by the configured control so as to help the user to confirm the operation intention.
Optionally, the method further comprises the following steps: the user drags the configured whole puzzle, puzzle fragment, or control (i.e., control mosaic) into the common control area for later direct use without reconfiguration.
Specific embodiments of the present examples are described in detail below with reference to the accompanying drawings:
fig. 5 shows a schematic structural diagram of the operation control. FIG. 6 shows a schematic interface diagram when a contribution selection operation is performed on a contribution data source.
In specific implementation, the method for operating the background data source in the content management system provided by this example includes the following steps:
the method comprises the following steps: the data source and the operation tool can be visualized as controls. An operation tool refers to a software tool used to operate a data source. The controls are designed according to the data source and interface specifications of the operating tool. And placing the configurable parameters of the data source and the operation tool in the configuration items of the control. Since the data source has no input, the input interface (referred to as a head interface) of the control is designed mainly according to the input of the operation tool. The output interface of the control (called tail interface) is designed according to the data source and the output of the operation tool. Designing the head and tail interface graphs of the control to meet the following conditions: if the head interface graphic of a control is fully inserted after being aligned above and below the tail interface graphic of its previous control, the control can obtain all of its required inputs from the output provided by the previous control. Fig. 5 illustrates a design scheme of an interface pattern, which comprises the position, width, depth and insertion mode from back to front along a plane.
Step two: and the user carries out jigsaw puzzle and configuration on the control. And displaying the dynamic visual effect of the jigsaw puzzle operation process to the user. As shown in fig. 6, the user drags the control into the control container (or container for short) of the control splicing region (i.e., the control splicing region mentioned above) by using a mouse to splice. If there are controls already in the container, then both the existing controls and the controls affected thereafter yield the current container and back by one container. What must be stored in the first container of the tile is a data source control. The controls will automatically adjust to the top of the container when dragged into the container.
As shown in fig. 5, the head interface graphic of a control automatically aligns up and down with the tail interface graphic of its previous control and attempts to insert the tail interface graphic. If the control can be completely inserted, the control is displayed in green, and the control is successfully spliced with the previous control; otherwise, it is displayed in red to indicate the puzzle failure, and the reason and solution for the failure is given in the results display area in fig. 6.
As shown in fig. 6, when the user clicks the "manuscript" control on the top of the container, the "containing picture" may be configured in the configuration item, specifically, by the above-mentioned "control configuration instruction". The lower part of the container synchronously displays the text description of the function realized by the control in the current configuration, such as 'manuscript containing picture', so that the user can know the function realized by the control through the text description. In rare cases, the text description may not be completely displayed due to space limitation, and at this time, a prompt is given to allow the user to click and view the complete text description.
Step three: the tiles and configurations are interpreted as an operational language. After the user finishes the jigsaw and the configuration and confirms that the whole jigsaw is green and the text description of the realized function of the jigsaw correctly expresses the operation intention of the user on the data source, the jigsaw and the configuration are interpreted as an operation language for calling the functional interfaces of the data source and the operation tool. The tiles are the above-mentioned control splicing group.
Step four: and executing the operation language and displaying an execution result. The operational language is executed by making calls to the data source and to the functional interface of the operational tool. Then, as shown in fig. 6, the execution result is displayed in the result display area.
In addition, the invention also discloses a system for operating the background data source in the content management system, which comprises a data source subsystem, a CMS subsystem and an operation tool subsystem. Wherein, the data source subsystem includes: the processing module is used for processing the operation on the data source; and the interface module is connected with the processing module, provides a function interface which can be called externally, receives the calling of other subsystems and returns a result. The CMS subsystem includes: the control module is connected with the interface modules of the data source subsystem and the operating tool subsystem and can visualize the data source and the operating tool as controls according to the interface specification; the jigsaw module is connected with the control module to realize the control jigsaw and related functions such as control configuration and text description related in the jigsaw process; the interpretation module is connected with the jigsaw module and interprets the jigsaw and the configuration into an operation language; and the execution module is connected with the interpretation module, the data source subsystem and the interface module of the operation tool subsystem, executes the operation language by calling the functional interfaces provided by the interface modules, and displays the execution result. The operational tool subsystem includes: the processing module is used for processing the operation of the operation tool; and the interface module is connected with the processing module, provides a callable function interface for the outside, receives the call of the CMS subsystem and returns the result to the CMS subsystem.
Specifically, the system includes a data source subsystem, a CMS subsystem and an operation tool subsystem, and the main functions of the modules are described below:
the data source subsystem includes: the device comprises a first processing module and a first interface module. The first processing module is used for processing the operation of the data source. Such as a query operation on a database in a data source. The first interface module is connected with the processing module, provides a function interface which can be called externally, receives the calling of other subsystems and returns a result.
The CMS subsystem includes a widget module, a puzzle module, an interpretation module, and an execution module. The control module is connected with the data source subsystem and the interface module of the operating tool subsystem, and the data source and the operating tool can be visualized as controls according to the interface specification. The jigsaw module is connected with the control module to realize the control jigsaw and related functions such as control configuration and text description involved in the jigsaw process. The interpretation module is coupled to the puzzle module and interprets the puzzle and the configuration into an operating language. The execution module is connected with the interpretation module, the data source subsystem and the interface module of the operation tool subsystem, executes the operation language by calling the functional interfaces provided by the interface modules, and displays the execution result.
The operation tool subsystem includes a second processing module and a second interface module. The second processing module is used for processing the operation of the operation tool. The second interface module is connected with the second processing module, provides a callable function interface for outside, receives the call of the CMS subsystem and returns the result to the CMS subsystem.
In summary, the present invention controls the data source and the operation tool, and graphics the control interface, so that the CMS user can operate the data source by operating the control puzzle. The puzzle is an insertion and combination operation of a user after aligning the head interface graph of a control with the tail interface graph of the previous control up and down. In addition, the system also provides the text description of the functions realized by the jigsaw according to the configuration of the user, so that the user can conveniently confirm the operation intention. Therefore, the user can intuitively realize the operation intention of the data source through the visual effect of the jigsaw and the text description of the realized function of the jigsaw, and the user experience is improved.
EXAMPLE III
Fig. 3 shows a schematic structural diagram of a data source operating system based on a content management system according to a third embodiment of the present invention, which specifically includes:
the control display module 31 is adapted to display pre-generated operation controls corresponding to various operation tools in the candidate control area;
the control splicing module 32 is adapted to respond to an interaction instruction triggered by an operation control in the candidate control region, and display the operation control corresponding to the interaction instruction in the control splicing region;
the detection module 33 is adapted to detect whether the operation interfaces of at least two adjacent operation controls in the control splicing region are matched; if so, splicing the at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control;
and the operation module 34 is adapted to respond to a data source operation instruction triggered by the control splicing group, and perform operation processing on the data source according to the operation logic of each operation control included in the control splicing group.
Optionally, the system further comprises:
the configuration module is suitable for acquiring data parameters corresponding to each operation tool in advance and determining the parameter type of each data parameter; and respectively configuring interface attribute information of the operation interfaces corresponding to the parameter types, and setting the operation interfaces corresponding to the operation controls of the operation tools according to the interface attribute information of the operation interfaces.
Optionally, the interface attribute information of the operation interface includes: the number of interfaces, the location of the interfaces, the size of the interfaces, the direction of the interfaces, and/or the type of the interfaces;
the configuration module is specifically adapted to:
acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool to be configured;
and inquiring interface attribute information of the operation interface matched with the parameter type according to the parameter type of the input parameter and/or the output parameter, and configuring an operation control of the operation tool according to the inquired interface attribute information.
Optionally, the control splicing module is further adapted to:
and modifying the operation logic corresponding to the operation control according to the received control configuration instruction triggered aiming at the operation control.
Optionally, the control splicing module is further adapted to:
and responding to a saving instruction triggered by the control splicing group, and storing the control splicing group to the candidate control area.
Example four
An embodiment of the present application provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the data source operation method based on the content management system in any method embodiment. The executable instructions may be specifically configured to cause a processor to perform respective operations corresponding to the above-described method embodiments.
EXAMPLE five
Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 406, a memory 404, and a Communications bus 408.
Wherein:
the processor 402, communication interface 406, and memory 404 communicate with each other via a communication bus 408.
A communication interface 406 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute relevant steps in the above-described data source operation method embodiment based on the content management system.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU, or an Application specific Integrated Circuit ASIC (if an Integrated Circuit), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 404 for storing a program 410. The memory 404 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may be specifically configured to enable the processor 502 to execute the corresponding operations in the above method embodiments.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (10)

1. A data source operation method based on a content management system comprises the following steps:
displaying pre-generated operation controls corresponding to various operation tools in the candidate control area;
responding to an interaction instruction triggered by the operation control in the candidate control area, and displaying the operation control corresponding to the interaction instruction in a control splicing area;
detecting whether the operation interfaces of at least two adjacent operation controls in the control splicing region are matched or not; if so, splicing the at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control;
and responding to a data source operation instruction triggered by the control splicing group, and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
2. The method of claim 1, wherein prior to performing the method, further comprising:
acquiring data parameters corresponding to each operating tool in advance, and determining the parameter type of each data parameter;
and respectively configuring interface attribute information of the operation interfaces corresponding to the parameter types, and setting the operation interfaces corresponding to the operation controls of the operation tools according to the interface attribute information of the operation interfaces.
3. The method of claim 2, wherein the interface attribute information of the operation interface comprises: the number of interfaces, the location of the interfaces, the size of the interfaces, the direction of the interfaces, and/or the type of the interfaces;
the setting of the operation interface corresponding to the operation control of each operation tool according to the interface attribute information of the operation interface includes:
acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool to be configured;
and inquiring interface attribute information of the operation interface matched with the parameter type according to the parameter type of the input parameter and/or the output parameter, and configuring an operation control of the operation tool according to the inquired interface attribute information.
4. The method of claim 1, wherein the exposing an operation control corresponding to the interaction instruction after the control splicing region further comprises:
and modifying the operation logic corresponding to the operation control according to the received control configuration instruction triggered aiming at the operation control.
5. The method according to any one of claims 1-4, wherein after said splicing said at least two adjacent operation controls into one control splicing group, further comprising:
and responding to a saving instruction triggered by the control splicing group, and storing the control splicing group to the candidate control area.
6. A data source operating system based on a content management system, comprising:
the control display module is suitable for displaying pre-generated operation controls corresponding to various operation tools in the candidate control area;
the control splicing module is suitable for responding to an interaction instruction triggered by the operation control in the candidate control area and displaying the operation control corresponding to the interaction instruction in the control splicing area;
the detection module is suitable for detecting whether the operation interfaces of at least two adjacent operation controls in the control splicing area are matched or not; if so, splicing the at least two adjacent operation controls into a control splicing group; the operation interface of the operation control is determined according to the data parameter corresponding to the operation control;
and the operation module is suitable for responding to a data source operation instruction triggered by the control splicing group and performing operation processing on the data source according to the operation logic of each operation control contained in the control splicing group.
7. The system of claim 1, wherein the system further comprises:
the configuration module is suitable for acquiring data parameters corresponding to each operation tool in advance and determining the parameter type of each data parameter; and respectively configuring interface attribute information of the operation interfaces corresponding to the parameter types, and setting the operation interfaces corresponding to the operation controls of the operation tools according to the interface attribute information of the operation interfaces.
8. The system of claim 7, wherein the interface attribute information of the operation interface comprises: the number of interfaces, the location of the interfaces, the size of the interfaces, the direction of the interfaces, and/or the type of the interfaces;
the configuration module is specifically adapted to:
acquiring the parameter type of an input parameter and/or an output parameter of an operation tool for the operation tool to be configured;
and inquiring interface attribute information of the operation interface matched with the parameter type according to the parameter type of the input parameter and/or the output parameter, and configuring an operation control of the operation tool according to the inquired interface attribute information.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the data source operation method based on the content management system according to any one of claims 1-5.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the content management system-based data source operation method according to any one of claims 1 to 5.
CN202110089733.7A 2020-12-07 2021-01-22 Data source operation method and system based on content management system Pending CN112685127A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2020114196183 2020-12-07
CN202011419618 2020-12-07

Publications (1)

Publication Number Publication Date
CN112685127A true CN112685127A (en) 2021-04-20

Family

ID=75458991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110089733.7A Pending CN112685127A (en) 2020-12-07 2021-01-22 Data source operation method and system based on content management system

Country Status (1)

Country Link
CN (1) CN112685127A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023143197A1 (en) * 2022-01-28 2023-08-03 北京字跳网络技术有限公司 Method and apparatus for generating combined graphical control, and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development
CN107562817A (en) * 2017-08-16 2018-01-09 北京深数科技有限公司 One B shareB quantifies method, apparatus, equipment and the storage medium of transaction
CN108021363A (en) * 2017-12-06 2018-05-11 广州多益网络股份有限公司 Visualize game logic edit methods and system
CN110333810A (en) * 2019-07-08 2019-10-15 网易传媒科技(北京)有限公司 Applied to the information displaying method of electronic equipment, device, medium and calculate equipment
CN110543304A (en) * 2019-09-10 2019-12-06 联想(北京)有限公司 Scheme implementation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648660A (en) * 2016-12-22 2017-05-10 深圳怡化电脑股份有限公司 Method and device for service development
CN107562817A (en) * 2017-08-16 2018-01-09 北京深数科技有限公司 One B shareB quantifies method, apparatus, equipment and the storage medium of transaction
CN108021363A (en) * 2017-12-06 2018-05-11 广州多益网络股份有限公司 Visualize game logic edit methods and system
CN110333810A (en) * 2019-07-08 2019-10-15 网易传媒科技(北京)有限公司 Applied to the information displaying method of electronic equipment, device, medium and calculate equipment
CN110543304A (en) * 2019-09-10 2019-12-06 联想(北京)有限公司 Scheme implementation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何广达: "DeepWeb查询表单属性模式匹配的研究", 《数字技术与应用》, no. 6, 15 June 2015 (2015-06-15), pages 104 - 106 *
佚名: "将多个控件合成一个控件", Retrieved from the Internet <URL:《learn.microsoft.com/zh-cn/previous-versions/dotnet/articles/ms996431(v=msdn.10)》> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023143197A1 (en) * 2022-01-28 2023-08-03 北京字跳网络技术有限公司 Method and apparatus for generating combined graphical control, and device and storage medium

Similar Documents

Publication Publication Date Title
CN111045655B (en) Page rendering method and device, rendering server and storage medium
US20210365767A1 (en) Method and device for operator registration processing based on deep learning and electronic device
US10592211B2 (en) Generation of application behaviors
US20150067640A1 (en) Input suggestions for free-form text entry
US11747973B2 (en) Rule-based user interface layout rearrangement
CN109324864B (en) Method and device for acquiring man-machine interaction operation information
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
CN112558841B (en) Application icon management method, computing device and readable storage medium
CN112037332B (en) Display verification method and device for browser, computer equipment and storage medium
CN110727429A (en) Front-end page generation method, device and equipment
CN113704301A (en) Data processing method, device, system, equipment and medium for heterogeneous computing platform
US20200097609A1 (en) System and method for navigation within widget-sized browser panels
CN112685127A (en) Data source operation method and system based on content management system
CN110825745A (en) Page generation method and device
US8706712B2 (en) Graphic query suggestion display method
US8788449B2 (en) Interface for creating and editing boolean logic
US11068463B2 (en) System and method for managing log data
EP4143672A1 (en) Combined local and server context menus
CN112506503A (en) Programming method, device, terminal equipment and storage medium
US10445290B1 (en) System and method for a smart configurable high performance interactive log file viewer
WO2022257588A1 (en) Code processing method and system, computer cluster, medium and program product
US11900105B2 (en) Code review system with development environment integration
CN115269285A (en) Test method and device, equipment and computer readable storage medium
CN110399063B (en) Method and device for viewing page element attributes
KR101732922B1 (en) GUI-based asynchronous type coding system and method

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