CN110300162B - Network access method and device of service server - Google Patents

Network access method and device of service server Download PDF

Info

Publication number
CN110300162B
CN110300162B CN201910545217.3A CN201910545217A CN110300162B CN 110300162 B CN110300162 B CN 110300162B CN 201910545217 A CN201910545217 A CN 201910545217A CN 110300162 B CN110300162 B CN 110300162B
Authority
CN
China
Prior art keywords
server
core
network access
network
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910545217.3A
Other languages
Chinese (zh)
Other versions
CN110300162A (en
Inventor
李阔
王荣娣
沈军
张丽敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910545217.3A priority Critical patent/CN110300162B/en
Publication of CN110300162A publication Critical patent/CN110300162A/en
Application granted granted Critical
Publication of CN110300162B publication Critical patent/CN110300162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

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

Abstract

The embodiment of the invention provides a network access method and a device of a service server, which are applied to a video network, wherein the video network comprises the service server and at least two core servers, firstly, whether the service server is connected with the core servers in advance is determined, and when the service server is not connected with the core servers in advance, one core server is selected as a target core server from the at least two core servers according to the network access priority of a video network protocol; when the service server is connected with the core server in advance, the core server connected in advance is used as a target core server; the communication connection with the target core server is established, so that the network access mode of accessing the video network is perfected, the management of the core server is facilitated, and the fact that a video network user can acquire and process Ethernet data in real time is guaranteed.

Description

Network access method and device of service server
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a network access method and apparatus for a service server, and a computer-readable storage medium.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing Internet, and pushes a plurality of Internet applications to high-definition video, and high definition faces each other. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
At present, most of domestic areas have already completed the integration and sharing of the resources of the video network, and with the development of the video network, the integration range of the resources of the video network will be continuously expanded in the future. In the face of large-scale video networking video connection monitoring resource integration, a plurality of challenges still exist in construction and use, such as the problems of incomplete overall planning, non-standard networking sharing, incomplete management mechanism and the like. When a server goes wrong and causes disconnection of the basic service for scheduling the video network, the video network terminal is easily influenced to acquire data from the video network, and then video network users are influenced to process video network resources. If the video network user acquires the monitoring resources in the video network through the video network terminal, when the server connected with the video network terminal has a problem and is disconnected from the video network scheduling basic service, the video network terminal cannot acquire the monitoring resources in the Ethernet in real time, and then the user cannot perform real-time processing on the monitoring resources. Therefore, a way to manage network access of the service server is needed.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a network access method of a service server, a network access apparatus of a service server, and a computer-readable storage medium, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for accessing a service server, which is applied to a video network, where the video network includes the service server and at least two core servers, and the method includes:
determining whether the service server is previously connected with the core server;
when the service server is not connected with the core server in advance, selecting one core server from the at least two core servers as a target core server according to the network access priority of the video networking protocol;
when the service server is connected with the core server in advance, taking the previously connected core server as a target core server;
establishing a communication connection with the target core server.
Optionally, the service server is deployed with a video networking scheduling base service, and further includes:
determining whether at least two core servers send network access instruction information to the service server at the same time or not;
when at least two core servers simultaneously send the network access instruction information to the service server, determining whether the service server is connected with the core server in advance;
and when one core server sends the network access instruction information to the service server, establishing communication connection between the service server and the core server.
Optionally, when the service server is not connected to the core server in advance, selecting one core server from the at least two core servers as a target core server according to the network access priority of the video networking protocol, including:
respectively extracting network access sequence numbers corresponding to the core servers from the network access instruction information;
respectively determining the priority of each network access sequence number, and taking a core server with the highest priority as a first target core server;
taking other core servers with lower priority than the first target core server as standby servers;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the method further includes:
when the communication connection of the first target core server is interrupted, establishing a communication connection with a standby server having a lower priority than the first target core server.
Optionally, the service server deploys a video networking scheduling base service, and when the service server is connected with the core server in advance, the previously connected core server is used as a target core server, including:
acquiring a configuration file aiming at the network access instruction information in the video networking scheduling basic service;
extracting a network access sequence number aiming at each core server from the configuration file;
respectively determining the priority of each network access sequence number, and taking the core server with the highest priority as a second target core server;
taking other core servers with lower priority than the second target core server as standby servers;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the method further includes:
and when all the network access instruction information comprises the network access information, taking a core server corresponding to the network access information as a third target core server.
The embodiment of the invention also discloses a network access device of the service server, which is applied to the video network, wherein the video network comprises the service server and at least two core servers, and the device comprises:
a communication connection determining module, configured to determine whether the service server is previously connected to the core server;
the first server selection module is used for selecting one core server from the at least two core servers as a target core server according to the network access priority of the video networking protocol when the service server is not connected with the core server in advance;
the second server selection module is used for taking the online connected core server as a target core server when the business server is connected with the core server in advance;
and the communication connection establishing module is used for establishing communication connection with the target core server.
Optionally, the service server is deployed with a video networking scheduling base service, and further includes:
the server state determining module is used for determining whether at least two core servers send network access instruction information to the service server at the same time or not;
the multi-server connection processing module is used for determining whether the service server is connected with the core server before when at least two core servers simultaneously send the network access instruction information to the service server;
and the single-server connection processing module is used for establishing communication connection between the service server and the core server when one core server sends the network access instruction information to the service server.
Optionally, the first server selecting module includes:
a first sequence number extracting submodule, configured to extract network access sequence numbers corresponding to the core servers from the network access instruction information, respectively;
the first server determining submodule is used for respectively determining the priority of each network access sequence number and taking the core server with the highest priority as a first target core server;
a first standby server determining submodule for taking other core servers having a priority lower than that of the first target core server as standby servers;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the first server selecting module further includes:
and the standby server connection submodule is used for establishing communication connection with a standby server with the priority lower than that of the first target core server when the communication connection of the first target core server is interrupted.
Optionally, the service server is deployed with a video networking scheduling base service, and the second server selection module includes:
the configuration file acquisition submodule is used for acquiring a configuration file aiming at the network access instruction information in the video networking scheduling basic service;
the second sequence number extraction submodule is used for extracting the network access sequence number aiming at each core server from the configuration file;
the second server determining submodule is used for respectively determining the priority of each network access sequence number and taking the core server with the highest priority as a second target core server;
a second standby server determination submodule configured to use another core server having a priority lower than that of the second target core server as a standby server;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the second server selecting module further includes:
and the third server determining submodule is used for taking the core server corresponding to the accessed network information as a third target core server when all the accessed network instruction information comprises the accessed network information.
The embodiment of the invention also discloses a device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the service server's network entry methods according to embodiments of the present invention.
The embodiment of the invention also discloses a computer readable storage medium, and the stored computer program enables a processor to execute the network access method of the service server.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the method is applied to the video network, the video network comprises a service server and at least two core servers, firstly, whether the service server is connected with the core servers in advance is determined, and when the service server is not connected with the core servers in advance, one core server is selected as a target core server from the at least two core servers according to the network access priority of a video network protocol; when the service server is connected with the core server in advance, the core server connected in advance is used as a target core server; the communication connection with the target core server is established, so that the network access mode of accessing the video network is perfected, the management of the core server is facilitated, and the fact that a video network user can acquire and process Ethernet data in real time is guaranteed.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
fig. 5 is a flowchart illustrating a first step of a network access method of a service server according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating steps of a second embodiment of a network access method of a service server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an embodiment of a network access device of a service server according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a flowchart of a first step of a network access method of a service server according to an embodiment of the present invention is shown, and is applied to a video network, where the video network includes the service server and at least two core servers, and the method specifically includes the following steps:
step 501, determining whether the service server is connected with the core server in advance;
as an example, the video networking scheduling base service may be a product service of an application layer suite deployed in a traffic server, which may act as a gateway port for the traffic server. After the scheduling basic service of the video network is started, the service server can be in communication connection with at least one core server arranged in the video network through a video network protocol, and meanwhile, the service server can also be in communication connection with a platform arranged in the ethernet through an internet protocol, such as a monitoring management platform.
In specific implementation, the video network terminal can be in communication connection with the core server through a video network protocol, and after the video network scheduling basic service is started, the core server can be in communication with the service server through the video network protocol, so that the video network terminal can be in communication connection with a platform arranged in the Ethernet through the service server.
If a video network terminal deployed in a video network sends a data acquisition request to a core server, the core server can forward the data acquisition request to a service server, the service server can convert the data acquisition request based on a video network protocol into the data acquisition request based on an internet protocol and send the converted data acquisition request to a monitoring management platform deployed in an Ethernet, when the monitoring management platform receives the data acquisition request and responds, corresponding target data is sent to the service server, and then the service server can convert the target data based on the internet protocol into the target data based on the video network protocol and send the target data to the video network terminal through the core server.
In a specific implementation, the function of adding dual-computer hot standby to the video networking scheduling basic service can be realized by simultaneously sending network access instruction information to the service servers with the video networking scheduling basic service through at least one core server, and then selecting a target core server from each core server by the service servers according to the network access instruction information. When a problem occurs in the core server, which results in a disconnection of the communication connection between the core server and the service server, or the service server is first connected to the video network, it may be determined whether the service server is previously connected to the core server, so as to determine whether the service server has been connected to the video network, and step 502 or step 503 is performed.
Step 502, when the service server is not connected with the core server in advance, selecting one core server from the at least two core servers as a target core server according to the network access priority of the video networking protocol;
in the embodiment of the present invention, when the service server accesses the video network for the first time, that is, the service server is not connected to any core server in advance, one core server may be selected as a target core server from at least two core servers according to the network access priority of the video network protocol, and a communication connection with the target core server is established.
In the specific implementation, because the video network scheduling basic service in the service server is added with the function of dual-computer hot standby, the service server can select one core server from at least two core servers as a target core server, start the video network scheduling basic service in the service server, and establish communication connection with the video network of the target core server, so that the service server can serve as a communication medium between the video network and the Ethernet to realize data communication between the video network and the Ethernet.
In an alternative embodiment of the present invention, step 502 may comprise the following sub-steps:
s11, extracting network access sequence numbers corresponding to the core servers from the network access instruction information, respectively;
s12, determining the priority of each network access sequence number, and taking the core server with the highest priority as a first target core server;
and S13, taking other core servers with lower priority than the first target core server as standby servers.
In the embodiment of the invention, in the video network, if each product service needs to perform communication connection or pass-through data packets, each product can be configured with a corresponding video network number, and the video network number needs to be registered in the core server in advance. When the registered video networking number is in communication connection, bridging forwarding can be performed through the core server, so that corresponding transparent transmission data is received and transmitted.
In a specific implementation, an internet of view number may be configured in the internet of view scheduling base service, and the internet of view number may be registered in the core server in advance. At least one core server can simultaneously send network access instruction information of the video network number aiming at the video network scheduling basic service to the service server. When the business server receives the network access instruction information, mac address data corresponding to the core server can be obtained according to the transparent transmission packet in the network access instruction information sent by different core servers, so that the network access instruction information is determined according to the mac address data, and whether the video network scheduling basic service in the business server is accessed to a certain core server is determined according to the network access instruction information.
In a specific implementation, the service server may simultaneously receive network access instruction information for the video network scheduling base service, which is sent by at least two core servers, then the video network scheduling base service may extract network access sequence numbers corresponding to the core servers from the network access instruction information, then determine priorities of the network access sequence numbers, respectively, then use the core server with the highest priority as a first target core server, and use other core servers with priorities lower than the first target core server as standby servers.
When the communication connection of the first target core server is interrupted, the communication connection of the standby server with the priority lower than that of the first target core server can be established, so that the function of dual-computer hot standby is added to the scheduling basic service of the video network, when one of the accessed core servers goes wrong and goes down, switching can be immediately carried out, a new target core server is selected from the standby server, the scheduling basic service of the video network is started, the service server is ensured to be accessed into the video network in real time, and the users of the video network can be ensured to obtain the data resources in the Ethernet in real time.
The network access instruction information sent by the core server includes a data packet of a video networking protocol hexadecimal, where the data packet includes a network access sequence number of the core server, such as 1, 2, 3, and the like, and the higher the value of the network access sequence number is, the higher the priority is.
In an example of the embodiment of the invention, assuming that a core server and a core server send network-accessing commands to the network-accessing number of the network-accessing scheduling basic service in a business server at the same time, the network-accessing scheduling basic service can obtain the network-accessing command information corresponding to the core server and the core server, and then the network-accessing scheduling basic service can determine the priority of the core server and the core server according to the network-accessing sequence number of the core server contained in the data packet of the network-accessing protocol hexadecimal in the network-accessing command information sent by the core server and the core server, when the network-accessing sequence number of the core server is greater than that of the core server, the priority of the core server is higher than that of the core server, the core server is taken as a target core server, the network-accessing scheduling basic service is taken as the core server, establishing communication connection between a business server and a core server I, and taking the core server II as a standby server; when the network access sequence number of the core server II is larger than that of the core server I, the priority of the core server II is higher than that of the core server I, the core server II is used as a target core server, communication connection between the business server and the core server II is established, the video network scheduling basic service is accessed to the core server II, and the core server I is used as a standby server. When the target core server goes wrong and goes down, switching can be immediately carried out, communication connection between the service server and the standby server is established, the service server is connected into the network video network, and therefore the fact that users of the network video network can acquire data in the Ethernet in real time and process the acquired Internet data in real time is guaranteed.
Step 503, when the service server is connected with the core server in advance, the previously connected core server is used as a target core server;
in the embodiment of the invention, when the communication connection between the service server and the core server is disconnected, namely the service server is connected with a certain core server in advance, the core server connected in advance can be used as the target core server, so that the communication connection with the target core server is reestablished by utilizing the dual-computer hot standby function of the video network scheduling basic service in the service server.
In a specific implementation, because the video network scheduling basic service in the service server is added with a dual-server hot standby function, the service server can select a core server connected in advance from at least two core servers (at least one core server which establishes communication connection once) as a target core server and establish communication connection with the video network of the target core server, so that the service server can serve as a communication intermediary between the video network and the ethernet network to realize data communication between the video network and the ethernet network.
In an alternative embodiment of the present invention, step 503 may include the following sub-steps:
s21, acquiring a configuration file aiming at the network access instruction information in the video networking scheduling basic service;
s22, extracting a network access sequence number for each core server from the configuration file;
s23, determining the priority of each network access sequence number, and using the core server with the highest priority as a second target core server;
and S24, taking other core servers with lower priority than the second target core server as standby servers.
In a specific implementation, the service server may receive network access instruction information sent by at least two core servers, where the network access instruction information may include network access information and non-network access information, and each network access instruction information received by the service server may include only one network access information and a plurality of non-network access information, a plurality of network access information and a plurality of non-network access information, and both the network access information and the non-network access information are network access information. The non-network-accessing information may be that the service server has not previously established a connection with the corresponding core server, and the network-accessing information may be that the service server has previously established a connection with the corresponding core server.
In the specific implementation, when the service server is connected with the core servers in advance, when the connection between the service server and the core servers is interrupted, network access instruction information aiming at the video network scheduling basic service and sent by at least two core servers can be received again, when each network access instruction information is network access information, a configuration file aiming at the network access instruction information in the video network scheduling basic service can be obtained, then a network access sequence number aiming at each core server can be extracted from the configuration file, then the priority of each network access sequence number is determined respectively, the core server with the highest priority is taken as a target core server, and other core servers with the priority lower than that of the target core server are taken as standby servers, so that the function of dual-computer hot standby is added to the video network scheduling basic service, when one of the networked core servers is down due to a problem, the switchover can be immediately made, a new target core server is selected from the standby servers, and the video network scheduling basic service is started.
The configuration file of the network access information of the core server is stored in the video network scheduling basic service in the service server, and the mac address data of the core server, the nodes (namely, the network access sequence numbers) related to the network access priority and the like are recorded in the configuration file.
In an example of the embodiment of the present invention, it is assumed that the current core server (i) and the core server (ii) simultaneously send network access instruction information to the network access number of the network access scheduling basic service in the service server, the network access instruction information corresponding to the core server (i) and the core server (ii) can be obtained by the network access scheduling basic service, when the network access instruction information corresponding to the core server (i) and the core server (ii) is the network access information, the network access scheduling basic service in the service server can determine the network access sequence number corresponding to the core server (i) and the core server (ii) according to the relevant node of the network access priority recorded in the configuration file, when the network access sequence number of the core server (i) is greater than that of the core server (ii), the core server (i) has a higher priority than that of the core server (ii), and is used as the target core server, accessing a video network scheduling basic service into a core server I, establishing communication connection between a business server and the core server I, and taking the core server II as a standby server; when the network access sequence number of the core server II is larger than that of the core server I, the priority of the core server II is higher than that of the core server I, the core server II is used as a target core server, the video network scheduling basic service is accessed to the core server II, the communication connection between the business server and the core server II is established, and the core server I is used as a standby server. When the target core server goes wrong and goes down, switching can be immediately carried out, communication connection between the service server and the standby server is established, the service server is connected into the network video network, and therefore the fact that users of the network video network can acquire data in the Ethernet in real time and process the acquired Internet data in real time is guaranteed.
In another optional embodiment of the present invention, step 503 may further include the following sub-steps:
and S26, when all the network access instruction information includes one piece of network access information, taking the core server corresponding to the network access information as a third target core server.
In a specific implementation, when the network access instruction information received by the service server and sent by each core server only includes one piece of network access information, the core server corresponding to the network access information may be used as the target core server.
In one example of the embodiment of the invention, a network access instruction is sent to a video networking number of a video networking scheduling basic service in a business server by assuming that the current core server (I) and the core server (II) simultaneously send network access instructions, the video networking scheduling basic service can acquire corresponding network access information of the core server (I) and the core server (II), when the network access information of the core server (I) is network access information and the network access information of the core server (II) is network access-free information, the core server (I) is used as a target core server, the video networking scheduling basic service is accessed to the core server (I), the communication connection between the business server and the core server (I) is established, and the core server is used as a standby server; when the network access information of the core server I is non-network access information and the network access information of the core server II is network access information, the core server II is used as a target core server, the network access core server II is served according to a network scheduling basis, communication connection between the business server and the core server II is established, and the core server I is used as a standby server. When the target core server goes wrong and goes down, switching can be immediately carried out, communication connection between the service server and the standby server is established, the service server is connected into the network video network, and therefore the fact that users of the network video network can acquire data in the Ethernet in real time and process the acquired Internet data in real time is guaranteed.
It should be noted that, in each example in the embodiment of the present invention, an example is performed by taking an example in which 2 core servers simultaneously send a network access instruction to a video network number of a video network scheduling basic service in a service server, and it can be understood that, when the number of the core servers is greater than 2, a network access manner of the service server is the same as a network access manner of the 2 core servers, and a specific process refers to the example and is not described herein again.
Step 504, establishing a communication connection with the target core server.
In specific implementation, after a target core server, a video network scheduling basic service can be accessed to the target core server, video network communication connection between a service server and the target core server is established, and other core servers are used as standby servers, so that the service server can be accessed to the video network, the core server can communicate with a platform in the Ethernet through the service server, when the target core server goes down due to a problem, switching can be immediately performed, communication connection between the service server and the standby servers is established, the service server is accessed to the video network, and therefore users in the video network can acquire data in the Ethernet in real time and the acquired Internet data are processed in real time.
In a specific implementation, the video network is connected to an ethernet, the ethernet includes a monitoring management platform, and the video network may further include a video network terminal. The video network terminal can be a computer, a video television and the like. When the service server establishes communication connection with a target core server to realize network-in video network, a video network terminal can send a monitoring service data acquisition request to the target core server, the target core server can forward the monitoring service data acquisition request to the service server, the service server converts the monitoring service data acquisition request based on the video network protocol into a monitoring service data acquisition request based on the internet protocol and sends the monitoring service data acquisition request to a monitoring management platform, when the monitoring management platform receives the monitoring service data acquisition request, corresponding monitoring service data can be returned, the service server can convert the monitoring service data based on the internet protocol into the monitoring service data based on the video network protocol and sends the monitoring service data to the video network terminal, when the video network terminal receives the monitoring service data, the monitoring service data can be displayed or processed in real time, and the real-time performance of the monitoring data is guaranteed.
In the embodiment of the invention, the method is applied to the video network, the video network comprises a service server and at least two core servers, firstly, whether the service server is connected with the core servers in advance is determined, and when the service server is not connected with the core servers in advance, one core server is selected as a target core server from the at least two core servers according to the network access priority of a video network protocol; when the service server is connected with the core server in advance, the core server connected in advance is used as a target core server; the communication connection with the target core server is established, so that the network access mode of accessing the video network is perfected, the management of the core server is facilitated, and the fact that a video network user can acquire and process Ethernet data in real time is guaranteed.
Referring to fig. 6, a flowchart illustrating steps of a second embodiment of a network access method of a service server according to an embodiment of the present invention is shown, where a video network is applied, where the video network includes the service server and at least two core servers, and the method specifically includes the following steps:
step 601, determining whether at least two core servers send network access instruction information to the service server at the same time;
in a specific implementation, after receiving network access instruction information sent by a core server, a video networking scheduling base service in a service server may analyze received 3 packet data packets, and determine that the network access instructions are sent by one core server or multiple core servers, thereby determining whether at least two core servers send network access instructions to the service server at the same time, if so, performing step 602, and if not, performing step 603.
Step 602, when at least two core servers simultaneously send the network access instruction information to the service server, determining whether the service server is connected with the core server in advance;
in a specific implementation, when it is determined that at least two core servers currently send network access instruction information to a service at the same time, it may be determined whether the service server is connected to the core server in advance, so as to determine whether the service server has accessed the video network, and then a target core server is selected from the at least two core servers, and a communication connection with the target core server is established.
In a specific implementation, when the service server is not connected with the core server in advance, network access sequence numbers corresponding to the core servers are respectively extracted from the network access instruction information; respectively determining the priority of each network access sequence number, and taking a core server with the highest priority as a first target core server; and taking other core servers with lower priority than the first target core server as standby servers.
When the service server is connected with the core server in advance and the network access instruction information is the network access information, acquiring a configuration file aiming at the network access instruction information in the video network scheduling basic service; extracting a network access sequence number aiming at each core server from the configuration file; respectively determining the priority of each network access sequence number, and taking the core server with the highest priority as a second target core server; and taking other core servers with lower priority than the second target core server as standby servers.
And when all the network access instruction information comprises the network access information, taking a core server corresponding to the network access information as a third target core server.
In specific implementation, after a target core server, a video network scheduling basic service can be accessed to the target core server, video network communication connection between a service server and the target core server is established, and other core servers are used as standby servers, so that the service server can be accessed to the video network, the core server can communicate with a platform in the Ethernet through the service server, when the target core server goes down due to a problem, switching can be immediately performed, communication connection between the service server and the standby servers is established, the service server is accessed to the video network, and therefore users in the video network can acquire data in the Ethernet in real time and the acquired Internet data are processed in real time.
Step 603, when a core server sends the network access instruction information to the service server, establishing a communication connection between the service server and the core server.
In a specific implementation, when only one core server sends a network access instruction to a video networking number of a video networking scheduling basic service of a service server, the video networking scheduling basic service can directly access the core server, and the video networking scheduling basic service is started, so that the service server can communicate with the core server through a video networking protocol, and meanwhile, the core server can communicate with a platform in an ethernet network through the service server.
In the embodiment of the invention, the method is applied to the video network, the video network comprises a service server and at least two core servers, firstly, whether the service server is connected with the core servers in advance is determined, and when the service server is not connected with the core servers in advance, one core server is selected as a target core server from the at least two core servers according to the network access priority of a video network protocol; when the service server is connected with the core server in advance, the core server connected in advance is used as a target core server; the communication connection with the target core server is established, so that the network access mode of accessing the video network is perfected, the management of the core server is facilitated, and the fact that a video network user can acquire and process Ethernet data in real time is guaranteed.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a network access apparatus of a service server according to an embodiment of the present invention is shown, and is applied to a video network, where the video network includes the service server and at least two core servers, and the apparatus may include the following modules:
a communication connection determining module 701, configured to determine whether the service server is connected to the core server in advance;
a first server selecting module 702, configured to select a core server from the at least two core servers as a target core server according to a network access priority of a video networking protocol when the service server is not connected to the core server in advance;
a second server selection module 703, configured to, when the service server is previously connected to the core server, use the online connected core server as a target core server;
a communication connection establishing module 704, configured to establish a communication connection with the target core server.
Optionally, the service server is deployed with a video networking scheduling base service, and the first server selecting module 702 includes:
a first instruction information obtaining submodule, configured to obtain, when the service server is not connected to the core server at first, network access instruction information, which is sent by the at least two core servers and is for the video networking scheduling basic service;
a first sequence number extracting submodule, configured to extract network access sequence numbers corresponding to the core servers from the network access instruction information, respectively;
the first server determining submodule is used for respectively determining the priority of each network access sequence number and taking the core server with the highest priority as a first target core server;
a first standby server determining submodule for taking other core servers having a priority lower than that of the first target core server as standby servers;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the first server selecting module 702 further includes:
and the standby server connection submodule is used for establishing communication connection with a standby server with the priority lower than that of the first target core server when the communication connection of the first target core server is interrupted.
Optionally, the service server is deployed with a video networking scheduling base service, and the second server selecting module 703 includes:
the second instruction information acquisition submodule is used for receiving network access instruction information which is sent by the at least two core servers and aims at the video network scheduling basic service;
the configuration file acquisition submodule is used for acquiring a configuration file aiming at the network access instruction information in the video networking scheduling basic service;
the second sequence number extraction submodule is used for extracting the network access sequence number aiming at each core server from the configuration file;
the second server determining submodule is used for respectively determining the priority of each network access sequence number and taking the core server with the highest priority as a second target core server;
a second standby server determination submodule configured to use another core server having a priority lower than that of the second target core server as a standby server;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
Optionally, the second server selecting module 703 further includes:
and the third server determining submodule is used for taking the core server corresponding to the accessed network information as a third target core server when all the accessed network instruction information comprises the accessed network information.
Optionally, the method further includes:
the server state determining module is used for determining whether at least two core servers send network access instruction information to the service server at the same time or not;
the multi-server connection processing module is used for determining whether the service server is connected with the core server before when at least two core servers simultaneously send the network access instruction information to the service server;
and the single-server connection processing module is used for establishing communication connection between the service server and the core server when one core server sends the network access instruction information to the service server.
For the embodiment of the network access device of the service server, since it is basically similar to the embodiment of the network access method of the service server, the description is relatively simple, and for relevant points, reference may be made to the partial description of the embodiment of the network access method of the service server.
An embodiment of the present invention further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the service server's network entry methods according to embodiments of the present invention.
The embodiment of the present invention further provides a computer-readable storage medium, in which a stored computer program enables a processor to execute the network access method of the service server according to the embodiment of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The network access method of the service server, the network access device of the service server and the computer-readable storage medium provided by the present invention are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A network access method of a service server is applied to a video network, wherein the video network comprises the service server and at least two core servers, and the method comprises the following steps:
determining whether the service server is previously connected with the core server;
when the service server is not connected with the core server in advance, the service server selects one core server as a target core server from the at least two core servers according to the network access priority of the video networking protocol, and takes the rest core servers as standby servers; the network access priority comprises the priority of a network access sequence number corresponding to each core server, and the higher the value corresponding to the network access sequence number is, the higher the priority is; the target core server is a core server with the highest network access sequence number priority;
when the service server is connected with the core server in advance, the service server takes the core server connected in advance as a target core server according to the network access priority of the network access sequence number in the configuration file; the service server is deployed with a video networking scheduling basic service, and a configuration file aiming at network access information of a core server is stored in the video networking scheduling basic service;
establishing a communication connection with the target core server;
wherein the determining whether the service server is previously connected to the core server comprises:
determining whether at least two core servers send network access instruction information to a video network scheduling basic service in the service server at the same time or not;
and when at least two core servers simultaneously send the network access instruction information to the service server, determining whether the service server is connected with the core server in advance.
2. The method of claim 1, further comprising:
and when one core server sends the network access instruction information to the service server, establishing communication connection between the service server and the core server.
3. The method of claim 2, wherein when the service server is not previously connected to the core server, the service server selects one core server as a target core server from the at least two core servers according to a network access priority of a video networking protocol, comprising:
the service server extracts network access sequence numbers corresponding to the core servers from the network access instruction information respectively;
the service server respectively determines the priority of each network access sequence number, and takes the core server with the highest priority as a first target core server;
and the service server takes other core servers with the priority lower than that of the first target core server as standby servers.
4. The method of claim 3, further comprising:
when the communication connection of the first target core server is interrupted, establishing a communication connection with a standby server having a lower priority than the first target core server.
5. The method according to claim 2, wherein when the service server is previously connected to the core server, the service server regards the previously connected core server as the target core server according to the network entry priority of the network entry sequence number in the configuration file, and includes:
the service server acquires a configuration file aiming at the network access instruction information in the video networking scheduling basic service;
the service server extracts the network access sequence number aiming at each core server from the configuration file;
the service server respectively determines the priority of each network access sequence number, and takes the core server with the highest priority as a second target core server;
the service server takes other core servers with the priority lower than that of the second target core server as standby servers;
and the larger the value corresponding to the network access sequence number is, the higher the priority is.
6. The method of claim 5, further comprising:
and when only one piece of network access instruction information in all the network access instruction information comprises the network access information, taking the core server corresponding to the network access information as a third target core server.
7. A network access device of a service server is applied to a video network, wherein the video network comprises the service server and at least two core servers, and the device comprises:
a communication connection determining module, configured to determine whether the service server is previously connected to the core server;
the first server selection module is used for selecting one core server from the at least two core servers as a target core server according to the network access priority of the video networking protocol and taking the rest core servers as standby servers when the service server is not connected with the core servers in advance; the network access priority comprises the priority of a network access sequence number corresponding to each core server, and the higher the value corresponding to the network access sequence number is, the higher the priority is; the target core server is a core server with the highest network access sequence number priority;
the second server selection module is used for enabling the service server to take the core server connected online as a target core server according to the network access priority of the network access sequence number in the configuration file when the service server is connected with the core server in advance; the service server is deployed with a video networking scheduling basic service, and a configuration file aiming at network access information of a core server is stored in the video networking scheduling basic service;
a communication connection establishing module for establishing communication connection with the target core server;
wherein the communication connection determining module is specifically configured to:
determining whether at least two core servers send network access instruction information to the service server at the same time or not;
and when at least two core servers simultaneously send the network access instruction information to the service server, determining whether the service server is connected with the core server in advance.
8. The apparatus of claim 7, further comprising:
the communication connection establishing module is further configured to establish a communication connection between the service server and the core server when one core server sends the network access instruction information to the service server.
9. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that it stores a computer program that causes a processor to perform the method according to any one of claims 1 to 6.
CN201910545217.3A 2019-06-21 2019-06-21 Network access method and device of service server Active CN110300162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910545217.3A CN110300162B (en) 2019-06-21 2019-06-21 Network access method and device of service server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910545217.3A CN110300162B (en) 2019-06-21 2019-06-21 Network access method and device of service server

Publications (2)

Publication Number Publication Date
CN110300162A CN110300162A (en) 2019-10-01
CN110300162B true CN110300162B (en) 2021-06-18

Family

ID=68028656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910545217.3A Active CN110300162B (en) 2019-06-21 2019-06-21 Network access method and device of service server

Country Status (1)

Country Link
CN (1) CN110300162B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357818A (en) * 2016-10-28 2017-01-25 努比亚技术有限公司 Message forwarding method and message forwarding device
CN106506364A (en) * 2016-12-08 2017-03-15 努比亚技术有限公司 A kind of cut-in method, client and routing server
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN110166526A (en) * 2019-04-15 2019-08-23 中国平安人寿保险股份有限公司 More CDN access management methods, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332223B (en) * 2016-08-23 2019-11-26 深圳市共进电子股份有限公司 A kind of wireless network sharing method, apparatus and system
CN108965776B (en) * 2017-08-21 2019-11-12 视联动力信息技术股份有限公司 A kind of communication means and communication system
CN109842685A (en) * 2019-02-14 2019-06-04 视联动力信息技术股份有限公司 A kind of method of data synchronization and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357818A (en) * 2016-10-28 2017-01-25 努比亚技术有限公司 Message forwarding method and message forwarding device
CN106506364A (en) * 2016-12-08 2017-03-15 努比亚技术有限公司 A kind of cut-in method, client and routing server
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN110166526A (en) * 2019-04-15 2019-08-23 中国平安人寿保险股份有限公司 More CDN access management methods, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110300162A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN108965224B (en) Video-on-demand method and device
CN109462753B (en) System and method for testing multiple video conferences
CN109617956B (en) Data processing method and device
CN110475090B (en) Conference control method and system
CN109547728B (en) Recorded broadcast source conference entering and conference recorded broadcast method and system
CN109474715B (en) Resource configuration method and device based on video network
CN110190973B (en) Online state detection method and device
CN109660816B (en) Information processing method and device
CN109246135B (en) Method and system for acquiring streaming media data
CN110224988B (en) Image data processing method, system and device and storage medium
CN109714568B (en) Video monitoring data synchronization method and device
CN109005378B (en) Video conference processing method and system
CN110557608B (en) Resource monitoring method, device and computer readable storage medium
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110289974B (en) Data stream processing method, system and device and storage medium
CN109889516B (en) Method and device for establishing session channel
CN109743360B (en) Information processing method and device
CN109640194B (en) Method and device for acquiring terminal permission through two-dimensional code based on video network
CN109361891B (en) Data synchronization method and system in hierarchical conference
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110784683B (en) Management method, device and storage medium for monitoring resources
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110381029B (en) Monitoring resource synchronization method and device
CN110392233B (en) Monitoring video processing method, device and storage medium
CN109688073B (en) Data processing method and system based on video network

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