A method for establishing a reference relationship, an electronic device, and a storage medium

By operating elements in the interactive interface to generate selection instructions, automatically associate reference values and display visual relationships, the problem of users familiar with message structure and positioning reference values during component writing is solved, and fast and accurate reference value transmission and error troubleshooting are achieved.

CN115061672BActive Publication Date: 2025-07-25PING AN BANK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210731908.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-25
Publication Date
2025-07-25
Estimated Expiration
2042-06-25

AI Technical Summary

Technical Problem

The prior art requires frequent references between elements during component writing, which involves learning costs for users to be familiar with the packet structure, manually writing reference values cannot locate the original location of the reference, and it is difficult to find writing errors when case execution fails.

Method used

By operating elements in the interactive interface to generate selection instructions, the reference values of the elements are automatically associated, and the reference values are displayed without manual input, and the reference values are realized and the referenced relationship is realized, so as to quickly locate the referenced elements.

Benefits of technology

It reduces writing errors caused by manual input, simplifies the component writing process, quickly locates referenced elements, and reduces the difficulty of troubleshooting when case execution fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061672B_ABST
    Figure CN115061672B_ABST
Patent Text Reader

Abstract

The present application discloses a method for establishing a reference relationship, an electronic device, and a storage medium. The method includes: in response to a first selection instruction generated by operating a first element in an interaction interface, selecting the first element of the interaction interface; in response to a second selection instruction generated by operating a second element in the interaction interface, associating the reference value of the second element with the first element, or associating the reference value of the first element with the second element. It is possible to assign values to elements without manual input, which can reduce writing errors that may occur during manual input. Moreover, the referenced element can be quickly located. When the case execution fails, since the reference value is generated by the referenced element, it is only necessary to check whether there are writing errors in the referenced element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and particularly to a method for establishing a reference relationship, an electronic device, and a storage medium. Background Art

[0002] Currently, during the process of writing components, it is necessary to frequently make upward and downward references to the values between elements. The current reference method is that users manually parse nodes according to the structure of the message. The deficiencies of this method are mainly as follows:

[0003] First, it requires users to be familiar with the message structure and related writing methods, which requires an investment in learning costs. Moreover, during the handwritten process, there may be situations where the reference becomes invalid due to writing errors.

[0004] Second, the manually written reference values cannot locate the original position of the referenced element either. To find the original field being referenced, it is necessary to search each node one by one according to the written field, which is time-consuming.

[0005] Third, when troubleshooting the reason for the failure of a case execution, it is necessary to check whether the error is in the original field or parameter itself or in the writing of the reference field or parameter. Summary of the Invention

[0006] To solve the above problems, this application provides at least a method for establishing a reference relationship, an electronic device, and a storage medium, which can simplify the process of writing components.

[0007] In the first aspect of this application, a method for establishing a reference relationship is provided, including: generating a first selection instruction in response to an operation on a first element in an interactive interface, and selecting the first element of the interactive interface; generating a second selection instruction in response to an operation on a second element in the interactive interface, and associating the reference value of the second element with the first element, or associating the reference value of the first element with the second element.

[0008] In the above solution, the assignment of elements can be achieved without manual input, which can reduce the writing errors that may be caused by manual input. Moreover, the referenced element can be quickly located. When the case execution fails, since the reference value is generated by the referenced element, it is only necessary to check whether there are writing errors in the referenced element.

[0009] In some embodiments, for the first selection instruction generated in response to operating the first element in the interaction interface, selecting the first element of the interaction interface includes: generating a first selection instruction in response to selecting the first element in the interaction interface, and displaying the reference value of the first element; for the second selection instruction generated in response to operating the second element in the interaction interface, associating the reference value of the first element with the second element includes: generating a second selection instruction in response to selecting the input position of the reference value of the second element in the interaction interface, and inputting the reference value of the first element to the input position of the second element.

[0010] By displaying the reference value of the first element and inputting the reference value of the first element to the input position of the second element, manual input is not required, reducing the writing errors that may be caused by manual input.

[0011] In some embodiments, for the second selection instruction generated in response to selecting the input position of the reference value of the second element in the interaction interface, inputting the reference value of the first element to the input position of the second element includes: generating the second selection instruction in response to dragging the reference value to the reference value input box of the second element and then releasing it, and inputting the reference value of the first element to the input box of the second element.

[0012] By dragging the reference value to the reference value input box of the second element and then releasing it to generate the second selection instruction, the transfer of the reference value can be achieved in a dragging manner, without manual input, reducing the writing errors that may be caused by manual input.

[0013] In some embodiments, the method further includes: in response to a third instruction to display the reference value input result on the interaction interface, displaying the reference value of the first element and the reference value of the second element.

[0014] Displaying the reference value of the first element and the reference value of the second element can visually show the reference value of the first element and the reference value of the second element.

[0015] In some embodiments, the method further includes: in response to a third instruction to display the reference value input result on the interaction interface, displaying the visual relationship between the reference element and the referenced element on the interaction interface; in response to a fourth instruction to modify the reference value, updating the reference value of the referenced element.

[0016] By the third instruction, displaying the visual relationship between the reference value and the referenced element, and by the fourth instruction, updating the reference value of the referenced element, it can be achieved that when the case execution fails, only the effect of the referenced element needs to be checked and changed.

[0017] In some embodiments, displaying the visual relationship between the reference element and the referenced element on the interactive interface includes: differentiating and displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes.

[0018] By differentiating and displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes, the position and reference value of the reference element and the position and reference value of the referenced element can be intuitively displayed.

[0019] In some embodiments, the first selection instruction generated in response to operating the first element in the interactive interface and selecting the first element on the interactive interface includes: generating a first selection instruction in response to clicking, double-clicking, or selecting the first element by dragging a selection box in the interactive interface, selecting the first element on the interactive interface, and simultaneously displaying the reference value of the first element.

[0020] By generating a first selection instruction by clicking, double-clicking, or selecting the first element by dragging a selection box, the reference value of the first element can be selected in multiple ways.

[0021] In some embodiments, the first element and the second element are located in the same component or different components.

[0022] The first element and the second element being located in the same component or different components enables the transfer of reference values between the same component or different components.

[0023] The second aspect of the present application provides an electronic device, including a memory and a processor coupled to each other, where the processor is configured to execute program instructions stored in the memory to implement the method for establishing a reference relationship in the first aspect above.

[0024] The third aspect of the present application provides a non-volatile computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the method for establishing a reference relationship in the first aspect above is implemented.

[0025] The above solution can assign values to elements without manual input, reduce possible writing errors caused by manual input, and simplify the writing process of components; moreover, the referenced element can be quickly located. When the case execution fails, since the reference value is generated by the referenced element, only the writing errors of the referenced element need to be checked.

[0026] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings here are incorporated into the specification and form a part of this specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to explain the technical solutions of the present application.

[0028] Figure 1 It is a schematic flowchart of an embodiment of a method for establishing a citation relationship of the present application.

[0029] Figure 2A It is a schematic diagram of the visualization effect of the citation relationship of the present application.

[0030] Figure 2B It is another schematic diagram of the visualization effect of the citation relationship of the present application.

[0031] Figure 3 It is a schematic framework diagram of an embodiment of an electronic device of the present application.

[0032] Figure 4 It is a schematic framework diagram of an embodiment of a non-volatile computer-readable storage medium of the present application. Detailed Embodiments

[0033] The following will combine the specification drawings to elaborate in detail on the solutions of the embodiments of the present application.

[0034] In the following description, specific details such as specific system architectures, interfaces, and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the present application.

[0035] The term "and / or" in this document is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after. In addition, "multiple" in this document means two or more than two. In addition, the term "at least one" in this document represents any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.

[0036] It should be noted that if the technical solution of this application involves personal information, before the product applying the technical solution of this application processes personal information, the personal information processing rules have been clearly informed and the individual's independent consent has been obtained. If the technical solution of this application involves sensitive personal information, before the product applying the technical solution of this application processes personal information, the individual's separate consent has been obtained and the requirements of "express consent" are met at the same time. For example, at a personal information collection device such as a camera, a clear and prominent sign is set to inform that the personal information collection range has been entered and personal information will be collected. If an individual voluntarily enters the collection range, it is regarded as consenting to the collection of their personal information; or on the device for personal information processing, when the personal information processing rules are informed by obvious identifiers / information, personal authorization is obtained through pop-up messages or by asking the individual to upload their personal information by themselves; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.

[0037] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an embodiment of the method for establishing a citation relationship in this application. The execution subject of the method for establishing a citation relationship can be a citation relationship establishment device. For example, the method for establishing a citation relationship can be executed by a terminal device, a server, or other processing devices. Among them, the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementation manners, the method for establishing a citation relationship can be implemented by a processor calling computer-readable instructions stored in a memory.

[0038] Specifically, as Figure 1 shown, the method may include the following steps:

[0039] Step S11: Select the first element on the interaction interface in response to a first selection instruction generated by operating the first element on the interaction interface.

[0040] The interaction interface is used to display at least one component in a process case. A component refers to a module that undertakes part of the functions in a process case, and an element refers to a partial constituent element in a component. For example, various parameters and fields in a component. The first element refers to the element first selected on the interaction interface, and the first selection instruction can be used to select the first element on the interaction interface. For example, by clicking, the first element on the interaction interface is selected.

[0041] Step S12: In response to a second selection instruction generated by operating a second element in the interaction interface, associate the reference value of the second element with the first element, or associate the reference value of the first element with the second element.

[0042] The second selection instruction can be used to select the second element and associate the reference values of the second element and the first element. After the association, the data structures of the first element and the second element will be automatically generated according to preset rules. For example: According to the actual situation, it can be set to associate the reference value of the second element with the first element, that is, the second element is the referenced element and the first element is the referencing element, or it can be set to associate the reference value of the first element with the second element, that is, the second element is the referencing element and the first element is the referenced element. In other words, the reference relationship between the first element and the second element is set according to the actual situation, and has no direct relationship with the operation order and selection order. Moreover, their data structures are automatically generated according to the reference relationship between the first element and the second element.

[0043] In this embodiment, by associating the reference values of elements through the first selection instruction and the second selection instruction, the assignment of elements can be achieved without manual input, which can reduce the writing errors that may be caused by manual input. Moreover, the referenced elements can be quickly located. When the case execution fails, since the reference value is generated by the referenced element, only the writing errors of the referenced element need to be checked.

[0044] As described above, in response to a first selection instruction generated by operating a first element in the interaction interface, the first element in the interaction interface is selected. In some embodiments, in response to a first selection instruction generated by operating a first element in the interaction interface, selecting the first element in the interaction interface includes: in response to a first selection instruction generated by selecting the first element in the interaction interface, displaying the reference value of the first element; in response to a second selection instruction generated by operating a second element in the interaction interface, associating the reference value of the first element with the second element includes: in response to a second selection instruction generated by selecting the input position of the reference value of the second element in the interaction interface, inputting the reference value of the first element to the input position of the second element.

[0045] In response to a first selection instruction generated by selecting the first element in the interaction interface, the reference value of the first element is displayed. In some embodiments, the reference value of the first element is displayed in a preset display area in the interaction interface. In other embodiments, the reference value of the first element is displayed in the area where the first element is selected. For example: Click and select the first element in the interaction interface, so as to display the reference value of the first element at the click position. For another example, click and select the first element in the interaction interface, and display the reference value of the first element in a preset area.

[0046] The second instruction is generated in response to selecting the reference value input position of the second element in the interaction interface. In other words, the second selection instruction is used to select the reference value input position of the second element and input the reference value of the first element into the input position of the second element, completing the process of associating the reference value of the first element with the second element. It should be noted that the second selection instruction can also display the reference value of the second element and associate the reference value of the second element with the first element, which will not be elaborated here. Subsequently, the example of associating the first element with the second element will be used for illustration.

[0047] In this embodiment, by displaying the reference value of the first element and inputting the reference value of the first element into the input position of the second element, manual input is not required, reducing the writing errors that may be caused by manual input.

[0048] Optionally, the second selection instruction generated in response to selecting the reference value input position of the second element in the interaction interface inputs the reference value of the first element into the input position of the second element. In some embodiments, the second selection instruction generated in response to selecting the reference value input position of the second element in the interaction interface and inputting the reference value of the first element into the input position of the second element includes: the second selection instruction generated in response to dragging the reference value to the reference value input box of the second element and then releasing it inputs the reference value of the first element into the input box of the second element. Or:

[0049] Select the reference value of the first element, drag the reference value of the first element to the reference value input box of the second element, release the reference value of the first element and generate the second selection instruction to input the reference value of the first element into the input box of the second element, and the reference value of the first element can be displayed in the interaction interface according to a preset rule. For example: display the reference value of the first element in real time during the dragging process, and set its display trajectory and time to be the same as the dragging trajectory and time. Another example: display the reference value of the first element in a preset display area in the interaction interface during the dragging process.

[0050] In this embodiment, by dragging the reference value to the reference value input box of the second element and then releasing it to generate the second selection instruction, the transfer of the reference value can be achieved in a dragging manner, without manual input, reducing the writing errors that may be caused by manual input.

[0051] Optionally, the reference value of the first element and the reference value of the second element can be displayed through a third instruction. In some embodiments, the method for establishing the reference relationship further includes: in response to the third instruction for displaying the reference value input result on the interaction interface, displaying the reference value of the first element and the reference value of the second element.

[0052] The third instruction can be used to simultaneously display the reference values of the first element and the second element on the interactive interface. For example, when a first element is associated with one or more second elements, the third instruction can be used to simultaneously display the reference value of the first element and the reference values of one or more second elements. Moreover, according to the actual situation, the positions where the reference value of the first element and the reference values of one or more second elements appear can also be displayed.

[0053] In this embodiment, displaying the reference values of the first element and the second element can intuitively show the reference values of the first element and the second element.

[0054] As described above, the reference values of the first element and the second element can be displayed through the third instruction. In some embodiments, the method for establishing the reference relationship further includes: in response to the third instruction for displaying the reference value input result on the interactive interface, displaying the visual relationship between the reference element and the referenced element on the interactive interface; in response to the fourth instruction for modifying the reference value, updating the reference value of the referenced element.

[0055] At this time, please refer to Figure 2A , Figure 2A which is a schematic diagram of the visualization effect of the reference relationship in this application. As shown in the figure, the names, reference values, and positions of the reference element and the names, reference values, and positions of the referenced element are visually displayed in the form of a list. The position is the path information in the figure. According to the actual situation, the referenced element can be set to be preferentially displayed.

[0056] Furthermore, when you want to understand the situation of a certain element in detail, you can select the corresponding element in the visual list to expand and display the situation of that element. At this time, please refer to Figure 2B , Figure 2B which is another schematic diagram of the visualization effect of the reference relationship in this application. As shown in the figure, the referenced element is expanded and displayed.

[0057] Furthermore, the reference value can be modified through the fourth instruction. When the reference value of the referenced element is modified, the reference values of all reference elements that reference it are also updated accordingly. For example, when an error occurs during the execution of a case, the reference value of the reference element is modified. At this time, there is no need to manually change the reference values of the reference elements that reference it, but the reference values of the reference elements are automatically updated.

[0058] In this embodiment, by using the third instruction to display the visual relationship between the reference value and the referenced element, and using the fourth instruction to update the reference value of the referenced element, it is possible to achieve the effect of only checking and changing the referenced element when the case execution fails.

[0059] As described above, the visual relationship between the reference element and the referenced element on the interaction interface can be displayed through the third instruction. In some embodiments, displaying the visual relationship between the reference element and the referenced element on the interaction interface includes: distinguishing and displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes.

[0060] Display the visual relationship between the reference element and the referenced element on the interaction interface. Further, distinguish and display the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes. For example: display the reference element in orange and the referenced element in yellow. Another example: display the reference element in a smaller font and the referenced element in a larger font. Or, use a combination of different background colors, fonts, and font sizes according to the actual situation to distinguish and display the reference element and the referenced element.

[0061] In this embodiment, by distinguishing and displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes, the position and reference value of the reference element and the position and reference value of the referenced element can be intuitively displayed.

[0062] As described above, in response to the first selection instruction generated by operating the first element in the interaction interface, the first element in the interaction interface is selected. In some embodiments, the first selection instruction generated by operating the first element in the interaction interface and selecting the first element in the interaction interface includes: the first selection instruction generated in response to clicking, double-clicking, or marqueeing the first element in the interaction interface, selecting the first element in the interaction interface and simultaneously displaying the reference value of the first element.

[0063] The first selection instruction can be used to select the first element. For example, generate the first selection instruction by clicking the first element, select the first element in the interaction interface and simultaneously display the reference value of the first element. Another example: generate the first selection instruction by double-clicking the first element, select the first element in the interaction interface and simultaneously display the reference value of the first element. Or, generate the first selection instruction by marqueeing the first element, select the first element in the interaction interface and simultaneously display the reference value of the first element.

[0064] In this embodiment, generate the first selection instruction by clicking, double-clicking, or marqueeing the first element to realize selecting the reference value of the first element in multiple ways.

[0065] In some embodiments, the first element and the second element are located in the same component or different components.

[0066] A component refers to a module that undertakes part of the functions in a process case. The first element and the second element can be located in the same component or different components. When the first element and the second element are in the same component, the reference value is passed between the same components through the first selection instruction and the second selection instruction. When the first element and the second element are in different components, the reference value is passed between different components through the first selection instruction and the second selection instruction.

[0067] In this embodiment, the first element and the second element are located in the same component or different components, and the transfer of the reference value between the same component or different components can be realized.

[0068] Those skilled in the art can understand that in the above method of the specific implementation manner, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0069] The above solution can realize the assignment of the reference field, reduce the writing errors that may be caused by manual input, and moreover, the original field of the reference can be quickly located. When the case execution fails, since the reference value is generated from the original field value, and the data structures of the first element and the second element are automatically generated according to their reference relationships, only the writing errors of the original field need to be checked.

[0070] In some embodiments, the first selection instruction generated in response to operating the first element in the interaction interface, and selecting the first element in the interaction interface includes: the first selection instruction generated in response to selecting the first element in the interaction interface, and displaying the reference value of the first element; the second selection instruction generated in response to operating the second element in the interaction interface, and associating the reference value of the first element with the second element includes: the second selection instruction generated in response to selecting the input position of the reference value of the second element in the interaction interface, and inputting the reference value of the first element to the input position of the second element.

[0071] In some embodiments, the second selection instruction generated in response to selecting the input position of the reference value of the second element in the interaction interface, and inputting the reference value of the first element to the input position of the second element includes: the second selection instruction generated in response to dragging the reference value to the reference value input box of the second element and then releasing it in the interaction interface, and inputting the reference value of the first element to the input box of the second element.

[0072] In some embodiments, the method further includes: in response to a third instruction for displaying the reference value input result on the interaction interface, displaying the reference value of the first element and the reference value of the second element.

[0073] In some embodiments, the method further includes: in response to a third instruction to display the input result of a reference value on the interaction interface, displaying the visual relationship between the reference element and the referenced element on the interaction interface; in response to a fourth instruction to modify the reference value, updating the reference value of the referenced element.

[0074] In some embodiments, displaying the visual relationship between the reference element and the referenced element on the interaction interface includes: distinguishing and displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes.

[0075] In some embodiments, the first selection instruction generated in response to operating a first element in the interaction interface and selecting the first element of the interaction interface includes: in response to a first selection instruction generated by clicking, double-clicking, or selecting a first element in a box in the interaction interface, selecting the first element of the interaction interface and simultaneously displaying the reference value of the first element.

[0076] In some embodiments, the first element and the second element are located in the same component or different components.

[0077] Please refer to Figure 3 , Figure 3 FIG. is a schematic framework diagram of an embodiment of an electronic device according to the present application. The electronic device 30 includes a memory 31 and a processor 32 that are coupled to each other. The processor 32 is configured to execute program instructions stored in the memory 31 to implement the steps of the method embodiment for establishing any of the above reference relationships. In a specific implementation scenario, the electronic device 30 may include, but is not limited to: a microcomputer, a server. In addition, the electronic device 30 may further include mobile devices such as a laptop computer, a tablet computer, etc., which are not limited herein.

[0078] Specifically, the processor 32 is used to control itself and the memory 31 to implement the steps of the method embodiment for establishing any of the above reference relationships. The processor 32 may also be referred to as a CPU (Central Processing Unit). The processor 32 may be an integrated circuit chip with the ability to process signals. The processor 32 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Additionally, the processor 32 may be implemented jointly by integrated circuit chips.

[0079] Please refer to Figure 4 , Figure 4 FIG. is a schematic framework diagram of an embodiment of the non-volatile computer-readable storage medium 40 of the present application. The non-volatile computer-readable storage medium 40 stores program instructions 401 that can be run by the processor, and the program instructions 401 are used to implement the steps of the method embodiment for establishing any of the above reference relationships.

[0080] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.

[0081] The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments. Their similarities or similarities can be referred to each other. For the sake of brevity, they will not be repeated in this article.

[0082] In several embodiments provided by the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0083] In addition, each functional unit in various embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

Claims

1. A method for establishing a reference relationship, characterized in that, Including: During the writing of the component, in response to a first selection instruction generated by operating a first element in the interaction interface, selecting the first element of the interaction interface; In response to a second selection instruction generated by operating a second element in the interaction interface, associating a reference value of the second element with the first element, where the first element and the second element are in the same component or different components; Among them, the step of, in response to a first selection instruction generated by operating a first element in the interaction interface, selecting the first element of the interaction interface includes: In response to a first selection instruction generated by selecting the first element in the interaction interface, displaying the first element and the reference value of the first element in a preset area in the interaction interface; The step of, in response to a second selection instruction generated by operating a second element in the interaction interface, associating the reference value of the first element with the second element includes: In response to a second selection instruction generated by dragging the reference value to the reference value input box of the second element and then releasing it in the interaction interface, inputting the reference value of the first element into the input box of the second element; In response to a third instruction to display the reference value input result on the interaction interface, displaying the visual relationship between the reference element and the referenced element on the interaction interface.

2. The method according to claim 1, wherein The method further includes: In response to a third instruction to display the reference value input result on the interaction interface, displaying the reference value of the first element and the reference value of the second element.

3. The method for establishing the citation relationship as described in claim 1, characterized in that, The method further includes: In response to a fourth instruction to modify the reference value; Updating the reference value of the referenced element.

4. The method for establishing the citation relationship according to claim 3, characterized in that, The step of displaying the visual relationship between the reference element and the referenced element on the interaction interface includes: Differentially displaying the reference value of the reference element and the reference value of the referenced element with different background colors, fonts, and font sizes.

5. The method for establishing a reference relationship according to claim 1, wherein: The step of, in response to a first selection instruction generated by operating a first element in the interaction interface, selecting the first element of the interaction interface includes: In response to a first selection instruction generated by clicking, double-clicking, or selecting a first element in a box in the interaction interface, selecting the first element of the interaction interface and simultaneously displaying the reference value of the first element.

6. An electronic device, characterized in that, Including a mutually coupled memory and a processor, the processor is used to execute program instructions stored in the memory to implement the method for establishing a reference relationship according to any one of claims 1 to 5.

7. A non-volatile computer-readable storage medium having program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the method for establishing a reference relationship according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Data insertion method and device, equipment and storage medium

    CN114564924A