CN108990107A - Data transmission method and equipment - Google Patents
Data transmission method and equipment Download PDFInfo
- Publication number
- CN108990107A CN108990107A CN201710411272.4A CN201710411272A CN108990107A CN 108990107 A CN108990107 A CN 108990107A CN 201710411272 A CN201710411272 A CN 201710411272A CN 108990107 A CN108990107 A CN 108990107A
- Authority
- CN
- China
- Prior art keywords
- equipment
- network
- network equipment
- local area
- group
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to fields of communication technology, more particularly to a kind of data transmission method and equipment, this method includes the first object data that first network equipment receiving control apparatus is sent by cellular network, includes the mark of second network equipment in first object data;First network equipment gives first object data forwarding to second network equipment by WLAN;Wherein, first network equipment is the main equipment of default local area network group, second network equipment is the slave equipment of first network equipment in default local area network group, and default local area network group is made of the all-network equipment communicated in first network equipment and multiple network equipments with first network equipment.It can be seen that implementation the embodiment of the present application, can save operation cost when control equipment issues same data resource to elevator router.
Description
Technical field
This application involves field of communication technology more particularly to a kind of data transmission method and equipment.
Background technique
With the propulsion of urbanization process, more and more populations constantly increase to urban migration, elevator quantity, elevator
Long-range management and predictive maintenance become particularly important, set up ladder networking thus.
In ladder networking, elevator router is the bridge for connecting elevator sensing network and Wide Area Network, and elevator router is logical
The sensing terminal for crossing the serial ports such as asynchronous transmission standard interface RS232, intelligence instrument RS485 connection elevator realizes that tidal data recovering connects
Enter, and use cellular network (cellular network, or mobile network), for example, long term evolution (Long-Term
Evolution, LTE), the third generation (third generation, 3G) mobile communication technology, forth generation (fourth
Generation, 4G) mobile communication technology or the 5th generation (fifth generation, 5G) mobile communication technology, connection control
The data collected are uploaded to control equipment by equipment, so that control equipment is analyzed and monitored.
But found in practice, if elevator router of the control equipment into ladder networking issues upgraded version, media money
When the same data resources such as source, the cellular network link by establishing with each elevator router is needed to issue the data resource,
Flow is wasted, operation cost is increased.
Summary of the invention
This application provides a kind of data transmission method and equipment, can issue in control equipment to elevator router identical
When data resource, operation cost is saved.
In a first aspect, a kind of data transmission method is provided, for including the system of control equipment and multiple network equipments
In, including first network equipment and second network equipment in multiple network equipment, this method comprises:
The first object data that first network equipment receiving control apparatus is sent by cellular network, in first object data
Mark including second network equipment;First network equipment gives first object data forwarding to the second network by WLAN
Equipment.
Wherein, first network equipment is the main equipment of default local area network group, and second network equipment is in default local area network group
The slave equipment of first network equipment, preset local area network group by first network equipment and multiple network equipments with first network
Equipment is made up of the all-network equipment of the wireless LAN communication.
As it can be seen that control equipment can only need when control equipment sends same data resource to multiple network equipment
By cellular network to first network equipment, i.e., the main equipment of default local area network group sends a data resource, it will be able to make the
The data resource is transmitted to second network equipment by WLAN by one network equipment, i.e., main equipment in default local area network group
Slave equipment, avoid in the prior art, control equipment needs through cellular network each network into multiple network equipment
Equipment all sends a data resource, has saved the network flow of cellular network, has reduced operation cost.
In a kind of possible design, first object that first network equipment receiving control apparatus is sent by cellular network
Before data, first network equipment can each network equipment into multiple network equipment in addition to itself initiate the Internet packets
Survey meter (packet Internet groper, ping), and record the of the network equipment that first network equipment can be ping logical
One quantity;First network equipment determines oneself to be to preset the main equipment of local area network group, and determine default local according to the first quantity
Other network equipments in addition to first network equipment in net group are from equipment.
Further, first network equipment can ping by other network equipments in the first quantity and default local area network group
Second quantity of the logical network equipment is compared;When the first quantity maximum, determine that first network equipment is default local area network
The main equipment of group;When the first quantity and the second quantity are maximum, according to randomly assigne, determine that first network equipment is default
The main equipment of local area network group;Alternatively, determining that first network equipment is the master of default local area network group according to the size of Electronic Serial Number
Equipment.
In another possible design, first network equipment can also receive second network equipment and pass through WLAN
The second target data sent, includes the mark of control equipment in the second target data, and first network equipment passes through cellular network
Second target data is transmitted to control equipment.
In another possible design, when detecting that first network equipment and control equipment are unable to normal communication, the
One network equipment determines new main equipment from other network equipments in default local area network group in addition to first network equipment.
As it can be seen that implementing the application, when first network equipment, i.e., the main equipment of default local area network group can not with control equipment
When normal communication, first network equipment can select new main equipment again, and such first network equipment can pass through new master
Equipment is communicated with control equipment, avoids the occurrence of that the network equipment takes off pipe.
In another possible design, when detecting first network equipment and second network equipment is unable to normal communication
When, first network equipment can determine itself for new main equipment.
In another possible design, when detecting that second network equipment and other networks of the default local area network group set
For when being unable to normal communication, second network equipment can determine itself for new main equipment, so that second network equipment can
Directly pass through cellular network communication with the control equipment.
Second aspect provides a kind of first network equipment, including the module for executing method in above-mentioned first aspect
Or unit.
The third aspect provides another first network equipment, including processor, communication module and memory, memory
For storing instruction.Processor is used to read the instruction of memory, the method to execute above-mentioned first aspect.
Fourth aspect provides a kind of communication system, which includes: control equipment and multiple network equipments.It is multiple
The network equipment can form one or more local area network groups, include a main equipment in each local area network group.The control equipment
Information, the main equipments such as upgrading, configuration can be sent by main equipment of the cellular network into local area network group passes through wireless local area again
Slave equipment where net is transmitted in local area network group.Main equipment also receives the data reported from equipment by WLAN, accuses
The information such as alert or failure, then control equipment is transmitted to by cellular network, to realize the method in above-mentioned first aspect.
5th aspect, provides a kind of computer storage medium, for storing computer software instructions, described instruction is being calculated
When being run on machine, so that computer executes the method in above-mentioned first aspect.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of network architecture schematic diagram in the prior art;
Fig. 2 is a kind of flow diagram of data transmission method provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of another network architecture provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of another network architecture provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of another network architecture provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of another network architecture provided by the embodiments of the present application;
Fig. 7 is the schematic diagram of another network architecture provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of first network equipment provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of another first network equipment provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of another first network equipment provided by the embodiments of the present application;
Figure 11 is a kind of schematic diagram of communication system provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description.
Referring to Figure 1, a kind of schematic diagram of the network architecture of the prior art provided, the network include control equipment and N
=6 network equipments, control equipment pass through cellular network direct communication with each network equipment in N number of network equipment.Wherein,
N number of network equipment may include router, interchanger, access device, mobile device, wireless telecom equipment, user agent or use
Family equipment etc..
But as shown in Figure 1, equipment is controlled when control equipment C issues same data resource to network equipment R1 to R6
C is respectively by cellular network link CR1, CR2, CR3, CR4, CR5 and CR6 for establishing with network equipment R1 to R6 to the network equipment
R1 to R6 issues the data resource, causes the waste of flow.
This application provides a kind of data transmission method, which can save flow, cut operating costs,
As shown in Fig. 2, the data transmission method includes but is not limited to following steps:
The each network equipment of S201, first network equipment into multiple network equipments in addition to itself initiates ping, and remembers
Record the first quantity of the network equipment that first network equipment can be ping logical.
The first network equipment is one in multiple network equipment.
Control equipment can prestore the address of multiple network equipment, for example, the Internet protocol of the network equipment
The address (Internet Protocol, IP), the media access control address (media access control, MAC) or port numbers
Deng, and the address of multiple network equipment is handed down to each network equipment in multiple network equipment.First network equipment
After the address for receiving multiple network equipments that control equipment issues, WLAN can be passed through according to the address received
(wireless local area network, WLAN) initiates the Internet packets survey meter to each network equipment in addition to itself
(packet Internet groper, ping), and the first quantity of the network equipment that first network equipment can be ping logical is recorded,
Wherein, WLAN can be using Wireless Fidelity (WIreless-Fidelity, WI-FI), bluetooth or ZigBee protocol
(ZigBee) technologies such as.
For example, with reference to the schematic diagram of Fig. 3 another network architecture provided, control equipment can be as shown in table 1 with list
Form the address of multiple network equipment R1 to R6 is stored in advance, wherein the address of R1 to R6 be respectively IP1, IP2, IP3,
IP4,IP5,IP6.Each network equipment in multiple network equipment is handed down in the address by control equipment.It is assumed that the first net
Network equipment is R1, and first network equipment R1 receives the address that control equipment issues, and according to the address in addition to itself
Other network equipments R2 to R6 initiates ping.As shown in figure 3, first network equipment R1 can be ping logical the network equipment be respectively
R1, R3 and R5, the first quantity of the network equipment that first network equipment R1 can be ping logical are 3.
1 address list of table
The address of the network equipment |
IP1 |
IP2 |
IP3 |
IP4 |
IP5 |
IP6 |
S202, first network equipment determine oneself to be to preset the main equipment of local area network group, and determine pre- according to the first quantity
If other network equipments in local area network group in addition to first network equipment are from equipment.
The default local area network group can by first network equipment and above-mentioned multiple network equipments with first network equipment
It is made up of the all-network equipment of the wireless LAN communication.It should be noted that with first in multiple network equipment
The all-network equipment of network device communications can be to pass through WLAN with first network equipment in multiple network equipment
The network equipment that can directly or indirectly communicate.
Further, the network that other network equipments can be ping logical in the available default local area network group of first network equipment
Second quantity of equipment, and the first quantity is compared with second quantity, when the first quantity maximum, determine oneself to be pre-
If the main equipment of local area network group, and determine that other network equipments in default local area network group in addition to oneself are from equipment.
For example, shown in Fig. 3, each network equipment can be by WLAN to removing into R6 by multiple network equipment R1
Other network equipments outside itself initiate ping;
R1 can be ping logical the network equipment be R1, R3 and R5, therefore the quantity of R1 is 3;
R2 can be ping logical the network equipment be R1 and R5, therefore the quantity of R2 is 2;
R3 can be ping logical the network equipment be R1 and R4, therefore the quantity of R3 is 2;
R4 can be ping logical the network equipment be R3, therefore the quantity of R4 is 1;
R5 can be ping logical the network equipment be R1 and R2, therefore the quantity of R5 is 2;
R6 can not be ping logical the network equipment, therefore the quantity of R6 is 0.
The network equipment of R1 direct communication is R2 to R5, R1 and the R4 indirect communication that (can pass through R3).It, should from the point of view of R1
Default local area network group is set by R1, and with the network equipment R2, R3 and R5 of R1 direct communication and with the network of R1 indirect communication
Standby R4 is formed.
Available this of R1 presets the net that other network equipments R2, R3, R4 and R5 in local area network group respectively can be ping logical
The quantity of network equipment, obtains the quantity summary sheet of the network equipment that can be ping logical as shown in Table 2, which includes that this is default
The quantity of the mark of local area network group all-network equipment R1 to R5 and the respective network equipment that can be ping logical.R1 is according to this
Summary sheet can determine that the quantity of the network equipment that oneself can be ping logical is maximum, i.e. the quantity for the network equipment that R1 can be ping logical is
First quantity, it is thus determined that oneself main equipment for the default local area network group, other network equipments R2 of the default local area network group,
R3, R4 and R5 are from equipment.
Table 2 can be ping logical the network equipment quantity summary sheet
The first object data that S203, first network equipment receiving control apparatus are sent by cellular network.
S204, first network equipment give first object data forwarding to second network equipment by WLAN, wherein
Second network equipment is the slave equipment of first network equipment in the default local area network group.
First object data are the data for controlling equipment and sending to second network equipment.
Specifically, first network equipment determines itself to be the main equipment for presetting local area network group in S202, the second network is set
After the standby slave equipment for first network equipment in the default local area network group, in the available default local area network group of control equipment
The address of the corresponding first network equipment of second network equipment, controls plant maintenance mapping table, which includes the second network
The address of the corresponding first network equipment of equipment.When control equipment sends first object data to second network equipment, control
Equipment can inquire the address of the corresponding first network equipment of second network equipment according to the mapping table, control equipment according to inquiry
First network equipment is given first object data distributing in the address of the first network equipment arrived.
First object data may include the mark of second network equipment, wherein the mark can be used for unique identification net
Equipment in network.After the first object data that first network equipment receives that control equipment is sent by cellular network, first
The network equipment can parse the first object data and obtain the mark of second network equipment, and be set according to the second network parsed
Standby mark gives first object data forwarding to second network equipment.
In conjunction with Fig. 3 for example, first network equipment is R1, second network equipment is R2, R3, R4 and R5, controls equipment
The mapping table of maintenance includes mark R2, R3, R4, R5 and the corresponding first network of second network equipment of second network equipment
The address ip 1 of equipment.When control equipment sends first object data to second network equipment R2, R3, R4, R5, equipment is controlled
The address ip 1 of the corresponding first network equipment of second network equipment R2, R3, R4, R5 can be inquired according to the mapping table, controlled
Equipment gives first object data distributing to first network equipment R1 according to the address ip 1 of the first network equipment inquired.Wherein,
First object data include mark R2, R3, R4, R5 of second network equipment.Control equipment is received in first network equipment R1
After the first object data of transmission, first network equipment R1 can be parsed out second network equipment of first object data carrying
Mark R2, R3, R4, R5, and according to mark R2, R3, R4, R5 of second network equipment parsed by first object data turn
Issue second network equipment R2, R3, R4, R5.
For another example control equipment can basis when control equipment sends first object data to the second network equipment R2
The mapping table inquires the address ip 1 of the corresponding first network equipment of second network equipment R2, and control equipment is according to inquiring
The address ip 1 of first network equipment gives first object data distributing to first network equipment R1.Wherein, first object data include
The mark R2 of second network equipment.After the first object data that first network equipment R1 receives that control equipment is sent, first
Network equipment R1 can be parsed out the mark R2 of second network equipment of first object data carrying, and according to the parsed
The mark R2 of two network equipments is by first object data forwarding to second network equipment R2 etc..
3 mapping table of table
As it can be seen that control equipment can only need when control equipment sends same data resource to multiple network equipment
By cellular network to first network equipment, i.e., the main equipment of default local area network group sends a data resource, it will be able to make the
The data resource is transmitted to second network equipment by WLAN by one network equipment, i.e., main equipment in default local area network group
Slave equipment, avoid in the prior art, control equipment needs through cellular network each network into multiple network equipment
Equipment all sends a data resource, has saved the network flow of cellular network, has reduced operation cost.
In the embodiment of the present application, first network equipment can also receive what second network equipment was sent by WLAN
Second target data includes the mark of the control equipment in the second target data;First network equipment will by cellular network
Second target data is transmitted to control equipment etc..Wherein, the second target data is that second network equipment is sent to control equipment
Data.
In another optional embodiment, the first network equipment as the main equipment for presetting local area network group can be to control
Control equipment send heartbeat message come determine and control equipment whether can normal communication, if first network equipment could not receive
Control the response for the heartbeat message that equipment is sent, it is determined that can not normal communication with control equipment.When detecting first
When the network equipment and control equipment are unable to normal communication, first network equipment can be preset in local area network group from this except first network
New main equipment is determined in other network equipments outside equipment, which can receive the number that control equipment is sent
According to, and the data forwarding is preset into other network equipments in local area network group to this, and, which can also receive this
The data that other network equipments are sent in default local area network group, and give the data forwarding to control equipment, avoid the network equipment
The occurrence of de- pipe.
Specifically, first network equipment can determine other networks in the default local area network group in addition to first network equipment
The maximum quantity of the network equipment that can be ping logical of equipment is new main equipment.When the network equipment that can be ping logical quantity most
When the big network equipment is multiple, first network equipment can determine that any one are that new master sets according to randomly assigne
It is standby, alternatively, determining that any one are new according to the size of Electronic Serial Number (electronic serial number, ESN)
Main equipment etc..First network equipment can also determine that other networks in the default local area network group in addition to the new main equipment are set
Standby is new slave equipment.
For example, Fig. 4 provide another network architecture schematic diagram, it is shown in Fig. 4 be Fig. 3 the network architecture in the first net
Network equipment R1 and control equipment can not normal communication the case where.As shown in figure 4, removing the first net in the default local area network group GROUP1
The quantity of the network equipment that can be ping logical of other network equipments R2, R3, R4 and R5 outside network equipment R1 is respectively 2,2,1 and 2,
Wherein, the quantity of the network equipment that can be ping logical of R2, R3 and R5 is all maximum, then first network equipment R1 is according to randomly assigne
It determines that any one R2 of R2, R3 and R5 are new main equipment, determines remaining network equipment in the default local area network group GROUP1
R1, R3, R4 and R5 are from equipment.
On the basis of Fig. 4, new main equipment R2 shown in Fig. 5 can receive the number that control equipment is sent by cellular network
According to, and pass through WLAN for the data forwarding to corresponding from one or more of equipment R1, R3, R4 and R5;New
Main equipment R2, which can also be received, corresponding to be sent by WLAN from one or more of equipment R1, R3, R4 and R5
Data, and give the data forwarding to control equipment.
In another optional embodiment, the first network equipment as the main equipment for presetting local area network group can be with
Send heartbeat message whether being capable of normal communication with second network equipment to determine to corresponding second network equipment.When detecting
When first network equipment and second network equipment are unable to normal communication, first network equipment can determine that itself sets for new master
It is standby.
In addition, other network equipments in the default local area network group can determine that new master sets according to above-mentioned correlation technique
Standby and new slave equipment avoids the occurrence of network equipment takes off pipe.
For example, Fig. 6 provide another network architecture schematic diagram, it is shown in fig. 6 be Fig. 3 the network architecture in, this is pre-
If the first network equipment R1 of local area network GROUP1 and corresponding second network equipment R2, R3, R5 can not normal communication the case where.
First network equipment R1 can determine itself for new main equipment.
On the basis of Fig. 4, as shown in fig. 7, other network equipments R2 and R5 of default local area network and 3 G ROUP1 are communicated with each other, it can
To form a local area network group, in the local area network group, the quantity of the network equipment that can be ping logical of R2, R5 is respectively 1,1, therefore
It can determine that any one R2 in R4, R5 is main equipment new in the local area network group, another R5 is new in the local area network group
From equipment.
Other network equipments R3 and R4 of default local area network and 3 G ROUP1 is communicated with each other, and can form a local area network group,
In the local area network group, the quantity for the network equipment that R3 can be ping logical be respectively 1, R4 can be ping logical the quantity of the network equipment be also
1, therefore can determine that any one R4 in R3, R4 is main equipment new in the local area network group, another R3 is in the local area network group
New slave equipment.
In another optional embodiment, second network equipment as the slave equipment for presetting local area network group can be with
Heartbeat message is sent to other network equipments for presetting local area network group to set to determine with other networks for presetting local area network group
It is standby whether being capable of normal communication.When other network equipments for detecting second network equipment and the default local area network group cannot be normal
When communication, second network equipment can determine itself for new main equipment.
Other network equipments in the default local area network group in addition to second network equipment can be according to above-mentioned correlation technique
It determines new main equipment and new slave equipment, avoids the occurrence of network equipment takes off pipe.Details are not described herein.
In addition, the data packet for the ping that the network equipment is sent may include the producer of the model of equipment, equipment in the application
Equal facility informations, it is ensured that the network equipment of same producer or same model just can the logical, networking with ping in network.
Based on the identical technical concept of above method embodiment, the embodiment of the present application also provides a kind of network equipments, use
First network equipment in realization above method embodiment.It is first network equipment provided by the embodiments of the present application referring to Fig. 8
Structural schematic diagram, first network equipment includes:
Receiving unit 801, for the first object data that receiving control apparatus is sent by cellular network, first object number
Including the mark of second network equipment in.
Transmission unit 802, for giving first object data forwarding to second network equipment by WLAN.
Wherein, first network equipment is the main equipment of default local area network group, and second network equipment is in default local area network group
The slave equipment of first network equipment, preset local area network group by first network equipment and multiple network equipments with first network
Equipment is made up of the all-network equipment of wireless LAN communication.
The embodiment of the present application can refer to above-mentioned associated description, and details are not described herein.
Further, as shown in figure 9, first network equipment further includes processing unit 803.
Transmission unit 801 is also used to before the first object data that receiving control apparatus is sent by cellular network, to
Each network equipment in multiple network equipments in addition to first network equipment initiates ping.
Processing unit 803, the first quantity of the network equipment that can be ping logical for recording first network equipment, and according to the
One quantity determine oneself be default local area network group main equipment, and determine in default local area network group in addition to first network equipment
Other network equipments be from equipment.
Specifically, determining that first network equipment is the main equipment of default local area network group when the first quantity maximum.
When the first quantity and the second quantity are maximum, according to randomly assigne, determine that first network equipment is to set a trap in advance
The main equipment of domain net group;Alternatively, determining that first network equipment is that the master of default local area network group sets according to the size of Electronic Serial Number
It is standby.
In a kind of optional embodiment, receiving unit 801 is also used to receive second network equipment and passes through wireless local area
The second target data sent is netted, includes the mark of control equipment in the second target data.
Transmission unit 802 is also used to that the second target data is transmitted to control equipment by cellular network.
In a kind of optional embodiment, processing unit 803 is also used to detect that first network equipment is set with control
It is standby when being unable to normal communication, other network equipments of first network equipment from default local area network group in addition to first network equipment
In determine new main equipment.
As it can be seen that control equipment can only need when control equipment sends same data resource to multiple network equipment
By cellular network to first network equipment, i.e., the main equipment of default local area network group sends a data resource, it will be able to make the
The data resource is transmitted to second network equipment by WLAN by one network equipment, i.e., main equipment in default local area network group
Slave equipment, avoid in the prior art, control equipment needs through cellular network each network into multiple network equipment
Equipment all sends a data resource, has saved the network flow of cellular network, has reduced operation cost.
It is another structural schematic diagram of first network equipment provided by the embodiments of the present application referring to Figure 10.As shown in Figure 10,
The first network equipment includes processor 1001, memory 1002, cellular network chip 1004 and WLAN chip 1003.
Processor 1001 can be central processing unit (English: central processing unit, abbreviation: CPU), net
The combination of network processor (English: network processor, abbreviation: NP) or CPU and NP.
Processor 1001 can further include hardware chip.Above-mentioned hardware chip can be specific integrated circuit (English
Text: application-specific integrated circuit, abbreviation: ASIC), programmable logic device (English:
Programmable logic device, abbreviation: PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices
(English: complex programmable logic device, abbreviation: CPLD), field programmable gate array (English:
Field-programmable gate array, abbreviation: FPGA), Universal Array Logic (English: generic array
Logic, abbreviation: GAL) or any combination thereof.
Memory 1002 may include volatile memory (English: volatile memory), such as random access memory
Device (English: random-access memory, abbreviation: RAM);Memory also may include nonvolatile memory (English:
Non-volatile memory), for example, flash memory (English: flash memory), hard disk (English: hard disk
Drive, abbreviation: HDD) or solid state hard disk (English: solid-state drive, abbreviation: SSD);Memory 410 can also wrap
Include the combination of the memory of mentioned kind.
Processor 1001 and memory 1002 are connected with each other, such as are connected by bus.Bus can be divided into address bus,
Data/address bus, control bus etc..Only to be indicated with a thick line in Figure 10, it is not intended that an only bus convenient for indicating
Or a type of bus.Memory 1002 can be independently arranged with processor 1001, also can integrate together.
Memory 1002 is used to store the address of each network equipment.
Memory 1002 can also be used in the quantity summary sheet, such as table 3 that store the network equipment that can be ping logical as shown in Table 2
Shown in mapping table etc..
Processor 1001, the first object data for being sent by 1004 receiving control apparatus of cellular network chip, the
It include the mark that 1004 network equipment of cellular network chip is crossed by the second Netcom in one target data;And by WLAN chip 1003 by the
One target data is transmitted to second network equipment;Wherein, first network equipment is the main equipment of default local area network group, the second network
Equipment is the slave equipment of first network equipment in default local area network group, presets local area network group by first network equipment and multiple
The all-network equipment composition communicated in the network equipment with first network equipment.
Optionally, memory 1002 can be also used for storage program instruction, and processor 1001 calls in the memory 1002
The program instruction of storage executes one or more steps or in which optional embodiment in embodiment illustrated in fig. 2, thus
Realize the function of first network equipment in the above method.
Further, further include in the first network equipment connect lift sensor communication interface, such as RS232,
RS485 etc..
As it can be seen that control equipment can only need when control equipment sends same data resource to multiple network equipment
By cellular network to first network equipment, i.e., the main equipment of default local area network group sends a data resource, it will be able to make the
The data resource is transmitted to second network equipment by WLAN by one network equipment, i.e., main equipment in default local area network group
Slave equipment, avoid in the prior art, control equipment needs through cellular network each network into multiple network equipment
Equipment all sends a data resource, has saved the network flow of cellular network, has reduced operation cost.
Referring to Figure 11, a kind of communication system schematic diagram is provided for the embodiment of the present application.The system include: control equipment and
Multiple network equipments.Multiple network equipment can form one or more local area network groups, include one in each local area network group
Main equipment.The information such as upgrading, configuration, main equipment can be sent by main equipment of the cellular network into local area network group by controlling equipment
Slave equipment where being transmitted to again by WLAN in local area network group.Main equipment is also received by WLAN from equipment
The information such as the data, alarm or the failure that report, then control equipment is transmitted to by cellular network, to realize shown in above-mentioned Fig. 2
Method in embodiment.
As it can be seen that control equipment can only need when control equipment sends same data resource to multiple network equipment
By cellular network to first network equipment, i.e., the main equipment of default local area network group sends a data resource, it will be able to make the
The data resource is transmitted to second network equipment by WLAN by one network equipment, i.e., main equipment in default local area network group
Slave equipment, avoid in the prior art, control equipment needs through cellular network each network into multiple network equipment
Equipment all sends a data resource, has saved the network flow of cellular network, has reduced operation cost.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Above-mentioned software function part can store in the memory unit.The storage unit include some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute
The part steps of each embodiment the method for the application.The storage unit includes: one or more memories, is deposited Ru read-only
Reservoir (Read-Only Memory, ROM), random access memory, electrically erasable programmable read-only memory (EEPROM), etc.
Deng.The storage unit can be individually present, and can also be integrated with processor.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Those of ordinary skill in the art will appreciate that: the various digital numbers such as first, second be referred to herein are only to retouch
The differentiation for facilitating progress is stated, the range of the embodiment of the present application is not intended to limit.
One with ordinary skill in the art would appreciate that in the various embodiments of the application, the serial number of above-mentioned each process
Size is not meant that the order of the execution order, and the execution sequence of each process should be determined by its function and internal logic, without answering
Any restriction is constituted to the implementation process of the embodiment of the present application.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State DisB (SSD)) etc..
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of data transmission method, for including controlling in equipment and the system of multiple network equipments, the multiple network is set
It include first network equipment and second network equipment in standby, which is characterized in that the described method includes:
The first network equipment receives the first object data that the control equipment is sent by cellular network, first mesh
Mark the mark in data including second network equipment;
The first network equipment gives the first object data forwarding to second network equipment by WLAN;
Wherein, the first network equipment is the main equipment of default local area network group, and second network equipment is described pre- sets a trap
The slave equipment of first network equipment described in the net group of domain, the default local area network group is by the first network equipment and described
It is made up of with the first network equipment the all-network equipment of the wireless LAN communication in multiple network equipments.
2. the method according to claim 1, wherein the first network equipment receiving control apparatus passes through honeycomb
Before the first object data that network is sent, further includes:
The each network equipment of the first network equipment into the multiple network equipment in addition to itself initiates internet detective
Rope device ping, and record the first quantity of the network equipment that the first network equipment can be ping logical;
The first network equipment determines the main equipment that oneself is the default local area network group according to first quantity, and determines
Other network equipments in the default local area network group in addition to first network equipment are from equipment.
3. according to the method described in claim 2, it is characterized in that, the first network equipment is determined according to first quantity
It oneself is the main equipment of the default local area network group, comprising:
The first network equipment by other network equipments in first quantity and the default local area network group can ping it is logical
Second quantity of the network equipment is compared;
When the first quantity maximum, determine that the first network equipment is the main equipment of the default local area network group;
When first quantity and second quantity are maximum, according to randomly assigne, the first network equipment is determined
For the main equipment of the default local area network group;Alternatively, determining the first network equipment for institute according to the size of Electronic Serial Number
State the main equipment of default local area network group.
4. method according to any one of claims 1 to 3, which is characterized in that further include:
The first network equipment receives the second target data that second network equipment is sent by WLAN, described
It include the mark of the control equipment in second target data;
Second target data is transmitted to the control equipment by cellular network by the first network equipment.
5. method according to any one of claims 1 to 4, which is characterized in that the first network equipment passes through wireless office
Domain net is by the first object data forwarding to after second network equipment, further includes:
When detecting the first network equipment and the control equipment is unable to normal communication, the first network equipment is from institute
It states in other network equipments in default local area network group in addition to the first network equipment and determines new main equipment.
6. a kind of network equipment, the network equipment is first network equipment, which is characterized in that the first network equipment packet
It includes:
Receiving unit, for the first object data that receiving control apparatus is sent by cellular network, the first object data
In include second network equipment mark;
Transmission unit, for giving the first object data forwarding to second network equipment by WLAN;
Wherein, the first network equipment is the main equipment of default local area network group, and second network equipment is described pre- sets a trap
The slave equipment of first network equipment described in the net group of domain, the default local area network group is by the first network equipment and described
It is made up of with the first network equipment the all-network equipment of the wireless LAN communication in multiple network equipments.
7. the network equipment according to claim 6, which is characterized in that the first network equipment, further includes processing unit;
The transmission unit is also used to before the first object data that receiving control apparatus is sent by cellular network, to described
Each network equipment in multiple network equipments in addition to itself initiates the Internet packets survey meter ping;
The processing unit, for recording the first quantity of the network equipment that can be ping logical, and, it is true according to first quantity
It is fixed oneself to be the main equipment of the default local area network group, and determine in the default local area network group in addition to first network equipment its
His network equipment is from equipment.
8. the network equipment according to claim 7, which is characterized in that the processing unit is specifically used for:
By the second number of the network equipment that other network equipments can be ping logical in first quantity and the default local area network group
Amount is compared;
When the first quantity maximum, determine that the first network equipment is the main equipment of the default local area network group;
When first quantity and second quantity are maximum, according to randomly assigne, the first network equipment is determined
For the main equipment of the default local area network group;Alternatively, determining the first network equipment for institute according to the size of Electronic Serial Number
State the main equipment of default local area network group.
9. according to the described in any item network equipments of claim 6 to 8, which is characterized in that the receiving unit is also used to receive
The second target data that second network equipment is sent by WLAN includes the control in second target data
The mark of control equipment;
The transmission unit is also used to that second target data is transmitted to the control equipment by cellular network.
10. according to the described in any item network equipments of claim 6 to 9, which is characterized in that the processing unit is also used to work as
When detecting that the first network equipment and the control equipment are unable to normal communication, except described from the default local area network group
New main equipment is determined in other network equipments except first network equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110698684.7A CN113573364A (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
CN201710411272.4A CN108990107B (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710411272.4A CN108990107B (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110698684.7A Division CN113573364A (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108990107A true CN108990107A (en) | 2018-12-11 |
CN108990107B CN108990107B (en) | 2021-06-22 |
Family
ID=64502290
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710411272.4A Active CN108990107B (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
CN202110698684.7A Pending CN113573364A (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110698684.7A Pending CN113573364A (en) | 2017-06-02 | 2017-06-02 | Data transmission method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108990107B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113616469A (en) * | 2020-05-08 | 2021-11-09 | 未来穿戴技术有限公司 | Control method and device of massage equipment, computer equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2622003A (en) * | 2022-08-30 | 2024-03-06 | British Telecomm | Telecommunications network and a method of operating a telecommunications network |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101552697A (en) * | 2009-05-06 | 2009-10-07 | 深圳市普联技术有限公司 | Network access apparatus upgrade system and network access apparatus upgrade method |
EP2157740A1 (en) * | 2007-05-08 | 2010-02-24 | International Business Machines Corporation | Radio local area network (lan) system |
CN103327038A (en) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | Method and device for batch upgrading network devices |
CN103716281A (en) * | 2012-09-28 | 2014-04-09 | 联想(北京)有限公司 | Control method, electronic device and server |
JP2015080092A (en) * | 2013-10-17 | 2015-04-23 | 日立金属株式会社 | Network system and network relay device |
CN104902424A (en) * | 2015-04-07 | 2015-09-09 | 广东欧珀移动通信有限公司 | Control method, device and system for wireless intelligent equipment |
CN105516357A (en) * | 2016-01-15 | 2016-04-20 | 青岛海尔智能家电科技有限公司 | Method and device for establishing network group |
CN105553684A (en) * | 2015-09-24 | 2016-05-04 | 上海斐讯数据通信技术有限公司 | Communication system and applied router upgrading method thereof |
-
2017
- 2017-06-02 CN CN201710411272.4A patent/CN108990107B/en active Active
- 2017-06-02 CN CN202110698684.7A patent/CN113573364A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2157740A1 (en) * | 2007-05-08 | 2010-02-24 | International Business Machines Corporation | Radio local area network (lan) system |
CN101552697A (en) * | 2009-05-06 | 2009-10-07 | 深圳市普联技术有限公司 | Network access apparatus upgrade system and network access apparatus upgrade method |
CN103327038A (en) * | 2012-03-20 | 2013-09-25 | 中兴通讯股份有限公司 | Method and device for batch upgrading network devices |
CN103716281A (en) * | 2012-09-28 | 2014-04-09 | 联想(北京)有限公司 | Control method, electronic device and server |
JP2015080092A (en) * | 2013-10-17 | 2015-04-23 | 日立金属株式会社 | Network system and network relay device |
CN104902424A (en) * | 2015-04-07 | 2015-09-09 | 广东欧珀移动通信有限公司 | Control method, device and system for wireless intelligent equipment |
CN105553684A (en) * | 2015-09-24 | 2016-05-04 | 上海斐讯数据通信技术有限公司 | Communication system and applied router upgrading method thereof |
CN105516357A (en) * | 2016-01-15 | 2016-04-20 | 青岛海尔智能家电科技有限公司 | Method and device for establishing network group |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113616469A (en) * | 2020-05-08 | 2021-11-09 | 未来穿戴技术有限公司 | Control method and device of massage equipment, computer equipment and storage medium |
CN113616469B (en) * | 2020-05-08 | 2024-02-27 | 未来穿戴技术有限公司 | Control method and device of massage equipment, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108990107B (en) | 2021-06-22 |
CN113573364A (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108293001B (en) | Software defined data center and deployment method of service cluster in software defined data center | |
US20180338187A1 (en) | Advanced wi-fi performance monitoring | |
WO2017113273A1 (en) | Software defined data center and scheduling and traffic-monitoring method for service cluster therein | |
CN105577723B (en) | Virtualize the method and apparatus that load balancing is realized in network | |
US20180338278A1 (en) | Wi-fi roaming management | |
EP4099631A1 (en) | Method for configuring performance test indication information, and related device | |
JP2017510208A (en) | Service chain routing method and system, and devices in the system | |
CN104468219A (en) | Virtual networking network topology discovery method and device | |
EP2613480A1 (en) | Communication quality monitoring system, communication quality monitoring method, and storage medium | |
CN104038570B (en) | A kind of data processing method and device | |
US20170251428A1 (en) | Methods and Nodes for M2M Communication | |
CN104283802A (en) | Neighbor discovery method and device | |
CN112956158A (en) | Structured data plane monitoring | |
CN103188153B (en) | BFD file transmitting method and equipment on a kind of broadcasting network link | |
CN107888420A (en) | A kind of management system of LAN forwarding unit | |
CN103036702A (en) | Network segment crossing N+1 backup method and network segment crossing N+1 backup device | |
CN205622762U (en) | Internet protocol camera and monitored control system thereof | |
US20240056377A1 (en) | Multi-cluster networking using hub and spoke elastic mesh | |
CN114039798A (en) | Data transmission method and device and electronic equipment | |
CN108990107A (en) | Data transmission method and equipment | |
JP2008131614A (en) | Communication device processing operation administration and maintenance frame, data structure, and program | |
CN104038360A (en) | Network management realization system and network management realization method based on novel access controller architecture | |
US10924369B2 (en) | Traffic aware operations, administration, and maintenance (OAM) solutions for internet of things (IoT) networks | |
JP2015525983A (en) | Communication method, information processing apparatus, communication system, communication terminal, and program | |
CN112994942B (en) | SDN control 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 |