CN113824591A - Communication configuration method and device for configuration software - Google Patents

Communication configuration method and device for configuration software Download PDF

Info

Publication number
CN113824591A
CN113824591A CN202111107865.4A CN202111107865A CN113824591A CN 113824591 A CN113824591 A CN 113824591A CN 202111107865 A CN202111107865 A CN 202111107865A CN 113824591 A CN113824591 A CN 113824591A
Authority
CN
China
Prior art keywords
configuration
data
data link
configuration information
target language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111107865.4A
Other languages
Chinese (zh)
Inventor
王灵军
李�杰
杨丽娟
陈金奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111107865.4A priority Critical patent/CN113824591A/en
Publication of CN113824591A publication Critical patent/CN113824591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime

Abstract

The invention discloses a communication configuration method and device of configuration software. Wherein, the method comprises the following steps: acquiring data link configuration information through a configuration interface; converting the data link configuration information into target language code; and inserting the target language code into a preset position of a data link. The invention provides a configuration entrance for a user by using a configuration interface, the user can configure according to the requirement and automatically convert the configuration information of the data link into the target language code to be inserted into the data link to complete the communication configuration without compiling a complex logic processing function by the user, thereby improving the function of processing the communication data by the configuration software, meeting different application logic requirements in a universal configuration mode and expanding the application scene of the configuration software.

Description

Communication configuration method and device for configuration software
Technical Field
The invention relates to the technical field of configuration software, in particular to a communication configuration method and device of configuration software.
Background
The configuration software receives and transmits data from a communication bus, specifically, the configuration software receives variable communication data from the bus, performs received data processing, and then displays the processed data on a numerical element of a User Interface (UI); or, data is taken out from a certain numerical element of the configuration software, data sending processing is carried out, and then the processed variable communication data is sent to the bus.
However, configuration software is design software, specific logics of different application programs are realized through a graphical configuration mode, when complex logics are configured, a user needs to write functions by himself to realize the configuration, the configuration process is complex, the universality is not strong, and different application logic requirements cannot be met in a universal mode.
Disclosure of Invention
The embodiment of the invention provides a communication configuration method and device of configuration software, which are used for at least solving the problem that the logic configuration universality of the configuration software in the prior art is not strong.
In order to solve the above technical problem, an embodiment of the present invention provides a communication configuration method for configuration software, including: acquiring data link configuration information through a configuration interface; converting the data link configuration information into target language code; and inserting the target language code into a preset position of a data link.
Optionally, the obtaining of the data link configuration information through the configuration interface includes: displaying a configuration interface; receiving configuration operation at the configuration interface, wherein the configuration operation is used for configuring data transformation rules and/or performing event configuration according to predefined configurable events; and acquiring the data link configuration information according to the configuration operation.
Optionally, the predefined configurable event includes a category of at least one of: window, variable, function, user authority and enable setting, and each category corresponds to at least one operation item.
Optionally, the obtaining of the data link configuration information through the configuration interface includes: classifying data links to be configured according to the data transmission direction between the configuration software and the communication bus to obtain an uplink data link and a downlink data link; and respectively acquiring uplink data link configuration information and downlink data link configuration information.
Optionally, the data link configuration information includes: a set of data transformation rules and/or events; the data transformation rule is a data conversion relation between a data actual value and a data transmission value, and the event set comprises at least one event which is executed in sequence according to data requirements.
Optionally, the event set further includes: and event trigger conditions corresponding to the events.
Optionally, inserting the target language code into a preset position of a data link includes: inserting a target language code corresponding to a data transformation rule in the data configuration information into a preset rule insertion point; and/or inserting the target language code corresponding to the event set in the data configuration information into a preset event set insertion point.
The embodiment of the invention also provides a communication configuration device of the configuration software, which comprises the following steps: the acquisition module is used for acquiring the configuration information of the data link through the configuration interface; the conversion module is used for converting the data link configuration information into a target language code; and the inserting module is used for inserting the target language code into a preset position of a data link.
An embodiment of the present invention further provides a computer device, including: the device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method of the embodiment of the invention.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method according to the embodiments of the present invention.
By applying the technical scheme of the invention, the configuration information of the data link is acquired through the configuration interface, the configuration information of the data link is converted into the target language code, and the target language code is inserted into the preset position of the data link. The configuration interface is used for providing a configuration entrance for a user, the user can configure according to requirements, and automatically converts the configuration information of the data link into a target language code to be inserted into the data link, so that communication configuration is completed, the user does not need to write a complex logic processing function, the function of the configuration software for processing communication data is improved, different application logic requirements are met in a universal configuration mode, and the application scene of the configuration software is expanded.
Drawings
Fig. 1 is a flowchart of a communication configuration method of configuration software according to an embodiment of the present invention;
FIG. 2 is a diagram of a configuration software communication architecture according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a communication configuration of configuration software according to a second embodiment of the present invention;
FIG. 4 is a diagram illustrating a configuration of data transformation rules and event sets provided by a second embodiment of the present invention;
FIG. 5 is a diagram illustrating an event set configuration provided in the second embodiment of the present invention;
FIG. 6 is a diagram of an operation configuration provided in the second embodiment of the present invention;
FIG. 7 is a diagram illustrating an example event item of a script function class of the system according to a second embodiment of the present invention;
FIG. 8 is a diagram illustrating an example of event items of the enable setting class according to the second embodiment of the present invention;
fig. 9 is a block diagram of a communication configuration apparatus of configuration software according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the accompanying drawings are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Example one
The present embodiment provides a communication configuration method for configuration software, which mainly configures processing logic of communication data between the configuration software and a communication bus.
Fig. 1 is a flowchart of a communication configuration method of configuration software according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
s101, obtaining data link configuration information through a configuration interface.
S102, converting the data link configuration information into a target language code.
S103, inserting the target language code into a preset position of the data link.
The data link is a link for transmitting data between the configuration software and the communication bus. The configuration interface is an interface provided by the configuration software for configuring the processing logic for communicating data over the data link. The data link configuration information refers to the relevant information of the processing logic of the communication data on the data link configured by the user according to the requirement. The target language is determined according to the type of output program selected by the user when the project is output, for example, if a C + + program is output, the target language may be Qt; if a website type program is exported, the target language may be Javascript.
If the relevant configuration of the communication data processing logic is not performed, the communication bus is directly connected with the data elements in the configuration software, and after the communication data (namely variables) are analyzed, other functions cannot be executed, and the data cannot be processed. The preset position is an insertion point which is defined in advance in the data link, and the communication data on the data link can be logically processed by inserting the target language code corresponding to the data link configuration information at the preset position.
In the embodiment, the configuration interface acquires the configuration information of the data link, converts the configuration information of the data link into the target language code, and inserts the target language code into the preset position of the data link. The configuration interface is used for providing a configuration entrance for a user, the user can configure according to requirements, and automatically converts the configuration information of the data link into a target language code to be inserted into the data link, so that communication configuration is completed, the user does not need to write a complex logic processing function, the function of the configuration software for processing communication data is improved, different application logic requirements are met in a universal configuration mode, and the application scene of the configuration software is expanded.
The data link configuration information includes: a set of data transformation rules and/or events. The data transformation rule is a data transformation relation between a data actual value and a data transmission value. The event set includes at least one event that is executed in order according to data needs. The order of events in the event set represents the order of execution of the events. The data actual value is a variable value to be displayed or actually used, and the data transmission value is a variable value to be transmitted after being encoded on the communication link.
For example, the data transformation rule may be a transformation expression similar to T ═ R × 10+100, where R denotes a data actual value (i.e., a true value) and T denotes a data transfer value (i.e., a value transferred over the communication bus). Some communication protocols cannot handle decimal and negative numbers, or for simplicity, before sending data, the configuration software converts decimal into integer by multiplying factor (10 in the above conversion expression), and then converts into positive integer by adding offset (100 in the above conversion expression), and the protocol coding data corresponding to the positive integer is transmitted on the communication bus. When the configuration software receives data, the received data is a data transmission value, and corresponding inverse transformation is carried out on the data transmission value when the data is processed, so that a real data value is obtained.
An event may be understood as an operation or an action. The event set may further include: the event corresponding to the event triggers the condition, that is, the event is executed when the condition is satisfied.
Illustratively, the event may be: a value arithmetic operation; a value satisfying a certain condition triggers a certain action (e.g. hiding or displaying a certain frame); calling a function provided by a system; call user-defined functions, etc.
The data can be processed according with the communication protocol through the data conversion rule in the data link configuration information, so that the data can be normally transmitted; through the event set in the data link configuration information, corresponding events can be executed, and corresponding logic processing is realized.
In one embodiment, obtaining data link configuration information through a configuration interface includes: displaying a configuration interface; receiving configuration operation on a configuration interface, wherein the configuration operation is used for configuring data transformation rules and/or performing event configuration according to predefined configurable events; and acquiring the data link configuration information according to the configuration operation.
The configuration operation is a specific operation that a user performs configuration according to information provided by the configuration interface, for example, editing a data transformation rule, or selecting a desired event from predefined configurable events.
The embodiment provides a configuration inlet for a user by using a configuration interface, and defines a configurable event in advance for the user to select, so that the user can configure a data transformation rule and an event set of a data link according to requirements, does not need to write a complex logic processing function, and meets different application logic requirements in a universal configuration mode.
Configurable events may be defined and classified according to common logic. The predefined configurable events include categories of at least one of: window, variable, function, user authority and enable setting, and each category corresponds to at least one operation item.
The window type event refers to the display, jump and the like of a window. A variable class event is a setting on the variable itself, such as zeroing, setting, etc. The function type event refers to a system script function provided by calling a custom function or a system, and the operation items corresponding to the function type event comprise: sum, Sin, Cos, Linear, etc. The user authority type event refers to triggering user login operation and the like. The enabling setting type event refers to triggering display/hiding, forbidding/enabling and the like of a form or a UI control in the form, and the enabling setting type event corresponding operation items comprise: window enabled, window disabled, window displayed, window hidden, control enabled, control disabled, control displayed, control hidden, and the like. Of course, the method is not limited to the above categories, and other categories may be added according to actual situations.
The logic or the function of each event is realized in the configuration software in advance by classifying various common logics and storing the various common logics as various configurable events; the function predefined in the configuration software can be used through simple configuration, complex logic processing is realized, and the work of writing complex logic processing functions by a user is avoided.
In one embodiment, obtaining data link configuration information through a configuration interface includes: classifying data links to be configured according to the data transmission direction between the configuration software and the communication bus to obtain an uplink data link and a downlink data link; and respectively acquiring uplink data link configuration information and downlink data link configuration information.
The uplink data link corresponds to the configuration software receiving data from the communication bus, and the downlink data link corresponds to the configuration software sending data to the communication bus. The user may perform respective configurations for the uplink data link and the downlink data link, or may mix the configurations without distinguishing the data transmission direction. Illustratively, the data transformation rule of the uplink data link and the data transformation rule of the downlink data link are inverse transformations; the uplink event may be a trigger frame display and the downlink event may be a reading of a value from a numerical element of a UI control.
The uplink configuration information can further process the received data, place it in the actual value of the variable or trigger a change in the user interface (e.g., display/hide, enable/disable, etc.). The downlink configuration information can be further processed on the actual values from the variables and then sent onto the communication bus.
The embodiment distinguishes the uplink data link and the downlink data link, and can respectively configure different data transmission directions in a targeted manner, so that the configuration is clearer.
In one embodiment, inserting the target language code into the data link at a predetermined location comprises: inserting a target language code corresponding to a data transformation rule in the data configuration information into a preset rule insertion point; and/or inserting the target language code corresponding to the event set in the data configuration information into a preset event set insertion point.
The rule insertion point and the event set insertion point are both located between the communication bus data and the data processing control of the configuration software. The rule insertion point and the event set insertion point are in a sequential relationship, and the rule insertion point is closer to the communication bus data, so that data received from the communication bus are subjected to data transformation at the first time or data to be transmitted are subjected to data transformation and then are sent to the communication bus.
The method and the device automatically insert the target language codes corresponding to the data transformation rules into the data link by using the preset rule insertion points, and automatically insert the target language codes corresponding to the event sets into the data link by using the event set insertion points, so that the communication configuration is simply completed, and the codes do not need to be written by users, so that the logic processing of data can be performed based on the communication configuration in the actual communication process of the configuration software and the communication bus.
Example two
The communication configuration method of the configuration software is described below with reference to an embodiment, but it should be noted that the embodiment is only for better describing the present application and is not to be construed as limiting the present application. The same or corresponding terms as those of the above-described embodiments are explained, and the description of the present embodiment is omitted.
The present embodiment is described by taking an example of distinguishing between an uplink and a downlink.
As shown in fig. 2, which is a configuration software communication architecture diagram, the communication bus takes a Modbus as an example and transmits data in a binary manner. The configuration software communicates through a Modbus, T represents a data transmission value, and R represents a data actual value.
The configuration software receives data (i.e., an uplink, also referred to as a northbound data link or a forward data link) from the Modbus, and T ═ R denotes a data transformation rule of the uplink configuration, by which a data transmission value is converted into a true data value. Operation 1 represents a set of events for uplink configuration. The configuration software sends data (namely a downlink data link, also called a southbound data link or a reverse data link) to the Modbus, where R ═ T denotes a data transformation rule configured for the downlink data link, and the data transformation rule is used to convert the actual data value into the data transmission value. Operation 2 represents a set of events for downlink configuration. The numerical element represents a numerical element on the user interface that displays the variable.
As shown in fig. 3, a specific flowchart of the communication configuration of the configuration software includes the following steps:
s301, configuration software predefines the formats of various available events and custom functions.
S302, the communication link is divided into an uplink and a downlink. The uplink is that the configuration software receives the transmission value of the variable from the communication bus, obtains the actual value of the variable through data transformation and event triggering, and drives the display content of the numerical element by the actual value. The downlink data link is generally used for controlling a scene of command issue, acquiring data from a numerical element on a user interface, performing conversion and event triggering, and finally sending an obtained transmission value to a communication bus.
S303, each link predefines two insertion points: a rule insertion point and an event set insertion point.
S304, the user configures the data transformation rules and the event sets of each link in the configuration software.
S305, the configuration software automatically converts the data transformation rules configured by the user into target language codes and inserts the target language codes into rule insertion points of corresponding links.
S306, the configuration software automatically converts the event set configured by the user into a target language code and inserts the target language code into the event set insertion point of the corresponding link.
The specific configuration will be described below with reference to fig. 4 to 8.
As shown in fig. 4, Id represents specific data transmitted on a data link, and the data has two expressions of data transmission value and data actual value, which are schematic diagrams of data transformation rule and event set configuration. On the interface shown in fig. 4, a user can configure a data transformation rule for each link and an event set for each link. The gear-shaped buttons represent settings, and a user can specifically configure corresponding items by clicking the gear-shaped buttons.
It should be noted that the communication protocol is applicable to some kind of devices, for example, A, B, C, D four lamps are available in a certain room, and for the protocol applicable to such a device, the configuration of the data link is theoretically valid for all the four lamps, but sometimes the user only wants the configuration to be applicable only to the lamp a in the room, and selects the lamp a after checking the designated unit in fig. 4, so that the configuration for a specific device can be realized, that is, the attribute configuration is only applied to the data processing of the lamp a, but not applied to the data processing of the lamp B, C, D. When the designated unit is not selected, the attribute configuration is applied to the whole class; after the check, only the designated object of the class is applied, so as to realize better selectivity and configurability.
Clicking on the gear button to the right of the event portion in fig. 4 pops up the interface shown in fig. 5, where the user can configure the event set. In fig. 5, 3 operations (i.e., event trigger operations op0, op1 and op2) are added, and when one operation on the left side is selected and the gear button on the right side of the trigger on the right operation part is clicked, the interface shown in fig. 6 pops up, and the user can configure the specific operation items of the operation. In addition, event trigger conditions can be configured, when the conditions are met, operation is executed, configuration can be performed through the right trigger condition part in fig. 5, and corresponding trigger conditions are selected.
In fig. 6, an element refers to a specific object of operation, including UI controls and protocol variables. The element type representation includes: buttons, combo boxes, numerical elements, protocol variables, and the like. Element events refer to specific actions on UI controls or protocol variables, including: click (clicked), get focus, lose focus, hover, and the like. Element events are first-level classifications, and classifications in event logic are sub-classifications thereof. The event logic includes at least the following categories: the method comprises the steps of window, variable, system script function, user authority and enabling setting, wherein each category corresponds to at least one operation item. The operations selectable by the user are divided into several large classes, each large class comprises specific operation items, then the logic or function of each item is realized in the configuration software in advance, and the user can use the predefined function in the configuration software through the configuration mode of the embodiment, for example, the user selects the operation to be executed such as Sin, and then configures the input parameters, so that the function of sine calculation can be realized.
As shown in fig. 7, an exemplary diagram of system script function class event items is shown, and the system script function class event includes: sum, Sin, Cos, Tan, Cot, Linear, exponentials, Logarithmic, etc. Of course, the system script function class event is not limited to the above example, and may include other functions.
As shown in fig. 8, in order to enable the setting class event item exemplary diagram, the enabling of the setting class event includes: window enabled, window disabled, window displayed, window hidden, control enabled, control disabled, control displayed, control hidden, and the like.
The embodiment provides a configuration interface for a user in the configuration software, the user can configure the data transformation rule and the event set of the data link, the configuration software automatically converts the configuration information of the data link into the target language code and inserts the target language code into the data link to complete configuration, the function of the configuration software for processing the communication data is improved, different application logic requirements are met in a universal configuration mode, the same effect of using similar C language codes can be achieved, and the application scene of the configuration software is expanded.
EXAMPLE III
Based on the same inventive concept, the present embodiment provides a communication configuration device of configuration software, which can be used to implement the communication configuration method of configuration software described in the above embodiments. The device may be implemented by software and/or hardware, and the device may be generally integrated into configuration software.
Fig. 9 is a block diagram of a communication configuration device of configuration software according to a third embodiment of the present invention, and as shown in fig. 9, the device includes:
an obtaining module 91, configured to obtain data link configuration information through a configuration interface;
a conversion module 92, configured to convert the data link configuration information into a target language code;
and an inserting module 93, configured to insert the target language code into a preset position of a data link.
Optionally, the obtaining module 91 includes:
the display unit is used for displaying a configuration interface;
the receiving unit is used for receiving configuration operation on the configuration interface, wherein the configuration operation is used for configuring data transformation rules and/or performing event configuration according to predefined configurable events;
a first obtaining unit, configured to obtain the data link configuration information according to the configuration operation.
Optionally, the predefined configurable event includes a category of at least one of: window, variable, function, user authority and enable setting, and each category corresponds to at least one operation item.
Optionally, the obtaining module 91 includes:
the classification unit is used for classifying the data link to be configured according to the data transmission direction between the configuration software and the communication bus to obtain an uplink data link and a downlink data link;
a second obtaining unit, configured to obtain the uplink configuration information and the downlink configuration information respectively.
Optionally, the data link configuration information includes: a set of data transformation rules and/or events; the data transformation rule is a data conversion relation between a data actual value and a data transmission value, and the event set comprises at least one event which is executed in sequence according to data requirements.
Optionally, the event set further includes: and event trigger conditions corresponding to the events.
Optionally, the insertion module 93 is specifically configured to:
inserting a target language code corresponding to a data transformation rule in the data configuration information into a preset rule insertion point; and/or the presence of a gas in the gas,
and inserting the target language code corresponding to the event set in the data configuration information into a preset event set insertion point.
The device can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
Example four
The present embodiment provides a computer device, including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method of the embodiment.
EXAMPLE five
The present embodiment provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of the above-described embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for configuring communication of configuration software, comprising:
acquiring data link configuration information through a configuration interface;
converting the data link configuration information into target language code;
and inserting the target language code into a preset position of a data link.
2. The method of claim 1, wherein obtaining the data link configuration information via the configuration interface comprises:
displaying a configuration interface;
receiving configuration operation at the configuration interface, wherein the configuration operation is used for configuring data transformation rules and/or performing event configuration according to predefined configurable events;
and acquiring the data link configuration information according to the configuration operation.
3. The method of claim 2, wherein the predefined configurable events comprise categories of at least one of: window, variable, function, user authority and enable setting, and each category corresponds to at least one operation item.
4. The method of claim 1, wherein obtaining the data link configuration information via the configuration interface comprises:
classifying data links to be configured according to the data transmission direction between the configuration software and the communication bus to obtain an uplink data link and a downlink data link;
and respectively acquiring uplink data link configuration information and downlink data link configuration information.
5. The method according to any of claims 1 to 4, wherein the data link configuration information comprises: a set of data transformation rules and/or events; the data transformation rule is a data conversion relation between a data actual value and a data transmission value, and the event set comprises at least one event which is executed in sequence according to data requirements.
6. The method of claim 5, wherein the set of events further comprises: and event trigger conditions corresponding to the events.
7. The method of claim 5, wherein inserting the target language code into the data link at a predetermined location comprises:
inserting a target language code corresponding to a data transformation rule in the data configuration information into a preset rule insertion point; and/or the presence of a gas in the gas,
and inserting the target language code corresponding to the event set in the data configuration information into a preset event set insertion point.
8. A communication configuration apparatus for configuration software, comprising:
the acquisition module is used for acquiring the configuration information of the data link through the configuration interface;
the conversion module is used for converting the data link configuration information into a target language code;
and the inserting module is used for inserting the target language code into a preset position of a data link.
9. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202111107865.4A 2021-09-22 2021-09-22 Communication configuration method and device for configuration software Pending CN113824591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111107865.4A CN113824591A (en) 2021-09-22 2021-09-22 Communication configuration method and device for configuration software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111107865.4A CN113824591A (en) 2021-09-22 2021-09-22 Communication configuration method and device for configuration software

Publications (1)

Publication Number Publication Date
CN113824591A true CN113824591A (en) 2021-12-21

Family

ID=78920816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111107865.4A Pending CN113824591A (en) 2021-09-22 2021-09-22 Communication configuration method and device for configuration software

Country Status (1)

Country Link
CN (1) CN113824591A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240047A1 (en) * 2006-03-23 2007-10-11 International Business Machines Corporation System and method for graphically building business rule conditions
CN110609678A (en) * 2019-08-26 2019-12-24 珠海格力电器股份有限公司 Function programming method and device and configuration software system
CN112416224A (en) * 2020-11-17 2021-02-26 珠海格力电器股份有限公司 Function extension method and storage medium for configuration software button control
CN112417515A (en) * 2020-11-12 2021-02-26 珠海格力电器股份有限公司 Configuration software protocol processing method and system
CN113093686A (en) * 2021-04-14 2021-07-09 宁波和利时智能科技有限公司 SCADA-based automatic configuration modeling method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240047A1 (en) * 2006-03-23 2007-10-11 International Business Machines Corporation System and method for graphically building business rule conditions
CN110609678A (en) * 2019-08-26 2019-12-24 珠海格力电器股份有限公司 Function programming method and device and configuration software system
CN112417515A (en) * 2020-11-12 2021-02-26 珠海格力电器股份有限公司 Configuration software protocol processing method and system
CN112416224A (en) * 2020-11-17 2021-02-26 珠海格力电器股份有限公司 Function extension method and storage medium for configuration software button control
CN113093686A (en) * 2021-04-14 2021-07-09 宁波和利时智能科技有限公司 SCADA-based automatic configuration modeling method and related device

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN110262715B (en) Information processing method and device, computer readable storage medium and electronic equipment
US10284705B2 (en) Method and apparatus for controlling smart device, and computer storage medium
CN109961780A (en) A kind of man-machine interaction method, device, server and storage medium
US20070038947A1 (en) Method and device for generation of a parametric model associated with a 3D geometry
CN106775647A (en) A kind of control method of mobile terminal, control device and mobile terminal
US11954011B2 (en) Apparatus and method for executing customized artificial intelligence production line
KR20210095126A (en) Context-Based Recommendation Techniques for Designing Robotic Process Automation
CN107085463A (en) A kind of the smart machine control system and method for supporting natural language information to interact
WO2022037019A1 (en) System, method and device for implementing man-machine multi-round conversation
CN113824591A (en) Communication configuration method and device for configuration software
CN113516729A (en) Chart drawing method and device and computer readable storage medium
CN113296769A (en) Data processing method, visual draft processing method, system and electronic equipment
CN112130951A (en) AI-based RPA flow generation end flow generation method, equipment and storage medium
US11662886B2 (en) System and method for directly sending messages with minimal user input
CN105279068B (en) A kind of method and display device of running of mobile terminal information real-time display
CN108170292A (en) Expression management method, expression managing device and intelligent terminal
CN114201283A (en) Task scheduling method and device, intelligent scheduling system and processor
CN114327709A (en) Control page generation method and device, intelligent device and storage medium
CN113238746A (en) Hybrid programming control method, device, equipment and storage medium
CN110312990A (en) Configuration method and system
CN108763296B (en) Database structure generation method and device for online checking and editing
KR20220056396A (en) System and method for auto-completing roboting processing automation based on history
US20230394386A1 (en) System and method for creating product compatibility rules for enterprise resource planning system
KR20150108151A (en) System and method for developing application

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211221

RJ01 Rejection of invention patent application after publication