CN109996089A - A kind of method of processing operation log, system and a kind of streaming media server - Google Patents
A kind of method of processing operation log, system and a kind of streaming media server Download PDFInfo
- Publication number
- CN109996089A CN109996089A CN201910127225.6A CN201910127225A CN109996089A CN 109996089 A CN109996089 A CN 109996089A CN 201910127225 A CN201910127225 A CN 201910127225A CN 109996089 A CN109996089 A CN 109996089A
- Authority
- CN
- China
- Prior art keywords
- media server
- streaming media
- operation log
- smart machine
- log
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012545 processing Methods 0.000 title claims abstract description 18
- 230000006855 networking Effects 0.000 claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000012217 deletion Methods 0.000 abstract description 6
- 230000037430 deletion Effects 0.000 abstract description 6
- 230000006399 behavior Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000739 chaotic effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation 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/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23113—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
-
- 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/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- 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
- 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/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2408—Monitoring of the upstream path of the transmission network, e.g. client requests
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of method of processing operation log, system and a kind of streaming media servers.The method is applied to view networking, the view networking includes streaming media server, the streaming media server is connect with smart machine, the smart machine is used to send to the streaming media server and request, the described method includes: the streaming media server receives the operation requests that the smart machine is sent, it completes to operate according to the operation requests, it whether correct is operated described in the streaming media server judges, if correct, then the streaming media server parses the information of the operation requests, and according to the information, generate operation log, and the operation log is saved to the database of the streaming media server, the streaming media server is searched in the program file for operating and being related to the presence or absence of the operation log, if the operation log exists, then the streaming media server is by the behaviour present in described program file Make log deletion.
Description
Technical field
The present invention relates to view networking arenas more particularly to a kind of method of processing operation log, system and a kind of stream matchmakers
Body server.
Background technique
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can
It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video,
High definition is face-to-face, is finally the distance of a screen by the distance for realizing person to person in global range.
Depending on streaming media server abbreviation Streaming Media in networking, major function is to transmit audio, video in view intranet network
It is acquired, cached, dispatched and transmitted broadcasting with the media content of multimedia file, there is streaming media in streaming media server
And its Basic Information Management platform that user is managed.
When convection media server carries out the operation of various basic informations, operation log can be generated, under normal circumstances, stream
Media server can be handled each operation, generate operation log later, these operation logs generated can be deposited respectively
Storage inside parent directory and subdirectory, in this way when operating more, results in many in the program file of each operation of correspondence
Operation log is generated, and overall architecture is chaotic, and regardless of the success or not of basic information operation, can all be generated log and be stored up
It deposits, so its occupancy memory space is also larger.
Summary of the invention
Method, system and a kind of streaming media server of a kind of processing operation log provided by the invention, solve behaviour
Make the problem that log is more and framework is chaotic.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of method of processing operation log, the sides
Method is applied to view networking, and the view networking includes streaming media server, and the streaming media server is connect with smart machine, described
Smart machine is used to send to the streaming media server and request, which comprises
The streaming media server receives the operation requests that the smart machine is sent;
The streaming media server completes operation according to the operation requests;
It whether correct is operated described in the streaming media server judges;
If the operation is correct, the streaming media server parses the information of the operation requests, and the information includes:
Send the Internet protocol address IP of smart machine of operation requests, the routing address connecting with smart machine, operation requests
The data of type and operation requests;
The streaming media server generates operation log according to the information, and the operation log is saved to described
The database of streaming media server;
The streaming media server is searched in the program file for operating and being related to the presence or absence of the operation log;
If the operation log exists, the streaming media server is by operation day present in described program file
Will is deleted.
Optionally, operate described in the streaming media server judges whether it is correct after, the method also includes:
If the operation is incorrect, the streaming media server does not parse the information of the operation requests, does not generate behaviour
Make log.
Optionally, operation log is generated according to the information in the streaming media server, and the operation log is protected
It deposits to the database of the streaming media server, the method also includes:
What the streaming media server received that the smart machine sends checks that operation log is requested;
The streaming media server checks that operation log is requested according to, read operation log from the database;
The operation log of reading is sent to the smart machine by the streaming media server.
Optionally, after the operation log of reading is sent to the smart machine by the streaming media server, the side
Method further include:
The smart machine receives the operation log of the reading;
The operation log of the reading is carried out front end displaying by the smart machine.
Optionally, it searches in the program file for operating and being related in the streaming media server with the presence or absence of the operation
After log, the method also includes:
If the operation log is not present, the streaming media server is without delete operation.
The embodiment of the invention also provides a kind of system of processing operation log, the system is applied to view networking, described
System includes: streaming media server and smart machine, and the streaming media server is connect with smart machine, and the smart machine is used
It is requested in being sent to the streaming media server, the server includes:
First receiving module receives the operation requests that the smart machine is sent for the streaming media server;
Module is completed, for the streaming media server according to the operation requests, completes operation;
Judgment module, it is whether correct for being operated described in the streaming media server judges;
Parsing module, if correct for the operation, the streaming media server parses the information of the operation requests,
The information includes: the Internet protocol address IP that sends the smart machine of operation requests, the routing that connect with smart machine
The data of location, the type of operation requests and operation requests;
Preserving module is generated, for the streaming media server according to the information, generates operation log, and by the behaviour
It saves as log to the database of the server;
Search module searches for described operate in the program file being related to the presence or absence of described for the streaming media server
Operation log;
Removing module, if existing for the operation log, the streaming media server will be deposited in described program file
The operation log delete.
Optionally, the streaming media server further include:
Second receiving module checks that operation log is asked for what the streaming media server received that the smart machine sends
It asks;
It checks read module, checks that operation log is requested according to for the streaming media server, from the data
Read operation log in library;
Sending module is read, the operation log of reading is sent to the smart machine for the streaming media server.
Optionally, the smart machine includes:
Third receiving module receives the operation log of the reading for the smart machine;
The operation log of the reading is carried out front end displaying for the smart machine by display module.
The embodiment of the invention also provides a kind of streaming media server, the streaming media server includes: processor, described
Streaming media server is connect with smart machine, and the smart machine is used to send to the streaming media server and request, the place
Reason device is used for:
Receive the operation requests that the smart machine is sent;
According to the operation requests, operation is completed;
Judge whether the operation is correct;
If the operation is correct, the information of the operation requests is parsed, the information includes: to send the intelligence of operation requests
Can the Internet protocol address IP of equipment, the routing address being connect with smart machine, operation requests type and operation requests
Data;
According to the information, operation log is generated, and the operation log is saved to the database of the server;
It searches in the program file for operating and being related to the presence or absence of the operation log;
If the operation log exists, the operation log present in described program file is deleted.
Optionally, the processor is also used to:
Receive the smart machine transmission checks that operation log is requested;
Check that operation log is requested according to described, read operation log from the database;
The operation log of reading is sent to the smart machine.
Compared with prior art, method, system and a kind of Streaming Media of a kind of processing operation log provided by the invention
Server receives operation requests, completes operation, and judges whether to operate successfully, generates operation log if success, will operate
Log stores in the database, and operation log present in the program file that is related to of delete operation, thus only will be correct
Operation log stores in the database, without being respectively stored in parent directory and subdirectory the inside in each program file, so that frame
Structure is not chaotic, and memory space is centainly reduced.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow chart of processing operation log approach of the embodiment of the present invention;
Fig. 2 is the flow chart in the embodiment of the present invention after step 105;
Fig. 3 is the schematic diagram of the embodiment of the present invention;
Fig. 4 is a kind of block diagram of processing operation log system of the embodiment of the present invention;
Fig. 5 is the block diagram of smart machine of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of flow chart of processing operation log approach of the embodiment of the present invention, and this method is applied to view networking,
It include streaming media server depending on networking, streaming media server is connect with smart machine, and smart machine is used for streaming media server
Request is sent, processing operation log approach includes the following steps:
Step 101: streaming media server receives the operation requests that smart machine is sent.
In the embodiment of the present invention, streaming media server abbreviation Streaming Media, major function is to transmission audio, video in network
It is acquired, caches, dispatches and transmits broadcasting with the media content of multimedia file, because of the communication of internet and view networking
Agreement is different, thus needed in internet using the audio-video in view networking perhaps multimedia file when or view networking in
When using audio-video or multimedia file in internet, the communication protocol of streaming media server conversion between the two is gone forward side by side
The forwarding of row data between the two, so that internet and view networking can be mutually literary using mutual audio-video or multimedia
Part, such as under normal circumstances: view networked terminals ----view networked server ----streaming media server -- internet terminal, if
In internet terminal need to view networking in audio-video or multimedia file progress in application, needing to streaming media server
Request is sent, after streaming media server receives the request, corresponding data are requested to view networked server, depending on networked server
From corresponding depending on obtaining data on networked terminals, then streaming media server is fed back to, streaming media server carries out view networking ----
Internet communication protocol conversion is forwarding the data to internet terminal, and vice versa.Smart machine is used by operator
, with the equipment that data operation processing and picture play display function, it can be considered one kind of internet terminal.The present invention is real
It applies example and this is not limited in detail, can be configured according to the actual situation.
Step 102: streaming media server completes operation according to operation requests.
In the embodiment of the present invention, after streaming media server receives operation requests, corresponding behaviour is completed according to operation requests
Make, for example, operator need to watch on intelligent devices view network in picture in 001 terminal of number, then streaming media server
After receiving the request, request is sent to view networked server, number 001 is regarded to the frame numbers of networked terminals depending on networked server
According to streaming media server is fed back to, streaming media server receives the picture data that number 001 regards networked terminals, to the data into
Row communication Protocol Conversion is converted to the data of Internet protocol, is transmitted to smart machine later, and whole operation is considered as completion.This
Inventive embodiments do not limit this in detail, can be configured according to the actual situation.
Step 103: whether streaming media server judges operation is correct.
In the embodiment of the present invention, streaming media server judges this operation correctness after the completion of operation.This
Inventive embodiments do not limit this in detail, can be configured according to the actual situation.
Step 104: if operation is correct, streaming media server parses the information of operation requests, and information includes: to send operation
The Internet protocol address IP of the smart machine of request, the routing address being connect with smart machine, operation requests type and
The data of operation requests.
There is the module parsed specifically for operation requests information in the embodiment of the present invention, in streaming media server, if
Streaming media server judges operation is correct, then the module in streaming media server can parse operation requests information, the letter
Breath includes: the Internet protocol address IP, the routing address connecting with smart machine, operation for sending the smart machine of operation requests
The type of request and the data of operation requests, wherein IP address is IP address of the smart machine in internet, routing address
For the routing address connecting with smart machine, in practice, because routing can connect many smart machines simultaneously, working as has
Multiple smart machines can determine specific smart machine simultaneously in use, by the combination of routing address+IP address completely;Behaviour
The type for making to request includes: to increase data, delete data, change data and inquiry data;The data of operation requests are this
The summary information of operation requests data, for example, number 001 regard networked terminals, January 1 2019 period 0:00~2019 year 1
The picture data of moon 0:00 on the 2nd.It is, of course, understood that if streaming media server judges operation is incorrect, then Streaming Media
Module in server does not parse the information of operation requests, does not generate operation log thus, in streaming media server database
The operation log of middle preservation just only has the operation log of correct operation, and without the operation log of faulty operation, this not only makes
Operation log is uniformly stored in one piece, and framework is not chaotic, and reduces the occupied storage of operation log to a certain extent
Space.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 105: streaming media server generates operation log according to information, and operation log is saved to Streaming Media and is taken
The database of business device.
In the embodiment of the present invention, after streaming media server has parsed solicited message, corresponding operation log will be produced, and
Operation log is stored in the database of itself, includes the particular content of this operation in operation log, such as:
192.168.3.13+melogin.cn++001 view networked terminals of number 0:00~2019 year on January 1st, 1 January 2 is inquired
The picture of 0:00.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Optionally, referring to Fig. 2, after step 105, the method for processing operation log further includes following steps:
Step 1051: what streaming media server reception smart machine was sent checks that operation log is requested;
Step 1052: streaming media server according to check operation log request, the read operation log from database;
Step 1053: the operation log of reading is sent to smart machine by streaming media server;
Step 1054: smart machine receives the operation log read;
Step 1055: the operation log of reading is carried out front end displaying by smart machine.
In the embodiment of the present invention, after operation log is stored in own database by streaming media server, when needs are checked
When operation log, receives and check that operation log is requested, corresponding operation log is read from own database, is sent to intelligence
Equipment after smart machine receives operation log, operation log can be shown in the front end of itself, so that operator looks into
It sees.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 106: whether there is operation log in the program file that streaming media server search operation is related to.
In the embodiment of the present invention, operation log is saved after own database in streaming media server, searches for this operation
It is related to the catalogue of program file, including parent directory and subdirectory, if there are this operation logs, such as streaming media server
In this operation be related to program file catalogue, view in networked server this operation be related to program file catalogue the inside, be
It is no that there are this operation logs.The embodiment of the present invention does not limit this in detail, can be configured according to the actual situation.
Step 107: if operation log exists, streaming media server deletes operation log present in program file.
In the embodiment of the present invention, if being related to inside the catalogue of program file there are operation log, then streaming media server
It will be related to the deletion of operation log present in program file, if being related to inside the catalogue of program file there is no operation log,
Then streaming media server is done nothing.The embodiment of the present invention does not limit this in detail, can according to the actual situation into
Row setting.
For example, the schematic diagram of the embodiment of the present invention is shown referring to Fig. 3, depending on including: view networked terminals in networking
001, networked server and streaming media server are regarded, includes smart machine in internet, from smart machine to streaming media server
Operation requests are sent, which includes: smart machine IP address: 192.168.8.58;Routing address: 192.168.1.1;
Operation requests type: it deletes;Operation requests data: terminal 001,0:00~2018 on December 31, January 1 2018 period
All data of 24:00.
After streaming media server receives the operation requests, the request is executed, deletes the end depending on storing in networked server
End 001 judges this behaviour after the completion of operation in 0:00~2018 year on January 1st, 2018 all data of 24:00 on December 31
Make it is whether correct, that is, check again for depending on whether be also stored in networked server terminal 001 on January 1st, 2018 0:00~
Any data on December 31st, 2018 24:00, if there are also data, then this operation is incorrect, does not just generate and operates day
Will, if then judging that this operation is correct without data, just generating this operation log, log content: 192.168.8.58+
192.168.1.1+ deletion+0:00~2018 year on January 1 terminal 001+2018 all data of 24:00 on December 31, by the day
Will is stored in the database of itself.
Streaming media server searches for program file in the streaming media server that this deletion data operation is related to later, depending on connection
It is then done nothing if it does not exist inside program file with the presence or absence of the operation log for deleting data in network server, if
In the presence of then deletion is related to operation log in program file.
After the operation log that this deletes data is stored in the database of streaming media server itself, when needs check this
When the secondary operation log for deleting data, streaming media server, which receives, checks that operation log is requested, and reads from database corresponding
Operation log, be sent to smart machine, after smart machine receives operation log, shown that, in front end, operator can
To view operation log information in front end: 192.168.8.58+192.168.1.1+ deletion+terminal 001+2018 January 1
0:00~2018 all data of 24:00 on December 31,.
Optionally, referring to Fig. 4, a kind of block diagram of processing operation log system of the embodiment of the present invention is shown, which answers
It networks for regarding, which includes: streaming media server and smart machine, and streaming media server is connect with smart machine, intelligence
Equipment is used to send to streaming media server and request, and streaming media server includes:
First receiving module 310 receives the operation requests that smart machine is sent for streaming media server;
Module 320 is completed, for streaming media server according to operation requests, completes operation;
Whether judgment module 330 operates correct for streaming media server judges;
Parsing module 340, if correct for operating, streaming media server parses the information of operation requests, and information includes:
Send the Internet protocol address IP of smart machine of operation requests, the routing address connecting with smart machine, operation requests
The data of type and operation requests;
Preserving module 350 is generated, for streaming media server according to information, generates operation log, and operation log is protected
It deposits to the database of server;
Search module 360 whether there is operation log in the program file being related to for streaming media server search operation;
Removing module 370, if existing for operation log, streaming media server will operate day present in program file
Will is deleted;
Second receiving module 380 checks that operation log is requested for what streaming media server reception smart machine was sent;
It checks read module 390, for streaming media server according to operation log request is checked, behaviour is read from database
Make log;
Sending module 400 is read, the operation log of reading is sent to smart machine for streaming media server.
Optionally, referring to Fig. 5, the block diagram of smart machine includes: in the embodiment of the present invention
Third receiving module 600 receives the operation log read for smart machine;
The operation log of reading is carried out front end displaying for smart machine by display module 610.
Optionally, the embodiment of the invention also provides a kind of streaming media server, which includes: processing
Device, the streaming media server are connect with smart machine, and smart machine is used to send to streaming media server and request, streaming media service
The processor of device is used for:
Receive the operation requests that smart machine is sent;
According to operation requests, operation is completed;
Judge whether operation is correct;
If operation is correct, the information of operation requests is parsed, information includes: to send the interconnection of the smart machine of operation requests
FidonetFido address ip, the routing address being connect with smart machine, the type of operation requests and operation requests data;
According to information, operation log is generated, and operation log is saved to the database of server;
It whether there is operation log in the program file that search operation is related to;
If operation log exists, operation log present in program file is deleted;
Receive smart machine transmission checks that operation log is requested;
According to check operation log request, the read operation log from database;
The operation log of reading is sent to smart machine.
Through the foregoing embodiment, streaming media server of the present invention completes operation, and judgement is by receiving operation requests
It is no to operate successfully, operation log is generated if success, in the database by operation log storage, and the program that delete operation is related to
Operation log present in file thus only stores correct operation log in the database, each without being respectively stored in
Parent directory and subdirectory the inside in a program file, so that framework is not chaotic, and memory space is centainly reduced.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, herein, the terms "include", "comprise" or its it is any its
He is intended to non-exclusive inclusion by variant, so that process, method, article or device including a series of elements are not
Only include those elements, but also including other elements that are not explicitly listed, or further include for this process, method,
Article or the intrinsic element of device.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the device for including the element.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of method of processing operation log, which is characterized in that the method is applied to view networking, and the view networking includes stream
Media server, the streaming media server are connect with smart machine, and the smart machine is used for the streaming media server
Send request, which comprises
The streaming media server receives the operation requests that the smart machine is sent;
The streaming media server completes operation according to the operation requests;
It whether correct is operated described in the streaming media server judges;
If the operation is correct, the streaming media server parses the information of the operation requests, and the information includes: to send
The Internet protocol address IP of the smart machine of operation requests, the routing address being connect with smart machine, operation requests type
And the data of operation requests;
The streaming media server generates operation log according to the information, and the operation log is saved to the stream matchmaker
The database of body server;
The streaming media server is searched in the program file for operating and being related to the presence or absence of the operation log;
If the operation log exists, the streaming media server deletes the operation log present in described program file
It removes.
2. the method according to claim 1, wherein whether just to operate described in the streaming media server judges
After really, the method also includes:
If the operation is incorrect, the streaming media server does not parse the information of the operation requests, does not generate operation day
Will.
3. the method according to claim 1, wherein being generated in the streaming media server according to the information
Operation log, and the operation log is saved to the database of the streaming media server, the method also includes:
What the streaming media server received that the smart machine sends checks that operation log is requested;
The streaming media server checks that operation log is requested according to, read operation log from the database;
The operation log of reading is sent to the smart machine by the streaming media server.
4. according to the method described in claim 3, it is characterized in that, the operation log of reading is sent out in the streaming media server
It send to the smart machine, the method also includes:
The smart machine receives the operation log of the reading;
The operation log of the reading is carried out front end displaying by the smart machine.
5. the method according to claim 1, wherein searching for what the operation was related in the streaming media server
After whether there is the operation log in program file, the method also includes:
If the operation log is not present, the streaming media server is without delete operation.
6. a kind of system of processing operation log, which is characterized in that the system is applied to view networking, the system comprises: stream
Media server and smart machine, the streaming media server are connect with smart machine, and the smart machine is used for the stream
Media server sends request, and the streaming media server includes:
First receiving module receives the operation requests that the smart machine is sent for the streaming media server;
Module is completed, for the streaming media server according to the operation requests, completes operation;
Judgment module, it is whether correct for being operated described in the streaming media server judges;
Parsing module, if correct for the operation, the streaming media server parses the information of the operation requests, described
Information includes: the Internet protocol address IP, the routing address connecting with smart machine, behaviour for sending the smart machine of operation requests
Make the data of the type and operation requests requested;
Preserving module is generated, for the streaming media server according to the information, generates operation log, and by the operation day
Will is saved to the database of the server;
Search module searches for described operate in the program file being related to the presence or absence of the operation for the streaming media server
Log;
Removing module, if existing for the operation log, the streaming media server will be present in described program file
The operation log is deleted.
7. system according to claim 6, which is characterized in that the streaming media server further include:
Second receiving module checks that operation log is requested for what the streaming media server received that the smart machine sends;
It checks read module, checks that operation log is requested according to for the streaming media server, from the database
Read operation log;
Sending module is read, the operation log of reading is sent to the smart machine for the streaming media server.
8. system according to claim 6, which is characterized in that the smart machine includes:
Third receiving module receives the operation log of the reading for the smart machine;
The operation log of the reading is carried out front end displaying for the smart machine by display module.
9. a kind of streaming media server, which is characterized in that the streaming media server includes: processor, the streaming media service
Device is connect with smart machine, and the smart machine is used to send to the streaming media server and request, and the processor is used for:
Receive the operation requests that the smart machine is sent;
According to the operation requests, operation is completed;
Judge whether the operation is correct;
If the operation is correct, the information of the operation requests is parsed, the information includes: that the intelligence of transmission operation requests is set
Standby Internet protocol address IP, routing address, the type of operation requests and the number of operation requests being connect with smart machine
According to;
According to the information, operation log is generated, and the operation log is saved to the database of the server;
It searches in the program file for operating and being related to the presence or absence of the operation log;
If the operation log exists, the operation log present in described program file is deleted.
10. streaming media server according to claim 9, which is characterized in that the processor is also used to:
Receive the smart machine transmission checks that operation log is requested;
Check that operation log is requested according to described, read operation log from the database;
The operation log of reading is sent to the smart machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910127225.6A CN109996089B (en) | 2019-02-20 | 2019-02-20 | Method and system for processing operation log and streaming media server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910127225.6A CN109996089B (en) | 2019-02-20 | 2019-02-20 | Method and system for processing operation log and streaming media server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109996089A true CN109996089A (en) | 2019-07-09 |
CN109996089B CN109996089B (en) | 2021-09-28 |
Family
ID=67130246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910127225.6A Active CN109996089B (en) | 2019-02-20 | 2019-02-20 | Method and system for processing operation log and streaming media server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109996089B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064988A (en) * | 2019-11-06 | 2020-04-24 | 视联动力信息技术股份有限公司 | Log saving method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080005176A1 (en) * | 2006-06-29 | 2008-01-03 | Canon Kabushiki Kaisha | Image output apparatus, image output apparatus control method, program, electronic document management system |
CN101364217A (en) * | 2007-08-08 | 2009-02-11 | 华为技术有限公司 | Data maintenance method, equipment and system thereof in data-base |
CN102479162A (en) * | 2010-11-22 | 2012-05-30 | 英业达股份有限公司 | Computer system and method for recording system event log |
JP2013130901A (en) * | 2011-12-20 | 2013-07-04 | Hitachi Ltd | Monitoring server and network device recovery system using the same |
EP2775392A1 (en) * | 2013-03-08 | 2014-09-10 | Samsung Electronics Co., Ltd | Method of managing user log-in to cloud-based application and image forming apparatus performing the method |
CN104281506A (en) * | 2014-07-10 | 2015-01-14 | 中国科学院计算技术研究所 | Data maintenance method and system for file system |
CN105915523A (en) * | 2016-05-05 | 2016-08-31 | 云神科技投资股份有限公司 | Implementation method of safety configuration device based on cloud calculation |
WO2016205261A1 (en) * | 2015-06-16 | 2016-12-22 | Microsoft Technology Licensing, Llc | File storage system including tiers |
CN107870849A (en) * | 2016-09-28 | 2018-04-03 | 平安科技(深圳)有限公司 | The treating method and apparatus of test log |
-
2019
- 2019-02-20 CN CN201910127225.6A patent/CN109996089B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080005176A1 (en) * | 2006-06-29 | 2008-01-03 | Canon Kabushiki Kaisha | Image output apparatus, image output apparatus control method, program, electronic document management system |
CN101364217A (en) * | 2007-08-08 | 2009-02-11 | 华为技术有限公司 | Data maintenance method, equipment and system thereof in data-base |
CN102479162A (en) * | 2010-11-22 | 2012-05-30 | 英业达股份有限公司 | Computer system and method for recording system event log |
JP2013130901A (en) * | 2011-12-20 | 2013-07-04 | Hitachi Ltd | Monitoring server and network device recovery system using the same |
EP2775392A1 (en) * | 2013-03-08 | 2014-09-10 | Samsung Electronics Co., Ltd | Method of managing user log-in to cloud-based application and image forming apparatus performing the method |
CN104281506A (en) * | 2014-07-10 | 2015-01-14 | 中国科学院计算技术研究所 | Data maintenance method and system for file system |
WO2016205261A1 (en) * | 2015-06-16 | 2016-12-22 | Microsoft Technology Licensing, Llc | File storage system including tiers |
CN105915523A (en) * | 2016-05-05 | 2016-08-31 | 云神科技投资股份有限公司 | Implementation method of safety configuration device based on cloud calculation |
CN107870849A (en) * | 2016-09-28 | 2018-04-03 | 平安科技(深圳)有限公司 | The treating method and apparatus of test log |
Non-Patent Citations (1)
Title |
---|
程帅帅: ""基于TCM的日志防护技术研究"", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064988A (en) * | 2019-11-06 | 2020-04-24 | 视联动力信息技术股份有限公司 | Log saving method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109996089B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8156216B1 (en) | Distributed data collection and aggregation | |
CN103297528B (en) | A kind of method and apparatus obtaining ticket information | |
CN102016840A (en) | System and method for tracking usage | |
CN101714930A (en) | Method and system for realizing network monitoring | |
CN107249140B (en) | List information acquisition method and apparatus | |
CN102694830B (en) | A kind of mthods, systems and devices realizing Web content and share | |
CN102035859A (en) | Method, system and device for displaying upload progress | |
CN100481934C (en) | Module and process for inter-user communication | |
KR101443071B1 (en) | Error Check System of Webpage | |
CN115048080A (en) | Science and technology special distributor service cloud platform construction system based on big data | |
CN105677536A (en) | Implementing method for task messages and task system for implementing task messages | |
CN103763380B (en) | A kind of method and system of synchronous demonstrating data | |
CN103024049B (en) | Realize the system that browser data is synchronous | |
CN109996089A (en) | A kind of method of processing operation log, system and a kind of streaming media server | |
CN104539449B (en) | A kind of failure information processing method and relevant apparatus | |
US10102286B2 (en) | Local object instance discovery for metric collection on network elements | |
US11293780B2 (en) | Data transmission method for an smart gas service system based on compound IoT | |
CN103944779B (en) | A kind of WAP service features monitoring method and system | |
CN103034632A (en) | Information transmitting method and a system | |
CN112004161B (en) | Address resource processing method and device, terminal equipment and storage medium | |
CN103024051B (en) | A kind of device, method and corresponding system carrying out server distribution | |
CN113794622B (en) | Message processing method and device, electronic equipment and storage medium | |
CN111935316B (en) | Method and device for acquiring front-end equipment catalog | |
CN113612811B (en) | Method, system, equipment and medium for client mounting in multiple channels | |
CN101540782B (en) | Business presentation method and system and business management platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |