CN110430293A - Matching method and device, the storage medium and processor of multi-line system - Google Patents
Matching method and device, the storage medium and processor of multi-line system Download PDFInfo
- Publication number
- CN110430293A CN110430293A CN201910721332.1A CN201910721332A CN110430293A CN 110430293 A CN110430293 A CN 110430293A CN 201910721332 A CN201910721332 A CN 201910721332A CN 110430293 A CN110430293 A CN 110430293A
- Authority
- CN
- China
- Prior art keywords
- machine
- target
- pairing
- mac information
- relationship table
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/544—Setting up communications; Call and signalling arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
- Power Sources (AREA)
Abstract
This application discloses a kind of matching method of multi-line system and devices, storage medium and processor.This method comprises: the targeted graphical code in multiple targets in machine is scanned respectively using target debugger, to obtain the MAC information of machine in multiple targets;The MAC information of machine is sent to outer mainboard in the multiple targets that will acquire;MAC information of the outer mainboard according to machine outside the MAC information and target of machine in multiple targets, establishes pairing relationship table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system;The pairing of machine in the outer machine of target and multiple targets is completed according to pairing relationship table.It by the application, solves and manual operation is needed using the pairing process of interior machine and outer machine in the multi-line system of electric line carrier communication mode in the related technology, lead to matching operation method labor intensive, complicated for operation, the low problem of reliability of the outer machine of interior machine.
Description
Technical field
This application involves communication fields, and the matching method and device, storage in particular to a kind of multi-line system are situated between
Matter and processor.
Background technique
In the related technology, using electric line carrier communication (i.e. PLC, PLC hereinafter represent electric line carrier communication)
The multi-line system of mode must carry out the pairing of interior machine and outer machine, just can be carried out normal communication, because power line is public
Network, interior machine and outer machine under different multi-line systems must fulfil pairing ahead of schedule, to distinguish with other multi-line systems
Come, but traditional matching method there are labor intensive, it is complicated for operation, pairing reliability it is low the problems such as.
For the above problem present in the relevant technologies, currently no effective solution has been proposed.
Summary of the invention
The main purpose of the application is to provide the matching method and device, storage medium and processing of a kind of multi-line system
Device is needed using the pairing process of interior machine and outer machine in the multi-line system in a manner of electric line carrier communication in the related technology by solving
Manual operation is wanted, matching operation method labor intensive, complicated for operation, the low problem of reliability of the outer machine of interior machine are caused.
To achieve the goals above, according to the one aspect of the application, a kind of matching method of multi-line system is provided.
This method comprises: the targeted graphical code in multiple targets in machine is scanned respectively using target debugger, to obtain in multiple targets
The MAC information of machine;The MAC information of machine is sent to outer mainboard in the multiple targets that will acquire;Outer mainboard is according to multiple mesh
The MAC information of the outer machine of the MAC information and target of machine, establishes pairing relationship table, wherein include in each multi-line system in marking
One outer machine and corresponding multiple interior machines;The pairing of machine in the outer machine of target and multiple targets is completed according to pairing relationship table.
Further, the targeted graphical code in multiple targets in machine is being scanned using target debugger respectively, it is more to obtain
In a target before the MAC information of machine, this method further include: obtain in multiple targets the MAC information of machine in each target in machine;
According to the MAC information of machine in each target in machine in multiple targets, the targeted graphical code of machine in each target is generated, is obtained multiple
Targeted graphical code;Multiple targeted graphical code is shown on corresponding multiple line control machines, wherein machine connects one in each target
Corresponding line control machine.
Further, the MAC information and the MAC information of machine outside target in outer mainboard according to machine in multiple targets, is established
After pairing relationship table, this method further include: pairing relationship table is sent on power line network;Multiple interior machines pass through power line
Network receives pairing relationship table, wherein multiple interior machines are corresponding with multiple multi-line systems that power line network connects
All interior machines.
Further, the pairing for completing machine in the outer machine of target and multiple targets according to pairing relationship table includes: to close pairing
It is that the interior machine that there is corresponding unpaired message in table is determined as machine in target;It controls the interior machine determined and sends confirmation message to electric power
Gauze network;By confirmation message, machine in target and machine outside target are matched.
Further, by confirmation message, after machine is matched outside machine in target and target, this method is also wrapped
It includes: showing the quantity of machine in the target for having completed pairing by target debugger, and show the schedule of pairing process;In
After the completion of pairing process, control target debugger disconnects the connection with the outer machine of target.
Further, by confirmation message, after machine is matched outside machine in target and target, this method is also wrapped
It includes: in the case that machine confirmation is completed to match with machine outside target in each target, controlling the corresponding line control machine of machine in each target
Show corresponding control interface, wherein machine is connected with a line control machine in a target.
Further, it is completed outside target in machine and multiple targets after the pairing of machine according to pairing relationship table, this method
Further include: pairing relationship table is stored in outside target in machine.
To achieve the goals above, according to the another aspect of the application, a kind of pairing that multi-line system is standby dress is provided
It sets.The device includes: first acquisition unit, for scanning the targeted graphical in multiple targets in machine respectively by target debugger
Code, to obtain the MAC information of machine in multiple targets;First transmission unit, the MAC letter of machine in multiple targets for will acquire
Breath is sent to outer mainboard;Unit is established, for the MAC information by outer mainboard according to machine in multiple targets and machine outside target
MAC information, establish pairing relationship table, wherein in each multi-line system include an outer machine and corresponding multiple interior machines;
Pairing unit, for the pairing according to machine in machine outside pairing relationship table completion target and multiple targets.
To achieve the goals above, according to the another aspect of the application, a kind of storage medium is provided, storage medium includes
The program of storage, wherein the program executes a kind of matching method of multi-line system of above-mentioned any one.
To achieve the goals above, according to the another aspect of the application, a kind of processor is provided, storage medium includes depositing
The program of storage, wherein the program executes a kind of matching method of multi-line system of above-mentioned any one.
By the application, using following steps: scanning the target figure in multiple targets in machine respectively using target debugger
Shape code, to obtain the MAC information of machine in multiple targets;The MAC information of machine is sent to outer owner in the multiple targets that will acquire
Plate;MAC information of the outer mainboard according to machine outside the MAC information and target of machine in multiple targets, establishes pairing relationship table, wherein
It include an outer machine and corresponding multiple interior machines in each multi-line system;The outer machine of target and more is completed according to pairing relationship table
The pairing of machine in a target solves in the related technology using interior machine in the multi-line system of electric line carrier communication mode and outer
The pairing process of machine needs manual operation, leads to the matching operation method labor intensive, complicated for operation of the outer machine of interior machine, reliability is low
The problem of, and then reached the technical effect for promoting interior machine and the efficiency of outer machine pairing in multi-line system.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application
Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is according to a kind of flow chart of the matching method of multi-line system provided by the embodiments of the present application;And
Fig. 2 is the signal that a line control machine is connected according to the interior machine of each of multi-line system provided by the embodiments of the present application
Figure;
Fig. 3 is according to a kind of schematic diagram for the contrast means that multi-line system is standby provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
For ease of description, below to the invention relates to part noun or term be illustrated:
PLC:(power line carrier communication) electric line carrier communication.
MAC information: (Media Access Control) Media Access Control address or MAC Address, hardware address.
For defining the address of the network equipment.
According to an embodiment of the present application, a kind of matching method of multi-line system is provided.
Fig. 1 is according to a kind of flow chart of the matching method of multi-line system provided by the embodiments of the present application.Such as Fig. 1 institute
Show, method includes the following steps:
Step S101 scans the targeted graphical code in multiple targets in machine using target debugger respectively, multiple to obtain
The MAC information of machine in target.
Specifically, in the multi-line system using PLC communication, interior machine and outer machine are communicated using PLC.One of PLC communication
In multi-line system, there are an outer machine, more interior machines, all outer machines, interior machine are all connected to power line, and outer machine and interior machine have
Independent MAC information, wherein each MAC information includes MAC Address, and the MAC information of each interior machine can indicate to become a figure
Shape code can know each MAC information by scanning figure shape code in the follow-up process.
Preferably, graphic code is two dimensional code, and by a Special debugging device, (debugger is powered using battery, has camera shooting
Head and display screen) the multiple two dimensional codes of scan line, obtain the MAC information of machine in corresponding, and the display screen display of debugger
The list of the corresponding multiple MAC information of multiple interior machines of scanning.
Step S102, the MAC information of machine is sent to outer mainboard in the multiple targets that will acquire.
Specifically, after debugger scans through all interior machines of this multi-line system, outer machine is connected to by a data wire
The corresponding interface (can be communicated by the modes such as 485 between debugger and outer mainboard) of mainboard can be aobvious in debugger after connection
It is operated in display screen, all interior machine MAC information is all sent to outer mainboard.
Step S103, MAC information of the outer mainboard according to machine outside the MAC information and target of machine in multiple targets, foundation are matched
To relation table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system.
Specifically, it after outer mainboard is according to the multiple interior corresponding MAC information of machine and outer machine MAC information got, establishes
Play the pairing relationship table that an outer machine in a multi-line system corresponds to multiple interior machines.
Step S104 completes the pairing of machine in the outer machine of target and multiple targets according to pairing relationship table.
Specifically, outer machine it is corresponding can be quickly found during subsequent pairing by the pairing relationship table of foundation
Multiple interior machines, and then pairing process is completed, improve the matching efficiency of interior machine and outer machine in multi-line system.
Optionally, the targeted graphical code in multiple targets in machine is being scanned using target debugger respectively, it is multiple to obtain
In target before the MAC information of machine, this method further include: obtain in multiple targets the MAC information of machine in each target in machine;According to
According to the MAC information of machine in each target in machine in multiple targets, the targeted graphical code of machine in each target is generated, multiple mesh are obtained
It marks on a map shape code;Multiple targeted graphical code is shown on corresponding multiple line control machines, wherein machine connection one is right in each target
The line control machine answered.
In an alternative embodiment, multiple interior machines of each multi-connected machine are connected with a line control machine, and Fig. 2 is basis
The interior machine of each of multi-line system provided by the embodiments of the present application connects the schematic diagram of a line control machine, as shown in Fig. 2, in machine
After group installs, inside and outside machine it is unpaired it is good before, line control machine two-dimensional code display, in two-dimensional barcode information comprising interior machine each in machine pair
The MAC information answered.
Above-mentionedly, it when manually carrying out matching operation in the related art, needs artificially to remember interior machine and the MAC of outer machine believes
Breath, by the way that MAC information to be stored in a graphic code in the present embodiment, solve in the multi-line system of PLC communication machine and
Trouble, time-consuming problem are matched between outer machine, can achieve can be simple between machine and outer machine in the multi-line system of PLC communication
Quickly complete the technical effect of pairing.
Optionally, match in outer mainboard according to the MAC information of machine in multiple targets and the MAC information of machine outside target, foundation
After relation table, this method further include: pairing relationship table is sent on power line network;Multiple interior machines pass through power line network
Network receives pairing relationship table, wherein multiple interior machines are corresponding institute in multiple multi-line systems for connecting with power line network
There is interior machine.
Above-mentionedly, for each multistage interconnection system, one can all indicates the pairing relationship between interior machine and outer machine
Pairing relationship table.
Specifically, starting to carry out the interior machine of target multistage interconnection system and outer machine with clock synchronization, first by multi-line system pair
The pairing relationship table answered is sent on electric power networks, it should be noted that multiple multistage interconnection systems are connected on electric power networks, because
This, is connected with the interior machine of all multi-line systems on electric power networks.
Above-mentionedly, after pairing relationship table is sent on electric power networks, all interior machines being connected on electric power networks are all connect
Have received this pairing relationship table.
Optionally, completing the pairing of machine in the outer machine of target and multiple targets according to pairing relationship table includes: by pairing relationship
The interior machine that there is corresponding unpaired message in table is determined as machine in target;It controls the interior machine determined and sends confirmation message to power line
Network;By confirmation message, machine in target and machine outside target are matched.
Specifically, all interior machines on electric power networks are connected to after receiving pairing relationship table, it all can be to pairing relationship
Unpaired message in table is judged, if detecting pairing relationship there are when the unpaired message of itself in pairing relationship table
Interior machine in table there are self pair information will be sent in a confirmation message to electric power networks, therefore, send confirmation message
Interior machine be exactly machine in the corresponding target of pairing relationship table, that is to say, that the interior machine for sending confirmation message is pairing relationship table institute
The interior machine found.
Above-mentionedly, in multiple multi-line systems interior machine and outer machine carry out simultaneously with clock synchronization, can also will be multiple more
The corresponding multiple pairing relationship tables of on-line system are sent on electric power networks simultaneously, different by what is received on electric power networks
Confirmation message determines machine in the corresponding difference of different multi-connected machine networks.
Such as: pairing relationship table 1 and pairing relationship table 2 are sent on electric power networks simultaneously, confirmation message 1 will be sent
Interior machine is determined as machine in the corresponding target of pairing relationship table 1, and it is right that the interior machine for sending confirmation message 2 is determined as pairing relationship table 2
Machine in the target answered.
By above-mentioned means, the pairing for precisely quickly realizing multiple interior machines and outer machine in multi-connection system is realized, together
The corresponding pairing relationship table of mono- multi-line system of Shi Yinwei, therefore can be sent out to avoid the situation of interior machine and outer machine pairing mistake
It is raw.
In an alternative embodiment, the outer machine of target obtains the confirmation message that interior machine is sent by electric power networks, is obtaining
After getting confirmation message, the corresponding interior machine of confirmation message is determined, and complete the pairing with interior machine.
In another alternative embodiment, the confirmation message received by electric power networks can be true by machine in target
Recognize, in the case where knowing machine outside target, completes the pairing of machine and the outer machine of target in the target found.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
The quantity of machine in the target for having completed pairing is shown by target debugger, and shows the schedule of pairing process;Matching
After the completion of process, control target debugger disconnects the connection with the outer machine of target.
Above-mentionedly, debugger can also show the number for completing the interior machine of pairing during interior machine and outer machine are matched
Amount, and then the progress of the display monitoring pairing process by interior machine quantity, also can be convenient commissioning staff and check pairing situation.
Such as: the quantity of machine is 10 in target, shows 5 interior machines in debugger and completes with clock synchronization, so that it may know
The progress of pairing completes 50%.
Specifically, after the completion of all interior machines and the whole process of outer machine pairing, that is, the pairing progress on debugger is aobvious
After showing completion 100%, with regard to carrying out any display again without debugger, so that it may control the connection of debugger disconnection and outer machine.
After all interior machines are all matched with outer machine, then the networking of this PLC multi-line system is completed, forms one independently of it
The network of his PLC communication multi-line system, subsequent outer machine is with communicating only between the equipment in present networks, no between interior machine
It can be communicated with the interior machine of other PLC multi-line systems or outer machine.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
In the case that machine confirmation is completed to match with machine outside target in each target, controls the corresponding line control machine of machine in each target and show
Corresponding control interface, wherein machine is connected with a line control machine in a target.
Above-mentionedly, since each interior machine is connected with a line control machine, before interior machine does not complete pairing with outer machine, line traffic control
Device can show the corresponding MAC two dimensional code of interior machine, but after the interior machine of line control machine connection completes pairing, line control machine just no longer needs to show
Show two dimensional code, and can show normal control interface.
The corresponding two dimensional code of interior machine is shown using line control machine in through the foregoing embodiment, and the utilization of line control machine can be improved
Rate.
Optionally, it is completed outside target in machine and multiple targets after the pairing of machine according to pairing relationship table, this method is also
It include: that pairing relationship table is stored in outside target in machine.
Optionally, after establishing pairing relationship table, so that it may be stored in pairing relationship table in the memory of outer machine, i.e.,
Make system cut-off, outer chance re-reads pairing relationship table from memory after powering on next time, without matching again.
A kind of matching method of multi-line system provided by the embodiments of the present application, is scanned respectively by using target debugger
Targeted graphical code in multiple targets in machine, to obtain the MAC information of machine in multiple targets;Machine in the multiple targets that will acquire
MAC information be sent to outer mainboard;MAC information of the outer mainboard according to machine outside the MAC information and target of machine in multiple targets,
Establish pairing relationship table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system;It is closed according to pairing
It is the pairing that table completes machine in the outer machine of target and multiple targets, solves in the related technology using electric line carrier communication mode
The pairing process of interior machine and outer machine needs manual operation in multi-line system, and the matching operation method of the outer machine of interior machine is caused to expend people
Work, complicated for operation, the low problem of reliability, and then reached the skill for promoting interior machine and the efficiency of outer machine pairing in multi-line system
Art effect.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of contrast means that multi-line system is standby, it should be noted that the application is real
The standby contrast means of a kind of multi-line system for applying example can be used for executing provided by the embodiment of the present application for a kind of multi-joint
The standby matching method of machine system.It is situated between below to a kind of contrast means that multi-line system is standby provided by the embodiments of the present application
It continues.
Fig. 3 is according to a kind of schematic diagram for the contrast means that multi-line system is standby provided by the embodiments of the present application.Such as Fig. 3 institute
Show, which includes: first acquisition unit 301, for scanning the target in multiple targets in machine respectively by target debugger
Graphic code, to obtain the MAC information of machine in multiple targets;First transmission unit 302, machine in multiple targets for will acquire
MAC information be sent to outer mainboard;Unit 303 is established, for the MAC information by outer mainboard according to machine in multiple targets
With the MAC information of machine outside target, pairing relationship table is established, wherein include an outer machine and correspondence in each multi-line system
Multiple interior machines;Pairing unit 304, for the pairing according to machine in machine outside pairing relationship table completion target and multiple targets.
A kind of standby contrast means of multi-line system provided by the embodiments of the present application are used for by first acquisition unit 301
The targeted graphical code in multiple targets in machine is scanned respectively by target debugger, to obtain the MAC information of machine in multiple targets;
First transmission unit 302, the MAC information of machine is sent to outer mainboard in multiple targets for will acquire;Establish unit
303, for the MAC information by outer mainboard according to machine outside the MAC information and target of machine in multiple targets, establish pairing relationship
Table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system;Pairing unit 304 is matched for foundation
Pairing to machine in machine outside relation table completion target and multiple targets, solves in the related technology using electric line carrier communication side
The pairing process of interior machine and outer machine needs manual operation in the multi-line system of formula, leads to the matching operation method consumption of the outer machine of interior machine
Take artificial, complicated for operation, the low problem of reliability, and then reaches the efficiency for promoting interior machine and the pairing of outer machine in multi-line system
Technical effect.
Optionally, the device further include: second acquisition unit, for scanning multiple targets respectively using target debugger
Targeted graphical code in interior machine before the MAC information to obtain machine in multiple targets, obtains in multiple targets each target in machine
The MAC information of interior machine;Generation unit generates each mesh for the MAC information according to machine in each target in machine in multiple targets
The targeted graphical code of machine, obtains multiple targeted graphical code in marking;First display unit, for showing multiple targeted graphical code
On corresponding multiple line control machines, wherein machine connects a corresponding line control machine in each target.
Optionally, the device further include: the second transmission unit, for the MAC in outer mainboard according to machine in multiple targets
The MAC information of information and the outer machine of target, establishes after pairing relationship table, pairing relationship table is sent on power line network;It connects
Unit is received, for receiving pairing relationship table by power line network according to multiple interior machines, wherein multiple interior machines are and power line
Corresponding all interior machines in multiple multi-line systems of network connection.
Optionally, pairing unit 304 comprises determining that subelement, for will there is corresponding unpaired message in pairing relationship table
Interior machine be determined as machine in target;Subelement is controlled, sends confirmation message to power line network for controlling the interior machine determined;
With sub-unit, for by confirmation message, machine in target and machine outside target to be matched.
Optionally, the device further include: the second display unit, for passing through confirmation message, by machine in target and target
After outer machine is matched, the quantity of machine in the target for having completed pairing is shown by target debugger, and is shown and matched
The schedule of journey;First control unit, for after the completion of pairing process, control target debugger to be disconnected and the outer machine of target
Connection.
Optionally, the device further include: the second control unit, for passing through confirmation message, by machine in target and target
After outer machine is matched, in the case that machine confirmation is completed to match with machine outside target in each target, control in each target
The corresponding line control machine of machine shows corresponding control interface, wherein machine is connected with a line control machine in a target.
Optionally, the device further include: storage unit, for completing machine and multiple mesh outside target according to pairing relationship table
In marking after the pairing of machine, pairing relationship table is stored in outside target in machine.
A kind of contrast means of multi-line system include processor and memory, and above-mentioned first acquisition unit 301, first is sent out
Send unit 302, establish unit 303 and pairing unit 304 etc. as program unit storage in memory, executed by processor
Above procedure unit stored in memory realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, interior machine and outer machine in the multi-line system using electric line carrier communication mode are solved by adjusting kernel parameter
Pairing process needs manual operation, leads to the matching operation method labor intensive, complicated for operation of the outer machine of interior machine, reliability is low to ask
Topic.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
A kind of matching method of existing multi-line system.
The embodiment of the invention provides a kind of processor, processor is for running program, wherein program executes one when running
The matching method of kind multi-line system.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor execute program when perform the steps of scanned respectively using target debugger it is multiple
Targeted graphical code in target in machine, to obtain the MAC information of machine in multiple targets;Machine in the multiple targets that will acquire
MAC information is sent to outer mainboard;MAC information of the outer mainboard according to machine outside the MAC information and target of machine in multiple targets, builds
Vertical pairing relationship table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system;According to pairing relationship
Table completes the pairing of machine in the outer machine of target and multiple targets.
Optionally, the targeted graphical code in multiple targets in machine is being scanned using target debugger respectively, it is multiple to obtain
In target before the MAC information of machine, this method further include: obtain in multiple targets the MAC information of machine in each target in machine;According to
According to the MAC information of machine in each target in machine in multiple targets, the targeted graphical code of machine in each target is generated, multiple mesh are obtained
It marks on a map shape code;Multiple targeted graphical code is shown on corresponding multiple line control machines, wherein machine connection one is right in each target
The line control machine answered.
Optionally, match in outer mainboard according to the MAC information of machine in multiple targets and the MAC information of machine outside target, foundation
After relation table, this method further include: pairing relationship table is sent on power line network;Multiple interior machines pass through power line network
Network receives pairing relationship table, wherein multiple interior machines are corresponding institute in multiple multi-line systems for connecting with power line network
There is interior machine.
Optionally, completing the pairing of machine in the outer machine of target and multiple targets according to pairing relationship table includes: by pairing relationship
The interior machine that there is corresponding unpaired message in table is determined as machine in target;It controls the interior machine determined and sends confirmation message to power line
Network;By confirmation message, machine in target and machine outside target are matched.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
The quantity of machine in the target for having completed pairing is shown by target debugger, and shows the schedule of pairing process;Matching
After the completion of process, control target debugger disconnects the connection with the outer machine of target.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
In the case that machine confirmation is completed to match with machine outside target in each target, controls the corresponding line control machine of machine in each target and show
Corresponding control interface, wherein machine is connected with a line control machine in a target.
Optionally, it is completed outside target in machine and multiple targets after the pairing of machine according to pairing relationship table, this method is also
It include: that pairing relationship table is stored in outside target in machine.Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step: scanning the targeted graphical code in multiple targets in machine using target debugger respectively, with
Obtain the MAC information of machine in multiple targets;The MAC information of machine is sent to outer mainboard in the multiple targets that will acquire;Outer machine
MAC information of the mainboard according to machine outside the MAC information and target of machine in multiple targets, establishes pairing relationship table, wherein each more
It include an outer machine and corresponding multiple interior machines in on-line system;It is completed in target outer machine and multiple targets according to pairing relationship table
The pairing of machine.
Optionally, the targeted graphical code in multiple targets in machine is being scanned using target debugger respectively, it is multiple to obtain
In target before the MAC information of machine, this method further include: obtain in multiple targets the MAC information of machine in each target in machine;According to
According to the MAC information of machine in each target in machine in multiple targets, the targeted graphical code of machine in each target is generated, multiple mesh are obtained
It marks on a map shape code;Multiple targeted graphical code is shown on corresponding multiple line control machines, wherein machine connection one is right in each target
The line control machine answered.
Optionally, match in outer mainboard according to the MAC information of machine in multiple targets and the MAC information of machine outside target, foundation
After relation table, this method further include: pairing relationship table is sent on power line network;Multiple interior machines pass through power line network
Network receives pairing relationship table, wherein multiple interior machines are corresponding institute in multiple multi-line systems for connecting with power line network
There is interior machine.
Optionally, completing the pairing of machine in the outer machine of target and multiple targets according to pairing relationship table includes: by pairing relationship
The interior machine that there is corresponding unpaired message in table is determined as machine in target;It controls the interior machine determined and sends confirmation message to power line
Network;By confirmation message, machine in target and machine outside target are matched.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
The quantity of machine in the target for having completed pairing is shown by target debugger, and shows the schedule of pairing process;Matching
After the completion of process, control target debugger disconnects the connection with the outer machine of target.
Optionally, passing through confirmation message, after machine is matched outside machine in target and target, this method further include:
In the case that machine confirmation is completed to match with machine outside target in each target, controls the corresponding line control machine of machine in each target and show
Corresponding control interface, wherein machine is connected with a line control machine in a target.
Optionally, it is completed outside target in machine and multiple targets after the pairing of machine according to pairing relationship table, this method is also
It include: that pairing relationship table is stored in outside target in machine.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of matching method of multi-line system characterized by comprising
Targeted graphical code in multiple targets in machine is scanned using target debugger respectively, to obtain machine in the multiple target
MAC information;
The MAC information of machine is sent to outer mainboard in the multiple target that will acquire;
MAC information of the outer mainboard according to machine outside the MAC information and target of machine in the multiple target, establishes pairing relationship
Table, wherein include an outer machine and corresponding multiple interior machines in each multi-line system;
The pairing of machine in machine and the multiple target outside the target is completed according to the pairing relationship table.
2. the method according to claim 1, wherein scanning machine in multiple targets respectively using target debugger
In targeted graphical code, before the MAC information to obtain machine in the multiple target, the method also includes:
Obtain in the multiple target the MAC information of machine in each target in machine;
According to the MAC information of machine in each target in machine in the multiple target, the targeted graphical code of machine in each target is generated,
Obtain multiple targeted graphical code;
The multiple targeted graphical code is shown on corresponding multiple line control machines, wherein machine connection one in each target
A corresponding line control machine.
3. the method according to claim 1, wherein in the outer mainboard according to machine in the multiple target
The MAC information of MAC information and the outer machine of target, is established after pairing relationship table, the method also includes:
The pairing relationship table is sent on power line network;
Multiple interior machines receive the pairing relationship table by the power line network, wherein the multiple interior machine be with it is described
Corresponding all interior machines in multiple multi-line systems of power line network connection.
4. according to the method described in claim 3, it is characterized in that, according to the pairing relationship table complete outside the target machine and
The pairing of machine includes: in the multiple target
The interior machine that there is corresponding unpaired message in the pairing relationship table is determined as machine in the target;
It controls the interior machine determined and sends confirmation message to the power line network;
By the confirmation message, machine in the target and machine outside the target are matched.
5. according to the method described in claim 4, it is characterized in that, by the confirmation message, by machine in the target with
After the outer machine of the target is matched, the method also includes:
The quantity of machine in the target for having completed pairing is shown by the target debugger, and shows the complete of pairing process
At progress;
After the completion of the pairing process, the connection of the target debugger disconnection with the outer machine of the target is controlled.
6. according to the method described in claim 4, it is characterized in that, by the confirmation message, by machine in the target with
After the outer machine of the target is matched, the method also includes: machine confirmation and machine outside the target in each target
In the case where completing pairing, controls the corresponding line control machine of machine in each target and show corresponding control interface, wherein one
Machine is connected with a line control machine in target.
7. the method according to claim 1, wherein completing machine outside the target according to the pairing relationship table
After the pairing of machine in the multiple target, the method also includes: the pairing relationship table is stored in outside the target
In machine.
8. a kind of contrast means that multi-line system is standby characterized by comprising
First acquisition unit, for scanning the targeted graphical code in multiple targets in machine respectively by target debugger, to obtain
The MAC information of machine in the multiple target;
First transmission unit, the MAC information of machine is sent to outer mainboard in the multiple target for will acquire;
Unit is established, for the MAC by the outer mainboard according to machine outside the MAC information and target of machine in the multiple target
Information establishes pairing relationship table, wherein includes an outer machine and corresponding multiple interior machines in each multi-line system;
Pairing unit, for completing the pairing of machine in machine and the multiple target outside the target according to the pairing relationship table.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution
Benefit require any one of 1 to 7 described in a kind of matching method of multi-line system.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 7 described in a kind of matching method of multi-line system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910721332.1A CN110430293B (en) | 2019-08-06 | 2019-08-06 | Pairing method and device of multi-split system, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910721332.1A CN110430293B (en) | 2019-08-06 | 2019-08-06 | Pairing method and device of multi-split system, storage medium and processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110430293A true CN110430293A (en) | 2019-11-08 |
CN110430293B CN110430293B (en) | 2021-01-12 |
Family
ID=68414382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910721332.1A Active CN110430293B (en) | 2019-08-06 | 2019-08-06 | Pairing method and device of multi-split system, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110430293B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113203190A (en) * | 2021-04-30 | 2021-08-03 | 佛山市顺德区美的电子科技有限公司 | Pairing method and device of air conditioner based on power line communication and storage medium |
CN113551385A (en) * | 2021-08-02 | 2021-10-26 | 广东美的制冷设备有限公司 | Control method and device of air conditioner, air conditioner and storage medium |
CN114827232A (en) * | 2022-04-25 | 2022-07-29 | 珠海格力电器股份有限公司 | Pairing method, pairing terminal and pairing system of multi-split system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1818819A1 (en) * | 2006-01-17 | 2007-08-15 | B. Braun Medizintechnologie GmbH | Method for organising the software of a fluid management system |
CN104748289A (en) * | 2013-12-27 | 2015-07-01 | 海尔集团公司 | Wireless multiple on-line inner and outer unit communication method and air conditioning system |
CN106210170A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | The interior machine address of a kind of multi-variable air conditioning unit network determines device and method |
CN106200388A (en) * | 2016-06-20 | 2016-12-07 | 福建星网锐捷通讯股份有限公司 | A kind of method by mobile terminal association house and system |
CN108592311A (en) * | 2018-04-13 | 2018-09-28 | 珠海格力电器股份有限公司 | Air-conditioner device matching method and device |
CN108662718A (en) * | 2018-04-13 | 2018-10-16 | 珠海格力电器股份有限公司 | The network-building method and device of air conditioner |
CN109922154A (en) * | 2019-03-14 | 2019-06-21 | 珠海格力电器股份有限公司 | Intelligently pushing information approach, device, system and line control machine |
CN109974238A (en) * | 2019-04-04 | 2019-07-05 | 珠海格力电器股份有限公司 | Data processing method, equipment and the multi-online air-conditioning system of multi-online air-conditioning system |
-
2019
- 2019-08-06 CN CN201910721332.1A patent/CN110430293B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1818819A1 (en) * | 2006-01-17 | 2007-08-15 | B. Braun Medizintechnologie GmbH | Method for organising the software of a fluid management system |
CN104748289A (en) * | 2013-12-27 | 2015-07-01 | 海尔集团公司 | Wireless multiple on-line inner and outer unit communication method and air conditioning system |
CN106200388A (en) * | 2016-06-20 | 2016-12-07 | 福建星网锐捷通讯股份有限公司 | A kind of method by mobile terminal association house and system |
CN106210170A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | The interior machine address of a kind of multi-variable air conditioning unit network determines device and method |
CN108592311A (en) * | 2018-04-13 | 2018-09-28 | 珠海格力电器股份有限公司 | Air-conditioner device matching method and device |
CN108662718A (en) * | 2018-04-13 | 2018-10-16 | 珠海格力电器股份有限公司 | The network-building method and device of air conditioner |
CN109922154A (en) * | 2019-03-14 | 2019-06-21 | 珠海格力电器股份有限公司 | Intelligently pushing information approach, device, system and line control machine |
CN109974238A (en) * | 2019-04-04 | 2019-07-05 | 珠海格力电器股份有限公司 | Data processing method, equipment and the multi-online air-conditioning system of multi-online air-conditioning system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113203190A (en) * | 2021-04-30 | 2021-08-03 | 佛山市顺德区美的电子科技有限公司 | Pairing method and device of air conditioner based on power line communication and storage medium |
CN113551385A (en) * | 2021-08-02 | 2021-10-26 | 广东美的制冷设备有限公司 | Control method and device of air conditioner, air conditioner and storage medium |
CN113551385B (en) * | 2021-08-02 | 2022-09-23 | 广东美的制冷设备有限公司 | Control method and device of air conditioner, air conditioner and storage medium |
CN114827232A (en) * | 2022-04-25 | 2022-07-29 | 珠海格力电器股份有限公司 | Pairing method, pairing terminal and pairing system of multi-split system |
CN114827232B (en) * | 2022-04-25 | 2023-11-24 | 珠海格力电器股份有限公司 | Pairing method, pairing terminal and pairing system of multi-split air conditioner system |
Also Published As
Publication number | Publication date |
---|---|
CN110430293B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110430293A (en) | Matching method and device, the storage medium and processor of multi-line system | |
CN105472546B (en) | Near field communication method and mobile terminal | |
CN107347205B (en) | A kind of network slice selection method, apparatus and system | |
CN107766194A (en) | Method of testing, device, system, terminal device and computer-readable recording medium | |
CN106843828A (en) | interface display, loading method and device | |
CN111885144B (en) | Equipment binding method and device | |
CN104135741A (en) | Method of Bluetooth low energy communication, Bluetooth devices and system | |
CN105446928A (en) | Address automatically allocated serial bus communication method and system | |
CN105335316A (en) | Motor assembling line serial port server based on cloud computation | |
CN108063775A (en) | Communication protocol compatibility method, apparatus and system | |
CN107092459A (en) | Exchange method and interactive device and display screen control system | |
CN108024308A (en) | The method and apparatus that wireless access point is shared, connected | |
CN106201852A (en) | A kind of distributed test method and test system | |
CN108667950A (en) | A kind of method and apparatus obtaining device identification | |
CN111756858A (en) | Remote development processing system, method and device of embedded equipment | |
CN109373521B (en) | Communication method and device of air conditioner, outdoor unit, indoor unit and air conditioner | |
US11533676B2 (en) | Wireless networking method and apparatus for air-conditioning system | |
CN105359197A (en) | Surveillance system with intelligently interchangeable cameras | |
CN112312326B (en) | Target positioning method and device, storage medium and electronic device | |
CN104536926B (en) | The control method and device of serial equipment | |
CN205490872U (en) | Camera shutter control device and system | |
CN105117254B (en) | Wireless communication module and operation method and device thereof | |
CN102932208A (en) | Site monitoring method and device | |
CN102917370A (en) | Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit | |
CN108594810B (en) | Method, apparatus, storage medium, terminal device and the automatic driving vehicle of data processing |
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 |