Scheduling communication method adopting local area network real-time data transmission
Technical Field
The invention discloses a scheduling communication method for real-time data transmission by adopting a local area network, belongs to the technical field of local area networks and communication networks, and is a scheduling communication method suitable for enterprises such as transportation, energy, electric power, factories and mines.
Background
The existing local area network technology has a strong and flexible data access service function, so the local area network is widely applied, in the transmission protocol adopted in the existing local area network technology, a WIFI authentication protocol is more common, the transmission protocol adopted in the aspect of wireless transmission access in the WIFI technology is IEEE 802.11, the transmission protocol common in the transmission of the wired local area network is IEEE 802.3, the common characteristics are that the transmission of information in the network is controlled by adopting a carrier sense and conflict detection mode, and the following problems exist in the aspect of existing local area network transmission by summing up:
1. the authentication and authorization process of the local area network user terminal accessing the local area network is longer, which is not beneficial to the quick access of the local area network user terminal and the quick switching during moving, and causes longer connection interruption time;
2. the wireless data access transmission of the local area network user terminal adopts a user competition mode, so that the wireless data access delay is overlarge, and no absolute priority and better reliability guarantee exist compared with the access of the local area network user terminal; for the competition-free working mode, as a polling mode is adopted, when the number of local area network user terminals of the same access point is large, the polling time is long, and the data transmission efficiency of the local area network user terminals is reduced; although different frame intervals are applied to set different priorities in the transmission process of the data frames, the method is only a mode for reducing conflicts and improving the transmission probability of partial frames and does not have the guarantee of an absolute priority function and a fixed transmission rate;
3. the wired transmission part of the local area network adopts an Ethernet transmission protocol, the user data transmission also adopts a competition mode, and most of network equipment such as local area network switches, routers and gateways adopt a store-and-forward working mode, so that the data transmission delay is overlarge, and absolute priority and better reliability guarantee do not exist;
4. because of the enterprise local area network, the number of the accessed monitoring and other data terminals is large, and because of the access competition of multiple users, the real-time data transmission capability of the accessed users is low;
the above four points cause poor real-time effect of local area network transmission, and affect the use effect of real-time data transmission of the local area network user terminal, such as reduction of call quality caused by delay of voice signals, image change caused by delay of video signals, and adverse effect of delay of real-time monitoring data on equipment control and production flow;
in the actual voice communication and industrial production monitoring work, a real-time data transmission technology with high communication connection speed and strong real-time performance is needed to meet the requirements of a local area network user terminal on voice data, video data and real-time control data transmission, but a data transmission method under the existing local area network data transmission protocol cannot adapt to the requirements, and a pure real-time data transmission network does not have the data access service function of the local area network;
in the technology of transmitting real-time data in a local area network, there are several contrasts as follows:
compared with the technology 1, the Chinese patent ZL2012100641798, a private network talkback method and a private network talkback transmission system;
compared with the technology 2, the Chinese patent ZL 2012101903425, the talkback and video data transmission method based on the wireless local area network and the talkback adapter;
compared with the technology 3, the Chinese patent ZL 2012102231482, a real-time data transmission method based on a local area network;
comparing the technology 4, the Chinese patent application ZL 2014104285912, a time division working method of a local area network;
the common main points of the two technologies are that a real-time data transmission technology based on local area network transmission is provided, but the implementation conditions are complex, and the implementation difficulty in practical application is high, and the comparison technology 4 is characterized in that a real-time data transmission mode implementation mode cannot be provided specifically, and particularly, the implementation difficulty of the comparison technology in practical application is high for each network device, such as a local area network user terminal, a local area network access device, a local area network switch, a router and a scheduling communication management center device, when the network device is in a real-time data transmission time slot, which implementable method is used for working is not introduced; in the process of executing real-time data transmission, all the switches are occupied whether related or not, for example, only one pair of users need to enter a real-time data transmission working state, but all the switches and network access equipment in the local area network need to enter the real-time data transmission working state, so that network resource waste is caused, the use of other unrelated users to the local area network is also influenced, the system utilization rate is reduced, and the method is not economical and applicable enough.
Disclosure of Invention
In view of the above-mentioned reasons and problems, an object of the present invention is to provide a scheduling communication method using lan real-time data transmission, which is implemented by a communication user terminal, a lan access device, a lan switch, a router, and a real-time data transmission management center, and performs data transmission by alternately operating in lan network protocol and real-time data transmission mode, so as to provide a real-time data transmission function with fast communication connection speed and good real-time performance for the lan user terminal on the basis of the network device provided by the existing lan structure and under the condition of maintaining the advantageous functions of the lan access and transmission, so as to satisfy the needs of the lan user terminal for voice data, video data and real-time control data transmission, and to make the network device coordinate both in the lan transmission protocol operating state and the real-time data transmission operating state, the network resource is reasonably utilized, the utilization rate of a network system is improved, and the method has the characteristics of simple structure and convenient implementation.
In order to achieve the above objects, the present invention introduces a scheduling communication method using local area network real-time data transmission, wherein the local area network comprises a wired local area network and a wireless local area network operating under a local area network transmission protocol, and corresponding network devices, the network devices comprise communication user terminals, local area network access devices, local area network switches, routers, and a scheduling communication management center device, the communication user terminals comprise wireless communication user terminals and wired communication user terminals, the local area network access devices comprise local area network wired access points (such as wired network cards) and local area network wireless access points (such as wireless network cards or WIFI modules), the communication user terminals have functions of generating, transmitting and receiving application voice data codes, video data codes, or real-time control data codes, and can operate under the local area network transmission protocol and real-time data transmission operating mode, the communication user terminal comprises a wired communication user terminal and a wireless communication user terminal, wherein the wired communication user terminal is accessed into a local area network switch through a local area network wired access point, the wireless communication user terminal is accessed into the local area network switch through a local area network wireless access point, all the local area network switches are in a communication connection state with a dispatching communication management center device through a router, and the communication user terminal is in a communication connection state with the dispatching communication management center device through a local area network and all the network devices The method comprises the steps that the address codes of local area network access equipment and a local area network switch accessed by a credit user terminal user are used, and dispatching communication management center equipment establishes an online user table according to received user feature codes of communication user terminals, wherein the online user table comprises the user feature codes of all accessed communication user terminals, the address codes of the local area network access equipment correspondingly accessed by the user feature codes of all the communication user terminals and the address codes of the accessed local area network switch; when a certain communication user terminal initiates a real-time data transmission call, the communication user terminal sends a real-time data transmission call code to dispatching communication management center equipment through a local area network and network equipment; after receiving the real-time data transmission calling code, the dispatching communication management center equipment inquires the on-line user table according to the content of the real-time data transmission calling code to obtain the address code of the local area network access equipment accessed by the called communication user terminal and the address code of the accessed local area network switch, according to the address code of the corresponding accessed local area network access equipment and the address code of the accessed local area network switch, the local area network switch, the local area network access equipment and the corresponding called communication user terminal which are correspondingly accessed to the called communication user terminal related to the real-time data transmission calling code are sent with a real-time data transmission starting code through the local area network and the network equipment, and the local area network switch, the local area network access equipment and the corresponding called communication user terminal which receive the real-time data transmission starting code exit the working state of a local area network transmission protocol and enter the working state of real-time data transmission to transmit mutual real-time data; when the dispatching communication management center equipment sends out a real-time data transmission stop code, the local area network switch, the local area network access equipment and the communication user terminal which are originally in the real-time data transmission working state stop the real-time data transmission working state and recover to the original local area network transmission protocol working state;
the lan transmission protocol may be the existing lan transmission protocol, Ethernet transmission protocol (i.e. lan compliant with DIX Ethernet V2 standard or compliant with 802.3 protocol), 802.11, WIFI authentication protocol;
the real-time data comprises voice data codes, video data codes, real-time control data codes and transmission instruction codes; the communication user terminal is also a local area network user terminal.
Working principle and beneficial effects
The local area network comprises a wired local area network, a wireless local area network and corresponding network equipment, wherein the wired local area network and the wireless local area network work under a local area network transmission protocol, the network equipment comprises a communication user terminal, local area network access equipment, a local area network switch, a router and scheduling communication management center equipment, the communication user terminal comprises a wireless communication user terminal and a wired communication user terminal, the local area network access equipment comprises a local area network wired access point and a local area network wireless access point, the communication user terminal has the functions of generating, sending and receiving application voice data codes, video data codes or real-time control data codes and can work under a local area network transmission protocol or real-time data transmission working mode, and the communication user terminal comprises a wired communication user terminal and a wireless communication user terminal; when each communication user terminal sends respective user feature code under the state that the LAN and the network device provide communication connection, the corresponding accessed LAN access device and the LAN switch send respective address code to the dispatching communication management center device along with each user feature code, the dispatching communication management center device compiles the received user feature code of each communication user terminal and the address code of the corresponding accessed LAN access device and LAN switch into an online user table, then the LAN accessed by each communication user terminal through the LAN access device and the LAN switch can be obtained by inquiring the user feature code and the corresponding address code in the online user table, when real-time data transmission is carried out, according to the inquired online user table, the address code of the related network device can be obtained, appointing a local area network switch, a local area network access device and a communication user terminal which are related to the calling code to enter a real-time data transmission working state, and keeping the local area network switch, the local area network access device and the communication user terminal which are not related to the real-time data transmission calling code in the working state under a local area network transmission protocol, so that the utilization of network resources is more reasonable, and the utilization rate of a network system is improved; the network equipment works in a real-time data transmission mode in the real-time data transmission time slot and works in a data transmission mode under the local area network transmission protocol in other time slots except the real-time data transmission time slot in turn; the network equipment divides a real-time data transmission time slot in a data transmission channel of the local area network according to the real-time data code transmission requirement of the communication user terminal, provides the real-time data transmission time slot among the communication user terminals, and can meet the requirement of giving consideration to two transmission modes in the data transmission capacity of the existing local area network; the network device is set to two working modes, part of data transmission time slot is used for data transmission mode working under LAN transmission protocol, in this working state, the LAN keeps working characteristic under normal LAN protocol, in another part of data transmission time slot is used for real-time data transmission to communication user terminal, and in the existing LAN transmission protocol, it includes related instruction protocol for stopping (for example CTS signaling, can be used for stopping transmission instruction for related network device and network user terminal) and opening (for example ACK signaling, can be used for transmitting instruction for related network device and network user terminal) data transmission under LAN transmission protocol, that is, it can utilize such instruction in LAN transmission protocol to forcedly and periodically stop or open data transmission under LAN transmission protocol, and define the time slot stopped to open this time slot for real-time data transmission, and the insertion period of the real-time data transmission time slot, namely the occupation distribution rate of the real-time data transmission time slot to the data transmission time slot of the local area network is not lower than the voice data frame rate or the video data frame rate in the transmitted real-time data or the real-time limit value of the real-time data, so that the real-time property of the real-time data transmission can be ensured, and the transmission quality of the voice signals, the video signals and the real-time control data can be ensured.
Drawings
Fig. 1 is a system configuration diagram of a scheduling communication method using a local area network real-time data transmission according to an embodiment of the present invention;
in the drawings, components and modules having the same function are denoted by the same reference numerals in the drawings to avoid confusion due to excessive numbers.
Detailed Description
The embodiments of the invention are described below by way of example with reference to the accompanying drawings:
fig. 1 is a system configuration diagram of a scheduling communication method for real-time data transmission by using a local area network according to an embodiment of the present invention, where a WIFI protocol is used as a wireless access network protocol of a wireless local area network, that is, a wireless local area network user terminal is a WIFI user terminal, where:
a1 ~ An is a plurality of wireless communication user terminals which comprise WIFI wireless modules and communication user terminals capable of working under the working modes of local area network transmission protocols and real-time data transmission, B1 ~ Bn and C1 ~ Cn are local area network access points, wherein B1 ~ Bn ~ is a plurality of WIFI wireless local area network access points and comprises WIFI access modules, C1 ~ Cn is a plurality of local area network wired access points which comprise local area network wired access network cards and user terminals and are communication user terminals capable of working under the working modes of local area network transmission protocols and real-time data transmission, D1 ~ Dn is a local area network switch which adopts a local area network switch with the transmission protocol and hub transmission functions of a conventional local area network switch, E1 ~ En is a router, F is dispatching communication management center equipment which is formed by a network server or a computer system, G is the Internet or the local area network, the WIFI wireless local area network access points, the local area network switch, the router, the local area network management center equipment and the dispatching communication management center equipment which are formed by cable systems, the optical fiber cable transmission systems (cable systems, the optical fiber cable transmission system and the optical cable transmission system (5) which can be connected with the corresponding cable transmission end;
the local area network comprises a wired local area network and a wireless local area network which work under a local area network transmission protocol, and corresponding network equipment, the network equipment comprises a communication user terminal, a local area network access device, a local area network switch, a router and a dispatching communication management center device, the communication user terminal comprises a wireless communication user terminal and a wired communication user terminal, the local area network access device comprises a local area network wired access point (such as a wired network card) and a local area network wireless access point (such as a wireless network card or a WIFI module), the communication user terminal has the functions of generating, sending and receiving application voice data codes, video data codes or real-time control data codes and can work under the local area network transmission protocol and real-time data transmission working mode, and the communication user terminal comprises a wired communication user terminal and a wireless communication user terminal, the wired communication user terminal is accessed into the local area network switch through the local area network wired access point, the wireless communication user terminal is accessed into the local area network switch through the local area network wireless access point, all the local area network switches are in a communication connection state with the dispatching communication management center equipment through the router, and the communication user terminal is in a communication connection state with the dispatching communication management center equipment through the local area network and all the network equipment;
for the network equipment, the communication user terminal, the local area network wired access point, the local area network wireless access point, the local area network switch, the router and the real-time data transmission management center in the network equipment respectively compile related software according to the following working modes:
the communication user terminal comprises respective corresponding user feature codes, the communication user terminal sends respective user feature codes to the dispatching communication management center equipment through the local area network and the network equipment, each local area network access equipment and the local area network switch forward each accessed communication user terminal user feature code and the address code of the local area network access equipment and the local area network switch accessed by the corresponding communication user terminal user to the dispatching communication management center equipment, the dispatching communication management center equipment establishes an online user table according to the received user feature codes of the communication user terminal, and the online user table comprises the accessed user feature codes of each communication user terminal, the address code of the local area network access equipment accessed corresponding to the user feature codes of each communication user terminal, the accessed local area network switch address code and the corresponding port code; when a certain communication user terminal initiates a real-time data transmission call, the communication user terminal sends a real-time data transmission call code to dispatching communication management center equipment through a local area network and network equipment; after receiving the real-time data transmission calling code, the dispatching communication management center equipment inquires the on-line user table according to the content of the real-time data transmission calling code to obtain the address code of the local area network access equipment accessed by the called communication user terminal and the address code of the accessed local area network switch, according to the address code of the corresponding accessed local area network access equipment and the address code of the accessed local area network switch, the local area network switch, the local area network access equipment and the corresponding called communication user terminal which are correspondingly accessed to the called communication user terminal related to the real-time data transmission calling code are sent with a real-time data transmission starting code through the local area network and the network equipment, and the local area network switch, the local area network access equipment and the corresponding called communication user terminal which receive the real-time data transmission starting code exit the working state of a local area network transmission protocol and enter the working state of real-time data transmission to transmit mutual real-time data; when the dispatching communication management center equipment sends out a real-time data transmission stop code, the local area network switch, the local area network access equipment and the communication user terminal which are originally in the real-time data transmission working state stop the real-time data transmission working state and recover to the original local area network transmission protocol working state;
this completes the embodiment of the present invention.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the online user table comprises user feature codes of all accessed communication user terminals, address codes of local area network access equipment correspondingly accessed by the user feature codes of all the communication user terminals, address codes of local area network switches accessed and corresponding port codes; when a certain communication user terminal initiates a real-time data transmission call, the communication user terminal sends a real-time data transmission call code to dispatching communication management center equipment through a local area network and network equipment; after receiving the real-time data transmission calling code, the dispatching communication management center equipment inquires the on-line user table according to the content of the real-time data transmission calling code to obtain the address code of the local area network access equipment accessed by the called communication user terminal and the address code of the accessed local area network switch, according to the address code of the corresponding accessed local area network access equipment, the address code of the accessed local area network switch and the corresponding port code, sending a real-time data transmission start code to a local area network switch, a local area network access device and a called communication user terminal corresponding to a calling communication user terminal related to the real-time data transmission call code through a local area network and a network device, and exiting a local area network transmission protocol working state and entering a real-time data transmission working state by a corresponding port of the local area network switch, the local area network access device and a corresponding called communication user terminal which receive the real-time data transmission start code; when the dispatching communication management center equipment sends out a real-time data transmission stop code, the local area network switch, the local area network access equipment and the communication user terminal which are originally in the real-time data transmission working state stop the real-time data transmission working state and recover to the original local area network transmission protocol working state; the corresponding port of the local area network switch enters a real-time data transmission working state, namely, each corresponding port of the local area network switch accessed by the called communication user terminal related to the real-time data transmission calling code is in a broadcast working state, and other irrelevant ports of the local area network switch are still in a local area network transmission protocol working state; therefore, only the corresponding related port in the real-time data transmission working state of the switch is in the real-time data transmission working state of the broadcast state, and other unrelated ports are still in the local area network transmission protocol working state, so that the switch is more effectively utilized, and the influence on other communication user terminals working in the local area network protocol state in the real-time data transmission state is reduced.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the real-time data transmission start code comprises a sending stop code instruction and a real-time data transmission start mark code in a local area network protocol, and when the corresponding equipment receives the sending stop code and the real-time data transmission start mark code, the sending of the local area network transmission protocol related data code is stopped, and the real-time data transmission state is entered; the real-time data transmission stop code comprises an instruction code entering an original local area network working protocol and an instruction code allowing transmission, and when the corresponding equipment receives the real-time data transmission stop code, the corresponding equipment exits the real-time data transmission working mode and enters a local area network transmission protocol working state; therefore, the conversion between the real-time data transmission mode and the data transmission working mode under the local area network transmission protocol is realized.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the dispatching communication management center equipment is provided with a local area network transmission protocol working time limit parameter and a real-time data transmission time limit parameter; starting timing after sending the real-time data transmission start code, and sending a real-time data transmission stop code when the timing parameter reaches the real-time data transmission time limit parameter; starting timing after sending out the real-time data transmission stop code, and sending out a real-time data transmission start code when the timing parameter reaches the working time limit parameter of the local area network transmission protocol; therefore, limitation and allocation of the real-time data transmission time slot and the local area network transmission protocol working time slot can be ensured, the influence on the transmission working state required by other communication user terminals caused by long-time working in the real-time data transmission working state or the local area network transmission protocol working state is avoided, and the real-time data transmission working mode and the local area network transmission protocol working mode are considered.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the real-time data transmission working state is that a real-time data transmission time slot and a data transmission time slot under a local area network transmission protocol are divided in a data transmission channel of the local area network, the network equipment and the communication user terminal receive and transmit data in a real-time data transmission mode in the real-time data transmission time slot, and receive and transmit data in other time slots except the real-time data transmission time slot under the local area network transmission protocol; in a real-time data transmission slot: data receiving and sending among communication user terminals, between the communication user terminals and local area network access equipment, between the local area network access equipment and a local area network switch, and between the local area network switch and a router all adopt a data direct transmission working mode, and the local area network switch works in a broadcast mode in a real-time data transmission time slot to receive and send data; namely: the network equipment and the communication user terminal respectively work in a real-time data transmission working mode or a local area network transmission protocol in turn in different data transmission time slots to carry out data transmission; the broadcast mode is also a transmission mode of receiving and transmitting multiple data or a hub working mode; the real-time data transmission is a data direct transmission working mode without local area network protocol limitation, judgment, authentication and storage buffering, and comprises the following steps: when all communication user terminals and network equipment do not send real-time data, all communication user terminals and network equipment transceivers are in a receiving state, for a communication user terminal, when one communication user terminal sends the real-time data, other communication user terminals are in the receiving state, for the network equipment, when the transceiver in one direction receives the real-time data, the real-time data is directly forwarded through the transceiver in the other direction, for a local area network switch, when one port receives the real-time data, the real-time data is directly forwarded to all other ports; therefore, the delay and user conflict caused by the limitation, judgment, authentication and storage buffering of the local area network protocol are avoided, the real-time performance of the local area network on real-time data transmission is improved, and the requirement of professional users on the real-time performance is met.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the router is connected with other routers through a virtual private network; after receiving the real-time data transmission start code, the router stops the working mode under the original local area network and local area network protocol with other routers and enters a broadcast transmission mode to transmit real-time data with the local area network switch and other routers; after receiving the real-time data transmission stop code, the router stops broadcasting transmission mode with other routers and enters the original local area network transmission protocol working mode; thus, the coverage area of a single local area network is enlarged, and the application range of the invention is enlarged.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the user feature code comprises a user block code; the online user table comprises a plurality of user grouping tables; scheduling communication management center equipment according to the user group code in the user characteristic code of the communication user terminal to code the user group code into a corresponding user group table; the user characteristic code of the same communication user terminal can have a plurality of user group codes and is coded into a plurality of different corresponding user group tables; the calling code comprises a group calling code corresponding to the user grouping table; when a calling communication user terminal initiates a real-time data transmission call, a calling code containing a corresponding group calling code is sent by adopting a one-key calling working mode; the dispatching communication management center equipment selects a corresponding user group table according to the group calling code in the received calling code, inquires the content of the user group table, and appoints a real-time data transmission time slot for a called communication user terminal appointed by the calling code and the related network equipment to enter a real-time data transmission working mode; therefore, when the invention carries out the group call required by real-time data transmission, the on-line state of the called user can be inquired and the appointed real-time data transmission time slot can be obtained, thereby realizing the requirement of real-time data transmission and being convenient for practical application.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that a real-time data transmission time slot and a data transmission time slot under a local area network transmission protocol are periodically divided in a data transmission channel of the local area network according to a set time occupation distribution rate, and the time occupation distribution rate of the real-time data transmission time slot in the local area network to the data transmission time slot of the local area network is not lower than a voice data frame rate or a video data frame rate or a real-time limited value of real-time data in the transmitted real-time data; therefore, the timing periodicity of the real-time transmission time slot is ensured, the distortion of the real-time voice data and the real-time video data in transmission can be reduced, and the transmission quality of the voice data and the video data is improved.
The scheduling communication method adopting the local area network real-time data transmission of the invention can also be characterized in that in the real-time data transmission time slot, the scheduling communication method is divided into two-way transmission sub-time slots, and in the real-time data transmission time slot: data receiving and transmitting among communication user terminals, between the communication user terminals and local area network access equipment, between the local area network access equipment and a local area network switch and between the local area network switch and a router are bidirectional real-time data transmission; thus, the invention has more practicability because of providing bidirectional function of data transmission.
The dispatching communication method adopting the local area network real-time data transmission can also be characterized in that the communication user terminal sends a calling code to other communication user terminals through the real-time data transmission time slot provided by the network equipment; the communication user terminal receiving the calling code judges according to the calling code, if the communication user terminal is a called user, the communication user terminal enters a receiving real-time data and processing state, and if the communication user terminal is not the called user, the communication user terminal does not process the subsequent received real-time data; therefore, when each communication user terminal in the real-time data transmission state does not process irrelevant real-time data, the mutual interference between the communication user terminals is avoided, and the practical application of the invention is facilitated.
The invention introduces a dispatching communication method which is realized by a communication user terminal, a local area network access device, a local area network switch, a router and a real-time data transmission management center and adopts a local area network real-time data transmission mode to carry out data transmission by working in turn, can provide a real-time data transmission function with high communication connection speed and good real-time performance for the local area network user terminal on the basis of network equipment provided by the existing local area network structure and under the condition of keeping the advantages of the existing data access and transmission of the local area network, so as to meet the requirements of the local area network user terminal on voice data, video data and real-time control data transmission, and carry out coordination on the working state of the local area network transmission protocol and the working state of the real-time data transmission of the network equipment, and reasonably utilize network resources, the utility ratio of the network system is improved, and the method has the characteristics of simple structure and convenient implementation.