CN111447465B - Service flow state visualization processing method and device and computing equipment - Google Patents
Service flow state visualization processing method and device and computing equipment Download PDFInfo
- Publication number
- CN111447465B CN111447465B CN201811638700.8A CN201811638700A CN111447465B CN 111447465 B CN111447465 B CN 111447465B CN 201811638700 A CN201811638700 A CN 201811638700A CN 111447465 B CN111447465 B CN 111447465B
- Authority
- CN
- China
- Prior art keywords
- server
- service flow
- track
- serial number
- track serial
- 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
Links
- 238000012800 visualization Methods 0.000 title claims abstract description 29
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 230000005540 biological transmission Effects 0.000 claims abstract description 58
- 238000012545 processing Methods 0.000 claims abstract description 56
- 238000005111 flow chemistry technique Methods 0.000 claims abstract description 42
- 238000010586 diagram Methods 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims description 47
- 230000008569 process Effects 0.000 claims description 21
- 238000004891 communication Methods 0.000 claims description 19
- 230000000977 initiatory effect Effects 0.000 claims description 7
- 230000007423 decrease Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 238000004458 analytical method Methods 0.000 abstract description 16
- 230000000007 visual effect Effects 0.000 abstract description 3
- 238000011835 investigation Methods 0.000 description 5
- 230000002776 aggregation Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/222—Secondary servers, e.g. proxy server, cable television Head-end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a service flow state visualization processing method, a device, a computing device and a computer storage medium, wherein the service flow state visualization processing method comprises the following steps: detecting a service flow processing request initiated by a user side to an intermediate server; setting a track serial number for a service flow corresponding to the service flow processing request, and updating the track serial number of the service flow according to the server information of an intermediate server or a total server of the current service flow; and obtaining a track state diagram of the service flow according to the track serial number of the service flow. According to the technical scheme provided by the invention, the transmission track of the service flow can be clearly reflected through the track serial number of the service flow, so that the service flow state analysis efficiency is effectively improved, the analysis accuracy is higher, the labor cost and the time cost input in the service flow state analysis are greatly reduced, the visual processing of the service flow state is realized, and the service flow state processing mode is optimized.
Description
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a service flow state visualization processing method, a device, a computing device, and a computer storage medium.
Background
In a service processing system involving a service flow, the service flow is often processed and transmitted using multiple levels of servers. The state of the service flow in the service processing system needs to be analyzed for the purposes of knowing the transmission track of the service flow, performing link fault investigation and the like. In the prior art, a service operation staff is used for analyzing log records and the like generated by a service processing system, so that the state of a service flow in the service processing system is found, and the transmission track of the service flow is determined. However, in the case of a relatively complex link of the service processing system, the above analysis process consumes a lot of labor cost and time cost, has low analysis efficiency, and is easy to cause analysis errors.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a traffic flow state visualization processing method, apparatus, computing device, and computer storage medium that overcome or at least partially solve the above problems.
According to one aspect of the present invention, there is provided a traffic flow state visualization processing method, the method comprising:
Detecting a service flow processing request initiated by a user side to an intermediate server;
setting a track serial number for a service flow corresponding to the service flow processing request, and updating the track serial number of the service flow according to the server information of an intermediate server or a total server of the current service flow;
and obtaining a track state diagram of the service flow according to the track serial number of the service flow.
According to another aspect of the present invention, there is provided a traffic flow status visualization processing apparatus, the apparatus comprising:
the detection module is suitable for detecting a service flow processing request initiated by a user side to the intermediate server;
The processing module is suitable for setting track serial numbers for the service flows corresponding to the service flow processing requests, and updating the track serial numbers of the service flows according to the server information of the middle server or the total server for processing the service flows currently;
the generation module is suitable for obtaining a track state diagram of the service flow according to the track serial number of the service flow.
According to yet another aspect of the present invention, there is provided a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the service flow state visualization processing method.
According to still another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the traffic state visualization processing method described above.
According to the technical scheme provided by the invention, the track serial number is set for the service flow corresponding to the service flow processing request, the track serial number of the service flow is updated according to the server information of the middle server or the total server for processing the service flow at present, the transmission track of the service flow can be clearly reflected through the track serial number of the service flow, and compared with the prior art, the service flow state analysis efficiency is effectively improved, the analysis accuracy is higher, and the labor cost and the time cost input by the service flow state analysis are greatly reduced; and the track state diagram of the service flow obtained according to the track serial number of the service flow can intuitively display the service flow state, thereby realizing the visual processing of the service flow state and optimizing the service flow state processing mode.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow diagram of a traffic state visualization processing method according to one embodiment of the invention;
FIG. 2a is a flow chart of a traffic state visualization processing method according to another embodiment of the present invention;
Fig. 2b shows a schematic diagram of a track state diagram of a live video stream;
FIG. 3 shows a block diagram of a traffic state visualization processing device according to one embodiment of the invention;
FIG. 4 illustrates a schematic diagram of a computing device, according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The service flow state visualization processing method provided by the invention can be applied to various service processing systems related to service flows. The service flow state visualization processing method provided by the invention is specifically described by combining a live broadcast scene, and the service flow is specifically a live broadcast video flow in the live broadcast scene. The live broadcast system is provided with a multi-level tree server topological structure, and can comprise at least one intermediate server and a total server, wherein the server level of the total server is higher than that of the at least one intermediate server, and the server level of the total server is the highest level. When the number of at least one intermediate server is plural, the plural intermediate servers may be disposed in different server tiers. The live broadcast system transmits the live broadcast video stream to the total server through at least one intermediate server according to a live broadcast video stream uploading request sent by a host broadcast user through a user side, wherein the transmission direction of the live broadcast video stream is an uplink direction; and the live broadcast system transmits the live broadcast video stream from the total server to at least one intermediate server according to a live broadcast video stream playing request sent by a watching user through the user side, and finally transmits the live broadcast video stream to the user side, wherein the transmission direction of the live broadcast video stream is the downlink direction.
Fig. 1 shows a flow diagram of a traffic flow status visualization processing method according to an embodiment of the invention, as shown in fig. 1, the method comprising the steps of:
Step S101, detecting a service flow processing request initiated by a user side to an intermediate server.
When a user wants to upload a service flow or download a service flow, the user needs to initiate a service flow processing request to an intermediate server through the user end, wherein the service flow processing request can be specifically a service flow uploading request or a service flow downloading request. Then in step S101, a service flow processing request initiated by the user side to the intermediate server is detected, so as to set a service flow corresponding to the service flow processing request.
Taking the application of the invention to a live broadcast system as an example, the service flow is specifically a live broadcast video flow, and the service flow processing request can be specifically a live broadcast video flow uploading request or a live broadcast video flow playing request. In the live broadcast system, the intermediate server may include an edge server and a convergence server, where the edge server and the convergence server are disposed in different server hierarchies, the server hierarchy of the edge server is lowest, the server hierarchy of the convergence server is higher than the server hierarchy of the edge server, and the server hierarchy of the total server is higher than the server hierarchy of the convergence server. Specifically, the convergence server may be a network communication carrier server, for example, a telecom carrier server, a unicom carrier server, or the like; the edge server is a network communication operator server corresponding to different regions, for example, a Shanghai telecom operator server, a Shandong telecom operator server, a Shanghai Unicom operator server, a Shandong Unicom operator server and the like, and establishes network connection with a convergence server belonging to the same network communication operator.
Specifically, when a host user wants to upload a live video stream, the host user sends a live video stream uploading request to an edge server through a user side; the edge server receives the live video stream uploaded by the user, then transmits the live video stream to the convergence server, and then the convergence server transmits the live video stream to the total server, and the total server processes and manages the live video stream. When a watching user wants to play the live video stream, the watching user sends a live video stream playing request to an edge server through a user side; according to the live video stream playing request, the total server searches live video streams corresponding to the live video stream playing request, the searched live video streams are transmitted to the convergence server, the convergence server transmits the live video streams to the edge server, and the edge server transmits the live video streams to the user side for playing by the user side. The edge server and the convergence server can perform corresponding processing on the live video stream received by the edge server and the convergence server, and the method is not limited herein. Then in step S101, a live video stream upload request or a live video stream play request initiated by the user side to the edge server is detected.
Step S102, setting track serial numbers for the service flows corresponding to the service flow processing requests.
In order to clearly understand the transmission track of the service flow, a track serial number is set for the service flow corresponding to the service flow processing request. The track serial number is information for representing a transmission track of the service flow, and specific contents of the track serial number can be set by a person skilled in the art according to actual needs, which is not limited herein.
Step S103, the track serial number of the service flow is updated according to the server information of the middle server or the total server which is currently processing the service flow.
Because the service flow corresponding to the service flow processing request is processed and transmitted in the intermediate server and the total server according to the service flow processing request, in order to facilitate understanding of the current transmission track of the service flow, the track serial number of the service flow can be updated according to the server information of the intermediate server or the total server for processing the service flow. The server information may include information related to a server, such as a server hierarchy.
The intermediate servers are assumed to include edge servers and aggregation servers. When the service stream processing request is a live video stream uploading request, the live video stream is transmitted to the total server through the edge server and the convergence server in sequence according to the live video stream uploading request. When the service stream processing request is a live video stream playing request, according to the live video stream playing request, the live video stream is sequentially transmitted to the edge server through the total server and the convergence server.
Specifically, in the process that live video streams are sequentially transmitted to a total server through an edge server and a convergence server, when the edge server receives live video streams uploaded by a user and processes the live video streams correspondingly, a server currently processing the live video streams is the edge server, and the track serial number of the live video streams is updated according to server information of the edge server to obtain a track serial number 11; when the convergence server receives the live video stream transmitted by the edge server and carries out corresponding processing on the live video stream, the current server for processing the live video stream is the convergence server, and the track serial number of the live video stream is updated according to the server information of the convergence server to obtain a track serial number 12; when the total server receives and processes the live video stream transmitted by the convergence server, the current server for processing the live video stream is the total server, and the track serial number of the live video stream is updated according to the server information of the total server to obtain the track serial number 13.
In the process that live video streams are sequentially transmitted to an edge server through a total server and an aggregation server, the total server searches live video streams corresponding to the live video stream playing request according to the live video stream playing request, then the server currently processing the live video streams is the total server, and the track serial number of the live video streams is updated according to the server information of the total server to obtain a track serial number 21; when the convergence server receives the live video stream transmitted by the total server and carries out corresponding processing on the live video stream, the current server for processing the live video stream is the convergence server, and the track serial number of the live video stream is updated according to the server information of the convergence server to obtain a track serial number 22; when the edge server receives and processes live video streams transmitted by the convergence server correspondingly, the server currently processing the live video streams is the edge server, and the track serial number of the live video streams is updated according to the server information of the edge server to obtain a track serial number 23; the edge server can then provide the live video stream to the client for the client to play.
Step S104, obtaining a track state diagram of the service flow according to the track serial number of the service flow.
The track serial number of the service flow is updated according to the server information of the intermediate server or the total server for processing the service flow, so that the transmission track of the service flow can be clearly reflected, and the transmission track of the service flow can be drawn according to the track serial number of the service flow, so as to obtain the track state diagram of the service flow.
According to the service flow state visualization processing method provided by the embodiment, the track serial numbers are set for the service flows corresponding to the service flow processing requests, the track serial numbers of the service flows are updated according to the server information of the middle server or the total server for processing the service flows at present, the transmission track of the service flows can be clearly reflected through the track serial numbers of the service flows, and compared with the prior art, the service flow state analysis efficiency is effectively improved, the analysis accuracy is higher, and the labor cost and the time cost input by the service flow state analysis are greatly reduced; and the track state diagram of the service flow obtained according to the track serial number of the service flow can intuitively display the service flow state, thereby realizing the visual processing of the service flow state and optimizing the service flow state processing mode.
Fig. 2a shows a flow diagram of a traffic status visualization processing method according to another embodiment of the invention, as shown in fig. 2a, the method comprising the steps of:
Step S201, detecting a service flow processing request initiated by a user terminal to an intermediate server.
Taking the application of the invention to a live broadcast system as an example, the service flow is specifically a live broadcast video flow, and the service flow processing request can be specifically a live broadcast video flow uploading request or a live broadcast video flow playing request. Specifically, when the user side wants to upload or play the live video stream, the user side initiates a live video stream uploading request or a live video stream playing request to an intermediate server with the lowest server level. The number of intermediate servers and the server hierarchy of the intermediate servers can be set by those skilled in the art according to actual needs, and are not limited herein. For example, when the number of intermediate servers is plural, the plural intermediate servers may be disposed in different server tiers.
In one specific application, the intermediate server includes an edge server and a convergence server, the edge server and the convergence server are disposed in different server hierarchies, the server hierarchy of the edge server is lowest, the server hierarchy of the convergence server is higher than the server hierarchy of the edge server, and the server hierarchy of the total server is higher than the server hierarchy of the convergence server. When a host user wants to upload a live video stream, the host user sends a live video stream uploading request to an edge server through a user side; when a watching user wants to play the live video stream, the watching user sends a live video stream playing request to the edge server through the user side. In step S201, a live video stream uploading request or a live video stream playing request initiated by a user end to an edge server is detected.
Step S202, setting track serial numbers for the service flows corresponding to the service flow processing requests.
Wherein, the track serial number can include: track serial number, track serial number may also include other information, not limited herein. For example, the track serial number may further include a service flow identifier and a request time for the user terminal to initiate a service flow processing request. In particular, the service flow identification is information for uniquely identifying the service flow, for example, the service flow identification may be a service flow ID or a service flow name, or the like. The invention can conveniently and effectively determine the track serial number of the service flow corresponding to the same service flow processing request through the service flow identifier in the track serial number and the request time of the user side for initiating the service flow processing request.
Step S203, the track serial number in the track serial number of the service flow is updated according to the server level of the middle server or the total server where the service flow is currently located.
The service flow corresponding to the service flow processing request is processed and transmitted in the intermediate server and the total server, and the track serial number of the service flow is required to be updated at each transmission stage in the transmission process so as to know the transmission track of the service flow. For the track serial numbers of the service flows corresponding to the same service flow processing request, the track serial numbers corresponding to each transmission stage are different, specifically, the service flow identification in the track serial numbers corresponding to each transmission stage is the same as the request time of the user side for initiating the service flow processing request, but the track serial numbers in the track serial numbers corresponding to each transmission stage are different, so that the track serial numbers in the track serial numbers of the service flows can be updated according to the server level of the middle server or the total server where the service flows are currently located.
Wherein the server hierarchy of the overall server is higher than the server hierarchy of the intermediate servers. The method for updating the track sequence number can be set by a person skilled in the art according to actual needs, and is not limited herein. For example, track sequence numbers increment or decrement as the server hierarchy increases.
In the following, the track serial number increases with the increase of the server level, and in the process of transmitting the service flow from the user end to the total server, the transmission direction is the uplink direction, the service flow is transmitted to the total server with the higher server level through the middle server with the lower server level, that is, the server level increases in sequence, so that the track serial number of the service flow can increase with the increase of the server level; in the process of transmitting the service flow from the total server to the user terminal, the transmission direction is the downlink direction, the service flow is transmitted to the middle server with the lower server level through the total server with the higher server level, namely the server level is sequentially reduced, and the track sequence number of the service flow can be reduced along with the reduction of the server level. In addition, when the number of intermediate servers in the same server hierarchy is plural, and/or the number of total servers in the same server hierarchy is plural, in order to facilitate identifying an intermediate server that handles a traffic flow from among the plural intermediate servers in the same server hierarchy, a total server that handles a traffic flow is identified from among the plural total servers, and after the track serial number of the traffic flow is updated, the track serial number is stored by the intermediate server or the total server where the traffic flow is currently located.
For example, in step S201, it is detected that the client terminal is at 2018, 10, 20, 12:00:00 a live video stream uploading request sent to an edge server and used for uploading spread one's fame live video streams called as "SN123", then a track serial number is set for the live video stream, a service stream identifier in the track serial number can be "SN123", and a request time in the track serial number is "2018, 10, 20 and 12:00:00". According to the live video stream uploading request, the live video stream is sequentially transmitted to the total server through the edge server and the convergence server, the transmission process can be divided into a transmission stage 11 and a transmission stage 13, wherein the transmission stage 11 is for the edge server to receive the live video stream uploaded by the user and process the live video stream correspondingly, the transmission stage 12 is for the convergence server to receive the live video stream transmitted by the edge server and process the live video stream correspondingly, and the transmission stage 13 is for the total server to receive the live video stream transmitted by the convergence server and process the live video stream correspondingly.
In the transmission stage 11, the server where the live video stream is currently located is an edge server, and the server level of the edge server is the lowest, then the track serial number in the track serial number of the live video stream is updated according to the server level of the edge server to obtain the track serial number 11, and the track serial number 11 is stored in the edge server, wherein the service stream identifier in the track serial number 11 is "SN123", and the request time is "2018, 10 months, 20 days 12:00:00", track number" 1"; in the transmission stage 12, the server where the live video stream is currently located is a convergence server, the server level of the convergence server is higher than the server level of the edge server and lower than the server level of the total server, and then the track serial number in the track serial number of the live video stream is updated according to the server level of the convergence server, for example, the track serial number is added with 1 to obtain the track serial number 12, and the track serial number 12 is stored in the convergence server, wherein the service stream identifier in the track serial number 12 is "SN123", and the request time is "2018, 10 months and 20 days 12:00:00", track number" 2"; in the transmission stage 13, the server where the live video stream is currently located is a total server, and the server level of the total server is the highest, then according to the server level of the total server, the track serial number in the track serial number of the live video stream is updated, for example, the track serial number is further processed by adding 1 to obtain the track serial number 13, and the track serial number 13 is stored in the total server, wherein the service flow identifier in the track serial number 13 is "SN123", and the request time is "2018, 10, 20 and 12:00:00", track number" 3".
As another example, in step S201, it is detected that the user terminal is at 13 of 2018, 10, 20 and 20: 10:00, a live video stream playing request for playing a live video stream named as SN123 is sent to an edge server, and then a track serial number is set for the live video stream, a service stream identifier in the track serial number may be "SN123", and a request time in the track serial number is "2018, 10 months, 20 days 13:10:00". According to the live video stream playing request, the live video stream is sequentially transmitted to the edge server through the main server and the convergence server, so that the edge server can provide the live video stream to the user end, the transmission process can be divided into a transmission stage 21 and a transmission stage 23, wherein the transmission stage 21 is that the main server searches the live video stream corresponding to the live video stream playing request according to the live video stream playing request, the transmission stage 22 is that the convergence server receives the live video stream transmitted by the main server and processes the live video stream correspondingly, and the transmission stage 23 is that the edge server receives the live video stream transmitted by the convergence server and processes the live video stream correspondingly.
In the transmission stage 21, the server where the live video stream is currently located is a total server, and the server level of the total server is the highest, then the track serial number in the track serial number of the live video stream is updated according to the server level of the total server to obtain the track serial number 21, and the track serial number 21 is stored in the total server, wherein the service flow identifier in the track serial number 21 is "SN123", and the request time is "2018, 10 months, 20 days 13:10:00", track number" 3"; in the transmission stage 22, the server where the live video stream is currently located is a convergence server, the server level of the convergence server is higher than the server level of the edge server and lower than the server level of the total server, and then the track serial number in the track serial number of the live video stream is updated according to the server level of the convergence server, for example, the track serial number is subtracted by 1 to obtain the track serial number 22, and the track serial number 22 is stored in the convergence server, where the service flow identifier in the track serial number 22 is "SN123", and the request time is "2018, 10 months and 20 days 13:10:00", track number" 2"; in the transmission stage 23, the server where the live video stream is currently located is an edge server, and the server level of the edge server is the lowest, then according to the server level of the edge server, the track serial number in the track serial number of the live video stream is updated, for example, the track serial number is subtracted by 1 to obtain the track serial number 23, and the track serial number 23 is stored in the edge server, where the service flow identifier in the track serial number 23 is "SN123", and the request time is "2018, 10, 20, and 13:10:00", track number" 1".
Step S204, obtaining the track state diagram of the service flow according to the track serial number in the track serial number of the service flow and the log record related to the service flow.
The method comprises the steps of determining an association relation between intermediate servers and/or an association relation between the intermediate servers and a total server according to track serial numbers in track serial numbers of service flows, determining a transmission direction of the service flows according to log records related to the service flows, and obtaining a track state diagram of the service flows according to the association relation between the intermediate servers and/or the association relation between the intermediate servers and the total server and the transmission direction of the service flows.
Specifically, track serial numbers of the service flows are stored in an intermediate server and a total server for processing the service flows, whether track serial numbers of the service flows corresponding to the service flow processing requests are stored in the intermediate server and/or the total server is searched for aiming at a certain service flow processing request, and if yes, the association relationship between the intermediate servers storing the track serial numbers of the service flows and/or the association relationship between the intermediate servers storing the track serial numbers of the service flows and the total server is determined according to the ascending order or descending order of the track serial numbers in the track serial numbers of the service flows. In addition, the intermediate server and the total server for processing the service flow also store the log record related to the service flow, and the transmission direction of the service flow is recorded in the log record related to the service flow, and the transmission direction can be specifically an uplink direction or a downlink direction. After the association relationship between the intermediate servers and/or the association relationship between the intermediate servers and the total server and the transmission direction of the service flow are determined, the association line can be drawn between the intermediate servers and/or between the intermediate servers and the total server according to the association relationship between the intermediate servers and/or the association relationship between the intermediate servers and the total server, and then the association direction is drawn for the drawn association line according to the transmission direction of the service flow, so that the track state diagram of the service flow is obtained. The track state diagram can intuitively display the service flow state, and the link fault of the service processing system can be checked based on the track state diagram.
Assuming that the service flow is a live video flow, the track serial numbers in the track serial numbers increase with the increase of the server level, the edge servers comprise edge servers A to F, the convergence servers comprise convergence servers A to D, and the total servers comprise a total server A and a total server B. The convergence server A and the convergence server B are telecom operator servers, the edge servers A to D are telecom operator servers corresponding to different areas, the convergence server C and the convergence server D are Unicom operator servers, and the edge servers E and F are Unicom operator servers corresponding to different areas. For a telecom operator, an edge server A and a convergence server A are preferential servers, and an edge server B to an edge server D and a convergence server B are alternative servers; for a communication operator, the edge server E and the convergence server C are preferential servers, and the edge server F and the convergence server D are alternative servers; the total server A is a preferred server, and the total server B is an alternative server. Processing and transmitting the live video stream by the preferred server when the preferred server is capable of operating normally; when the preferred server has faults and cannot normally operate, selecting one alternative server to continuously process and transmit the live video stream according to the arrangement sequence of the corresponding alternative servers.
The method comprises the steps that a service stream processing request is a live video stream uploading request, the name of a live video stream corresponding to the live video stream uploading request is ' SN123 ', and the request time for a user to initiate the live video stream uploading request is ' 2018, 10, 20 and 12:00:00". Searching whether the service flow identifier is ' SN123 ' stored in each edge server, each convergence server and each total server, and the request time is ' 2018, 10, 20 and 12:00:00 "trace running water number. If the edge server a, the aggregation server B and the total server a are found to store the service flow identifier "SN123" and the request time is "2018, 10, 20, 12:00:00", wherein the track serial numbers in the track serial numbers stored by the edge server a are" 1", the track serial numbers in the track serial numbers stored by the convergence server a and the convergence server B are both" 2", the track serial numbers in the track serial numbers stored by the total server a are" 3", and according to the log records related to the live video stream stored by the edge server a, the convergence server B and the total server a, the transmission direction of the live video stream is an uplink direction, then according to the increasing sequence of the track serial numbers in the track serial numbers of the live video stream, the association relationship between the edge server a and the convergence server a, between the edge server a and the convergence server B and between the convergence server B and the total server a is determined, and then the track state diagram of the obtained live video stream can be shown as the left side diagram in fig. 2B. The method comprises the steps that an incidence relation exists between an edge server A and a convergence server A and between the edge server A and a convergence server B, and only the incidence relation exists between the convergence server B and a total server A, so that the convergence server B serving as an alternative server is used for processing and transmitting the live video stream, and accordingly the fact that the convergence server A serving as a preferred server has faults and cannot normally operate when the live video stream is processed and transmitted can be conveniently determined.
The method comprises the steps that a service stream processing request is a live video stream playing request, the name of a live video stream corresponding to the live video stream playing request is ' SN123 ', and the request time for a user side to initiate the live video stream playing request is ' 2018, 10, 20 and 13:10:00". Searching whether the service flow identifier is ' SN123 ' stored in each edge server, each convergence server and each total server, and the request time is ' 2018, 10, 20 and 13:10:00 "trace running water number. If the edge server E, the aggregation server C and the total server a are found to store the service flow identifier "SN123" and the request time is "2018, 10, 20, 13:10:00", wherein the track serial number in the track serial number stored by the edge server E is" 1", the track serial number in the track serial number stored by the convergence server C is" 2", the track serial number in the track serial number stored by the total server a is" 3", and according to the edge server E, the convergence server C and the log record related to the live video stream stored by the total server a, the transmission direction of the live video stream is a downlink direction, then according to the descending order of the track serial numbers in the track serial number of the live video stream, it is determined that an association relationship exists between the total server a and the convergence server C and between the convergence server C and the edge server E, and then the track state diagram of the obtained live video stream can be shown as the right side diagram in fig. 2 b. The association relationship exists between the total server a and the convergence server C and between the convergence server C and the edge server E, and the total server B, the convergence server D and the edge server F serving as alternative servers are not used for processing and transmitting the live video stream, which indicates that the total server a, the convergence server C and the edge server E can normally operate when processing and transmitting the live video stream, and no fault exists.
According to the service flow state visualization processing method provided by the embodiment, the track serial number of the service flow corresponding to the same service flow processing request can be conveniently and effectively determined through the service flow identifier in the track serial number and the request time of the user side for initiating the service flow processing request; in the transmission process of the service flow, the track serial number in the track serial number increases or decreases along with the increase of the server level of the middle server or the total server where the service flow is currently located, the transmission track of the service flow can be clearly and accurately reflected through the track serial number of the service flow, the service flow state analysis efficiency is effectively improved, the analysis accuracy is higher, the association relationship between the middle servers and/or the association relationship between the middle server and the total server can be conveniently determined, and the service flow state can be intuitively displayed through the track state diagram of the service flow so as to be used by service operation staff; in addition, the track state diagram based on the service flow can also conveniently conduct the link fault investigation of the service processing system, and effectively improves the link fault investigation efficiency.
Fig. 3 shows a block diagram of a traffic state visualization processing device according to an embodiment of the present invention, as shown in fig. 3, the device includes: a detection module 310, a processing module 320, and a generation module 330.
The detection module 310 is adapted to: and detecting a service flow processing request initiated by the user side to the intermediate server.
The processing module 320 is adapted to: setting a track serial number for the service flow corresponding to the service flow processing request, and updating the track serial number of the service flow according to the server information of the intermediate server or the total server of the current service flow.
Wherein, the track serial number includes: track serial number, in addition, track serial number can also include: the service flow identification and the request time of the user initiating the service flow processing request. The processing module 320 is further adapted to: updating the track serial number in the track serial number of the service flow according to the server level of the middle server or the total server where the service flow is currently located; wherein the server level of the total server is higher than the server level of the intermediate server; the track sequence number increases or decreases as the server level increases.
Optionally, in the process of transmitting the service flow from the user side to the total server, the server levels are sequentially increased, and the track sequence numbers of the service flow are increased along with the increase of the server levels; in the process of transmitting the service flow from the total server to the user side, the server level is reduced in sequence, and the track sequence number of the service flow is reduced along with the reduction of the server level.
The generating module 330 is adapted to: and obtaining a track state diagram of the service flow according to the track serial number of the service flow.
Optionally, the generating module 330 is further adapted to: and obtaining a track state diagram of the service flow according to the track serial number in the track serial number of the service flow and the log record related to the service flow.
Optionally, the generating module 330 is further adapted to: determining an association relationship between the intermediate servers and/or an association relationship between the intermediate servers and the total server according to the track serial numbers in the track serial numbers of the service flows; determining the transmission direction of the service flow according to the log record related to the service flow; and obtaining a track state diagram of the service flow according to the association relation between the intermediate servers and/or the association relation between the intermediate servers and the total server and the transmission direction of the service flow.
According to the service flow state visualization processing device provided by the embodiment, the track serial number of the service flow corresponding to the same service flow processing request can be conveniently and effectively determined through the service flow identifier in the track serial number and the request time of the user side for initiating the service flow processing request; in the transmission process of the service flow, the track serial number in the track serial number increases or decreases along with the increase of the server level of the middle server or the total server where the service flow is currently located, the transmission track of the service flow can be clearly and accurately reflected through the track serial number of the service flow, the service flow state analysis efficiency is effectively improved, the analysis accuracy is higher, the association relationship between the middle servers and/or the association relationship between the middle server and the total server can be conveniently determined, and the service flow state can be intuitively displayed through the track state diagram of the service flow so as to be used by service operation staff; in addition, the track state diagram based on the service flow can also conveniently conduct the link fault investigation of the service processing system, and effectively improves the link fault investigation efficiency.
The invention also provides a non-volatile computer storage medium, which stores at least one executable instruction, and the executable instruction can execute the service flow state visualization processing method in any method embodiment.
FIG. 4 illustrates a schematic diagram of a computing device, according to an embodiment of the invention, the particular embodiment of the invention not being limited to a particular implementation of the computing device.
As shown in fig. 4, the computing device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein:
Processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
Processor 402 is configured to execute program 410, and may specifically perform relevant steps in the above-described traffic state visualization processing method embodiment.
In particular, program 410 may include program code including computer-operating instructions.
The processor 402 may be a central processing unit CPU, or an Application-specific integrated Circuit ASIC (Application SPECIFIC INTEGRATED Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically configured to cause processor 402 to perform the traffic state visualization processing method in any of the method embodiments described above. The specific implementation of each step in the procedure 410 may refer to the corresponding step and corresponding description in the unit in the above embodiment of the service flow status visualization processing, which is not repeated herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
Claims (14)
1. A traffic flow state visualization processing method, the method comprising:
Detecting a service flow processing request initiated by a user side to an intermediate server;
setting a track serial number for the service flow corresponding to the service flow processing request, and updating the track serial number of the service flow according to the server information of an intermediate server or a total server currently processing the service flow;
Obtaining a track state diagram of the service flow according to the track serial number of the service flow;
The track serial number comprises: track number; the updating the track serial number of the service flow according to the server information of the intermediate server or the total server currently processing the service flow further comprises:
And updating the track serial number in the track serial number of the service flow according to the server level of the middle server or the total server where the service flow is currently located.
2. The method of claim 1, wherein a server hierarchy of the overall server is higher than a server hierarchy of the intermediate server; the track sequence number increases or decreases as the server level increases.
3. The method according to claim 2, wherein the server levels rise sequentially during the transmission of the traffic stream from the user side to the total server, and the track sequence numbers of the traffic stream increase with the rise of the server levels;
And in the process of transmitting the service flow from the total server to the user side, the server level is reduced in sequence, and the track sequence number of the service flow is reduced along with the reduction of the server level.
4. The method of claim 3, wherein the trajectory flow number further comprises: service flow identification and request time of the user initiating the service flow processing request.
5. The method according to any one of claims 2-4, wherein the obtaining the track state diagram of the service flow according to the track serial number of the service flow further includes:
And obtaining a track state diagram of the service flow according to the track serial number in the track serial number of the service flow and the log record related to the service flow.
6. The method of claim 5, wherein the obtaining the track state diagram of the service flow according to the track serial number in the track serial number of the service flow and the log record related to the service flow further comprises:
Determining an association relationship between the intermediate servers and/or an association relationship between the intermediate servers and the total server according to the track serial numbers in the track serial numbers of the service flows;
determining the transmission direction of the service flow according to the log record related to the service flow;
And obtaining a track state diagram of the service flow according to the association relation between the intermediate servers and/or the association relation between the intermediate servers and the total server and the transmission direction of the service flow.
7. A traffic state visualization processing apparatus, the apparatus comprising:
the detection module is suitable for detecting a service flow processing request initiated by a user side to the intermediate server;
The processing module is suitable for setting a track serial number for the service flow corresponding to the service flow processing request, and updating the track serial number of the service flow according to the server information of the middle server or the total server currently processing the service flow;
the generation module is suitable for obtaining a track state diagram of the service flow according to the track serial number of the service flow;
the track serial number comprises: track number; the processing module is further adapted to:
And updating the track serial number in the track serial number of the service flow according to the server level of the middle server or the total server where the service flow is currently located.
8. The apparatus of claim 7, wherein a server hierarchy of the overall server is higher than a server hierarchy of the intermediate server; the track sequence number increases or decreases as the server level increases.
9. The apparatus of claim 8, wherein the server hierarchy increases sequentially during the transmission of the traffic stream from the user side to the overall server, and the track sequence number of the traffic stream increases with the increase of the server hierarchy;
And in the process of transmitting the service flow from the total server to the user side, the server level is reduced in sequence, and the track sequence number of the service flow is reduced along with the reduction of the server level.
10. The apparatus of claim 9, wherein the trajectory flow number further comprises: service flow identification and request time of the user initiating the service flow processing request.
11. The apparatus of any of claims 8-10, wherein the generation module is further adapted to:
And obtaining a track state diagram of the service flow according to the track serial number in the track serial number of the service flow and the log record related to the service flow.
12. The apparatus of claim 11, wherein the generation module is further adapted to:
Determining an association relationship between the intermediate servers and/or an association relationship between the intermediate servers and the total server according to the track serial numbers in the track serial numbers of the service flows;
determining the transmission direction of the service flow according to the log record related to the service flow;
And obtaining a track state diagram of the service flow according to the association relation between the intermediate servers and/or the association relation between the intermediate servers and the total server and the transmission direction of the service flow.
13. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
The memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform the operations corresponding to the traffic state visualization processing method according to any one of claims 1 to 6.
14. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the traffic state visualization processing method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811638700.8A CN111447465B (en) | 2018-12-29 | 2018-12-29 | Service flow state visualization processing method and device and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811638700.8A CN111447465B (en) | 2018-12-29 | 2018-12-29 | Service flow state visualization processing method and device and computing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111447465A CN111447465A (en) | 2020-07-24 |
CN111447465B true CN111447465B (en) | 2024-06-21 |
Family
ID=71652275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811638700.8A Active CN111447465B (en) | 2018-12-29 | 2018-12-29 | Service flow state visualization processing method and device and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111447465B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404696A (en) * | 2008-11-03 | 2009-04-08 | 中兴通讯股份有限公司 | Visible service flow tracing method and system, service flow processing system |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119416A (en) * | 2006-08-03 | 2008-02-06 | 华为技术有限公司 | Device and method of value-added service network and real-time analysis flow track |
US20120011529A1 (en) * | 2010-07-07 | 2012-01-12 | At&T Intellectual Property I, L.P. | System and method to determine viewership |
CN103731753A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Personal live video stream routing system and method |
CN104301741B (en) * | 2014-09-26 | 2018-06-22 | 北京奇艺世纪科技有限公司 | A kind of data broadcast system and method |
CN104469470A (en) * | 2015-01-05 | 2015-03-25 | 大连海大船舶导航国家工程研究中心有限责任公司 | Multi-information-source data processing system in ship transportation system |
CN107291337A (en) * | 2016-04-01 | 2017-10-24 | 华为技术有限公司 | A kind of method and device that Operational Visit is provided |
CN107273276A (en) * | 2016-04-06 | 2017-10-20 | 中兴通讯股份有限公司 | A kind of whole process tracking and device based on virtualization |
CN106792257B (en) * | 2016-11-22 | 2019-12-10 | 北京大米科技有限公司 | method and device for forwarding streaming media and routing method and device |
CN107807997A (en) * | 2017-11-08 | 2018-03-16 | 北京奇虎科技有限公司 | User's portrait building method, device and computing device based on big data |
CN108683528B (en) * | 2018-04-26 | 2021-07-20 | 深圳银澎云计算有限公司 | Data transmission method, central server, server and data transmission system |
CN108712659A (en) * | 2018-05-15 | 2018-10-26 | 山东师范大学 | A kind of manifold type method of video distribution and system based on user's driving |
-
2018
- 2018-12-29 CN CN201811638700.8A patent/CN111447465B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404696A (en) * | 2008-11-03 | 2009-04-08 | 中兴通讯股份有限公司 | Visible service flow tracing method and system, service flow processing system |
Also Published As
Publication number | Publication date |
---|---|
CN111447465A (en) | 2020-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8978036B2 (en) | Dynamic scheduling of tasks for collecting and processing data from external sources | |
US9672285B2 (en) | System and method for improving access to search results | |
CN109951547B (en) | Transaction request parallel processing method, device, equipment and medium | |
CN109496418B (en) | File downloading method and device, and equipment/terminal/server | |
CN110287696B (en) | Detection method, device and equipment for rebound shell process | |
US11502899B2 (en) | Dynamic product installation based on user feedback | |
CN106815254B (en) | Data processing method and device | |
CN108933695B (en) | Method and apparatus for processing information | |
CN110460584B (en) | Access request processing method and device, electronic equipment and computer readable medium | |
CN109240802B (en) | Request processing method and device | |
CN106126419A (en) | The adjustment method of a kind of application program and device | |
CN109151600B (en) | Special effect missing compensation method and device, server and storage medium | |
CN107766224B (en) | Test method and test device | |
CN111447465B (en) | Service flow state visualization processing method and device and computing equipment | |
CN114625407A (en) | Method, system, equipment and storage medium for implementing AB experiment | |
CN110309028B (en) | Monitoring information acquisition method, service monitoring method, device and system | |
CN103294683B (en) | A kind of video file captions automatic patching system and method | |
CN112507265A (en) | Method and device for anomaly detection based on tree structure and related products | |
CN106528411A (en) | Method and device for coverage rate detection and equipment | |
CN113746924B (en) | Cross-region transmission method and device for power grid business data | |
CN116303320A (en) | Real-time task management method, device, equipment and medium based on log file | |
US11122139B2 (en) | Systems and methods for reducing download requirements | |
CN109522326B (en) | Data distribution method, device, equipment and storage medium | |
CN114221988A (en) | Content distribution network hotspot analysis method and system | |
CN111767447A (en) | Method and device for determining user traffic path |
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 |