Page content linkage method and device, electronic equipment and storage medium

By setting the control parameters and control methods in the business system, the key value of the target control parameters is in response to the change operation of the target control parameters, the content of the page is changed, and the problem of loose relationships inside a single business page is solved. The needs of complex content linkage relationships.

CN119376784AActive Publication Date: 2025-01-28广东省人民代表大会常务委员会办公厅 +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411521920.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-01-28
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

When building a business system in the existing technology, the direct relationship within a single business page is loose and cannot be interactively linked, resulting in point-to-point linkage between functional cards forming a mesh call relationship, which increases the complexity of system management and development workload, and reduces the functions. Card reusability.

Method used

By in the page content linkage method, determine the first functional card of the content linkage relationship in multiple functional cards on the target page, set the control parameters and control methods, and in response to the key value change operation of the target control parameter, change the page content, realize the realization, realize the realization The decoupling and reuse of functional cards.

Benefits of technology

Realize the satisfaction of the complex content linkage relationship in the page content, improve the reuse of functional cards, reduce the system development workload, and reduce the complexity of page management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376784A_ABST
    Figure CN119376784A_ABST
Patent Text Reader

Abstract

The invention discloses a page content linkage method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: determining a first function card with a content linkage relationship in a plurality of function cards of a target page, and determining a card content parameter corresponding to the first function card; determining a control parameter and a control mode of the control parameter according to a setting operation for the card content parameter; and in response to the key value change operation on the target control parameter, determining a target control mode corresponding to the target control parameter, and changing the page content of the target page based on the target control mode. According to the technical scheme, the complex content linkage relation in the page content can be met, and the reusability of the function card can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for linking page content. Background Art

[0002] When building a business system, business pages are generally built through various configuration tools, and various pages are connected and managed through system menus or page-related elements to obtain a business system. For the business system, the direct relationship within a single business page is loose and cannot be interactively linked. In order to solve this defect, the current method is to encapsulate the different contents of the pages output by different configuration tools into function cards, and combine and splice different function cards to obtain the pages required by the business.

[0003] However, this point-to-point linkage between function cards is a mesh calling relationship; when a page involves more function cards and the content linkage relationship between the function cards is complex, there will be problems such as a surge in calling methods, confusion in calling relationships, and a large amount of configuration workload. In addition, the original intention of the function card design was to improve reuse and reduce the development workload of the system. When the function cards are called point-to-point, the function cards involved cannot be directly reused in other page scenarios, which reduces the reusability of the function cards. Therefore, designing a page content linkage method that can meet the complex content linkage relationship in the page content and improve the reusability of function cards has become an urgent problem to be solved. Summary of the invention

[0004] The present application provides a page content linkage method, device, electronic device and storage medium, which can meet the complex content linkage relationship in the page content and improve the reusability of function cards.

[0005] In a first aspect, the present application provides a method for linking page content, wherein a target page includes multiple content blocks, each content block corresponds to a function card, and the function card is used to display content information of the content block; the method comprises:

[0006] Determine a first function card having a content linkage relationship among the multiple function cards of the target page, and determine a card content parameter corresponding to the first function card;

[0007] Determining control parameters and control methods of the control parameters according to the setting operation for the card content parameters, wherein the control parameters are used to control the page content of the target page;

[0008] In response to a key value change operation on a target control parameter, a target control mode corresponding to the target control parameter is determined, and the page content of the target page is changed based on the target control mode.

[0009] Furthermore, in response to a key value change operation on a target control parameter, a target control mode corresponding to the target control parameter is determined, including: if the key value change operation is a change to the key value of the target control parameter in a target function card, then the target control mode corresponding to the target control parameter in the target function card is determined, the target control mode includes local control or no control, and the target function card is one of the first function cards; if the key value change operation is a change to the key value of an input parameter of a target method function, then the input parameter is determined as the target control parameter, the target control mode of the target control parameter is determined to be global control, and the target method function is configured in the target page.

[0010] Furthermore, when the target control mode is the local control, the page content of the target page is changed based on the target control mode, including: rewriting the preset change function based on the key value of the changed target control parameter to obtain the target change function; determining the second function card containing the target control parameter from the first function card by executing the target change function, and changing the content information of the second function card to achieve the change of the page content of the target page; wherein, the second function card includes the target function card.

[0011] Furthermore, when the target control mode is the global control; the page content of the target page is changed based on the target control mode, including: using the key value of the changed target control parameter as the input parameter of the target method function; determining a third function card containing the target control parameter from the multiple function cards by executing the target method function, and changing the content information of the third function card to achieve the change of the page content of the target page.

[0012] Furthermore, the number of the first function cards is at least two; determining the card content parameters corresponding to the first function cards includes: obtaining basic attribute information of each function card in the first function cards; obtaining the corresponding card configuration address from the basic attribute information of each function card; identifying the card configuration address to obtain the card content parameters corresponding to each function card.

[0013] Furthermore, according to the setting operation of the card content parameters, the control parameters and the control method of the control parameters are determined, including: receiving a selection operation of the card content parameters corresponding to each function card in the first function card, and determining the control parameters corresponding to each function card from the card content parameters; receiving a setting operation for each control parameter, and determining the control method of each control parameter, and the control method includes no control, local control and global control.

[0014] Furthermore, after determining the control parameters and the control method of the control parameters, it also includes: determining from the control parameter list that the control method is a global control parameter of the global control; obtaining an initial method function pre-customized in the target page; determining the global control parameter as an input parameter of the initial method function to obtain a target method function; removing the global control parameter from the control parameter list, and determining the component corresponding to the global control parameter as the target component of the target method function in the target page.

[0015] In a second aspect, the present application provides a linkage device for page content, wherein a target page includes multiple content blocks, each content block corresponds to a function card, and the function card is used to display content information of the content block; the device includes:

[0016] A first information determination module, used to determine a first function card having a content linkage relationship among the multiple function cards on the target page, and determine a card content parameter corresponding to the first function card;

[0017] A second information determination module, used to determine a control parameter and a control method of the control parameter according to a setting operation for the card content parameter, wherein the control parameter is used to control the page content of the target page;

[0018] The page content changing module is used to determine the target control mode corresponding to the target control parameter in response to the key value changing operation on the target control parameter, and change the page content of the target page based on the target control mode.

[0019] In a third aspect, the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page content linkage method described in any embodiment of the present application.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page content linkage method described in any embodiment of the present application when executed.

[0021] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the page content linkage method described in any embodiment of the present application.

[0022] In order to solve the defects of the prior art in the background technology, the embodiment of the present application provides a linkage method for page content, and the execution of the method can bring the following beneficial effects: in the configuration stage of the function card, the first function card with a content linkage relationship in the target page is registered and configured, and the control parameters and control methods for linkage are set for the function card, so as to realize the decoupling of the function card with content linkage relationship, improve the reusability of the function card, and reduce the workload of system development. In the operation stage of the function card, the content information of the function card related to the target control parameter is changed by changing the key value of the component corresponding to the target control parameter, and finally the linkage effect of the page content is achieved. By setting different forms of control methods, the present application changes the original point-to-point call mesh card relationship in the complex call page into a star relationship between the card and the page. The card is no longer associated with the card call, but with the page, which reduces the management complexity of the page, can meet the complex content linkage relationship in the page content, and can improve the reusability of the function card.

[0023] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the page content linkage device, or may be packaged separately from the processor of the page content linkage device, and this application does not limit this.

[0024] The description of the second, third, ..., and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, ..., and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0025] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.

[0026] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0028] Figure 1 A schematic diagram of a flow chart of a method for linking page content provided in an embodiment of the present application;

[0029] Figure 2 A schematic diagram of the registration interface of a function card provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of the structure of a linkage device for page content provided in an embodiment of the present application;

[0031] Figure 4 It is a block diagram of an electronic device used to implement a page content linkage method of an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0033] It should be noted that the terms "first", "second", "target", and "original" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having", and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0034] Figure 1 A flow chart of a method for linking page content provided in an embodiment of the present application, the present embodiment is applicable to the case where page content linkage is achieved by setting control parameters for different function cards in a page. A method for linking page content provided in the present embodiment can be executed by a page content linkage device provided in an embodiment of the present application, the device can be implemented by software and / or hardware, and integrated in an electronic device that executes the method. Preferably, the electronic device of the present application can be a microprocessor for implementing page content linkage. It should be noted that the method for linking page content of the present application includes a configuration phase for function cards and an operation phase for function cards, and the configuration phase can also be divided into a function card registration sub-phase and a page configuration sub-phase.

[0035] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:

[0036] S110: Determine a first function card having a content linkage relationship among multiple function cards on the target page, and determine a card content parameter corresponding to the first function card.

[0037] Among them, the business system may include multiple pages, and the target page is one of the multiple pages. The target page can be divided into multiple content blocks according to a preset division standard, and the target page may include multiple content blocks. A corresponding function card can be made for each of the multiple content blocks, and each content block corresponds to a function card. The function card is used to display the content information of the content block, so the target page may include multiple function cards. The card content parameters refer to the parameters related to the content information in the content block corresponding to the card. This step is the function card registration sub-stage in the function card configuration stage.

[0038] In an embodiment of the present application, after various configuration tools have configured or developed the target content and packaged it into multiple function cards, the microprocessor registers the function card in the page registration management module. When registering a function card, in the basic settings of the function card, it is necessary to register basic attribute information such as the card name, affiliation division, organizational structure, card terminal type (server, mobile), card configuration address, and card rendering address. The microprocessor also needs to determine the first function card with a content linkage relationship from the multiple function cards of the target page, and in the advanced settings of the function card, set parameter linkage for these first function cards. Among them, the content linkage relationship refers to the linkage communication between different function cards in the target page.

[0039] like Figure 2The figure shows a schematic diagram of the registration interface of the function card, which illustrates the interface for registering the function card after the target content is packaged into the function card, and includes basic settings and advanced settings.

[0040] Specifically, the number of first function cards is at least two; determining the card content parameters corresponding to the first function card includes: the microprocessor obtains the basic attribute information of each function card in the first function card; obtains the corresponding card configuration address from the basic attribute information of each function card, such as a uniform resource locator (URL); automatically parses and identifies the card configuration address to obtain the card content parameters corresponding to each function card, such as block parameters and date parameters.

[0041] It should be noted that the parameter naming in the URL of each function card must follow a unified parameter naming specification. For data-intensive systems, the parameters in the URL are best named according to the metadata field names in the data model to ensure that the control parameters selected by each card can remain consistent in subsequent page configurations and can be mapped to a unified page component. For example: the metadata field in the data model refers to the field in the entity table that constitutes the data model. The system corresponds to different page components based on the data type of the metadata field in the data model. For example, the int type can correspond to a digital component, a single-select drop-down component, a single-select checkbox component, etc.

[0042] S120: Determine control parameters and control methods of the control parameters according to the setting operation of the card content parameters.

[0043] Among them, the control parameters are used to control the page content of the target page. The control parameters are selected by the user from the card content parameters based on the functional requirements of the actual business system. The setting operation refers to the card registration operation performed by the user through the client in the function card setting interactive interface. This step is also the function card registration sub-stage in the function card configuration stage.

[0044] Specifically, according to the setting operation of the card content parameter, the control parameter and the control method of the control parameter are determined, including:

[0045] The first step is to receive a selection operation on a card content parameter corresponding to each function card in the first function card, and determine a control parameter corresponding to each function card from the card content parameter.

[0046] For the current function card in the first function card, the microcontroller parses and identifies the card configuration address corresponding to the current function card, obtains the card content parameters corresponding to the current function card, and displays the card content parameters of the current function card to the user in the function card setting interactive interface of the client. The user selects the control parameters corresponding to the current function card from the card content parameters of the current function card in the interactive interface. According to this method, each function card in the first function card is traversed to obtain the control parameters corresponding to each function card.

[0047] Exemplarily, function card X, function card Y, and function card Z are registered respectively; the user selects the card content parameters corresponding to each function card, and the control parameters corresponding to function card X are parameter 1, parameter 2, and parameter 3, the control parameters corresponding to function card Y are parameter 2, parameter 3, and parameter 4, and the control parameters corresponding to function card Z are parameter 4, parameter 1, and parameter 5. The parameter names of the above parameters 1, 2, 3, and 4 must be consistent when registering different function cards, such as parameter 1 is named consistently in function card X and function card Z.

[0048] The second step is to receive the setting operation of each control parameter and determine the control mode of each control parameter, which includes no control, local control and global control.

[0049] When configuring the control parameters of each function card, the microcontroller generates a corresponding control mode selection box for each control parameter. The user selects the control mode corresponding to the control parameter in the selection box, thereby determining the control mode of each control parameter. The control modes include no control, local control and global control.

[0050] Among them, no control means that the function card corresponding to this control parameter does not control (is not associated with) other function cards, that is, when the key value of this control parameter is changed, only the content information of the function card where this control parameter is located can be changed, and the content information of other function cards will not be changed. Local control means that the function card corresponding to this control parameter controls (is associated with) other function cards, that is, when the key value of this control parameter is changed, not only the content information of the function card where this control parameter is located can be changed, but also the content information of other function cards. Global control refers to this common control parameter on the page, which can control (associate) all cards on the page where it is located. The global control in this embodiment is achieved by defining a method function without input parameters in the page, and using the control parameters in a function card as the input parameters of this solution function. The method function can be stored in the card for implementation, and this method function can be called in the page to realize the linkage of the page content.

[0051] Exemplarily, continuing with the previous example, when registering function card X, function card Y, and function card Z, the user selects the control method of the control parameters in each function card, and can set parameter 1 and parameter 3 of function card X to not enable control, and parameter 2 to enable local control; parameter 2 and parameter 3 of function card Y to not enable control, and parameter 4 to enable local control; parameter 4 of function card Z to enable local control, and parameter 1 and parameter 5 to not enable control.

[0052] Preferably, the specific process of the page configuration sub-phase of the configuration phase is: determine multiple function cards corresponding to the target page, and layout these function cards in the canvas of the page configurator. When it comes to the linkage setting of function cards, the control parameters of all function card configurations of the current configuration page are deduplicated and displayed in a list, and the list displays the control parameters (unchangeable), parameter names (default metadata field names), initial values ​​(set to fill in), whether to display the corresponding components on the page check box, etc. Allow the configuration personnel to sort the control parameters, corresponding to the display order of the page components on the page.

[0053] It should be noted that, considering that the linkage of function cards depends on the control parameters in the URL of each function card, a unified naming convention is required for the control parameters of the same dimension to ensure that the function card content output by different configuration tools can be displayed and controlled through the same common control parameters when needed, achieving the effect of "one move affects the whole body".

[0054] Exemplarily, continuing with the previous example, when configuring page P of a business application, if page P includes function card X, function card Y, and function card Z, the configuration personnel drag these three function cards into the canvas. The microprocessor identifies the control parameters involved in the dragged function cards, and deduplicates these control parameters to obtain a control parameter list, such as parameter 1, parameter 2, parameter 3, parameter 4, and parameter 5. Set the Chinese name, initial value, whether to display the corresponding component to the page, and other configuration items for each control parameter in the control parameter list. You can also set parameter 1 and parameter 3 as input parameters of the method function in the page to display the corresponding components on the page. Save the page configuration to publish the page and mount it on the corresponding application menu.

[0055] Furthermore, after determining the control parameters and the control method of the control parameters, it also includes: determining the global control parameters whose control method is global control from the control parameter list, that is, the method input parameters in the function card; obtaining the initial method function pre-customized in the target page; determining the global control parameters as the input parameters of the initial method function to obtain the target method function; removing the global control parameters from the control parameter list, and determining the component corresponding to the global control parameter as the target component of the target method function in the target page.

[0056] Optionally, when a function card containing global control parameters is dragged into the page configurator, the displayed Chinese name and initial value of the input parameter need to be set. The corresponding component of the input parameter is displayed on the page by default.

[0057] S130 . In response to a key value change operation on a target control parameter, determine a target control mode corresponding to the target control parameter, and change page content of the target page based on the target control mode.

[0058] After the configured page is mounted to the application menu in the business application, it can be accessed through the application system menu. This step is the operation stage of the function card, which realizes changing the page content that has a content linkage relationship with the control key value by changing the control parameter key value.

[0059] Specifically, in response to a key value change operation on a target control parameter, a target control mode corresponding to the target control parameter is determined, including: if the key value change operation is a change to the key value of the target control parameter in the target function card, since the control modes of the same control parameter in different function cards may be different, such as: parameter 2 enables local control in function card X, and does not enable control in function card Y; then it is necessary to determine the target control mode corresponding to the target control parameter in the target function card, the target control mode includes local control or no control, and the target function card is one of the first function cards. If the key value change operation is a change to the key value of the input parameter of the target method function, or a modification of the key value of the method input parameter in the target function card, that is, a method of controlling all function cards through the page, the input parameter is determined as the target control parameter, that is, the global control parameter mentioned above, and the target control mode of the target control parameter is determined to be global control, and the target method function is configured in the target page.

[0060] The card and the page can be controlled globally by the content operation on the page to control the content information of the function card, which can be called positive linkage; or the content operation change of the function card can affect the content information of the page through local control, which can be called reverse linkage.

[0061] Furthermore, when the target control mode is local control, the page content of the target page is changed based on the target control mode, including: rewriting the preset change function based on the key value of the changed target control parameter to obtain the target change function; determining the second function card containing the target control parameter from the first function card by executing the target change function, and changing the content information of the second function card to achieve the change of the page content of the target page; wherein, the second function card includes the target function card.

[0062] In the embodiment of the present application, by switching the key value of the control parameter inside the function card and modifying the key value of the control parameter in the card URL, the function card window calls the preset change function by default, such as the Replace State method. The page replaces the original method by rewriting the Replace State method, modifies the value of the corresponding page control parameter in the rewritten method, and then controls the display content of the function card involving the control parameter in the page.

[0063] For example, continuing with the previous example, the user operates the key value of the component corresponding to parameter 2 in function card X. Because it is configured with local control, the key value of parameter 2 in the URL of card X can be modified through this operation. By calling the overridden Replace State method, the content display of function card Y containing control parameter 2 can be changed.

[0064] Furthermore, when the target control mode is no control; the page content of the target page is changed based on the target control mode, including: by changing the key value of the target control parameter, only the content information of the target function card corresponding to the target control parameter is changed.

[0065] For example, continuing with the previous example, the user operates the component key value corresponding to the control parameter 2 in the function card Y. Since it is not configured with local control, the above operation will not affect the content display of the function card X.

[0066] Furthermore, when the target control mode is global control; the page content of the target page is changed based on the target control mode, including: using the key value of the changed target control parameter as the input parameter of the target method function; determining a third function card containing the target control parameter from multiple function cards by executing the target method function, and changing the content information of the third function card to achieve the change of the page content of the target page.

[0067] In an embodiment of the present application, for a function card involving a "method input parameter setting" for a method function used for linkage in a page, a user can change the key value of a component corresponding to the method input parameter by operating the component in the page. This change will be detected by the page. At this time, the page replaces the content of the current method input parameter to call the "linkage method" implemented by the corresponding input parameter card, thereby controlling the content display of the corresponding function card.

[0068] Exemplarily, continuing with the previous example, the user switches the key value of component M by operating component M corresponding to parameter 1, the microprocessor modifies the key value of parameter 1 in the URL of function card X and function card Z, and the page control changes the display content of function card X and function card Z.

[0069] The advantages of setting different forms of control methods in this embodiment are: 1. The original point-to-point call mesh card relationship in the complex call page is changed into a star-shaped relationship between the card and the page. The card is no longer associated with the card call, but with the page, which reduces the management complexity of the page. 2. There is no need to combine two function cards with content linkage relationship together, and they do not need to appear in pairs. Instead, if a combination is required, parameter association is performed to decouple the function cards with content linkage relationship, improve the reusability of function cards, and reduce the workload of system development. 3. By using the parameters of the URL corresponding to the card content, the parameter value of the card URL is modified through the key value of the common parameter component displayed on the page to realize the linkage of the content information of the card; reversely, the default method Replace State overwritten by operating the card content is called to modify the parameter value of the URL (or modify the key value of the page control variable) to synchronously modify the same parameter value in the URL of other function cards on the page, so as to realize the effect of page control function card and function card affecting page. 4. For existing function cards that cannot be modified, the card content parameters (such as URL parameters) of the function card can be modified without modifying the existing function card, and the function card linkage effect can also be realized. 5. When the content information of the function card cannot be controlled by modifying the URL parameters, by setting the method input parameters (i.e., global control parameters) for the function card, when the page detects that the method input parameters have been modified, the page content information can be flexibly controlled by calling the linkage method function.

[0070] In the data coordination system of this embodiment, the parameter definition of the card content URL can be defined in combination with the metadata in the data model, that is, the URL parameters of the card content all come from the metadata in the data model. This can not only ensure the standardization and uniformity of the URL parameter definition, but also achieve the effect of linking multiple places (i.e. "one move affects the whole body") when different functional cards use the same metadata.

[0071] In an achievable embodiment, for card content parameters (such as a card URL parameter list) extracted from a page, corresponding card control variables may be separately defined in the card for uniformly receiving and managing mappings corresponding to the parameters.

[0072] The technical solution provided in this embodiment determines the card content parameters corresponding to the first function card by determining the first function card that has a content linkage relationship among multiple function cards of the target page; determines the control parameters and the control method of the control parameters according to the setting operation of the card content parameters; determines the target control method corresponding to the target control parameter in response to the key value change operation of the target control parameter, and changes the page content of the target page based on the target control method. In the configuration stage of the function card, the present application performs card registration and page configuration on the first function card that has a content linkage relationship with the target page, sets the control parameters and control methods for linkage for the function card, realizes the decoupling of the function cards with content linkage relationship, improves the reusability of the function cards, and reduces the workload of system development. In the running stage of the function card, the content information of the function card related to the target control parameter is changed by changing the key value of the component corresponding to the target control parameter, and finally achieves the linkage effect of the page content. This application transforms the original point-to-point calling mesh card relationship in the complex calling page into a star-shaped relationship between the card and the page by setting different forms of control methods. The card is no longer associated with the card call, but with the page, which reduces the management complexity of the page, can meet the complex content linkage relationship in the page content, and can improve the reusability of the function card.

[0073] Figure 3 A schematic diagram of a structure of a linkage device for page content provided in an embodiment of the present application, such as Figure 3 As shown, the device 300 may include:

[0074] A first information determination module 310 is used to determine a first function card having a content linkage relationship among the multiple function cards of the target page, and determine a card content parameter corresponding to the first function card;

[0075] A second information determination module 320, configured to determine a control parameter and a control method of the control parameter according to a setting operation for the card content parameter, wherein the control parameter is used to control the page content of the target page;

[0076] The page content changing module 330 is used to determine the target control mode corresponding to the target control parameter in response to the key value changing operation on the target control parameter, and change the page content of the target page based on the target control mode.

[0077] The target page includes a plurality of content blocks, each of which corresponds to a function card, and the function card is used to display the content information of the content block.

[0078] Furthermore, the above-mentioned page content change module 330 can be specifically used for: if the key value change operation is a change to the key value of the target control parameter in the target function card, then determine the target control mode corresponding to the target control parameter in the target function card, the target control mode includes local control or no control, and the target function card is one of the first function cards; if the key value change operation is a change to the key value of the input parameter of the target method function, then determine the input parameter as the target control parameter, determine the target control mode of the target control parameter as global control, and the target method function is configured in the target page.

[0079] Furthermore, the page content changing module 330 may include: a first linkage unit and a second linkage unit;

[0080] The first linkage unit can be used for: when the target control mode is the local control, rewriting the preset change function based on the key value of the changed target control parameter to obtain the target change function; determining the second function card containing the target control parameter from the first function card by executing the target change function, and changing the content information of the second function card to achieve the change of the page content of the target page; wherein the second function card includes the target function card.

[0081] The second linkage unit can be used for: when the target control mode is the global control; using the key value of the changed target control parameter as the input parameter of the target method function; determining a third function card containing the target control parameter from the multiple function cards by executing the target method function, and changing the content information of the third function card to achieve a change in the page content of the target page.

[0082] In one example, the number of the first function cards is at least two;

[0083] Furthermore, the above-mentioned first information determination module 310 can be specifically used to: obtain basic attribute information of each function card in the first function card; obtain the corresponding card configuration address from the basic attribute information of each function card; identify the card configuration address to obtain the card content parameters corresponding to each function card.

[0084] Furthermore, the above-mentioned second information determination module 320 can be specifically used to: receive a selection operation on the card content parameters corresponding to each function card in the first function card, and determine the control parameters corresponding to each function card from the card content parameters; receive a setting operation on each control parameter, and determine the control mode of each control parameter, and the control mode includes no control, local control and global control.

[0085] Furthermore, the above-mentioned linkage device for page content may also include: a method linkage setting module;

[0086] The method linkage setting module is used to, after determining the control parameters and the control methods of the control parameters, determine from the control parameter list the global control parameters whose control methods are the global control; obtain the initial method function pre-customized in the target page; determine the global control parameters as the input parameters of the initial method function to obtain the target method function; remove the global control parameters from the control parameter list, and determine the component corresponding to the global control parameter as the target component of the target method function in the target page.

[0087] The page content linkage device provided in this embodiment can be applied to the page content linkage method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0088] Figure 4 It is a block diagram of an electronic device for implementing a linkage method of page content of an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0089] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0090] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0091] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the linkage method of page content.

[0092] In some embodiments, the linkage method of page content may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the linkage method of page content described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the linkage method of page content in any other appropriate manner (e.g., by means of firmware).

[0093] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0095] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0096] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0097] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0098] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0099] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. For example, those skilled in the art can use the various forms of processes shown above to reorder, add, or delete steps; the steps recorded in the present application can be performed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document does not limit them here.

[0100] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for linking page content, characterized in that: The target page includes multiple content blocks, each content block corresponds to a function card, and the function card is used to display the content information of the content block; the method includes: Determine a first function card having a content linkage relationship among the multiple function cards of the target page, and determine a card content parameter corresponding to the first function card; Determining control parameters and control methods of the control parameters according to the setting operation for the card content parameters, wherein the control parameters are used to control the page content of the target page; In response to a key value change operation on a target control parameter, a target control mode corresponding to the target control parameter is determined, and the page content of the target page is changed based on the target control mode.

2. The method for linking page contents according to claim 1, characterized in that: In response to a key value change operation on a target control parameter, determining a target control mode corresponding to the target control parameter includes: If the key value change operation is a change of the key value of the target control parameter in the target function card, determining the target control mode corresponding to the target control parameter in the target function card, the target control mode includes local control or no control, and the target function card is one of the first function cards; If the key value change operation is a change to the key value of an input parameter of a target method function, the input parameter is determined as a target control parameter, the target control mode of the target control parameter is determined to be global control, and the target method function is configured in the target page.

3. The method for linking page contents according to claim 2, characterized in that: When the target control mode is the local control, changing the page content of the target page based on the target control mode includes: Rewriting the preset change function based on the changed key value of the target control parameter to obtain a target change function; Determining a second function card including the target control parameter from the first function card by executing the target change function, and changing the content information of the second function card to achieve a change in the page content of the target page; Wherein, the second function card includes the target function card.

4. The method for linking page contents according to claim 2, characterized in that: When the target control mode is the global control; Changing the page content of the target page based on the target control method includes: Using the changed key value of the target control parameter as an input parameter of the target method function; A third function card including the target control parameter is determined from the multiple function cards by executing the target method function, and the content information of the third function card is changed to achieve the change of the page content of the target page.

5. The method for linking page contents according to claim 1, characterized in that: The number of the first function cards is at least two; Determining the card content parameters corresponding to the first function card includes: Obtaining basic attribute information of each function card in the first function card; Acquire a corresponding card configuration address from the basic attribute information of each function card; The card configuration address is identified to obtain the card content parameters corresponding to each function card.

6. The method for linking page contents according to claim 1, characterized in that: Determining control parameters and control methods of the control parameters according to the setting operation of the card content parameters includes: receiving a selection operation of a card content parameter corresponding to each function card in the first function card, and determining a control parameter corresponding to each function card from the card content parameter; A setting operation for each control parameter is received, and a control mode for each control parameter is determined, wherein the control mode includes no control, local control, and global control.

7. The method for linking page contents according to claim 6, characterized in that: After determining the control parameters and the control method of the control parameters, the method further includes: Determine from the control parameter list that the control mode is a global control parameter of the global control; Obtaining an initial method function pre-customized in the target page; Determine the global control parameter as an input parameter of the initial method function to obtain a target method function; The global control parameter is removed from the control parameter list, and the component corresponding to the global control parameter is determined as the target component of the target method function in the target page.

8. A linkage device for page content, characterized in that: The target page includes a plurality of content blocks, each content block corresponds to a function card, and the function card is used to display the content information of the content block; the device includes: A first information determination module, used to determine a first function card having a content linkage relationship among the multiple function cards on the target page, and determine a card content parameter corresponding to the first function card; A second information determination module, used to determine a control parameter and a control method of the control parameter according to a setting operation for the card content parameter, wherein the control parameter is used to control the page content of the target page; The page content changing module is used to determine the target control mode corresponding to the target control parameter in response to the key value changing operation on the target control parameter, and change the page content of the target page based on the target control mode.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page content linkage method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page content linkage method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Page element linkage methods, page element linkage device and server

    CN108874808A

  • Page skipping method, computing equipment and storage medium

    CN112380480A

  • Terminal control method and device

    CN115542753A

  • Equipment control method and device, electronic equipment and storage medium

    CN117971232A