Information processing method and apparatus
By providing a data setting interface and preset style encapsulation processing in the integration platform, the problem of low efficiency of manual coding is solved, and the efficiency and user experience of data interoperability between different business systems are improved.
Patent Information
- Application Number
- PCT/CN2024/082460
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2024-03-19
- Publication Date
- 2024-09-26
AI Technical Summary
In the existing technology, manually writing software codes to realize data interoperability between different business systems is inefficient, resulting in poor user experience on the integration platform.
By providing a data setting interface in the integrated platform, users can set target expressions and input data, and implement automatic conversion and processing of data through preset style encapsulation and processing, reducing the need for manual coding.
It improves the efficiency of data interoperability between different business systems, improves user experience, and reduces the need for users to manually write code.
Smart Images

Figure CN2024082460_26092024_PF_FP
Abstract
Description
Information processing method and device
[0001] This application claims priority to Chinese Patent Application No. 202310282689.0 filed on March 21, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] The present disclosure relates to an information processing method and device. Background Art
[0003] The integration platform can realize the intercommunication between data of different business systems. For example, for business system 1 and business system 2, the corresponding data of the two can be intercommunication through the integration platform.
[0004] Different business systems support different data formats. Therefore, to achieve data interoperability between different business systems, data format conversion is required. Currently, data interoperability between different business systems can be achieved through the dynamic script component in the integration platform. Specifically, users can manually write the corresponding software code through this dynamic script component to achieve data format conversion.
[0005] However, manual software coding is inefficient, resulting in low efficiency in interoperability between data from different business systems, which in turn leads to a poor user experience for the integrated platform. Therefore, a solution is urgently needed to address the above issues.
[0006] Summary of the Invention
[0007] In order to solve or at least partially solve the above technical problems, the embodiments of the present disclosure provide an information processing method and device.
[0008] In a first aspect, an embodiment of the present disclosure provides an information processing method, the method comprising:
[0009] In response to a first operation triggered on a first node in an integration flow, displaying a data setting interface, the first node corresponding to a first business system;
[0010] In response to an expression setting operation triggered on the data setting interface, obtaining a set target expression, wherein the expression setting operation is used to set an expression used to process the data associated with the first node;
[0011] The target input data set in the data setting interface is processed based on the target expression.
[0012] Optionally, a display style of the target input data in the target expression is different from a display style of other elements in the target expression.
[0013] Optionally, the target input data is packaged in a preset format.
[0014] Optionally, the method further includes:
[0015] In response to a triggering operation on first input data set in the data setting interface, displaying at least one data candidate item, wherein the first input data and the at least one data candidate item are both packaged in the preset format;
[0016] In response to a selection operation triggered on target input data in the at least one data candidate, the first input data is modified to the target input data.
[0017] Optionally, the at least one data candidate is data transferred from the second node to the first node in the integration flow.
[0018] Optionally, the method further includes:
[0019] In response to an editing operation triggered by the second input data set in the data setting interface, the second input data is modified to the edited target input data, the data structure corresponding to the second input data is a nested structure, the data structure corresponding to the target input data is a sub-data structure of the nested structure corresponding to the second input data, and the second input data is encapsulated in the preset style.
[0020] Optionally, the target input data is set in the following manner:
[0021] The target input data input in the data setting interface is received.
[0022] Optionally, the target input data is set in the following manner:
[0023] In response to an operation directed to a third node in the integration flow triggered in the data setting interface, displaying at least one data transmitted by the third node to the first node, each data in the at least one data being encapsulated in the preset format;
[0024] In response to a selection operation triggered on target data among the at least one data, the target data is set as the target input data.
[0025] Optionally, the target input data is displayed in the target expression in a first preset style, the function in the target expression is displayed in a second preset style, and other elements in the target expression except the target input data and the function are displayed in a third preset style.
[0026] In a second aspect, an embodiment of the present disclosure provides an information processing method, the method comprising:
[0027] Provide input controls for users to perform input operations;
[0028] In response to receiving a character string in the input control, determining whether the received character string meets a preset condition;
[0029] If the received character string meets the preset conditions, the character string is encapsulated in a preset style.
[0030] Optionally, providing an input control for a user to perform an input operation includes:
[0031] In response to a first operation triggered on a first node in an integration flow, a data setting interface is displayed, the first node corresponds to a first business system, and the data setting interface includes the input control.
[0032] Optionally, the preset conditions include:
[0033] The received character string is data transferred from the second node to the first node in the integration flow.
[0034] In a third aspect, an embodiment of the present disclosure provides an information processing device, the device comprising:
[0035] a first display unit, configured to display a data setting interface in response to a first operation triggered on a first node in an integration flow, wherein the first node corresponds to a first business system;
[0036] a first acquiring unit, configured to acquire a set target expression in response to an expression setting operation triggered on the data setting interface, wherein the expression setting operation is used to set an expression used to process the data associated with the first node;
[0037] A processing unit is used to process the target input data set in the data setting interface based on the target expression.
[0038] Optionally, a display style of the target input data in the target expression is different from a display style of other elements in the target expression.
[0039] Optionally, the target input data is packaged in a preset format.
[0040] Optionally, the device further includes:
[0041] a second display unit, configured to display at least one data candidate item in response to a triggering operation on first input data set in the data setting interface, wherein the first input data and the at least one data candidate item are both packaged in the preset format;
[0042] The first modifying unit is configured to modify the first input data into the target input data in response to a selection operation triggered on the target input data in the at least one data candidate item.
[0043] Optionally, the at least one data candidate is data transferred from the second node to the first node in the integration flow.
[0044] Optionally, the device further includes:
[0045] A second modification unit is used to modify the second input data into the edited target input data in response to an editing operation triggered by the second input data set in the data setting interface, wherein the data structure corresponding to the second input data is a nested structure, the data structure corresponding to the target input data is a sub-data structure of the nested structure corresponding to the second input data, and the second input data is encapsulated in the preset style.
[0046] Optionally, the target input data is set in the following manner:
[0047] The target input data input in the data setting interface is received.
[0048] Optionally, the target input data is set in the following manner:
[0049] In response to an operation directed to a third node in the integration flow triggered in the data setting interface, displaying at least one data transmitted by the third node to the first node, each data in the at least one data being encapsulated in the preset format;
[0050] In response to a selection operation triggered on target data among the at least one data, the target data is set as the target input data.
[0051] Optionally, the target input data is displayed in the target expression in a first preset style, the function in the target expression is displayed in a second preset style, and other elements in the target expression except the target input data and the function are displayed in a third preset style.
[0052] In a fourth aspect, an embodiment of the present disclosure provides an information processing device, the device comprising:
[0053] A providing unit, configured to provide an input control for enabling a user to perform an input operation;
[0054] a judging unit, configured to, in response to receiving a character string in the input control, judge whether the received character string satisfies a preset condition;
[0055] The encapsulation unit is configured to encapsulate the received character string in a preset format if the received character string meets a preset condition.
[0056] Optionally, the providing unit is used to:
[0057] In response to a first operation triggered on a first node in an integration flow, a data setting interface is displayed, the first node corresponds to a first business system, and the data setting interface includes the input control.
[0058] Optionally, the preset conditions include:
[0059] The received character string is data transferred from the second node to the first node in the integration flow.
[0060] In a fifth aspect, an embodiment of the present disclosure provides a device, the device including a processor and a memory;
[0061] The processor is used to execute instructions stored in the memory so that the device executes the method described in any one of the first aspects above, or so that the device executes the method described in any one of the second aspects above.
[0062] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, comprising instructions, wherein the instructions instruct a device to execute any of the methods described in the first aspect above, or the instructions instruct a device to execute any of the methods described in the second aspect above.
[0063] In a seventh aspect, an embodiment of the present disclosure provides a computer program product, which, when run on a computer, enables the computer to execute the method described in any one of the first aspects above, or enables the computer to execute the method described in any one of the second aspects above.
[0064] The embodiments of the present disclosure have the following advantages:
[0065] An embodiment of the present disclosure provides an information processing method that can be applied to an integration platform. In one example, an integration flow can be displayed on a page corresponding to the integration platform. The integration flow includes multiple nodes, and the first node can be one of the multiple nodes, corresponding to a first business system. A user can trigger a first operation on the first node in the integration flow. Accordingly, the integration platform can display a data setting interface in response to the first operation. The user can trigger an expression setting operation on the data setting interface and set a target expression, wherein the expression setting operation is used to set the expression used to process the data associated with the first node. Accordingly, the integration platform can obtain the target expression in response to the expression setting operation and further process the target input data set in the data setting interface based on the target expression. As can be seen, in the embodiment of the present disclosure, there is no need for the user to manually write the corresponding software code to process the data. Instead, the target input data can be processed by setting the target expression, which improves the efficiency of data processing and thus improves the efficiency of data communication between different business systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0067] FIG1 shows a schematic diagram of a page corresponding to an integrated platform;
[0068] FIG2 is a flow chart of an information processing method provided by an embodiment of the present disclosure;
[0069] FIG3a is a schematic diagram of a data setting interface provided by an embodiment of the present disclosure;
[0070] FIG3 b is a schematic diagram of a data setting interface provided by an embodiment of the present disclosure;
[0071] FIG3c is a schematic diagram of a page corresponding to an integrated platform provided in an embodiment of the present disclosure;
[0072] FIG3 d is a schematic diagram of a page corresponding to an integrated platform provided by an embodiment of the present disclosure;
[0073] FIG4 is a flow chart of another information processing method provided by an embodiment of the present disclosure;
[0074] FIG5 is a schematic structural diagram of an information processing device provided by an embodiment of the present disclosure; and
[0075] FIG6 is a schematic structural diagram of another information processing device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0076] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0077] After research, the inventors of the present disclosure have found that, at present, if one wants to achieve intercommunication between data of different business systems, this can be achieved with the help of a dynamic script component in an integration platform. Specifically, users can manually write corresponding software codes through the dynamic script component to achieve data format conversion. Among them: the integration platform is a platform formed by combining the integration of application systems with the integration architecture. Through lower construction costs and higher integration capabilities, it solves the problems of high enterprise integration costs and low efficiency. In this embodiment, the integration platform can integrate multiple systems corresponding to an enterprise and provide a unified operation portal, so that users can complete corresponding operations through the operation portal without having to enter each system separately to perform operations, thereby improving business processing efficiency.
[0078] Please refer to Figure 1 for understanding, which shows a schematic diagram of a page corresponding to an integration platform. The page 100 includes an integration flow, and the integration flow shown in Figure 1 includes 3 nodes, and the lines between the nodes represent the flow direction of the data flow. As shown in Figure 1, the data corresponding to node 101 is passed to node 102, and the data corresponding to node 102 is passed to node 103. Among them, in Figure 1, the "***" in the box corresponding to each node can be, for example, the icon corresponding to the node. In an example, node 101 can correspond to business system 1, node 102 can correspond to a dynamic script component, and node 103 can correspond to business system 2. Business system 1 and business system 2 can be different subsystems belonging to the same enterprise, or they can be business systems belonging to different enterprises, and the embodiments of the present disclosure do not make specific limitations. The data output by business system 1 is passed to business system 2 after being processed by the dynamic script component, so that business system 2 can correctly identify and process the data output by business system 1. The user can trigger an operation through the node 102. For example, the user can click on the node 102. Accordingly, the integration platform can display a script editing interface in response to the operation triggered on the node 102. The user can write corresponding software code in the script editing interface, and the software code is used to process the data output by the business system 1.
[0079] However, manual software code writing is inefficient, resulting in low efficiency in achieving data interoperability between different business systems, which in turn results in a poor user experience for the integration platform.
[0080] In order to solve the above problems, the embodiments of the present disclosure provide an information processing method and apparatus.
[0081] Various non-limiting embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0082] Referring to FIG2 , which is a flow chart of an information processing method provided by an embodiment of the present disclosure, in this embodiment, the method can be applied to an integrated platform. In one example, the method can include the following steps: S101-S103.
[0083] S101: In response to a first operation triggered on a first node in an integration flow, displaying a data setting interface, wherein the first node corresponds to a first business system.
[0084] In an embodiment of the present disclosure, an integration flow may be displayed in a page corresponding to the integration platform. The integration flow may include multiple nodes. The first node may be one of the multiple nodes. The first node corresponds to the first business system. Through the integration platform, data intercommunication between the first business system and other business systems may be achieved.
[0085] The embodiments of this disclosure do not specifically limit the first operation; the first operation may be, for example, a click operation. In this case, after the user clicks the first node, the integration platform may display a data setting interface in response to the click operation on the first node. The data setting interface is used to set data associated with the first node. As an example, the data setting interface is used to set data transmitted from other nodes to the first node, so that the set data can be parsed and processed by the first node.
[0086] In one example, the integration platform can display the data settings interface on a corresponding page. In a specific example, the aforementioned integration flow and the data settings interface can be located in different areas of the same page. For example, the integration flow can be displayed in the left area of the page corresponding to the integration platform, and the data settings interface can be displayed in the right area of the page corresponding to the integration platform.
[0087] S102: In response to an expression setting operation triggered on the data setting interface, obtaining a set target expression, wherein the expression setting operation is used to set an expression used to process the data associated with the first node.
[0088] After the data setting interface is displayed, the user can trigger an expression setting operation through the data setting interface. The expression setting operation is used to set an expression for processing the data associated with the first node. The expression can be an expression provided by the integration platform, and the user can select an expression from the expressions provided by the integration platform to process the data. In one example, the data setting interface may include an expression input area, and the user can trigger the expression setting operation in the expression input area to set the target expression. Accordingly, the integration platform can obtain the target expression.
[0089] In one example, the expression provided by the integration platform may include a function. For example, an expression may be encapsulated into a function, or, for another example, an expression may include a function and other elements. The user sets the target expression in the expression input area, for example, by inputting a function identifier corresponding to the target expression in the expression input area. The function identifier mentioned here may be, for example, a function name. In one example, after the user triggers a preset operation in the expression input area, the integration platform may display a plurality of function candidates in the data setting interface, and the user may select one of the plurality of function candidates. The integration platform may determine the candidate for the user-triggered selection operation as the target expression. The embodiments of the present disclosure do not specifically limit the preset operation. The preset operation may be, for example, a click operation, or may be inputting characters in the expression input area. The embodiments of the present disclosure do not make specific limitations. In another example, the user may directly input the target expression or the function name corresponding to the target expression in the expression input area.
[0090] S103: Processing the target input data set in the data setting interface based on the target expression.
[0091] After obtaining the target expression, the integration platform may process the target input data set in the data setting interface based on the target expression, thereby obtaining data after processing the target input data.
[0092] In one example, to facilitate the user in distinguishing target input data from other elements in a target expression, the display style of the target input data in the target expression may be different from the display styles of other elements in the expression. As a specific example, the target input data may be displayed in a first preset style in the target expression, while other elements in the target expression may be displayed in other styles different from the first preset style.
[0093] As an example, the target input data is displayed in a first preset style, for example, the target input data may be encapsulated in a preset style. The embodiments of the present disclosure do not specifically limit the preset style, and the preset style may be, for example, a character carrier of a specific style encapsulated outside the target input data, for example, a layer of shaded rectangular box encapsulated. Optionally or additionally, in addition to allowing the target input data to be displayed in a style different from other characters in the expression, the encapsulation may also allow the target input data to be interacted with as a whole (for example, one or more of the following interactions, such as being clicked, selected, copied, etc.).
[0094] As another example, the first preset display style is bold font. In this case, the target input data is displayed in bold, while other elements in the target expression are displayed in non-bold. Of course, the first preset style is not limited to bold font. It can also be a specific font color and a specific background. These are not listed here.
[0095] In another example, in order to facilitate the user to distinguish the function in the target expression, the display method of the function in the target expression can be different from the display style of other elements in the expression. In a specific example, the target input data can be displayed in the target expression in a first preset style, the function in the target expression can be displayed in a second preset style, and the other elements in the target expression other than the target input data and the function can be displayed in a third preset style. The first preset display style, the second preset display style and the third preset display style are different. For example, the difference between the first preset display style, the second preset display style and the third preset display style is the weight of the font. The font corresponding to the first preset display style is thicker than the font corresponding to the second preset display style, and the font corresponding to the second preset display style is thicker than the font corresponding to the third preset display style. Of course, the difference between the first preset display style, the second preset display style and the third preset display style is not limited to the weight of the font, but can also be the color of the font, the background of the font display, etc., which are not listed here.
[0096] In one example, before processing the target input data set in the data setting interface based on the target expression, the integration platform may also obtain the target input data set by the user in the data setting interface. In other words, the user may also set the target input data in the data setting interface. The following describes how to set the target input data.
[0097] In one example, the target input data can be set through the following steps A1-A2.
[0098] A1: In response to a triggering operation on the first input data set in the data setting interface, at least one data candidate item is displayed, wherein the first input data and the at least one data candidate item are both packaged in the preset style.
[0099] In one example, the data setting interface may include a data input area, and the data input area is used to set input data. The first input data may be, for example, data displayed in the data input area. The data input area mentioned here and the expression input area mentioned above may be the same input area or different input areas, and the embodiment of the present disclosure does not make specific limitations. Among them, the setting method of the first input data is the same as the setting method of the target input data, and is not described in detail here.
[0100] The user can trigger an operation on the first input data, for example, by clicking on the first input data. Accordingly, the integration platform can display at least one data candidate in response to the triggering operation on the first input data. In an embodiment of the present disclosure, the first input data and the at least one data candidate are packaged in a preset format, so that the user can clearly distinguish between "data" and "non-data". The non-data mentioned here can be, for example, a function in an expression, or other elements in the expression other than input data and functions.
[0101] In an embodiment of the present disclosure, the at least one data candidate may be data that can be processed by the first business system. In a specific example, the at least one data candidate may be data passed from the second node in the integration flow to the first node. Displaying the data passed from the second node to the first node as a data candidate can improve the efficiency of the user in determining the target input data. The embodiment of the present disclosure does not specifically limit the second node. The second node may, for example, correspond to a second business system, which is a business system different from the first business system.
[0102] A2: In response to a selection operation triggered on target input data in the at least one data candidate item, modify the first input data to the target input data.
[0103] After the at least one data candidate is displayed, the user can trigger a selection operation for one of the data candidate items. For example, the user can trigger a selection operation for the first candidate item by clicking on the first candidate item. The target input data can be one of the at least one candidate item. After the user triggers a selection operation for the target input data as a candidate item, the integration platform can modify the first input data to the target input data in response to the selection operation triggered for the target input data. As an example, the integration platform can modify the first input data displayed in the data input area to the target input data.
[0104] For understanding, please refer to Figures 3a and 3b. Figures 3a and 3b are schematic diagrams of a data setting interface provided by an embodiment of the present disclosure. As shown in Figure 3a, the data setting interface 200 includes a data input area 210, which displays the content "+aa" and the first input data 211 packaged in a preset style. In Figure 3a, the preset style package is reflected as a shaded rectangular box. The "+" in "+aa" is an operator, and "aa" can be a specific value or represent a function, which is not specifically limited in this disclosure. The specific content of the first input data 211 is represented by "***". After the user triggers a single-click operation on the first input data 211, the data setting interface is updated as shown in Figure 3b. The data setting interface 200 displays multiple data candidates packaged in preset styles. Figure 3b takes the display of data candidate 212 and data candidate 213 as an example for explanation. If the user triggers a selection operation for the data candidate item 212, the first input data 211 displayed in the data input area 210 is modified to the data candidate item 212. In FIG3b, the data corresponding to the data candidate item 212 is bb and the data corresponding to the data candidate item 213 is cc.
[0105] In another example, the target input data may be obtained by editing the second input data set in the data setting interface. Specifically, the data setting interface may display the second input data, which may be packaged in a preset format. The user can trigger an edit operation on the second input data, for example, by clicking or double-clicking the second input data to edit it based on the second input data. The integration platform can obtain the edited input data as the target input data. In one example, the data structure corresponding to the second input data is a nested structure, wherein the structure corresponding to the second input data is a nested structure, which can be understood as the data structure corresponding to the second input data including multiple levels. In this case, the data structure corresponding to the target input data may be a sub-data structure of the nested structure corresponding to the second input data. In one example, the data structure corresponding to the target input data is a sub-data structure, which can be understood as the second input data being a set of data corresponding to multiple sub-data structures, and the target input data may be the data corresponding to a sub-data structure within the set. In another example, the data structure corresponding to the target input data is a sub-data structure, which can be understood as the target input data being data at a deeper level contained in the second input data. For example, if the second input data is an array, the target input data can be an element in the array. This allows the user to set the sub-data structure's data as the target input data and then edit the sub-data structure based on the second input data, thereby obtaining the data corresponding to the sub-data structure contained in the second input data. This improves the efficiency of user input data setting.
[0106] In addition, the setting method of the second input data is the same as the setting method of the target input data, and will not be described in detail here.
[0107] In another example, the target input data may also be input by the user in the data setting interface. In a specific example, the user may input the target input data in a paste mode or a non-paste mode in the data input area in the data setting interface. That is, the user does not need to browse the data candidates, and may also directly input the target input data in the data input area, thereby meeting the user's needs. In this case, the user inputs a character string in the data input area, and the integration platform may receive the character string input by the user, and when it is determined that the character string meets the preset conditions, for example, when the character string is data passed from the second node to the first node, the character string may be encapsulated in a preset style. In a specific example, the character string may be the aforementioned target input data.
[0108] In yet another example, the target input data may be set through the following steps B1-B2.
[0109] B1: In response to an operation directed to a third node in the integration flow triggered in the data setting interface, at least one data transmitted from the third node to the first node is displayed, and each data in the at least one data is encapsulated in the preset style.
[0110] As mentioned above, in one example, the data setting interface and the integration flow can be displayed in different areas of the same page. In one example, the operation of pointing to the third node in the integration flow can be, for example, an operation of swiping from the data setting interface to the third node. For example, the cursor can be swiped from the data setting interface to the third node. For another example, in a touch screen scenario, a touch object (such as a finger or a stylus) can be swiped from the data setting interface to the third node.
[0111] The embodiment of the present disclosure does not specifically limit the third node. The third node may correspond to a third business system, for example, which is a business system different from the third business system.
[0112] After a user triggers an operation directed to a third node in the integration flow in the data setting interface, the integration platform may, in response to the operation, display at least one data item transferred from the third node to the first node, with each item of the at least one data item being packaged in the preset format. For example, the integration platform may display the at least one data item transferred from the third node to the first node in a display area corresponding to the integration flow, specifically, displaying the at least one data item transferred from the third node to the first node around the third node.
[0113] B2: In response to a selection operation triggered on target data among the at least one data, setting the target data as the target input data.
[0114] After the at least one data item is displayed, the user can trigger a selection operation for one of the at least one data item. As an example, the user can trigger a selection operation for the target data item by clicking on the target data item. Accordingly, the integration platform can set the target data item as the target input data item in response to the selection operation for the target data item. This approach can improve the efficiency with which the user obtains data transmitted from the third node to the first node, and accordingly improves the efficiency with which the user sets the target input data item.
[0115] For understanding, reference may be made to Figures 3c and 3d, which are schematic diagrams of a page corresponding to an integration platform provided in an embodiment of the present disclosure. As shown in Figure 3c, the left area in the page 300 displays an integration flow, which includes three nodes, namely node 310, node 320 and node 330. The first node may correspond to node 320, for example. The right area of the page 300 displays the aforementioned data setting interface 340. The data setting interface 340 includes a data input area 341 corresponding to the variable name and a data input area 242 corresponding to the variable value. In Figure 3c, the variable name "mm" is entered in the data input area 241. When the user enters data into the data input area 242, an operation pointing to the node 310 in the integration flow can be triggered in the data setting interface 340, wherein, for example, the area corresponding to the character "variable value" can be displayed in the data setting interface to trigger an operation pointing to the node 310 in the integration flow. In Figure 3c, arrowed line 350 indicates that a user has triggered an operation directed to node 310 in the integration flow. The starting point of arrowed line 350 is located in the area corresponding to the text "variable value," and the end point of arrowed line 350 is located in the area corresponding to node 310. Arrowed line 350 disappears after being displayed for a preset duration.
[0116] After the user triggers an operation directed to node 310 in the integration flow, the content displayed on page 300 is shown in Figure 3d. Data 311 and data 312 transferred from node 310 to node 320 are displayed near the display area of node 310. Both data 311 and data 312 are packaged in a preset format. The user can click on data 311, and the integration platform can accordingly set data 311 as the target input data and display data 311 in a preset format in the data input area 342 of the data setting interface 340.
[0117] Regarding Figures 1 and 3a to 3d, it should be noted that they are only shown for understanding the present solution and do not constitute a limitation on the embodiments of the present disclosure. The pages shown in Figures 1 and 3a to 3d may also include other content, which is represented by "XXX" in Figures 1 and 3a to 3d.
[0118] It can be seen that in the embodiments of the present disclosure, users do not need to manually write corresponding software codes to process data. Instead, they can process target input data by setting target expressions, thereby improving the efficiency of data processing and thus improving the efficiency of intercommunication between data of different business systems.
[0119] The embodiment of the present disclosure further provides an information processing method, which may include S201-S203 shown in Figure 4. Figure 4 is a flow chart of another information processing method provided by the embodiment of the present disclosure.
[0120] S201: providing an input control for a user to perform input operations.
[0121] In one example, the input control may be provided in a page corresponding to the integrated platform. As an example, the input control may be embodied as a data input area.
[0122] In a specific example, the data input area can be displayed in a data setting interface. Regarding the data setting interface, it can be used to set data related to the first node in the integration flow. Regarding the data setting interface, please refer to the relevant description above and will not be repeated here.
[0123] S202: In response to receiving a character string in the input control, determining whether the received character string meets a preset condition.
[0124] S203: If the received character string meets a preset condition, encapsulate the character string in a preset format.
[0125] The user can input a string through the input control. For example, the user can input a string in the aforementioned data input area. Accordingly, the integration platform can receive the string in the input control and, in response to receiving the string, determine whether the received string meets the preset conditions.
[0126] The embodiments of the present disclosure do not specifically limit the preset conditions, and the preset conditions can be determined according to actual conditions.
[0127] As an example, the preset condition may be that the received character string is a preset character string. Accordingly, determining whether the received character string satisfies the preset condition may be determining whether the received character string satisfies the preset condition, or in other words, determining whether the received character string satisfies the preset condition may be determining whether the received preset character string is the preset character string.
[0128] As another example, the preset condition may be that the received string is data passed from the second node to the first node in the integration flow, that is, the string is input data received by the first node. Accordingly, determining whether the received string satisfies the preset condition may be determining whether the received string satisfies the requirement that the received string is data passed from the second node to the first node in the integration flow. Alternatively, determining whether the received string satisfies the preset condition may be determining whether the received preset string is data passed from the second node to the first node in the integration flow. For example, if the data passed from the second node to the first node includes data A, determining whether the received string satisfies the preset condition may be determining whether the received string is data A. If the integration platform determines that the received string satisfies the preset condition, the string is encapsulated in a preset format. In this manner, when the string satisfies the preset condition, the string is encapsulated in the preset format, making it easier for users to distinguish the string that satisfies the preset condition from other elements. As an example, when the string is data passed from the second node to the first node in the integration flow, encapsulating the string in a preset style instead of displaying all content in the page in the same style can make it easier for users to distinguish between the input data received by the first node and other elements, thereby improving the user experience.
[0129] Regarding the preset styles, please refer to the relevant description above and will not be repeated here.
[0130] In the embodiment of the present disclosure, the information processing method shown in FIG. 2 and the information processing method shown in FIG. 4 may be combined or referenced with each other if there is no conflict.
[0131] Based on the methods provided in the above embodiments, an embodiment of the present disclosure further provides a device, which is described below in conjunction with the accompanying drawings.
[0132] 5 , which is a schematic diagram of the structure of an information processing device provided by an embodiment of the present disclosure, wherein the device 500 may specifically include: a first display unit 501 , a first acquisition unit 502 , and a processing unit 503 .
[0133] A first display unit 501 is configured to display a data setting interface in response to a first operation triggered on a first node in an integration flow, where the first node corresponds to a first business system;
[0134] A first acquiring unit 502 is configured to acquire a set target expression in response to an expression setting operation triggered on the data setting interface, wherein the expression setting operation is used to set an expression used to process the data associated with the first node;
[0135] The processing unit 503 is configured to process the target input data set in the data setting interface based on the target expression.
[0136] Optionally, a display style of the target input data in the target expression is different from a display style of other elements in the target expression.
[0137] Optionally, the target input data is packaged in a preset format.
[0138] Optionally, the device further includes:
[0139] a second display unit, configured to display at least one data candidate item in response to a triggering operation on first input data set in the data setting interface, wherein the first input data and the at least one data candidate item are both packaged in the preset format;
[0140] The first modifying unit is configured to modify the first input data into the target input data in response to a selection operation triggered on the target input data in the at least one data candidate item.
[0141] Optionally, the at least one data candidate is data transferred from the second node to the first node in the integration flow.
[0142] Optionally, the device further includes:
[0143] A second modification unit is used to modify the second input data into the edited target input data in response to an editing operation triggered by the second input data set in the data setting interface, wherein the data structure corresponding to the second input data is a nested structure, the data structure corresponding to the target input data is a sub-data structure of the nested structure corresponding to the second input data, and the second input data is encapsulated in the preset style.
[0144] Optionally, the target input data is set in the following manner:
[0145] The target input data input in the data setting interface is received.
[0146] Optionally, the target input data is set in the following manner:
[0147] In response to an operation directed to a third node in the integration flow triggered in the data setting interface, displaying at least one data transmitted by the third node to the first node, each data in the at least one data being encapsulated in the preset format;
[0148] In response to a selection operation triggered on target data among the at least one data, the target data is set as the target input data.
[0149] Optionally, the target input data is displayed in the target expression in a first preset style, the function in the target expression is displayed in a second preset style, and other elements in the target expression except the target input data and the function are displayed in a third preset style.
[0150] Since the device 500 is a device corresponding to the information processing method corresponding to Figure 2 provided in the above method embodiment, the specific implementation of each unit of the device 500 is based on the same concept as the above method embodiment. Therefore, regarding the specific implementation of each unit of the device 500, please refer to the relevant description part of the above method embodiment, and no further details will be given here.
[0151] 6 , which is a schematic structural diagram of another information processing device provided by an embodiment of the present disclosure, wherein the device 600 may specifically include: a providing unit 601 , a judging unit 602 , and a packaging unit 603 .
[0152] A providing unit 601 is configured to provide an input control for a user to perform an input operation;
[0153] A determination unit 602 is configured to, in response to receiving a character string in the input control, determine whether the received character string satisfies a preset condition;
[0154] The encapsulation unit 603 is configured to encapsulate the received character string in a preset format if the received character string meets a preset condition.
[0155] Optionally, the providing unit 601 is configured to:
[0156] In response to a first operation triggered on a first node in an integration flow, a data setting interface is displayed, the first node corresponds to a first business system, and the data setting interface includes the input control.
[0157] Optionally, the preset conditions include:
[0158] The received character string is data transferred from the second node to the first node in the integration flow.
[0159] Since the device 600 is a device corresponding to the information processing method corresponding to Figure 4 provided in the above method embodiment, the specific implementation of each unit of the device 600 is based on the same concept as the above method embodiment. Therefore, regarding the specific implementation of each unit of the device 600, please refer to the relevant description part of the above method embodiment, which will not be repeated here.
[0160] The present disclosure also provides a device, comprising a processor and a memory;
[0161] The processor is used to execute instructions stored in the memory, so that the device performs the information processing method described in any one of the above method embodiments.
[0162] An embodiment of the present disclosure provides a computer-readable storage medium, including instructions, wherein the instructions instruct a device to execute the information processing method described in any one of the above method embodiments.
[0163] An embodiment of the present disclosure provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the information processing method described in any one of the above method embodiments.
[0164] Those skilled in the art will readily recognize other embodiments of the present disclosure upon consideration of this disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The embodiments of this disclosure are to be considered merely as exemplary, and the true scope and spirit of the disclosure are indicated by the following claims.
[0165] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0166] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. An information processing method, comprising: In response to a first operation triggered on a first node in an integration flow, displaying a data setting interface, the first node corresponding to a first business system; In response to an expression setting operation triggered on the data setting interface, obtaining a set target expression, wherein the expression setting operation is used to set an expression used to process the data associated with the first node; The target input data set in the data setting interface is processed based on the target expression.
2. The method according to claim 1, wherein: The presentation style of the target input data in the target expression is different from the presentation styles of other elements in the target expression.
3. The method according to claim 2, wherein: The target input data is packaged in a preset format.
4. The method according to claim 3, further comprising: In response to a triggering operation on first input data set in the data setting interface, displaying at least one data candidate item, wherein the first input data and the at least one data candidate item are both packaged in the preset style; In response to a selection operation triggered on target input data in the at least one data candidate item, the first input data is modified to the target input data.
5. The method according to claim 4, wherein: The at least one data candidate is data transmitted from the second node in the integration flow to the first node.
6. The method according to claim 3, further comprising: In response to an editing operation triggered by second input data set in the data setting interface, the second input data is modified to the edited target input data, the data structure corresponding to the second input data is a nested structure, the data structure corresponding to the target input data is a sub-data structure of the nested structure corresponding to the second input data, and the second input data is encapsulated in the preset style.
7. The method according to claim 3, wherein: The target input data is set as follows: The target input data input in the data setting interface is received.
8. The method according to claim 3, wherein: The target input data is set as follows: In response to an operation directed to a third node in the integration flow triggered in the data setting interface, displaying at least one data transmitted by the third node to the first node, each data in the at least one data being packaged in the preset style; In response to a selection operation triggered on target data among the at least one data, the target data is set as the target input data.
9. The method according to claim 2, wherein: The target input data is displayed in the target expression in a first preset style, the function in the target expression is displayed in a second preset style, and other elements in the target expression except the target input data and the function are displayed in a third preset style.
10. An information processing method, comprising: Provide input controls for users to perform input operations; In response to receiving a character string in the input control, determining whether the received character string satisfies a preset condition; If the received character string meets the preset condition, the character string is encapsulated in a preset style.
11. The method according to claim 10, wherein: The input control provided for enabling the user to perform input operations includes: In response to a first operation triggered on a first node in an integration flow, a data setting interface is displayed, the first node corresponds to a first business system, and the data setting interface includes the input control.
12. The method according to claim 11, wherein: The preset conditions include: The received character string is data transmitted from the second node in the integration flow to the first node.
13. An information processing device, comprising: A first display unit is configured to display a data setting interface in response to a first operation triggered on a first node in the integration flow, the first node corresponding to a first business system; A first acquisition unit is configured to acquire a set target expression in response to an expression setting operation triggered on the data setting interface, wherein the expression setting operation is used to set an expression used to process the data associated with the first node; The processing unit is configured to process the target input data set in the data setting interface based on the target expression.
14. An information processing device, comprising: A providing unit, configured to provide an input control for a user to perform an input operation; a determination unit, configured to, in response to receiving a character string in the input control, determine whether the received character string satisfies a preset condition; The encapsulation unit is configured to encapsulate the character string in a preset style if the received character string meets a preset condition.
15. A device comprising a processor and a memory; wherein: The processor is configured to execute instructions stored in the memory, so that the device performs the method according to any one of claims 1 to 12.
16. A computer-readable storage medium comprising instructions, wherein: The instructions instruct the device to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Information display method, server, terminal and medium
CN112069422A
Font setting method and device and device for setting fonts
CN112486362A
Information processing method and device, equipment and medium
CN115756696A
Information processing method and device
CN116303723A
