CN111580812B - Data visualization component communication method, system, electronic device and storage medium - Google Patents

Data visualization component communication method, system, electronic device and storage medium Download PDF

Info

Publication number
CN111580812B
CN111580812B CN201910123607.1A CN201910123607A CN111580812B CN 111580812 B CN111580812 B CN 111580812B CN 201910123607 A CN201910123607 A CN 201910123607A CN 111580812 B CN111580812 B CN 111580812B
Authority
CN
China
Prior art keywords
data
component
communication
preset condition
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910123607.1A
Other languages
Chinese (zh)
Other versions
CN111580812A (en
Inventor
忻程烨
李文君
闻啸
郑雅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910123607.1A priority Critical patent/CN111580812B/en
Publication of CN111580812A publication Critical patent/CN111580812A/en
Application granted granted Critical
Publication of CN111580812B publication Critical patent/CN111580812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the disclosure discloses a data visualization component communication method, a system, electronic equipment and a storage medium, wherein the method comprises the following steps: triggering an operation response event in response to an operation of a first component as a communication initiator, and outputting first data corresponding to the operation response event; the second component receives the related data of the first data, and can configure the data update type between the first component and the second component, so that the application range is wide. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased.

Description

Data visualization component communication method, system, electronic device and storage medium
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a data visualization component communication method, a system, electronic equipment and a storage medium.
Background
In the data visualization architecture of existing data visualization tools, components for various purposes are often involved in the configuration process. However, in the related art, the components (data visualization components) in the data visualization architecture are independent from each other, and there is no flexible and reliable communication mechanism.
In the related art, even though an edit page in a data visualization architecture can select and designate a certain several animation forms for interaction of components through a form of a panel component list drop-down, there are still many problems with such interaction. First, components only support specific interaction events, and data update types cannot be configured, so that application scope is narrow, and flexible and reliable communication cannot be performed. Secondly, the interactive mode of the components is solidified in the product, flexibility and expandability are lacking, and any new communication requirement not only needs to be supported by the components, but also needs to be changed on the editing page of the product, so that when the new communication requirement is faced, a large number of special development operations can increase maintenance development cost.
Disclosure of Invention
To solve the problems in the related art, embodiments of the present disclosure provide a data visualization component communication method, system, electronic device, and readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a data visualization component communication method, including:
in response to an operation of a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation response event;
The second component receives related data of the first data.
With reference to the first aspect, in a first implementation manner of the first aspect, before the second component receives the related data of the first data, the method further includes:
and determining whether the first data meets preset conditions.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the present disclosure further includes:
and outputting relevant data of the first data based on the first data in response to determining that the first data meets a preset condition.
With reference to the first implementation manner of the first aspect, in a third implementation manner of the first aspect, the present disclosure further includes:
in response to determining that the first data does not meet a preset condition, communication between the first component and the second component is aborted.
With reference to the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the outputting, in response to determining that the first data meets a preset condition, relevant data of the first data based on the first data includes:
in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule;
And outputting the related data of the first data.
With reference to the first aspect or any one of the first, second, and fourth implementation manners of the first aspect, in a fifth implementation manner of the first aspect, the disclosure further includes:
the second component operates according to the received related data of the first data.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the operations performed by the second component according to the received related data of the first data include operations of an interaction event type and/or operations of a data update type.
With reference to the first aspect or any one of the first, second, and fourth implementation manners of the first aspect, in a seventh implementation manner of the first aspect, the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
With reference to the first aspect, any one of the first implementation manner to the fourth implementation manner of the first aspect, in an eighth implementation manner of the first aspect, the preset condition includes a plurality of sub-conditions, and a "logical and" and/or "logical or" relationship exists between the plurality of sub-conditions.
With reference to the first aspect, any one of the first implementation manner to the fourth implementation manner of the first aspect, in a ninth implementation manner of the first aspect, the first component and the second component are data visualization components.
In a second aspect, embodiments of the present disclosure provide a data visualization component communication system, comprising a first component that is a communication initiator and a second component that is a communication receiver, wherein,
the first component is configured to: triggering an operation response event in response to an operation on the first component, and outputting first data corresponding to the operation response event;
the second component is configured to: and receiving the related data of the first data.
With reference to the second aspect, in a first implementation manner of the second aspect, the disclosure further includes:
and a determining component configured to determine whether the first data meets a preset condition.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the present disclosure further includes:
and the output component is configured to output related data of the first data based on the first data in response to the determination component determining that the first data meets a preset condition.
With reference to the first implementation manner of the second aspect, in a third implementation manner of the second aspect, the determining component further includes:
and a suspension sub-component configured to suspend communication between the first component and the second component in response to determining that the first data does not meet a preset condition.
With reference to the second implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the output assembly includes:
a conversion sub-component configured to convert, in response to the determination component determining that the first data meets the preset condition, the first data meeting the preset condition into related data of the first data meeting a preset format of a second component as a communication receiver according to a preset conversion rule;
an output sub-assembly configured to output related data of the first data.
With reference to the second aspect or any one of the first, second, and fourth implementation manners of the second aspect, in a fifth implementation manner of the second aspect, the second component is further configured to:
and operating according to the received related data of the first data.
With reference to the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the operations performed by the second component according to the received related data of the first data include operations of an interaction event type and/or operations of a data update type.
With reference to the second aspect or any one of the first, second, and fourth implementation manners of the second aspect, in a seventh implementation manner of the second aspect, the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
With reference to the second aspect, or any one of the first implementation manner to the fourth implementation manner of the second aspect, in an eighth implementation manner of the second aspect, the preset condition includes a plurality of sub-conditions, and a "logical and" and/or a "logical or" relationship exists between the plurality of sub-conditions.
With reference to the second aspect, or any one of the first implementation manner to the fourth implementation manner of the second aspect, in a ninth implementation manner of the second aspect, the first component and the second component are data visualization components.
In a third aspect, an embodiment of the present disclosure provides a data visualization component communication method, including:
in response to an operation on a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation;
the second component receives related data of the first data.
In a fourth aspect, an electronic device is provided in an embodiment of the present disclosure, including a memory and a processor; wherein,,
the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any of the first aspect, the first to ninth implementations of the first aspect, and the third aspect.
In a fifth aspect, in an embodiment of the present disclosure, there is provided a readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method according to any one of the first aspect, the first implementation manner to the ninth implementation manner, and the third aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, an operation response event is triggered by responding to the operation of a first component serving as a communication initiator, and first data corresponding to the operation response event is output; the second component receives the related data of the first data, can configure the data update type between the first component and the second component, and has wide application range. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, before the second component receives the related data of the first data, the method further comprises the following steps: and determining whether the first data accords with a preset condition, and screening the first data. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the relevant data of the first data can be provided based on the screening result of the first data by responding to the fact that the first data meets the preset condition and outputting the relevant data of the first data based on the first data. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, by suspending communication between the first component and the second component in response to determining that the first data does not meet a preset condition, communication between the first component and the second component can be suspended according to the preset condition. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the outputting, by the response to determining that the first data meets a preset condition, the relevant data of the first data based on the first data includes: in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule; and outputting the related data of the first data, so that the data update type between the first component and the second component can be configured, and the application range is wide. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the second component operates according to the received related data of the first data, so that not only can the communication mode between the first component and the second component be driven by data, but also further operation can be performed based on the data, so that the communication and operation modes do not need to be solidified in a product, and therefore, the method has flexibility and expandability, does not need to change an editing page of a data visualization architecture, and does not increase maintenance development cost. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the operation performed by the second component according to the received related data of the first data comprises the operation of the interactive event type and/or the operation of the data update type, so that not only can the communication mode between the first component and the second component be driven by data, but also the operation of the interactive event type and/or the operation of the data update type can be performed based on the data, and the communication and the operation mode do not need to be solidified in a product, so that the flexibility and the expandability are realized, the editing page of the data visualization architecture does not need to be changed, and the maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the second component is provided with the data interface, wherein the second component receives the related data of the first data through the data interface, so that a butt joint mode between the components can be provided. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the preset conditions comprise a plurality of sub-conditions, and a logical AND and/or logical OR relationship exists among the plurality of sub-conditions, so that whether the first data accords with the preset conditions can be flexibly determined, and the communication mode between the first component and the second component is driven by data without being solidified in a product, so that the flexibility and the expandability are realized, editing pages of a data visualization architecture are not required to be changed, and maintenance and development costs are not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
According to the technical scheme provided by the embodiment of the disclosure, the first component and the second component are data visualization components, so that the data update types between the first component and the second component can be configured, and the application range is wide. In addition, when the configuration is carried out in the editing page of the data visualization architecture, the information circulation process can be overviewed, and the user can grasp the information transmission condition. In addition, through the configuration mode of the visible components, the user configures the visible and obtained parts of the whole communication flow, the user can quickly modify the corresponding parts, the development cost can be converted into the configuration cost, and the development resources are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other objects, purposes and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow chart of a method of data visualization component communication, according to an embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of a method of data visualization component communication in accordance with another embodiment of the present disclosure;
FIG. 3 illustrates a flow chart of a method of data visualization component communication in accordance with yet another embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of a method of data visualization component communication in accordance with yet another embodiment of the present disclosure;
FIG. 5 illustrates a flowchart of one example of step S310 in a data visualization component communication method according to the embodiment illustrated in FIG. 3 of the present disclosure;
FIG. 6 illustrates a flow chart of a data visualization component communication method according to yet another embodiment of the present disclosure;
FIG. 7 illustrates a flow diagram of an application scenario of a data visualization component communication method, according to an embodiment of the present disclosure;
FIG. 8 illustrates a block diagram of a data visualization component communication system in accordance with an embodiment of the present disclosure;
FIG. 9 illustrates a block diagram of a data visualization component communication system in accordance with another embodiment of the present disclosure;
FIG. 10 illustrates a block diagram of a data visualization component communication system in accordance with yet another embodiment of the present disclosure;
FIG. 11 illustrates a block diagram of a data visualization component communication system in accordance with yet another embodiment of the present disclosure;
FIG. 12 illustrates a block diagram of one example of an output component 1010 in a data visualization component communication system in accordance with the embodiment of FIG. 10 of the present disclosure;
FIG. 13 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 14 is a schematic diagram of a computer system suitable for use in implementing a data visualization component communication method in accordance with an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, portions irrelevant to description of the exemplary embodiments are omitted in the drawings.
In this disclosure, it is to be understood that terms such as "comprises" or "comprising," etc., are intended to indicate the presence of a tag, number, step, action, component, section or combination thereof disclosed in this specification, and are not intended to exclude the possibility that one or more other tags, numbers, steps, actions, components, sections or combinations thereof are present or added.
In addition, it should be noted that, without conflict, the embodiments of the present disclosure and the labels in the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 illustrates a flow chart of a method of data visualization component communication, according to an embodiment of the present disclosure. As shown in fig. 1, the data visualization component communication method includes the following steps S110 and S120:
In step S110, in response to an operation to a first component as a communication initiator, an operation response event is triggered, and first data corresponding to the operation response event is output.
In step S120, the second component receives related data of the first data.
According to the technical scheme provided by the embodiment of the disclosure, an operation response event is triggered by responding to the operation of the first component serving as a communication initiator, and first data corresponding to the operation response event is output; the second component receives the related data of the first data, and can configure the data update type between the first component and the second component, so that the application range is wide. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the first component and the second component may be data visualization components. That is, various components in the data visualization architecture, such as, for example, a diagram-type component, a map-type component, a media-type component, a text-type component, a relationship network-type component, a material-type component, an interaction-type component, and the like.
A data visualization component communication method of another embodiment of the present disclosure is described below with reference to fig. 2.
Fig. 2 illustrates a flow chart of a method of data visualization component communication in accordance with another embodiment of the present disclosure. The embodiment shown in fig. 2 differs from the embodiment shown in fig. 1 in that step S210 is further included before step S120.
In step S210, it is determined whether the first data meets a preset condition.
According to the technical scheme provided by the embodiment of the disclosure, before the second component receives the related data of the first data, the method further comprises the following steps: and determining whether the first data meets the preset condition or not, and screening the first data. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
A data visualization component communication method of a further embodiment of the present disclosure is described below with reference to fig. 3.
Fig. 3 illustrates a flow chart of a data visualization component communication method according to yet another embodiment of the present disclosure. The embodiment shown in fig. 3 differs from the embodiment shown in fig. 2 in that step S310 is further included.
In step S310, in response to determining that the first data meets a preset condition, relevant data of the first data is output based on the first data.
According to the technical scheme provided by the embodiment of the disclosure, the relevant data of the first data can be provided based on the screening result of the first data by responding to the fact that the first data meets the preset condition and outputting the relevant data of the first data based on the first data. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Hereinafter, a data visualization component communication method according to an embodiment of the present disclosure will be described with a "tag list" component in an interactive class component as a communication initiator and a "universal title" component in a text component as a communication receiver.
In embodiments of the present disclosure, a "tag click response event" may be triggered when a user clicks on a tag (Tab) in the "tag list" component. In response to triggering the "tab click response event," the "tab list" component outputs (or throws) first data corresponding to the "tab click response event. For example, the identification (id) and content (content) of the clicked tag may be included in the time structure of the first data.
In one embodiment of the present disclosure, the data structure of the first data is exemplified as follows:
example one
In an embodiment of the present disclosure, in response to the "tab click response event", it may be determined whether the outputted (or thrown) first data meets a preset condition. In one example, the preset condition may be: in the data structure of the first data, the identification (id) of the tag is not "3".
In example one of the present disclosure, since the identification (id) in the data structure of the first data is "1", it may be determined that this first data meets the preset condition. Accordingly, it is possible to output the related data of the first data based on the first data in response to determining that the first data meets the preset condition. In one embodiment of the present disclosure, the related data of the first data conforms to a preset format for a "universal title" component as a communication recipient.
In one embodiment of the present disclosure, the related data of the first data conforms to a preset format for the second component as a communication recipient. In one embodiment of the present disclosure, the related data of the first data is data generated based on the first data. In one embodiment of the present disclosure, the first data may itself also conform to a preset format for the second component as the communication recipient, i.e., the first data may also be related data to the first data.
In one embodiment of the present disclosure, the data structure of the related data of the preset format first data conforming to the "universal title" component is exemplified as follows:
example two
In the embodiment of the present disclosure, since the identification (id) is "1", it may be determined that the first data in the example one meets the preset condition, at this time, the related data of the first data meeting the preset format of the "universal title" component in the example two may be output based on the first data in the example one, for example:
example three
In this embodiment, when a tab is clicked in the "tab list" component, the "universal title" component exposes content field data in the converted first data in example one thrown by the "tab list" component.
In this embodiment, since the related data (example three) outputting the first data conforming to the preset format (example two) for the "universal title" component as the communication receiver based on the first data (example one) involves the conversion of the data format, this will be further described below with reference to fig. 5.
Fig. 5 illustrates a flowchart of one example of step S310 in a data visualization component communication method according to the embodiment illustrated in fig. 3 of the present disclosure. As shown in fig. 5, step S310 includes steps S510 and S520.
In step S510, in response to determining that the first data meets the preset condition, the first data meeting the preset condition is converted into related data of the first data meeting the preset format of the second component as the communication receiver according to the preset conversion rule.
In step S520, the related data of the first data is output.
In one embodiment, in the case that the data format of the first data outputted (or thrown) by the "tag list" component is different from the data format required by the "universal title" component, the first data may be converted into related data of the first data conforming to the preset format of the "universal title" component according to the preset conversion rule. Those skilled in the art will appreciate that various data conversion rules may be preset from the data format of the first data output (or thrown) from the "tag list" component to the preset format conforming to the "universal title" component. Once it is determined that the first data meets the preset conditions, the first data may be converted into related data of the first data that meets the preset format of the "universal title" component according to the preset conversion rule. Those skilled in the art will appreciate that in one embodiment of the present disclosure, the preset conversion rules need not be cured in the product, but rather the conversion rules may be executed in a data-driven manner.
According to the technical scheme provided by the embodiment of the disclosure, the method for outputting the related data of the first data based on the first data in response to determining that the first data meets the preset condition comprises the following steps: in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule; and outputting the related data of the first data, so that the data update type between the first component and the second component can be configured, and the application range is wide. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In the embodiment of the present disclosure, it should be noted that if the data format of the first data output (or thrown) by the first component is the same as the data format required by the second component, the conversion operation as in step S510 in fig. 5 may not be performed. In this case, step S310 shown in fig. 3 may be directly performed, and in response to determining that the first data meets the preset condition, the related data of the first data meeting the preset format for the "universal title" component as the communication receiver may be output based on the first data. At this time, the format conversion operation is not required, and the first data may be directly output as the related data of the first data.
In one example, when the "universal title" component receives the related data of the first data conforming to the preset format of the "universal title" component, the data visualization component communication method according to the foregoing embodiment of the present disclosure is performed.
A data visualization component communication method in a further embodiment of the present disclosure is described below with reference to fig. 4.
Fig. 4 illustrates a flow chart of a method of data visualization component communication in accordance with another embodiment of the present disclosure. The embodiment shown in fig. 4 differs from the embodiment shown in fig. 1 in that step S410 is further included.
In step S410, in response to determining that the first data does not meet the preset condition, communication between the first component and the second component is suspended.
According to the technical scheme provided by the embodiment of the disclosure, by suspending communication between the first component and the second component in response to determining that the first data does not meet the preset condition, the communication between the first component and the second component can be suspended according to the preset condition. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Example four
In another embodiment of the present disclosure, the data structure of the first data is exemplified as follows:
in one embodiment of the present disclosure, the preset condition may be: in the data structure of the first data, the identification (id) of the tag is not "3". Based on the foregoing data structure example four of the first data, since the identification (id) is "3", it can be determined that this first data does not meet the preset condition. Accordingly, communication between the first component and the second component may be suspended in response to determining that the first data does not meet the preset condition.
In other words, if the id field in the first data output (thrown) by the "tag list" component is 3, the "universal title" component is not triggered to expose content field data from the first data.
In one embodiment of the present disclosure, the preset condition includes a plurality of sub-conditions, and a "logical AND" and/or "logical OR" relationship exists between the plurality of sub-conditions.
In the embodiment of the present disclosure, the preset condition that the identification (id) of the tag is not "3" is only one example. In executing the data visualization component communication method according to the embodiments of the present disclosure, complex preset conditions may be set to filter out the first data that does not meet the operational requirements. Accordingly, a plurality of sub-conditions may be set in the preset condition, and there may be a logical AND and/or logical OR relationship between the sub-conditions, whereby the first data that does not meet the operation requirement may be more accurately filtered out.
According to the technical scheme provided by the embodiment of the disclosure, the preset conditions comprise a plurality of sub-conditions, and a logical AND and/or logical OR relationship exists among the plurality of sub-conditions, so that whether the first data accords with the preset conditions can be flexibly determined, and the communication mode between the first component and the second component is driven by data without being solidified in a product, so that the flexibility and the expandability are realized, editing pages of a data visualization architecture are not required to be changed, and maintenance and development costs are not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
According to the technical scheme provided by the embodiment of the disclosure, the second component is provided with the data interface, wherein the second component receives the related data of the first data through the data interface, so that a butt joint mode between the components can be provided. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In another embodiment of the present disclosure, not only the second component has a data interface, but the first component also has a data interface. The second component and the first component are provided with interfaces, a better butt joint mode between the components can be provided, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the system has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development costs are not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the first component and the second component are data visualization components.
According to the technical scheme provided by the embodiment of the disclosure, the first component and the second component are the data visualization components, so that the data update types between the first component and the second component can be configured, and the application range is wide. In addition, when the configuration is carried out in the editing page of the data visualization architecture, the information circulation process can be overviewed, and the user can grasp the information transmission condition. In addition, through the configuration mode of the visible components, the user configures the visible and obtained parts of the whole communication flow, the user can quickly modify the corresponding parts, the development cost can be converted into the configuration cost, and the development resources are saved.
A data visualization component communication method in another embodiment of the present disclosure is described below with reference to fig. 6.
Fig. 6 illustrates a flow chart of a data visualization component communication method according to yet another embodiment of the present disclosure. The embodiment shown in fig. 6 differs from the embodiment shown in fig. 1 in that step S610 is further included.
In step S610, the second component operates according to the received related data of the first data.
According to the technical scheme provided by the embodiment of the disclosure, the second component operates according to the received related data of the first data, so that not only can the communication mode between the first component and the second component be driven by data, but also further operation can be performed based on the data, and the communication and operation modes do not need to be solidified in a product, so that the flexibility and the expandability are realized, the editing page of the data visualization architecture does not need to be changed, and the maintenance development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, step S610 may be applied not only to the embodiment shown in fig. 1, but also to the embodiments of fig. 2, 3, and 5. That is, as long as the second component receives the relevant data of the first data, it can operate according to the received relevant data of the first data.
In one embodiment of the present disclosure, the operations performed by the second component according to the received related data of the first data include operations of an interactivity event type and/or operations of a data update type.
According to the technical scheme provided by the embodiment of the disclosure, the operation performed by the second component according to the received related data of the first data comprises the operation of the interactive event type and/or the operation of the data update type, so that not only can the communication mode between the first component and the second component be driven by data, but also the operation of the interactive event type and/or the operation of the data update type can be performed based on the data, and the communication and the operation mode do not need to be solidified in a product, so that the flexibility and the expandability are realized, the editing page of the data visualization architecture does not need to be changed, and the maintenance development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Fig. 7 shows a flow diagram of an application scenario of a data visualization component communication method according to an embodiment of the present disclosure.
As shown in fig. 7, in performing a data visualization component communication method according to an embodiment of the present disclosure, a communication process is described as follows:
A "Tab click response event" of the "Tab list" component is triggered, throwing out data (first data).
The "trigger rules set" component senses the "tag click response event" and scans the user-defined trigger rules. Checking the data thrown by the "Tab list" component, and executing the next step if all trigger rules in the "trigger rule set" component return values are "true", otherwise interrupting the communication flow.
The conversion rule set receives the data thrown by the Tab list component, sequentially executes the user-defined conversion rule, and throws the processed data (related data of the first data).
The event is sensed by the "universal title" component, and the "title content interface" of the "universal title" component receives the processed data (related data of the first data) and operates the "universal title" component.
The core of the system is to granulate the communication flow, each part of the communication process being reusable. Moreover, each component is independently controlled, and the events of the components are isolated from each other and do not affect each other.
In one embodiment of the present disclosure, a data visualization component communication method may be provided, comprising:
In response to an operation on a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation;
the second component receives related data of the first data.
According to the technical scheme provided by the embodiment of the disclosure, an operation response event is triggered by responding to the operation of a first component serving as a communication initiator, and first data corresponding to the operation is output; the second component receives the related data of the first data, can configure the data update type between the first component and the second component, and has wide application range. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
The scheme of this embodiment differs from that of the embodiment described with reference to fig. 1 in that the first data corresponding to the operation is output instead of the first data corresponding to the operation response event. That is, the triggering of the operation response event and the outputting of the first data corresponding to the operation may be operations performed in parallel. It will be appreciated by a person skilled in the art that the technical solution of this embodiment may be combined with the embodiments described with reference to fig. 1-7, thereby achieving the technical effects achieved by the embodiments described with reference to fig. 1-7. The details may be referred to the description above with reference to fig. 1 to 7, and are not repeated here.
Fig. 8 illustrates a block diagram of a data visualization component communication system in accordance with an embodiment of the present disclosure.
As shown in fig. 8, the data visualization component communication system 800 includes a first component 810 that is a communication initiator and a second component 820 that is a communication recipient.
The first component 810 is configured to: and triggering an operation response event in response to the operation of the first component, and outputting first data corresponding to the operation response event.
The second component 820 is configured to: and receiving the related data of the first data.
According to the technical scheme provided by the embodiment of the disclosure, through a first component serving as a communication initiator and a second component serving as a communication receiver, wherein the first component is configured to: triggering an operation response event in response to an operation on the first component, and outputting first data corresponding to the operation response event; the second component is configured to: and the related data of the first data is received, the data update type between the first component and the second component can be configured, and the application range is wide. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Fig. 9 illustrates a block diagram of a data visualization component communication system 900 in accordance with another embodiment of the present disclosure. The embodiment shown in fig. 9 differs from the embodiment shown in fig. 8 in that a determination component 910 is also included.
The determining component 910 is configured to determine whether the first data meets a preset condition.
According to the technical scheme provided by the embodiment of the disclosure, the determining component is configured to determine whether the first data meets the preset condition, so that the first data can be screened. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Fig. 10 illustrates a block diagram of a data visualization component communication system 1000 in accordance with yet another embodiment of the present disclosure. The embodiment shown in fig. 10 differs from the embodiment shown in fig. 9 in that an output assembly 1010 is also included.
The output component 1010 is configured to output relevant data of the first data based on the first data in response to the determination component determining that the first data meets a preset condition.
According to the technical scheme provided by the embodiment of the disclosure, through the determining component, the related data of the first data is output based on the first data in response to determining that the first data meets the preset condition, and the related data of the first data can be provided based on the screening result of the first data. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Fig. 11 illustrates a block diagram of a data visualization component communication system 1100 in accordance with another embodiment of the present disclosure. The embodiment shown in fig. 11 differs from the embodiment shown in fig. 9 in that the determination component 910 further comprises an abort sub-component 1110.
The suspension subcomponent 1110 is configured to suspend communication between the first component and the second component in response to determining that the first data does not meet a preset condition.
According to the technical scheme provided by the embodiment of the disclosure, by suspending the sub-component, the communication between the first component and the second component is suspended in response to determining that the first data does not meet the preset condition, and the communication between the first component and the second component can be suspended according to the preset condition. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
Fig. 12 shows a block diagram of one example of an output component 1010 in a data visualization component communication system according to the embodiment shown in fig. 10 of the present disclosure. As shown in fig. 12, the output component 1010 includes a conversion sub-component 1210 and an output sub-component 1220.
The conversion sub-component 1210 is configured to convert, in response to the determining component determining that the first data meets the preset condition, the first data meeting the preset condition into related data of the first data meeting a preset format of a second component as a communication receiver according to a preset conversion rule.
The output sub-component 1220 is configured to output the related data of the first data.
According to the technical scheme provided by the embodiment of the disclosure, the output assembly comprises: a conversion sub-component configured to convert, in response to the determination component determining that the first data meets the preset condition, the first data meeting the preset condition into related data of the first data meeting a preset format of a second component as a communication receiver according to a preset conversion rule; and the output sub-assembly is configured to output the related data of the first data, can configure the data update type between the first assembly and the second assembly, and has wide application range. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the second component 820 is further configured to:
and operating according to the received related data of the first data.
According to the technical solution provided by the embodiments of the present disclosure, the second component is further configured to: according to the received related data of the first data, the communication mode between the first component and the second component is driven by data, and further operation can be performed based on the data, so that the communication and operation modes do not need to be solidified in a product, flexibility and expandability are achieved, editing pages of a data visualization architecture do not need to be changed, and maintenance and development costs are not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the disclosure, the operations performed by the second component according to the received related data of the first data include an interactivity event type operation and/or a data update type operation.
According to the technical scheme provided by the embodiment of the disclosure, the operation performed by the second component according to the received related data of the first data comprises the operation of the interactive event type and/or the operation of the data update type, so that not only can the communication mode between the first component and the second component be driven by data, but also the operation of the interactive event type and/or the operation of the data update type can be performed based on the data, and the communication and the operation mode do not need to be solidified in a product, so that the flexibility and the expandability are realized, the editing page of the data visualization architecture does not need to be changed, and the maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
According to the technical scheme provided by the embodiment of the disclosure, the second component is provided with the data interface, wherein the second component receives the related data of the first data through the data interface, so that a butt joint mode between the components can be provided. In addition, the communication mode between the first component and the second component is driven by data, and solidification in a product is not needed, so that the method has flexibility and expandability, editing pages of a data visualization architecture are not needed to be changed, and maintenance and development cost is not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the preset condition includes a plurality of sub-conditions, and a logical and/or logical or relationship exists between the plurality of sub-conditions.
According to the technical scheme provided by the embodiment of the disclosure, the preset conditions comprise a plurality of sub-conditions, and a logical AND and/or logical OR relationship exists among the plurality of sub-conditions, so that whether the first data accords with the preset conditions can be flexibly determined, and the communication mode between the first component and the second component is driven by data without being solidified in a product, so that the flexibility and the expandability are realized, editing pages of a data visualization architecture are not required to be changed, and maintenance and development costs are not increased. Moreover, each component for executing the communication process is independent, and the executed operations are not affected, so that the whole communication process is granulated, and the reliability of communication is ensured.
In one embodiment of the present disclosure, the first component and the second component are data visualization components.
According to the technical scheme provided by the embodiment of the disclosure, the first component and the second component are data visualization components, so that the data update types between the first component and the second component can be configured, and the application range is wide. In addition, when the configuration is carried out in the editing page of the data visualization architecture, the information circulation process can be overviewed, and the user can grasp the information transmission condition. In addition, through the configuration mode of the visible components, the user configures the visible and obtained parts of the whole communication flow, the user can quickly modify the corresponding parts, the development cost can be converted into the configuration cost, and the development resources are saved.
In the embodiments according to the present disclosure, the embodiments described above with reference to fig. 8 to 12 may be combined with the embodiments described with reference to fig. 1 to 7, respectively, to provide technical effects achieved by the embodiments described with reference to fig. 1 to 7.
The internal functions and structures of the data visualization component communication system are described above, and in one possible design, the structure of the data visualization component communication system may be implemented as a data visualization component communication device, as shown in fig. 13, the processing device 1300 may include a processor 1301 and a memory 1302.
The memory 1302 is configured to store a program for supporting the data visualization component communication apparatus to perform the data visualization component communication method of any of the above embodiments, and the processor 1301 is configured to execute the program stored in the memory 1302.
The memory 1302 is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 1301 to perform the steps of:
in response to an operation of a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation response event;
the second component receives related data of the first data.
In one embodiment of the present disclosure, the one or more computer instructions are further executable by the processor 1301 before the second component receives the relevant data of the first data to implement the steps of:
and determining whether the first data meets preset conditions.
In one embodiment of the present disclosure, the one or more computer instructions are further executed by the processor 1301 to perform the steps of:
and outputting relevant data of the first data based on the first data in response to determining that the first data meets a preset condition.
In one embodiment of the present disclosure, the one or more computer instructions are further executed by the processor 1301 to perform the steps of:
in response to determining that the first data does not meet a preset condition, communication between the first component and the second component is aborted.
In one embodiment of the disclosure, the outputting, in response to determining that the first data meets a preset condition, related data of the first data based on the first data includes:
in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule;
and outputting the related data of the first data.
In one embodiment of the present disclosure, the one or more computer instructions are further executed by the processor 1301 to perform the steps of:
the second component operates according to the received related data of the first data.
In one embodiment of the disclosure, the operations performed by the second component according to the received related data of the first data include an interactivity event type operation and/or a data update type operation.
In one embodiment of the present disclosure, the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
In one embodiment of the present disclosure, the preset condition includes a plurality of sub-conditions, and a logical and/or logical or relationship exists between the plurality of sub-conditions.
In one embodiment of the present disclosure, the first component and the second component are data visualization components.
The processor 1301 is configured to perform all or part of the method steps described above.
The structure of the data visualization component communication system can also comprise a communication interface used for the data visualization component communication equipment to communicate with other equipment or communication networks.
The exemplary embodiments of the present disclosure also provide a computer storage medium storing computer software instructions for use in the data visualization component communication system, where the computer storage medium includes a program for executing the method related to the data visualization component communication method in any of the foregoing embodiments, so as to achieve the technical effects brought by the method.
FIG. 14 is a schematic diagram of a computer system suitable for use in implementing a data visualization component communication method in accordance with an embodiment of the present disclosure.
As shown in fig. 14, the computer system 1400 includes a Central Processing Unit (CPU) 1401, which can execute various processes in the embodiments shown in fig. 1 to 7 described above in accordance with a program stored in a Read Only Memory (ROM) 1402 or a program loaded from a storage section 1408 into a Random Access Memory (RAM) 1403. In the RAM1403, various programs and data required for the operation of the system 1400 are also stored. The CPU1401, ROM1402, and RAM1403 are connected to each other through a bus 1404. An input/output (I/O) interface 1405 is also connected to the bus 1404.
The following components are connected to the I/O interface 1405: an input section 1406 including a keyboard, a mouse, and the like; an output portion 1407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1408 including a hard disk or the like; and a communication section 1409 including a network interface card such as a LAN card, a modem, and the like. The communication section 1409 performs communication processing via a network such as the internet. The drive 1410 is also connected to the I/O interface 1405 as needed. Removable media 1411, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memory, and the like, is installed as needed on drive 1410 so that a computer program read therefrom is installed as needed into storage portion 1408.
In particular, the method described above with reference to fig. 1 may be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the data processing method of fig. 1. In such an embodiment, the computer program can be downloaded and installed from a network through the communication portion 1409 and/or installed from the removable medium 1411.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware. The units or modules described may also be provided in a processor, the names of which in some cases do not constitute a limitation of the unit or module itself.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the apparatus described in the above embodiments; or may be a computer-readable storage medium, alone, that is not assembled into a device. The computer-readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure, thereby providing technical effects of the methods.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which any combination of features described above or their equivalents is contemplated without departing from the inventive concepts described. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (17)

1. A method of communicating a data visualization component, comprising:
in response to an operation of a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation response event;
determining whether the first data accords with a preset condition;
in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule;
outputting related data of the first data;
the second component receives related data of the first data, wherein the related data of the first data comprises partial data of the first data;
wherein the first component and the second component communicate in a data driven manner.
2. The method as recited in claim 1, further comprising:
in response to determining that the first data does not meet a preset condition, communication between the first component and the second component is aborted.
3. The method as recited in claim 1, further comprising:
The second component operates according to the received related data of the first data.
4. A method according to claim 3, wherein the operations performed by the second component in accordance with the received relevant data of the first data comprise operations of an interactivity event type and/or operations of a data update type.
5. The method of claim 1, wherein the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
6. The method according to claim 1 or 2, wherein the preset condition comprises a plurality of sub-conditions, and a logical and/or logical or relationship exists between the plurality of sub-conditions.
7. The method of any one of claims 1 to 5, wherein the first component and the second component are data visualization components.
8. A data visualization component communication system is characterized by comprising a first component serving as a communication initiator and a second component serving as a communication receiver, wherein,
the first component is configured to: triggering an operation response event in response to an operation on the first component, and outputting first data corresponding to the operation response event;
The second component is configured to: receiving relevant data of the first data, wherein the relevant data of the first data comprises partial data of the first data;
wherein the first component and the second component communicate in a data driven manner;
further comprises: a determining component configured to determine whether the first data meets a preset condition;
a conversion sub-component configured to convert, in response to the determination component determining that the first data meets the preset condition, the first data meeting the preset condition into related data of the first data meeting a preset format of a second component as a communication receiver according to a preset conversion rule;
an output sub-assembly configured to output related data of the first data.
9. The system of claim 8, wherein the determining component further comprises:
and a suspension sub-component configured to suspend communication between the first component and the second component in response to determining that the first data does not meet a preset condition.
10. The system of claim 8, wherein the second component is further configured to:
and operating according to the received related data of the first data.
11. The system of claim 10, wherein the operations performed by the second component based on the received related data of the first data include an interactivity event type operation and/or a data update type operation.
12. The system of claim 8, wherein the second component has a data interface, wherein the second component receives related data of the first data through the data interface.
13. The system according to claim 8 or 9, wherein the preset condition comprises a plurality of sub-conditions, and the plurality of sub-conditions have a logical and/or logical or relationship therebetween.
14. The system of any one of claims 8 to 12, wherein the first component and the second component are data visualization components.
15. A method of communicating a data visualization component, comprising:
in response to an operation on a first component as a communication initiator, triggering an operation response event, and outputting first data corresponding to the operation;
determining whether the first data accords with a preset condition;
in response to determining that the first data meets the preset condition, converting the first data meeting the preset condition into related data of the first data meeting a preset format of a second component serving as a communication receiver according to a preset conversion rule;
Outputting related data of the first data;
the second component receives related data of the first data, wherein the related data of the first data comprises partial data of the first data;
wherein the first component and the second component communicate in a data driven manner.
16. An electronic device comprising a memory and a processor; wherein,,
the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executable by the processor to implement the method of any one of claims 1 to 7, 15.
17. A readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any of claims 1-7, 15.
CN201910123607.1A 2019-02-18 2019-02-18 Data visualization component communication method, system, electronic device and storage medium Active CN111580812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910123607.1A CN111580812B (en) 2019-02-18 2019-02-18 Data visualization component communication method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910123607.1A CN111580812B (en) 2019-02-18 2019-02-18 Data visualization component communication method, system, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111580812A CN111580812A (en) 2020-08-25
CN111580812B true CN111580812B (en) 2023-07-21

Family

ID=72124354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910123607.1A Active CN111580812B (en) 2019-02-18 2019-02-18 Data visualization component communication method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111580812B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033510A (en) * 2022-07-11 2022-09-09 深圳壹账通智能科技有限公司 Component communication method, device, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628900A (en) * 2017-03-23 2018-10-09 腾讯科技(深圳)有限公司 A kind of method and relevant apparatus of data format acquisition

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9667710B2 (en) * 2015-04-20 2017-05-30 Agverdict, Inc. Systems and methods for cloud-based agricultural data processing and management
CN107391114B (en) * 2017-06-27 2020-09-22 阿里巴巴集团控股有限公司 Page visual rendering method and device
CN107741887A (en) * 2017-10-23 2018-02-27 山东浪潮通软信息科技有限公司 A kind of communication interaction method and apparatus of inter-module

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628900A (en) * 2017-03-23 2018-10-09 腾讯科技(深圳)有限公司 A kind of method and relevant apparatus of data format acquisition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于动态标签技术的信息发布系统设计与实现;李营那;吴松洋;张涛;李勋;;计算机应用与软件(第01期);全文 *

Also Published As

Publication number Publication date
CN111580812A (en) 2020-08-25

Similar Documents

Publication Publication Date Title
US6041364A (en) Method and system for adding a device entry to a device tree upon detecting the connection of a device
CN104965691A (en) Method, apparatus and system for configuring page elements of a webpage
US7895376B2 (en) Hardware configuration information system, method, and computer program product
US20180324222A1 (en) Testing distributed applications that have an established exchange in an advanced message queuing protocol (amqp) message broker
CN111953738B (en) Information delivery method and device, electronic equipment and storage medium
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
US20200264847A1 (en) System and method that support application software development
US8296723B2 (en) Configurable unified modeling language building blocks
CN112015654A (en) Method and apparatus for testing
US8516376B2 (en) Identification system for network data processing systems
CN114968477A (en) Container heat transfer method and container heat transfer device
CN111580812B (en) Data visualization component communication method, system, electronic device and storage medium
CN109857537B (en) Background service starting method, device, medium and electronic equipment
CN112615909B (en) Method for storing data in cascade storage server cluster and related equipment
US20240061737A1 (en) Message call request data having error frequency metrics
US8245182B2 (en) Class selectable design sharing
CN115858049B (en) RPA flow componentization arrangement method, device, equipment and medium
US9787552B2 (en) Operation process creation program, operation process creation method, and information processing device
US11570230B1 (en) System and method for creating a protocol-compliant uniform resource locator
US20160147574A1 (en) Facilitating provisioning in a mixed environment of locales
KR102166336B1 (en) Server for providing software platform and operating method for the same
US8103863B2 (en) Workflow management to automatically load a blank hardware system with an operating system, products, and service
CN114579415A (en) Method, device, equipment and medium for configuring and acquiring buried point data
CN112799797A (en) Task management method and device
CN112148279B (en) Log information processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40035784

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant