CN112004161A - Processing method and device of address resources, terminal equipment and storage medium - Google Patents

Processing method and device of address resources, terminal equipment and storage medium Download PDF

Info

Publication number
CN112004161A
CN112004161A CN202010659214.5A CN202010659214A CN112004161A CN 112004161 A CN112004161 A CN 112004161A CN 202010659214 A CN202010659214 A CN 202010659214A CN 112004161 A CN112004161 A CN 112004161A
Authority
CN
China
Prior art keywords
video network
state
address resource
address
network terminal
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.)
Pending
Application number
CN202010659214.5A
Other languages
Chinese (zh)
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 CN202010659214.5A priority Critical patent/CN112004161A/en
Publication of CN112004161A publication Critical patent/CN112004161A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting

Abstract

The embodiment of the invention provides a processing method and a device of address resources, a terminal device and a storage medium, wherein the processing method comprises the following steps: sending an acquisition instruction to a video network core server, wherein the acquisition instruction comprises address resources; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.

Description

Processing method and device of address resources, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing address resources, a terminal device, and a storage medium.
Background
With the rapid development of video networking services, the number of video services is increasing day by day, and in video networking network transmission, video services need to be performed through address resources, signaling loss may occur due to the fact that a large number of video services are performed, especially when the video services are ended, due to the fact that the signaling is lost, the address resources occupied by the video services cannot be released, the address resources are abnormally occupied, and the number of the address resources in the video networking is limited, so that other video services cannot be performed normally.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a processing method, apparatus, terminal device and storage medium for address resources, which overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for processing an address resource, where the method includes:
sending an acquisition instruction to a video network core server, wherein the acquisition instruction comprises address resources;
receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server;
determining an address resource state corresponding to the video network terminal according to the service state of the video network terminal;
and if the address resource state is an abnormal state, receiving a deleting instruction of the address resource input by a user, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
Optionally, the determining, according to the service state of the video networking terminal, an address resource state corresponding to the video networking terminal includes:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
Optionally, the method further comprises:
calculating a first number of address resources of an abnormal state;
calculating a second number of address resources in a normal state;
and calculating the abnormal occupation percentage according to the first quantity and the second quantity.
Optionally, the method further comprises:
comparing the abnormal occupation percentage with a preset abnormal occupation threshold;
and if the abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, displaying alarm information, wherein the alarm information comprises the abnormal occupancy percentage.
Optionally, the service state of the video network terminal corresponding to the address resource, which is returned by the video network core server, includes:
the video network core server allocates the address resource for the video network terminal so that the video network terminal performs service processing according to the address resource;
and the video network core server acquires the service state of the video network terminal.
Optionally, the method further comprises:
and sending the address resource, terminal information corresponding to the address resource and the abnormal occupation percentage to an operation and maintenance client, and displaying the terminal information on the operation and maintenance client, wherein the terminal information at least comprises the service state of the video network terminal, the number of the video network terminal, the address number, the terminal type and a server to which the terminal belongs.
In a second aspect, an embodiment of the present invention provides an apparatus for processing an address resource, where the apparatus includes:
the device comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending an acquisition instruction to a video networking core server, and the acquisition instruction comprises address resources;
the receiving module is used for receiving the service state of the video network terminal corresponding to the address resource, which is returned by the video network core server;
the determining module is used for determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal;
and the deleting module is used for receiving a deleting instruction of the address resource input by a user if the state of the address resource is an abnormal state, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
Optionally, the determining module is configured to:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
Optionally, the apparatus further comprises a computing module configured to:
calculating a first number of address resources of an abnormal state;
calculating a second number of address resources in a normal state;
and calculating the abnormal occupation percentage according to the first quantity and the second quantity.
Optionally, the apparatus further comprises an alert module, the alert module being configured to:
comparing the abnormal occupation percentage with a preset abnormal occupation threshold;
and if the abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, displaying alarm information, wherein the alarm information comprises the abnormal occupancy percentage.
Optionally, the core server of the video network includes a reporting module, where the reporting module is configured to:
allocating the address resource to the video network terminal so that the video network terminal performs service processing according to the address resource;
and acquiring the service state of the video network terminal.
Optionally, the apparatus further comprises a display module, the display module is configured to:
and sending the address resource, terminal information corresponding to the address resource and the abnormal occupation percentage to an operation and maintenance client, and displaying the terminal information on the operation and maintenance client, wherein the terminal information at least comprises the service state of the video network terminal, the number of the video network terminal, the address number, the terminal type and a server to which the terminal belongs.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the processing method of the address resource provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the computer program implements the processing method for the address resource provided in the first aspect.
The embodiment of the invention has the following advantages:
according to the address resource processing method and device, the terminal device and the storage medium provided by the embodiment of the invention, the acquisition instruction is sent to the core server of the video network, wherein the acquisition instruction comprises the address resource; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
Drawings
FIG. 1 is a flowchart illustrating the steps of an embodiment of a method for processing address resources according to the present invention;
FIG. 2 is a flow chart illustrating steps of another embodiment of a method for processing address resources;
FIG. 3 is a block diagram of an embodiment of a processing system for address resources in accordance with the present invention;
FIG. 4 is a flowchart illustrating the steps of a further embodiment of a method for processing an address resource in accordance with the present invention;
FIG. 5 is a block diagram of an embodiment of a processing device for address resources according to the present invention;
fig. 6 is a schematic structural diagram of a terminal device 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.
The nouns are explained as follows:
the video network server: in the video network, the server is responsible for video service and management function; the method has an important role in the video networking network, and is responsible for the management of all video services in the network. The communication with the terminal and other devices is carried out through the v2v protocol, so that the starting and the ending of a service are completed. All the internet-of-view address resources in the network are also managed in the internet-of-view server. The initiation of each service in the video network occupies the address resource, and when the address resource is occupied, the services such as conference, video telephone, live broadcast and the like can not be started. Therefore, the video network address resource is a more precious resource in the video network, is reasonably managed and used, and has important significance for the normal operation of video network services.
Video networking terminal equipment: in the video network, the terminal equipment directly facing to the client can carry out services such as video conferences and the like;
v2v video networking protocol: a communication protocol specific to the video network based on the two-layer protocol of the OSI model; has the characteristics of quickness and safety. The OSI model, the open communication systems interconnection reference model, is a standard framework proposed by the international organization for standardization (ISO) that attempts to interconnect various computers into networks worldwide. The architecture standard defines that the seven-layer framework decibels of network interconnection are: a physical layer, a data link layer, a network layer, a transport layer, a session layer, a presentation layer, and an application layer.
Address resources: a resource in a video network comprises a multicast address and a broadcast address, and the starting of each video service requires the address resource.
An embodiment of the present invention provides a method for processing address resources, which is used to release address resources in an abnormal state. The execution subject of this embodiment is a processing device of address resources, and is disposed on the operation and maintenance tool server.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for processing address resources according to the present invention is shown, where the method specifically includes the following steps:
s101, sending an acquisition instruction to a video network core server, wherein the acquisition instruction comprises address resources;
specifically, the core server of the video network allocates an address resource to the terminal of the video network, the terminal of the video network initiates a service through the address resource, and if it is desired to check whether the address resource is abnormally occupied, the operation and maintenance tool server will periodically send an instruction for acquiring the address resource to the core server of the video network, where the address resource may be a multicast address or a broadcast address, and is not specifically limited in the embodiment of the present invention.
S102, receiving the service state of the video network terminal corresponding to the address resource, returned by the video network core server;
specifically, the video network core server obtains the service state of the video network terminal in real time, after the video network terminal initiates a service, the video network core server obtains the service state of the video network terminal in real time, where the service is in progress, or the service is completed, or the off-line state, and after receiving an obtaining instruction sent by the operation and maintenance tool server, the video network core server returns the service state of the video network terminal corresponding to the address resource to the operation and maintenance tool server, for example, the service is in progress, or the service is completed, or the off-line state, and the like.
S103, determining an address resource state corresponding to the video network terminal according to the service state of the video network terminal;
specifically, after receiving the service state of the video networking terminal sent by the video networking core server, the operation and maintenance tool server determines, according to the service state of the video networking terminal, an address resource state corresponding to the video networking terminal, for example:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state; i.e. the address resource is occupied abnormally.
And if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state. I.e. the address resource is in a normally occupied state.
And S104, if the address resource state is an abnormal state, receiving a deleting instruction of the address resource input by a user, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
Specifically, when the operation and maintenance tool server judges that the address resource state is an abnormal state, a user inputs a deletion instruction of the address resource on an operation and maintenance tool client, the operation and maintenance tool client sends the deletion instruction to the operation and maintenance tool server, the operation and maintenance tool server sends the deletion instruction to the video network core server, and the video network core server deletes the address resource in the abnormal state according to the deletion instruction, namely releases the address resource in the abnormal state, and the address resource can be used by other video network terminals to execute a new service.
According to the address resource processing method provided by the embodiment of the invention, an acquisition instruction is sent to a core server of a video network, wherein the acquisition instruction comprises address resources; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
The present invention further provides a supplementary description of the address resource processing method provided in the foregoing embodiment.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a processing method for address resources according to the present invention is shown, where the processing method for address resources includes:
s201, the video network core server allocates the address resource for the video network terminal so that the video network terminal performs service processing according to the address resource; a video network core server acquires the service state of the video network terminal;
specifically, the core server of the video network has a limited number of address resources, allocates the address resources to the video network terminal, and the video network terminal performs service initiation according to the address resources to execute a corresponding service.
S202, sending an acquisition instruction to a video network core server, wherein the acquisition instruction comprises address resources;
s203, receiving the service state of the video network terminal corresponding to the address resource, returned by the video network core server;
since steps S202 to S203 are the same as steps S102 and S103 in the embodiment shown in fig. 1. Step S102 to step S103 have already been described in detail in fig. 1, and therefore step S202 to step S203 are not described again here.
S204, determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal;
specifically, the operation and maintenance tool server judges the service state of the video network terminal, and if the service state of the video network terminal is a non-service state or an off-line state, the address resource state corresponding to the video network terminal is determined to be an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
S205, calculating a first quantity of address resources in an abnormal state;
s206, calculating a second number of address resources in a normal state;
and S207, calculating the abnormal occupation percentage according to the first quantity and the second quantity.
Specifically, the operation and maintenance tool server counts a first number of address resources in an abnormal state and a second number of address resources in a normal state, and calculates the abnormal occupation percentage according to the first number and the second number.
Illustratively, if the number of address resources in the abnormal state is 40, and the number of address resources in the normal state is 10, the abnormal occupancy percentage is 40/(10+40) ═ 0.8.
S208, comparing the abnormal occupation percentage with a preset abnormal occupation threshold;
s209, if the abnormal occupancy percentage is larger than the preset abnormal occupancy threshold, displaying alarm information, wherein the alarm information comprises the abnormal occupancy percentage.
Specifically, the operation and maintenance tool server compares the abnormal occupancy percentage with a preset abnormal occupancy threshold, and if the abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, displays alarm information, wherein the alarm information includes the abnormal occupancy percentage. Illustratively, if the preset abnormal occupancy threshold is 0.7, the abnormal occupancy percentage 0.8 is greater than 0.7, and then the alarm information is displayed.
S210, sending the address resource, the terminal information corresponding to the address resource and the abnormal occupation percentage to an operation and maintenance client, and displaying the terminal information on the operation and maintenance client, wherein the terminal information at least comprises the service state of the video network terminal, the number of the video network terminal, the address number, the terminal type and a server to which the terminal belongs.
Specifically, in order to enable a user to know the use condition of the address resource, the operation and maintenance tool server sends the address resource, the terminal information corresponding to the address resource, and the occupation condition of the address resource to the operation and maintenance client, and displays the occupation condition on the operation and maintenance client, wherein the occupation condition of the address resource comprises the address resource in a normal state, the address resource in an abnormal state, and an abnormal occupation percentage.
S211, if the address resource state is an abnormal state, receiving a deleting instruction of the address resource input by a user, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
Since step S211 is the same as step S104 in the embodiment shown in fig. 1. Step S104 has already been described in detail in fig. 1, and therefore step S211 is not described again here.
Fig. 3 is a schematic structural diagram of an embodiment of a processing system for address resources, and as shown in fig. 3, the processing system for address resources includes an operation and maintenance tool client, an operation and maintenance tool server, a video network core server, and a video network terminal, and the operation and maintenance tool server includes an operation and maintenance tool service module, a message queue module, an alarm module, a collection service module, and a database.
Specifically, the processing method of the address resource includes:
1. the video network core server allocates address resources for the video network terminals, performs services with the video network terminals through the address resources, and acquires the service state of each video network terminal during service;
2. the operation and maintenance tool service module periodically issues an acquisition instruction to the acquisition service module, wherein the acquisition instruction comprises address resources, and the address resources comprise multicast addresses or broadcast addresses;
3. the acquisition service module acquires terminal information corresponding to the address resource from the core server of the video network, sends the terminal information to the operation and maintenance tool service module, and stores the corresponding relation between the terminal information and the address resource in a database, wherein the terminal information comprises a service state, an address number, a terminal type and a server to which the terminal belongs;
4. after receiving the terminal information corresponding to the address resource sent by the acquisition service module, the operation and maintenance tool service module judges whether the address resource is normally occupied or abnormally occupied according to the service state in the terminal information;
if the service state of the terminal equipment is a non-service state or an off-line state, determining that the multicast address or the broadcast address is abnormally occupied;
if the service state of the terminal equipment is the service, determining that the multicast address or the broadcast address is normally occupied;
5. the operation and maintenance tool service module calculates the abnormal occupation percentage according to the number of the terminals which occupy the address resources abnormally and the number of the terminals which occupy the address resources normally;
6. and the operation and maintenance tool service module compares the calculated abnormal occupancy percentage with a preset abnormal occupancy threshold, and if the calculated abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, sends an alarm instruction to the message queue module, wherein the alarm instruction comprises the calculated abnormal occupancy percentage, the message queue module exceeds the set threshold, sends the result to the message queue module, and then sends the result to the alarm module, and a piece of alarm information is formed in the alarm module. If the threshold is not exceeded, then not send.
7. The operation and maintenance tool service module sends the address resources and the terminal information (the occupation condition of the normal address resources and the occupation condition of the abnormal address resources) and the percentage corresponding to the address resources to the operation and maintenance tool client and displays the address resources and the terminal information on the operation and maintenance tool client;
8. the operation and maintenance tool client receives a deletion instruction of the abnormal address resource input by the user, sends the deletion instruction to the operation and maintenance tool service module, then sends the deletion instruction to the video network core server through the acquisition service module, and the video network core server releases the abnormal address resource and returns a processing result to the operation and maintenance tool client.
Fig. 4 is a flowchart of steps of another embodiment of a processing method for address resources, as shown in fig. 4, the processing method for address resources includes:
1) the acquisition service module periodically acquires the service state of each video network terminal from the video network core server through a video network protocol and stores the service state into a database;
2) the operation and maintenance tool service module acquires the service state of the video network terminal from the data;
3) the operation and maintenance tool service module periodically issues commands needing to collect address resources, such as multicast address query and broadcast address query, to the collection service module through a TCP/IP protocol;
4) after receiving the command of collecting the address resources, the collection service module collects the occupation condition of the address resources of the video network from a core server of the video network through a v2v video network protocol;
5) the core server of the video network returns the query result to the operation and maintenance tool service module, namely, the multicast address or the broadcast address is reported;
6) after data processing, the operation and maintenance tool service module determines which addresses are normally occupied and which addresses are abnormally occupied; returning the detailed condition of the abnormally occupied address resources to the operation and maintenance tool client, and sending the address resources with the utilization rate exceeding a threshold value to the message queue module;
the multicast address is occupied abnormally when the terminal which is not in service or is off-line occupies a certain amount of address resources. The service is in progress and the occupied address resource is normally occupied.
7) The operation and maintenance tool client displays the abnormal occupation condition of the address resources in detail, such as which address resource is abnormally occupied by which terminal;
the operation and maintenance tool service sends the address resource details, namely the address number, namely the slot number, the terminal type and the server to which the terminal belongs to the operation and maintenance tool client, and displays the result on the operation and maintenance client;
8) the operation and maintenance tool service calculates the number of abnormal occupation and normal occupation, calculates the percentage, compares the percentage with a pre-designed threshold value, and sends alarm information including the address resource utilization rate to an alarm module through a message queue module if the address resource utilization rate is judged to exceed the threshold value;
9) the operation and maintenance tool client respectively displays the occupation conditions of normal address resources and abnormal address resources, and deletes the abnormally occupied address resources manually;
10) and sending the deleting command to the video network core server through the operation and maintenance tool service module and the acquisition service module, and returning a final deleting result to the operation and maintenance tool client.
By the embodiment of the invention, the use condition of the video networking address resource can be checked in real time, and the abnormally used address resource is released, so that the limited video networking address resource is reasonably and effectively used, and the normal and stable operation of the video networking service is ensured.
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.
According to the address resource processing method provided by the embodiment of the invention, an acquisition instruction is sent to a core server of a video network, wherein the acquisition instruction comprises address resources; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
Another embodiment of the present invention provides an address resource processing apparatus, configured to execute the address resource processing method provided in the foregoing embodiment.
Referring to fig. 5, a block diagram of an embodiment of the processing apparatus for address resources according to the present invention is shown, and the apparatus may specifically include the following modules: a sending module 501, a receiving module 502, a determining module 503 and a deleting module 504, wherein:
the sending module 501 is configured to send an obtaining instruction to a core server of a video networking, where the obtaining instruction includes an address resource;
the receiving module 502 is configured to receive a service state of the video network terminal corresponding to the address resource, where the service state is returned by the video network core server;
the determining module 503 is configured to determine, according to the service state of the video networking terminal, an address resource state corresponding to the video networking terminal;
the deleting module 504 is configured to receive a deleting instruction of the address resource, which is input by a user, if the address resource state is an abnormal state, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
The processing device of the address resource provided by the embodiment of the invention sends an acquisition instruction to the core server of the video network, wherein the acquisition instruction comprises the address resource; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
The present invention further provides a supplementary description of the processing apparatus for address resources provided in the foregoing embodiment.
Optionally, the determining module 503 is configured to:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
Optionally, the apparatus further comprises a computing module configured to:
calculating a first number of address resources of an abnormal state;
calculating a second number of address resources in a normal state;
and calculating the abnormal occupation percentage according to the first quantity and the second quantity.
Optionally, the apparatus further comprises an alert module, the alert module being configured to:
comparing the abnormal occupation percentage with a preset abnormal occupation threshold;
and if the abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, displaying alarm information, wherein the alarm information comprises the abnormal occupancy percentage.
Optionally, the core server of the video network includes a reporting module, where the reporting module is configured to:
allocating the address resource to the video network terminal so that the video network terminal performs service processing according to the address resource;
and acquiring the service state of the video network terminal.
Optionally, the apparatus further comprises a display module, the display module is configured to:
and sending the address resource, terminal information corresponding to the address resource and the abnormal occupation percentage to an operation and maintenance client, and displaying the terminal information on the operation and maintenance client, wherein the terminal information at least comprises the service state of the video network terminal, the number of the video network terminal, the address number, the terminal type and a server to which the terminal belongs.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The processing device of the address resource provided by the embodiment of the invention sends an acquisition instruction to the core server of the video network, wherein the acquisition instruction comprises the address resource; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
Still another embodiment of the present invention provides a terminal device, configured to execute the method for processing an address resource provided in the foregoing embodiment.
Fig. 6 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 6, the terminal device includes: at least one processor 601 and memory 602;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the processing method of the address resource provided by the above-mentioned embodiments.
In the terminal device provided by this embodiment, an acquisition instruction is sent to a core server of a video network, where the acquisition instruction includes an address resource; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method for processing an address resource provided in any of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, the acquisition instruction is sent to the core server of the video network, wherein the acquisition instruction comprises the address resource; receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server; determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal; if the address resource state is an abnormal state, a deleting instruction of the address resource input by a user is received, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction, and thus, after the address resource occupied abnormally is deleted, other video network terminal services can reuse the address resource, so that the address resource can be occupied reasonably and effectively, and the normal operation of the video network service is ensured.
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, electronic 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 electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, 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 electronic devices 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 electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device 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 electronic device 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 electronic device. 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 electronic device that comprises the element.
The foregoing describes in detail a method and an apparatus for processing address resources provided by the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the foregoing embodiment is only used to help understand the method and the core idea 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 method for processing address resources, the method comprising:
sending an acquisition instruction to a video network core server, wherein the acquisition instruction comprises address resources;
receiving the service state of the video network terminal corresponding to the address resource returned by the video network core server;
determining an address resource state corresponding to the video network terminal according to the service state of the video network terminal;
and if the address resource state is an abnormal state, receiving a deleting instruction of the address resource input by a user, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
2. The method according to claim 1, wherein the determining the address resource status corresponding to the terminal of the video network according to the service status of the terminal of the video network comprises:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
3. The method of claim 2, further comprising:
calculating a first number of address resources of an abnormal state;
calculating a second number of address resources in a normal state;
and calculating the abnormal occupation percentage according to the first quantity and the second quantity.
4. The method of claim 3, further comprising:
comparing the abnormal occupation percentage with a preset abnormal occupation threshold;
and if the abnormal occupancy percentage is greater than the preset abnormal occupancy threshold, displaying alarm information, wherein the alarm information comprises the abnormal occupancy percentage.
5. The method according to claim 1, wherein the service state of the video network terminal corresponding to the address resource returned by the video network core server comprises:
the video network core server allocates the address resource for the video network terminal so that the video network terminal performs service processing according to the address resource;
and the video network core server acquires the service state of the video network terminal.
6. The method of claim 3, further comprising:
and sending the address resource, terminal information corresponding to the address resource and the abnormal occupation percentage to an operation and maintenance client, and displaying the terminal information on the operation and maintenance client, wherein the terminal information at least comprises the service state of the video network terminal, the number of the video network terminal, the address number, the terminal type and a server to which the terminal belongs.
7. An apparatus for processing address resources, the apparatus comprising:
the device comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending an acquisition instruction to a video networking core server, and the acquisition instruction comprises address resources;
the receiving module is used for receiving the service state of the video network terminal corresponding to the address resource, which is returned by the video network core server;
the determining module is used for determining the address resource state corresponding to the video network terminal according to the service state of the video network terminal;
and the deleting module is used for receiving a deleting instruction of the address resource input by a user if the state of the address resource is an abnormal state, so that the core server of the video network deletes the address resource in the abnormal state occupied by the video network terminal according to the deleting instruction.
8. The apparatus of claim 7, wherein the determining module is configured to:
if the service state of the video network terminal is a non-service state or an off-line state, determining that the address resource state corresponding to the video network terminal is an abnormal state;
and if the service state of the video network terminal is in service progress, determining that the address resource state corresponding to the video network terminal is a normal state.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the memory-stored computer program to implement the method of processing the address resource of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the processing method of the address resource of any of claims 1-6.
CN202010659214.5A 2020-07-09 2020-07-09 Processing method and device of address resources, terminal equipment and storage medium Pending CN112004161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010659214.5A CN112004161A (en) 2020-07-09 2020-07-09 Processing method and device of address resources, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010659214.5A CN112004161A (en) 2020-07-09 2020-07-09 Processing method and device of address resources, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112004161A true CN112004161A (en) 2020-11-27

Family

ID=73467435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010659214.5A Pending CN112004161A (en) 2020-07-09 2020-07-09 Processing method and device of address resources, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112004161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055443A (en) * 2021-02-20 2021-06-29 北京奇艺世纪科技有限公司 Resource data deployment method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103535015A (en) * 2013-05-24 2014-01-22 华为技术有限公司 Management method of public network address resource, terminal control protocol server and client
WO2014106341A1 (en) * 2013-01-06 2014-07-10 华为技术有限公司 Resource allocation method and device
CN104104655A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Resource release method, device and system
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN108769289A (en) * 2018-05-31 2018-11-06 广州金华诚科技有限公司 A kind of network address resources Visualized management system
CN109412870A (en) * 2018-12-10 2019-03-01 网宿科技股份有限公司 Alarm monitoring method and platform, server, storage medium
CN110139059A (en) * 2019-04-01 2019-08-16 视联动力信息技术股份有限公司 A kind of distribution method and device regarding networked resources
CN110691213A (en) * 2018-07-04 2020-01-14 视联动力信息技术股份有限公司 Alarm method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014106341A1 (en) * 2013-01-06 2014-07-10 华为技术有限公司 Resource allocation method and device
CN104104655A (en) * 2013-04-07 2014-10-15 华为技术有限公司 Resource release method, device and system
CN103535015A (en) * 2013-05-24 2014-01-22 华为技术有限公司 Management method of public network address resource, terminal control protocol server and client
CN106331190A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 IP address withdrawing method and device, and dynamic host configuration protocol server
CN108769289A (en) * 2018-05-31 2018-11-06 广州金华诚科技有限公司 A kind of network address resources Visualized management system
CN110691213A (en) * 2018-07-04 2020-01-14 视联动力信息技术股份有限公司 Alarm method and device
CN109412870A (en) * 2018-12-10 2019-03-01 网宿科技股份有限公司 Alarm monitoring method and platform, server, storage medium
CN110139059A (en) * 2019-04-01 2019-08-16 视联动力信息技术股份有限公司 A kind of distribution method and device regarding networked resources

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055443A (en) * 2021-02-20 2021-06-29 北京奇艺世纪科技有限公司 Resource data deployment method, device, equipment and storage medium
CN113055443B (en) * 2021-02-20 2023-07-04 北京奇艺世纪科技有限公司 Resource data deployment method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110471749B (en) Task processing method, device, computer readable storage medium and computer equipment
CN112600693B (en) Service request processing method, system, electronic equipment and computer storage medium
CN107306200B (en) Network fault early warning method and gateway for network fault early warning
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
CN112004161A (en) Processing method and device of address resources, terminal equipment and storage medium
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN101695049A (en) Method and device for processing businesses in monitoring system
CN113965538B (en) Equipment state message processing method, device and storage medium
CN107071038B (en) Method and device for transmitting multimedia data
CN112311686B (en) Data processing method and device, electronic equipment and storage medium
CN115665173A (en) Websocket communication method, system and storage medium based on MQ
CN113360783B (en) User online list updating method and device and computer equipment
CN112437146B (en) Equipment state synchronization method, device and system
CN110134547B (en) Middleware-based repeated data deleting method and related device
CN114253710A (en) Processing method of computing request, intelligent terminal, cloud server, equipment and medium
CN111953932A (en) Data processing method and device, terminal equipment and storage medium
CN113556573A (en) Method and system for selecting push flow link
CN113835905A (en) Message queue load balancing method and device, electronic equipment and medium
CN111556284A (en) Method and device for sharing video stream monitored by video network
CN112994934A (en) Data interaction method, device and system
CN110971535A (en) Communication congestion control method, device, equipment and storage medium
CN111641698B (en) Data statistical method, system, equipment and storage medium
CN112600683B (en) Cloud conference signaling control method and system and readable storage medium
CN115412748A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN109901970B (en) Method and device for monitoring video network terminal

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