CN111585792B - Data port configuration method and data port configuration device - Google Patents

Data port configuration method and data port configuration device Download PDF

Info

Publication number
CN111585792B
CN111585792B CN202010306460.2A CN202010306460A CN111585792B CN 111585792 B CN111585792 B CN 111585792B CN 202010306460 A CN202010306460 A CN 202010306460A CN 111585792 B CN111585792 B CN 111585792B
Authority
CN
China
Prior art keywords
data
area network
configuration
data bit
controller
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
CN202010306460.2A
Other languages
Chinese (zh)
Other versions
CN111585792A (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.)
Hunan Sany Intelligent Control Equipment Co Ltd
Original Assignee
Hunan Sany Intelligent Control Equipment Co 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 Hunan Sany Intelligent Control Equipment Co Ltd filed Critical Hunan Sany Intelligent Control Equipment Co Ltd
Priority to CN202010306460.2A priority Critical patent/CN111585792B/en
Publication of CN111585792A publication Critical patent/CN111585792A/en
Application granted granted Critical
Publication of CN111585792B publication Critical patent/CN111585792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • 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/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a configuration method of a data port and a configuration device of the data port, wherein the configuration method of the data port comprises the following steps: receiving a configuration request for a data port; determining that the configuration request corresponds to the transmission data, and displaying a configuration interface of the transmission data; the configuration interface for sending data is configured to display the unique identifier of the first controller local area network and the data bit filling information corresponding to the first controller local area network in a partitioned mode; responding to a first operation instruction of a configuration interface for transmitting data, and generating a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network; generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network; the first configuration file is sent to the configuration software, so that a user can intuitively observe the configuration state, and the probability of errors in the configuration process is reduced.

Description

Data port configuration method and data port configuration device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a data port.
Background
In the related technical scheme, when the configuration software performs CAN equipment communication, the ID of a CAN frame and 8 bytes of data bits are required to be defined, and generally, the following two modes are adopted for definition:
(1) A code assignment definition is used.
(2) The device file is defined, only the device file is required to be modified after the protocol is changed, but the intuitiveness is poor, and the protocol debugging modification is easy to make mistakes.
Those skilled in the art find that the flexibility and universality of the mode of adopting code assignment definition are poor, the code needs to be modified after the protocol is changed, the maintenance difficulty is high, and the mode of defining the equipment file is adopted, although only the equipment file needs to be modified after the protocol is changed, the intuitiveness is poor, the protocol debugging modification is easy to make mistakes, and particularly when the data volume is large, the maintenance and management are difficult.
Disclosure of Invention
The present invention aims to solve or improve at least one of the technical problems existing in the prior art or related art.
To this end, a first aspect of the present invention is to provide a method for configuring a data port.
A second aspect of the present invention provides a configuration apparatus for a data port.
In view of this, according to a first aspect of the present invention, there is provided a method for configuring a data port, including: receiving a configuration request for a data port; determining that the configuration request corresponds to the transmission data, and displaying a configuration interface of the transmission data; the configuration interface for sending data is configured to display the unique identifier of the first controller local area network and the data bit filling information corresponding to the first controller local area network in a partitioned mode; responding to a first operation instruction of a configuration interface for transmitting data, and generating a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network; generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network; and sending the first configuration file to the configuration software.
The technical scheme of the invention provides a configuration method of a data port, when a configuration request of the data port is received and the configuration request is determined to correspond to transmission data, a configuration interface of the transmission data is displayed, a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network are generated in response to a first operation instruction of the configuration interface of the transmission data, and in the process, the unique identifier of the first controller local area network and the filling information of the data bits corresponding to the first controller local area network are displayed in a region-by-region manner in the configuration interface of the transmission data, so that a user can intuitively observe a configuration state in the configuration and maintenance processes, and the probability of errors of configuration software in the configuration process is further reduced.
In addition, the configuration method of the data port in the technical scheme provided by the invention can also have the following additional technical characteristics:
in the above technical solution, the first operation instruction includes: a new instruction and/or a data bit editing instruction, wherein filling information of data bits comprises a first target variable or null data; in response to a first operation instruction of a configuration interface for transmitting data, generating a unique identifier of a first controller area network and padding information of data bits corresponding to the first controller area network, specifically including: determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in a configuration interface for sending data, and determining that a data bit editing instruction is received under the condition that filling information of data bits corresponding to the first controller local area network is displayed in the configuration interface for sending data, and controlling the filling information of the data bits corresponding to the data bit editing instruction to switch between a first target variable and null data, wherein the area for displaying the unique identifier of the first controller local area network and/or the filling information of the data bits corresponding to the first controller local area network are displayed in a form of a table.
In the technical scheme, the new process of the unique identifier of the first controller local area network and the filling process of the data bit corresponding to the first controller local area network can be displayed on a configuration interface for transmitting data, so that a user can intuitively observe the configuration state in the configuration and maintenance processes, the probability of configuration errors is further reduced, meanwhile, the unique identifier area of the first controller local area network and/or the filling information of the data bit corresponding to the first controller local area network are displayed in a form of a table, and therefore, the filling information of any data bit can be switched between the first target variable and the empty data to be directly set according to the data bit editing instruction without writing a code program, and the time cost and the labor cost in the configuration process are reduced.
In any of the above technical solutions, the method further includes: determining to receive a first target variable selection instruction and displaying at least one to-be-selected variable of the first target variable; and receiving the first input information, and taking the variable to be selected indicated by the first input information as a first target variable.
In the technical scheme, a filling process supporting variable of a data bit corresponding to a first controller area network is selected, and specifically, when a first target variable selecting instruction is received, at least one to-be-selected variable of a first target variable is displayed; when the first input information is received, the to-be-selected variable indicated by the first input information is used as a first target variable, and in the process, the configuration can be carried out according to the actual needs of a user, so that the convenience of the configuration process is improved.
In any of the above technical solutions, the method further includes: and determining that the activation operation of the first controller area network is received, and displaying the filling information of the data bit corresponding to the first controller area network.
In the technical scheme, whether the filling information of the data bits corresponding to the first controller local area network is displayed is related to whether the first controller local area network is selected or not, and the filling information of the data bits corresponding to the first controller local area network is displayed only when the activation operation of the first controller local area network is received, so that the display area of a configuration interface for transmitting data is reduced, and meanwhile, the situation that the filling information of the data bits corresponding to a plurality of first controller local area networks is displayed simultaneously is avoided, the intuitiveness is poor, and configuration errors and the like are easy to occur is avoided.
In any of the above technical solutions, the method further includes: receiving a query instruction of a first target variable, and displaying use information of the first target variable, wherein the use information comprises: at least one of the interface name and a control name associated with the first target variable is used.
In the technical scheme, when a query instruction of a first target variable is received, use information of the first target variable is displayed, wherein the use information comprises: the user can set the first target variable according to at least one of the interface name and the control name associated with the first target variable, so that the interface corresponding to the interface name is conveniently debugged, and the configuration efficiency is improved.
In any of the above technical solutions, the method further includes: determining that the configuration request corresponds to the received data, and displaying a configuration interface of the received data; the configuration interface for receiving the data is configured to display the second target variable, the unique identifier of the second controller area network and the data bit number; receiving the unique identifier and the data bit number of the second controller area network, and associating the second target variable with the unique identifier and the data bit number of the second controller area network to generate a second configuration file; and sending the second configuration file to the configuration software.
In the technical scheme, the configuration process of the received data is displayed by adopting a visual configuration interface, so that a user can conveniently configure according to the displayed content, the probability of error occurrence in the configuration process is reduced, meanwhile, the configuration of the received data is set by adopting a variable binding mode, namely, the second target variable is associated with the unique identifier and the data bit number of the second controller local area network, and by carrying out the association, in the operation process of configuration software, the analysis protocol is not required to be executed, and the assignment process is carried out, so that the configuration flow of the received data is simplified, and the configuration efficiency is further improved.
In any of the foregoing solutions, after the step of receiving the unique identifier and the data bit number of the second controller area network, before the step of associating the second target variable with the unique identifier and the data bit number of the second controller area network to generate the second configuration file, the method further includes: searching whether the data bit number is occupied; and determining that the data bit number is unoccupied, and performing the step of associating the second target variable with the unique identification of the second controller area network and the data bit number to generate a second configuration file.
In the technical scheme, whether the data bit number is occupied or not is searched, so that the occurrence of data receiving confusion and the like caused by repeated use of the data bit number is reduced, accurate data receiving is ensured, and the configuration reliability is improved.
In any of the above technical solutions, the method further includes: determining to receive a second target variable selection instruction and displaying at least one to-be-selected variable of the second target variable; and receiving second input information, and taking the variable to be selected indicated by the second input information as a second target variable.
In the technical scheme, the second target variable support variable is selected, specifically, when a second target variable selection instruction is received, at least one to-be-selected variable of the second target variable is displayed; when the second input information is received, the to-be-selected variable indicated by the second input information is used as a second target variable, and in the process, the configuration can be carried out according to the actual needs of the user, so that the convenience of the configuration process is improved.
In a second aspect of the present invention, a configuration apparatus for a data port is provided, including: a receiving unit, configured to receive a configuration request for a data port; the display unit is used for determining that the configuration request corresponds to the transmission data and displaying a configuration interface for the transmission data; the configuration interface for sending data is configured to display the unique identifier of the first controller local area network and the data bit filling information corresponding to the first controller local area network in a partitioned mode; the generating unit is used for responding to a first operation instruction of the configuration interface for transmitting data and generating a unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network; generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network; and the sending unit is used for sending the first configuration file to the configuration software.
The technical scheme of the invention provides a configuration device of a data port, which specifically comprises a receiving unit, a display unit, a generating unit and a sending unit, wherein when a configuration request of the data port is received and the configuration request is determined to correspond to sending data, the display unit displays a configuration interface of the sending data, the generating unit is specifically used for responding to a first operation instruction of the configuration interface of the sending data, and generating a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network.
In addition, the configuration device of the data port in the technical scheme provided by the invention can also have the following additional technical characteristics:
in the above technical solution, the first operation instruction includes: a new instruction and/or a data bit editing instruction, wherein filling information of data bits comprises a first target variable or null data; the generating unit is specifically configured to: determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in a configuration interface for sending data, and determining that a data bit editing instruction is received under the condition that filling information of data bits corresponding to the first controller local area network is displayed in the configuration interface for sending data, and controlling the filling information of the data bits corresponding to the data bit editing instruction to switch between a first target variable and null data, wherein the area for displaying the unique identifier of the first controller local area network and/or the filling information of the data bits corresponding to the first controller local area network are displayed in a form of a table.
In the technical scheme, the new process of the unique identifier of the first controller local area network and the filling process of the data bit corresponding to the first controller local area network can be displayed on a configuration interface for transmitting data, so that a user can intuitively observe the configuration state in the configuration and maintenance processes, the probability of configuration errors is further reduced, meanwhile, the unique identifier area of the first controller local area network and/or the filling information of the data bit corresponding to the first controller local area network are displayed in a form of a table, and therefore, the filling information of any data bit can be switched between the first target variable and the empty data to be directly set according to the data bit editing instruction without writing a code program, and the time cost and the labor cost in the configuration process are reduced.
In any of the above solutions, the display unit is further configured to: determining to receive a first target variable selection instruction and displaying at least one to-be-selected variable of the first target variable; and receiving the first input information, and taking the variable to be selected indicated by the first input information as a first target variable.
In the technical scheme, a filling process supporting variable of a data bit corresponding to a first controller area network is selected, and specifically, when a first target variable selecting instruction is received, at least one to-be-selected variable of a first target variable is displayed; when the first input information is received, the to-be-selected variable indicated by the first input information is used as a first target variable, and in the process, the configuration can be carried out according to the actual needs of a user, so that the convenience of the configuration process is improved.
In any of the above solutions, the display unit is further configured to: and determining that the activation operation of the first controller area network is received, and displaying the filling information of the data bit corresponding to the first controller area network.
In the technical scheme, whether the filling information of the data bits corresponding to the first controller local area network is displayed is related to whether the first controller local area network is selected or not, and the filling information of the data bits corresponding to the first controller local area network is displayed only when the activation operation of the first controller local area network is received, so that the display area of a configuration interface for transmitting data is reduced, and meanwhile, the situation that the filling information of the data bits corresponding to a plurality of first controller local area networks is displayed simultaneously is avoided, the intuitiveness is poor, and configuration errors and the like are easy to occur is avoided.
In any of the above solutions, the display unit is further configured to: receiving a query instruction of a first target variable, and displaying use information of the first target variable, wherein the use information comprises: at least one of the interface name and a control name associated with the first target variable is used.
In the technical scheme, when a query instruction of a first target variable is received, use information of the first target variable is displayed, wherein the use information comprises: the user can set the first target variable according to at least one of the interface name and the control name associated with the first target variable, so that the interface corresponding to the interface name is conveniently debugged, and the configuration efficiency is improved.
In any of the above solutions, the display unit is further configured to: determining that the configuration request corresponds to the received data, and displaying a configuration interface of the received data; the configuration interface for receiving the data is configured to display the second target variable, the unique identifier of the second controller area network and the data bit number; the generating unit is further configured to receive the unique identifier and the data bit number of the second controller area network, and associate the second target variable with the unique identifier and the data bit number of the second controller area network to generate a second configuration file; the sending unit is also used for sending the second configuration file to the configuration software.
In the technical scheme, the configuration process of the received data is displayed by adopting a visual configuration interface, so that a user can conveniently configure according to the displayed content, the probability of error occurrence in the configuration process is reduced, meanwhile, the configuration of the received data is set by adopting a variable binding mode, namely, the second target variable is associated with the unique identifier and the data bit number of the second controller local area network, and by carrying out the association, in the operation process of configuration software, the analysis protocol is not required to be executed, and the assignment process is carried out, so that the configuration flow of the received data is simplified, and the configuration efficiency is further improved.
In any of the above technical solutions, the method further includes: a searching unit for searching whether the data bit number is occupied; and determining that the data bit number is unoccupied, and performing the step of associating the second target variable with the unique identification of the second controller area network and the data bit number to generate a second configuration file.
In the technical scheme, whether the data bit number is occupied or not is searched by the searching unit, so that the occurrence of data receiving confusion caused by repeated use of the data bit number is reduced, accurate data receiving is ensured, and the configuration reliability is improved.
In any of the above solutions, the display unit is further configured to: determining to receive a second target variable selection instruction and displaying at least one to-be-selected variable of the second target variable; and receiving second input information, and taking the variable to be selected indicated by the second input information as a second target variable.
In the technical scheme, the second target variable support variable is selected, specifically, when a second target variable selection instruction is received, at least one to-be-selected variable of the second target variable is displayed; when the second input information is received, the to-be-selected variable indicated by the second input information is used as a second target variable, and in the process, the configuration can be carried out according to the actual needs of the user, so that the convenience of the configuration process is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 shows a flow diagram of a method of configuring a data port according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a method of determining a first target variable according to one embodiment of the invention;
FIG. 3 illustrates a flow diagram of a method of determining a second target variable according to one embodiment of the invention;
FIG. 4 shows a schematic diagram of a configuration interface for transmitting data according to one embodiment of the invention;
FIG. 5 shows a control flow diagram of a sender according to one embodiment of the present invention;
FIG. 6 shows a schematic diagram of a configuration interface for receiving data according to one embodiment of the invention;
FIG. 7 is a schematic diagram of a control flow of a receiving end according to an embodiment of the present invention;
FIG. 8 shows a schematic block diagram of a configuration apparatus of a data port according to one embodiment of the present invention;
fig. 9 shows a schematic block diagram of a configuration apparatus of a data port according to an embodiment of the present invention.
Detailed Description
So that the manner in which the above recited aspects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized below, may be had by reference to the appended drawings. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Example 1
In one embodiment of the present invention, as shown in fig. 1, there is provided a method for configuring a data port, including:
step 102, receiving a configuration request of a data port;
step 104, determining that the configuration request corresponds to the transmission data, and displaying a configuration interface for the transmission data;
step 106, responding to a first operation instruction of a configuration interface for transmitting data, and generating a unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network;
step 108, generating a first configuration file according to the unique identifier of the first controller area network and the filling information of the data bit corresponding to the first controller area network;
step 110, sending the first configuration file to the configuration software;
step 112, determining that the configuration request corresponds to the received data, and displaying a configuration interface of the received data;
step 114, receiving the unique identifier and the data bit number of the second controller area network, and associating the second target variable with the unique identifier and the data bit number of the second controller area network to generate a second configuration file;
step 116, send the second configuration file to the configuration software.
The configuration interface for sending data is configured to display the unique identifier of the first controller local area network and the data bit filling information corresponding to the first controller local area network in a partitioned mode, and the configuration interface for receiving data is configured to display the second target variable, the unique identifier of the second controller local area network and the data bit number.
The embodiment of the invention provides a configuration method of a data port, which comprises the steps of displaying a configuration interface of sending data when a configuration request of the data port is received and the configuration request is determined to correspond to the sending data, responding to a first operation instruction of the configuration interface of the sending data, and generating a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network, wherein in the process, the unique identifier of the first controller local area network and the filling information of the data bits corresponding to the first controller local area network are displayed in a subarea mode in the configuration interface of the sending data; the configuration process of the received data adopts a visual configuration interface to display, so that a user can conveniently configure according to the displayed content, the probability of errors in the configuration process is reduced, meanwhile, the configuration of the received data is set in a variable binding mode, namely, the second target variable is associated with the unique identifier and the data bit number of the second controller local area network, and by the association, an analysis protocol is not required to be executed and assignment is performed in the operation process of configuration software, so that the configuration flow of the received data is simplified, and the configuration efficiency is further improved.
In one embodiment, the content displayed concurrently with the unique identification of the first controller area network further comprises: frame type, transmission period, start-stop variable, and transmission direction.
In one embodiment, the content displayed simultaneously with the second target variable further includes a type of the second target variable, a frame type, a unique identifier of the second controller area network, a data bit number and a sender, where the unique identifier of the second controller area network and the data bit number have a corresponding relationship, that is, when the unique identifier of the second controller area network is displayed on a configuration interface for sending data, the data bit number corresponds to the padding information of the data bit corresponding to the second controller area network one by one.
In one embodiment, it is determined that an activation operation is received for the first controller area network, and padding information of data bits corresponding to the first controller area network is displayed.
In this embodiment, whether the filling information of the data bits corresponding to the first controller area network is displayed is associated with whether the first controller area network is selected, and only when the activation operation of the first controller area network is received, the filling information of the data bits corresponding to the first controller area network is displayed, so as to reduce the display area of the configuration interface for transmitting data, and simultaneously avoid the simultaneous display of the filling information of the data bits corresponding to a plurality of first controller area networks, which is poor in intuitiveness and easy to cause configuration errors.
In one embodiment, the activation operation of the first controller area network may be a user triggering an area displayed by a unique identifier of the first controller area network, such as a single click of the area by a mouse.
In one embodiment, the method for configuring the data port is applied to a device that uses CAN (Controller Area Network ) for communication, where the first controller area network has 8 bytes corresponding to the data bits.
Example two
In any of the foregoing embodiments, the first operation instruction includes: a new instruction and/or a data bit editing instruction, wherein filling information of data bits comprises a first target variable or null data; in response to a first operation instruction of a configuration interface for transmitting data, generating a unique identifier of a first controller area network and padding information of data bits corresponding to the first controller area network, specifically including: determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in a configuration interface for sending data, and determining that a data bit editing instruction is received under the condition that filling information of data bits corresponding to the first controller local area network is displayed in the configuration interface for sending data, and controlling the filling information of the data bits corresponding to the data bit editing instruction to switch between a first target variable and null data, wherein the area for displaying the unique identifier of the first controller local area network and/or the filling information of the data bits corresponding to the first controller local area network are displayed in a form of a table.
In this embodiment, the new process of the unique identifier of the first controller lan and the filling process of the data bit corresponding to the first controller lan may be displayed on the configuration interface for transmitting data, so that during the configuration and maintenance process, the user may intuitively observe the configuration state, thereby reducing the probability of configuration errors, and meanwhile, the area of the unique identifier of the first controller lan and/or the filling information of the data bit corresponding to the first controller lan are displayed in the form of a table, so that the filling information of any data bit can be directly set between the first target variable and the null data according to the data bit editing instruction, without writing a code program, which is beneficial to reducing the time cost and the labor cost in the configuration process.
In one embodiment, the unique identifier of the first controller area network is managed through a table, and when receiving the new instruction, the unique identifier of the first controller area network is displayed in a new line adding mode in the table, and meanwhile, the frame type, the sending period, the start-stop variable and the sending direction are displayed at the new line adding position while the unique identifier of the first controller area network is in reality.
In one embodiment, in the case that the first controller area network has 8 bytes of data bits, the padding information of the data bits corresponding to the first controller area network is managed using an 8×8 table.
In one embodiment, when the filling information of the data bit is switched between the first target variable and the null data, in order to facilitate direct observation of a user, the table position corresponding to the filling position is displayed according to a first color when the filling information is the first target variable, and the table position corresponding to the filling position is displayed according to a second color when the filling information is the null data, wherein the first color and the second color are completely different colors.
In one embodiment, the data bit editing instructions include a first data bit editing instruction and a second data bit editing instruction, the first data bit editing instruction is received when the padding information is null data, the padding information is modified from the null data to the first target variable, and the second data bit editing instruction is received when the padding information is the first target variable, the padding information is modified from the first target variable to the null data.
In one embodiment, the first data bit editing instruction may be a two-click operation performed on the data bit using a mouse; the second data bit editing instruction may be an operation of performing two successive clicking operations on the data bit using a mouse and selecting a delete variable.
In one of the above embodiments, as shown in fig. 2, the method for determining the first target variable includes:
step 202, determining to receive a first target variable selection instruction, and displaying at least one to-be-selected variable of the first target variable;
step 204, receiving the first input information, and taking the candidate variable indicated by the first input information as the first target variable.
In this embodiment, the first controller area network supports the selection of variables for the filling process of the corresponding data bits, specifically, when receiving the first target variable selection instruction, displaying at least one of the variables to be selected of the first target variables; when the first input information is received, the to-be-selected variable indicated by the first input information is used as a first target variable, and in the process, the configuration can be carried out according to the actual needs of a user, so that the convenience of the configuration process is improved.
In one embodiment, the method further comprises: receiving a query instruction of a first target variable, and displaying use information of the first target variable, wherein the use information comprises: at least one of the interface name and a control name associated with the first target variable is used.
In this embodiment, when a query instruction of a first target variable is received, usage information of the first target variable is displayed, wherein the usage information includes: the user can set the first target variable according to at least one of the interface name and the control name associated with the first target variable, so that the interface corresponding to the interface name is conveniently debugged, and the configuration efficiency is improved.
In one embodiment, the query instruction for the first target variable may be an operation in which the user moves a selected tool controlled by the mouse (where the selected tool is a mouse point displayed on the desktop of the operating system) to the area where the first target variable is displayed.
In one embodiment, the first configuration file and the second configuration file have preset formats, specifically, the format of sending the frame header information is shown in table 1:
TABLE 1
AIRC_REV(16B) Data length (4B) Data length (4B)
The format of the CAN transmission information table is shown in table 2:
TABLE 2
Figure BDA0002455952320000121
Wherein caid is the unique identification of the first controller area network referred to in this application.
The CAN transmission file format is specifically as shown in table 3:
TABLE 3 Table 3
Figure BDA0002455952320000122
The format of the first target variable is shown in table 4:
TABLE 4 Table 4
Byte count (2B) CAN data bit number (2B) Variable address (4B)
The format of the received frame header information is shown in table 5:
TABLE 5
AIRC_CTRL(16B) Data length (4B) Data length (4B)
The format of the CAN receive information table is shown in table 6:
TABLE 6
CANID number (4B) CANID(4B) CANID(4B)
The format of the CAN reception file format is shown in table 7:
TABLE 7
Figure BDA0002455952320000131
The format of the second target variable is shown in table 8:
TABLE 8
Byte count (2B) CAN data bit number (2B) Variable address (4B)
Example III
In either of the first and second embodiments, after the step of receiving the unique identification and the data bit number of the second controller area network, before the step of associating the second target variable with the unique identification and the data bit number of the second controller area network to generate the second configuration file, further comprising: searching whether the data bit number is occupied; and determining that the data bit number is unoccupied, and performing the step of associating the second target variable with the unique identification of the second controller area network and the data bit number to generate a second configuration file.
In the embodiment, whether the data bit number is occupied or not is searched, so that the occurrence of data receiving confusion and other conditions caused by repeated use of the data bit number is reduced, accurate data receiving is ensured, and the configuration reliability is improved.
In one of the above embodiments, as shown in fig. 3, the method for determining the second target variable includes:
step 302, determining to receive a second target variable selection instruction, and displaying at least one to-be-selected variable of the second target variables;
step 304, receiving the second input information, and taking the variable to be selected indicated by the second input information as a second target variable.
In this embodiment, the second target variable support variable is selected, specifically, upon receiving the second target variable selection instruction, displaying the candidate variable of at least one second target variable; when the second input information is received, the to-be-selected variable indicated by the second input information is used as a second target variable, and in the process, the configuration can be carried out according to the actual needs of the user, so that the convenience of the configuration process is improved.
In one embodiment, the candidate variable for the at least one second target variable is displayed in the form of a pop-up box.
Example IV
In one embodiment of the present invention, when the CAN device communication is performed in the configuration software, an ID of a CAN frame (i.e., a unique identifier of a first controller area network referred to in the present application) and 8 bytes of data bits (i.e., data bits corresponding to the first controller area network referred to in the present application) need to be defined, specifically, the CAN device communication includes two parts, that is, sending CAN data and receiving CAN data, and in the embodiment of the present application, a visual interface is used to define the device respectively.
For transmitting CAN data, it CAN be understood that the transmitting end needs to define the CAN id, 8 bytes of data bits and a transmission period, where:
(1) The nid and the data (i.e. the data bits corresponding to the first controller area network referred to in this application) are displayed separately, the nid is managed by a table, the data is managed by an 8 x 8 table, and if the protocol is updated, only the modification in the interface is required.
(2) If the data content corresponding to the ID is required to be checked, the data table of 8 multiplied by 8 is automatically updated by clicking the corresponding ID row by a mouse, and if the associated variable exists, the color of the table is changed to yellow, so that the filling condition of the data can be visually checked.
(3) The mouse is placed on the yellow table, and a prompt box can be used for displaying the use condition of the variable on the interface, so that the debugging difficulty of the interface and the protocol is greatly reduced.
More specifically, as shown in fig. 4, in order to intuitively check the transmission condition of the CAN, the CAN id is defined in a newly added line manner, and each line includes the CAN id, a frame type, a transmission period, a start-stop variable, and a transmission direction.
After the configuration of the nid information is completed, as shown in fig. 4, when the nid row is selected by clicking the left button of the mouse, the filling condition of the data frame is displayed in the table of 8×8 at the right lower end, the gray display is not filled, and the yellow and variable names (such as DI0 and DII 4) are displayed after filling. If the data needs to be filled, a variable selection box is popped up by double clicking the gray grid by using the left button of the mouse, and the gray grid turns yellow after the selection is successful. If the filled data needs to be modified, a prompt box is popped up by double clicking the yellow grid with a mouse to prompt whether the variable is to be deleted, and after the selection is determined, the yellow grid turns gray and can be re-associated with a new variable.
The mouse is placed on the yellow grid, and the use condition of the variable in the picture, including the picture name and the associated control name, is displayed by the prompt box, so that the interface and the protocol are convenient to debug.
Specifically, as shown in fig. 5, the control flow of the transmitting end includes:
step 502, initializing engineering;
step 504, initializing a CAN transmitting interface;
step 506, list displaying the caid;
step 508, clicking the mouse to select a row of CANID;
step 510, initializing an 8×8 data table;
step 512, table display variable data;
step 514, finishing the editing of the sent CAN data;
step 516, compiling and generating a CAN transmission reservation format file;
step 518, download to the device applying the configuration software.
For receiving CAN data, it CAN be understood that the receiving end:
by using a pop-up box, as shown in fig. 6, variables and CAN frames are associated together, protocol analysis and assignment processing are not required, more specifically, when data is received, a row under a variable name is double-clicked by a mouse, a variable selection dialog box is popped up, wherein the selection dialog box contains variables such as VarTemp and the like, after the corresponding variables are selected, the CAN ID and a data bit number are required to be set, whether the bit number corresponding to an ID is used or not is checked during setting, the variables are not allowed to bind with the ID bit number, and the uniqueness of the protocol is ensured.
After the CANID and the bit number are defined, one-to-one association with the variable is completed, and when the configuration program operates, the variable directly displays the received CANID data without additional protocol analysis and assigns the variable with the data.
Specifically, as shown in fig. 7, the control flow of the receiving end includes:
step 702, initializing engineering;
step 704, initializing a CAN receiving interface;
step 706, displaying the variables of the bound CAN frames in a list;
step 708, finishing receiving CAN data editing;
step 710, compiling and generating a CAN receiving reservation format file;
step 712, download to the device applying the configuration software.
In this embodiment, after the completion of editing by the transmitting side and the receiving side, binary files of predetermined formats as shown in tables 1 to 8 are generated by the compiling function.
In the embodiment, the CAN equipment communication method is unified, so that the maintenance difficulty is reduced; defining CAN data by using an 8 multiplied by 8 table, visually displaying variable framing transmission conditions, and ensuring the maximization of CAN frame data; the receiving end associates the variable with the CAN frame, protocol analysis and assignment processing are not needed, and meanwhile, the device is directly integrated into the configuration software without external import.
Example five
In one embodiment of the present invention, as shown in fig. 8 and 9, a configuration apparatus 800 for a data port is provided, including: a receiving unit 802, configured to receive a configuration request for a data port; a display unit 804, configured to determine that the configuration request corresponds to the transmission data, and display a configuration interface for the transmission data; the configuration interface for sending data is configured to display the unique identifier of the first controller local area network and the data bit filling information corresponding to the first controller local area network in a partitioned mode; a generating unit 806, configured to generate, in response to a first operation instruction of the configuration interface for transmitting data, a unique identifier of the first controller area network and padding information of a data bit corresponding to the first controller area network; generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network; and the sending unit 808 is configured to send the first configuration file to the configuration software.
The embodiment of the invention provides a configuration device 800 for a data port, specifically, the configuration device comprises a receiving unit 802, a display unit 804, a generating unit 806 and a sending unit 808, specifically, when a configuration request of the data port is received and the configuration request is determined to correspond to sending data, the display unit 804 displays a configuration interface for sending the data, the generating unit 806 is specifically configured to respond to a first operation instruction of the configuration interface for sending the data, and generate a unique identifier of a first controller local area network and filling information of data bits corresponding to the first controller local area network, in this process, because the unique identifier of the first controller local area network and the filling information of the data bits corresponding to the first controller local area network are displayed in a split area in the configuration interface for sending the data, a user can intuitively observe a configuration state in the configuration and maintenance process, and further reduce the probability of errors of configuration software in the configuration process.
In one embodiment, the display unit 804 is further configured to: determining that the configuration request corresponds to the received data, and displaying a configuration interface of the received data; the configuration interface for receiving the data is configured to display the second target variable, the unique identifier of the second controller area network and the data bit number; the generating unit 806 is further configured to receive the unique identifier and the data bit number of the second controller area network, and associate the second target variable with the unique identifier and the data bit number of the second controller area network to generate a second configuration file; the sending unit 808 is further configured to send the second configuration file to the configuration software.
In this embodiment, the configuration process of the received data uses a visual configuration interface to display, so that a user can conveniently configure according to the displayed content, the probability of error occurrence in the configuration process is reduced, and meanwhile, the configuration of the received data is set in a variable binding manner, that is, the second target variable is associated with the unique identifier and the data bit number of the second controller local area network, by performing the association, in the running process of the configuration software, the process of analyzing the protocol and performing assignment is not required, so that the configuration process of the received data is simplified, and the configuration efficiency is further improved.
In one embodiment, the content displayed concurrently with the unique identification of the first controller area network further comprises: frame type, transmission period, start-stop variable, and transmission direction.
In one embodiment, the content displayed simultaneously with the second target variable further includes a type of the second target variable, a frame type, a unique identifier of the second controller area network, a data bit number and a sender, where the unique identifier of the second controller area network and the data bit number have a corresponding relationship, that is, when the unique identifier of the second controller area network is displayed on a configuration interface for sending data, the data bit number corresponds to the padding information of the data bit corresponding to the second controller area network one by one.
In one embodiment, the display unit 804 is further configured to determine that an activation operation is received on the first controller area network, and display padding information of a data bit corresponding to the first controller area network.
In this embodiment, whether the filling information of the data bits corresponding to the first controller area network is displayed is associated with whether the first controller area network is selected, and only when the activation operation of the first controller area network is received, the filling information of the data bits corresponding to the first controller area network is displayed, so as to reduce the display area of the configuration interface for transmitting data, and simultaneously avoid the simultaneous display of the filling information of the data bits corresponding to a plurality of first controller area networks, which is poor in intuitiveness and easy to cause configuration errors.
In one embodiment, the activation operation of the first controller area network may be a user triggering an area displayed by a unique identifier of the first controller area network, such as a single click of the area by a mouse.
In one embodiment, the method for configuring the data port is applied to a device that uses CAN (Controller Area Network ) for communication, where the first controller area network has 8 bytes corresponding to the data bits.
Example six
In any of the foregoing embodiments, the first operation instruction includes: a new instruction and/or a data bit editing instruction, wherein filling information of data bits comprises a first target variable or null data; the generating unit 806 is specifically configured to: determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in a configuration interface for sending data, and determining that a data bit editing instruction is received under the condition that filling information of data bits corresponding to the first controller local area network is displayed in the configuration interface for sending data, and controlling the filling information of the data bits corresponding to the data bit editing instruction to switch between a first target variable and null data, wherein the area for displaying the unique identifier of the first controller local area network and/or the filling information of the data bits corresponding to the first controller local area network are displayed in a form of a table.
In this embodiment, the new process of the unique identifier of the first controller lan and the filling process of the data bit corresponding to the first controller lan may be displayed on the configuration interface for transmitting data, so that during the configuration and maintenance process, the user may intuitively observe the configuration state, thereby reducing the probability of configuration errors, and meanwhile, the area of the unique identifier of the first controller lan and/or the filling information of the data bit corresponding to the first controller lan are displayed in the form of a table, so that the filling information of any data bit can be directly set between the first target variable and the null data according to the data bit editing instruction, without writing a code program, which is beneficial to reducing the time cost and the labor cost in the configuration process.
In one embodiment, the unique identifier of the first controller area network is managed through a table, and when receiving the new instruction, the unique identifier of the first controller area network is displayed in a new line adding mode in the table, and meanwhile, the frame type, the sending period, the start-stop variable and the sending direction are displayed at the new line adding position while the unique identifier of the first controller area network is in reality.
In one embodiment, in the case that the first controller area network has 8 bytes of data bits, the padding information of the data bits corresponding to the first controller area network is managed using an 8×8 table.
In one embodiment, when the filling information of the data bit is switched between the first target variable and the null data, in order to facilitate direct observation of a user, the table position corresponding to the filling position is displayed according to a first color when the filling information is the first target variable, and the table position corresponding to the filling position is displayed according to a second color when the filling information is the null data, wherein the first color and the second color are completely different colors.
In one embodiment, the data bit editing instructions include a first data bit editing instruction and a second data bit editing instruction, the first data bit editing instruction is received when the padding information is null data, the padding information is modified from the null data to the first target variable, and the second data bit editing instruction is received when the padding information is the first target variable, the padding information is modified from the first target variable to the null data.
In one embodiment, the first data bit editing instruction may be a two-click operation performed on the data bit using a mouse; the second data bit editing instruction may be an operation of performing two successive clicking operations on the data bit using a mouse and selecting a delete variable.
In one of the above embodiments, the display unit 804 is further configured to: determining to receive a first target variable selection instruction and displaying at least one to-be-selected variable of the first target variable; and receiving the first input information, and taking the variable to be selected indicated by the first input information as a first target variable.
In this embodiment, the first controller area network supports the selection of variables for the filling process of the corresponding data bits, specifically, when receiving the first target variable selection instruction, displaying at least one of the variables to be selected of the first target variables; when the first input information is received, the to-be-selected variable indicated by the first input information is used as a first target variable, and in the process, the configuration can be carried out according to the actual needs of a user, so that the convenience of the configuration process is improved.
In one of the above embodiments, the display unit 804 is further configured to: receiving a query instruction of a first target variable, and displaying use information of the first target variable, wherein the use information comprises: at least one of the interface name and a control name associated with the first target variable is used.
In this embodiment, when a query instruction of a first target variable is received, usage information of the first target variable is displayed, wherein the usage information includes: the user can set the first target variable according to at least one of the interface name and the control name associated with the first target variable, so that the interface corresponding to the interface name is conveniently debugged, and the configuration efficiency is improved.
In one embodiment, the query instruction for the first target variable may be an operation in which the user moves a selected tool controlled by the mouse (where the selected tool is a mouse point displayed on the desktop of the operating system) to the area where the first target variable is displayed.
Example seven
In any of the above embodiments, as shown in fig. 9, the apparatus further includes a searching unit 810 for searching whether the data bit number is occupied; and determining that the data bit number is unoccupied, and performing the step of associating the second target variable with the unique identification of the second controller area network and the data bit number to generate a second configuration file.
In the embodiment, whether the data bit number is occupied or not is searched, so that the occurrence of data receiving confusion and other conditions caused by repeated use of the data bit number is reduced, accurate data receiving is ensured, and the configuration reliability is improved.
In any of the above embodiments, the display unit 804 is further configured to: determining to receive a second target variable selection instruction and displaying at least one to-be-selected variable of the second target variable; and receiving second input information, and taking the variable to be selected indicated by the second input information as a second target variable.
In this embodiment, the second target variable support variable is selected, specifically, upon receiving the second target variable selection instruction, displaying the candidate variable of at least one second target variable; when the second input information is received, the to-be-selected variable indicated by the second input information is used as a second target variable, and in the process, the configuration can be carried out according to the actual needs of the user, so that the convenience of the configuration process is improved.
In one embodiment, the candidate variable for the at least one second target variable is displayed in the form of a pop-up box.
In the description of the present invention, the term "plurality" means two or more, unless explicitly defined otherwise, the orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as limiting the present invention; the terms "coupled," "mounted," "secured," and the like are to be construed broadly, and may be fixedly coupled, detachably coupled, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the description of the present invention, the terms "one embodiment," "some embodiments," "particular embodiments," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for configuring a data port, comprising:
receiving a configuration request for the data port;
determining that the configuration request corresponds to the transmission data, and displaying a configuration interface of the transmission data;
the configuration interface for sending data is configured to display a unique identifier of a first controller local area network and data bit filling information corresponding to the first controller local area network in a region-by-region manner; wherein the content displayed simultaneously with the unique identification of the first controller area network further comprises: frame type, transmission period, start-stop variable and transmission direction, and is displayed in a table;
Responding to a first operation instruction of the configuration interface for sending data, and generating a unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network;
generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network;
sending the first configuration file to configuration software;
determining that the activation operation of the first controller area network is received, and displaying filling information of data bits corresponding to the first controller area network; wherein, the filling information of the data bit corresponding to the first controller local area network is managed by adopting an 8×8 table;
the configuration method of the data port further comprises the following steps:
determining that the configuration request corresponds to received data, and displaying a configuration interface of the received data;
the configuration interface for receiving the data is configured to display a second target variable, a unique identifier of a second controller area network and a data bit number, wherein the second target variable, the unique identifier of the second controller area network and the data bit number are displayed in a table;
receiving the unique identifier of the second controller area network and the data bit number, and associating the second target variable with the unique identifier of the second controller area network and the data bit number to generate a second configuration file;
And sending the second configuration file to configuration software.
2. The method of claim 1, wherein the first operation instruction includes: a new instruction and/or a data bit editing instruction, wherein filling information of the data bit comprises a first target variable or null data;
the step of generating the unique identifier of the first controller area network and the filling information of the data bit corresponding to the first controller area network in response to the first operation instruction of the configuration interface for sending the data specifically includes:
determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in the configuration interface for transmitting data, and
and under the condition that the filling information of the data bit corresponding to the first controller local area network is displayed in the configuration interface for sending the data, determining that a data bit editing instruction is received, and controlling the filling information of the data bit corresponding to the data bit editing instruction to switch between a first target variable and null data.
3. The method for configuring a data port according to claim 2, further comprising:
determining to receive a first target variable selection instruction and displaying at least one to-be-selected variable of the first target variable;
And receiving first input information, and taking the variable to be selected indicated by the first input information as the first target variable.
4. A method of configuring a data port according to any one of claims 1 to 3, further comprising:
receiving a query instruction of a first target variable, and displaying use information of the first target variable, wherein the use information comprises:
at least one of an interface name and a control name associated with the first target variable is used.
5. A method of configuring a data port according to any one of claims 1 to 3, wherein after the step of receiving the unique identification of the second controller area network and the data bit number, before the step of associating the second target variable with the unique identification of the second controller area network and the data bit number to generate a second configuration file, further comprising:
searching whether the data bit number is occupied;
and determining that the data bit number is unoccupied, and performing the step of associating the second target variable with the unique identifier of the second controller area network and the data bit number to generate a second configuration file.
6. The method for configuring a data port according to claim 5, further comprising:
determining to receive a second target variable selection instruction and displaying at least one to-be-selected variable of the second target variable;
and receiving second input information, and taking the variable to be selected indicated by the second input information as the second target variable.
7. A data port configuration apparatus, comprising:
a receiving unit, configured to receive a configuration request for the data port;
the display unit is used for determining that the configuration request corresponds to the transmission data and displaying a configuration interface of the transmission data;
the configuration interface for sending data is configured to display a unique identifier of a first controller local area network and data bit filling information corresponding to the first controller local area network in a region-by-region manner; the content displayed simultaneously with the unique identification of the first controller area network further includes: frame type, transmission period, start-stop variable and transmission direction, and is displayed in a table;
the generating unit is used for responding to a first operation instruction of the configuration interface for transmitting data and generating a unique identifier of the first controller local area network and filling information of data bits corresponding to the first controller local area network; and
Generating a first configuration file according to the unique identifier of the first controller area network and filling information of data bits corresponding to the first controller area network;
the sending unit is used for sending the first configuration file to configuration software;
the display unit is also used for determining that the activation operation of the first controller area network is received and displaying the filling information of the data bit corresponding to the first controller area network; wherein, the filling information of the data bit corresponding to the first controller local area network is managed by adopting an 8×8 table;
the configuration device of the data port is further used for:
determining that the configuration request corresponds to received data, and displaying a configuration interface of the received data;
the configuration interface for receiving the data is configured to display a second target variable, a unique identifier of a second controller area network and a data bit number, wherein the second target variable, the unique identifier of the second controller area network and the data bit number are displayed in a table;
receiving the unique identifier of the second controller area network and the data bit number, and associating the second target variable with the unique identifier of the second controller area network and the data bit number to generate a second configuration file;
And sending the second configuration file to configuration software.
8. The data port configuration device of claim 7, wherein the first operation instruction comprises: the generating unit is specifically configured to:
determining that a new instruction is received, adding an area for displaying the unique identifier of the first controller local area network in the configuration interface for transmitting data, and
and under the condition that the filling information of the data bit corresponding to the first controller local area network is displayed in the configuration interface for sending the data, determining that a data bit editing instruction is received, and controlling the filling information of the data bit corresponding to the data bit editing instruction to switch between a first target variable and null data.
CN202010306460.2A 2020-04-17 2020-04-17 Data port configuration method and data port configuration device Active CN111585792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010306460.2A CN111585792B (en) 2020-04-17 2020-04-17 Data port configuration method and data port configuration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010306460.2A CN111585792B (en) 2020-04-17 2020-04-17 Data port configuration method and data port configuration device

Publications (2)

Publication Number Publication Date
CN111585792A CN111585792A (en) 2020-08-25
CN111585792B true CN111585792B (en) 2023-05-26

Family

ID=72126740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010306460.2A Active CN111585792B (en) 2020-04-17 2020-04-17 Data port configuration method and data port configuration device

Country Status (1)

Country Link
CN (1) CN111585792B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302545A (en) * 2015-09-02 2016-02-03 湖南三一智能控制设备有限公司 Method and device for custom control development of configuration software
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
WO2018218977A1 (en) * 2017-05-31 2018-12-06 华为技术有限公司 Method for orchestrating software defined network, and sdn controller
CN109492301A (en) * 2018-11-08 2019-03-19 北京世冠金洋科技发展有限公司 Software and hardware switching method and system
CN109687984A (en) * 2017-10-18 2019-04-26 中车株洲电力机车研究所有限公司 A kind of the configuration system and configuration method of wind-powered electricity generation SCADA system
US10419285B2 (en) * 2012-07-20 2019-09-17 Abb Schweiz Ag Configuration management device, configuration interface device and method for vendor-independent network device configuration

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950851B2 (en) * 2001-04-05 2005-09-27 Osburn Iii Douglas C System and method for communication for a supervisory control and data acquisition (SCADA) system
CN100566357C (en) * 2007-07-24 2009-12-02 华为技术有限公司 Communication apparatus batch configuration managerial approach and device thereof
US8260770B2 (en) * 2007-09-21 2012-09-04 Universities Space Research Association Systems and methods for an extensible business application framework
US10862784B2 (en) * 2011-10-04 2020-12-08 Electro Industries/Gauge Tech Systems and methods for processing meter information in a network of intelligent electronic devices
US9325570B2 (en) * 2012-11-16 2016-04-26 Ubiquiti Networks, Inc. Network routing system
CN106506213B (en) * 2016-11-09 2019-11-05 深圳华远云联数据科技有限公司 A kind of internet of things equipment visualization interface display methods and system
CN109741776B (en) * 2018-12-29 2020-03-20 广东高云半导体科技股份有限公司 Initialization method, device, equipment and medium of block-shaped static random access memory

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10419285B2 (en) * 2012-07-20 2019-09-17 Abb Schweiz Ag Configuration management device, configuration interface device and method for vendor-independent network device configuration
CN105302545A (en) * 2015-09-02 2016-02-03 湖南三一智能控制设备有限公司 Method and device for custom control development of configuration software
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
WO2018218977A1 (en) * 2017-05-31 2018-12-06 华为技术有限公司 Method for orchestrating software defined network, and sdn controller
CN109687984A (en) * 2017-10-18 2019-04-26 中车株洲电力机车研究所有限公司 A kind of the configuration system and configuration method of wind-powered electricity generation SCADA system
CN109492301A (en) * 2018-11-08 2019-03-19 北京世冠金洋科技发展有限公司 Software and hardware switching method and system

Also Published As

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

Similar Documents

Publication Publication Date Title
US5838907A (en) Configuration manager for network devices and an associated method for providing configuration information thereto
CN101404596B (en) Multi-topological environmental test method, system and equipment
CN1205544C (en) Method and apparatus for operating system personalization during installation
US5659788A (en) Management system comprising a unified interface for integrating a plurality of different system management software tools
CN100388690C (en) Automatic testing system and method for command of command line interface of data communication apparatus
US20100057947A1 (en) Device management apparatus, device management method and device management program
CN112579455B (en) Automatic interface testing method and device, electronic equipment and storage medium
CN100369519C (en) Operation maintenance system and method for base-station system
US8977968B2 (en) Pseudo-remote terminal IOTA mobile diagnostics and electronic customer care
CN113256095A (en) Draggable configured agile flow service construction method, system, device and medium
US20030004685A1 (en) System and method for monitoring controller diagnostics
US6542901B1 (en) Formatting input data file compatible with workstation application into formatted input data file compatible with second application utilizing user-customized settings
CN111585792B (en) Data port configuration method and data port configuration device
CN107704257A (en) A kind of method and device of distributed server centralized management
CN117130318B (en) Industrial data acquisition method, device, system and readable storage medium
CN117221281A (en) Visual modification method, system, equipment and medium for IP address of camera
US20050108512A1 (en) Method and system for allowing a system under test (SUT) to boot a plurality of operating systems without a need for local media
CN114757159A (en) Packaging development method and system of multifunctional data table component
CN112135302B (en) Control method and device for base station topology information and computer readable storage medium
CN114579267A (en) Method for setting scheduling system language and related device
CN114189534A (en) Design method of device interaction software simulation program in Internet of things system
CN114422344A (en) Method for updating network variable increment of DCS (distributed control system)
CN104331281B (en) A kind of proxy server and method that remote control function is provided for LXI modules
CN114487758B (en) Test method and test system for semiconductor equipment
CN105653001A (en) Power supply monitoring method and device

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
GR01 Patent grant
GR01 Patent grant