CN108184095A - Data encapsulation, data processing method, device, computing device and storage medium - Google Patents

Data encapsulation, data processing method, device, computing device and storage medium Download PDF

Info

Publication number
CN108184095A
CN108184095A CN201810015189.XA CN201810015189A CN108184095A CN 108184095 A CN108184095 A CN 108184095A CN 201810015189 A CN201810015189 A CN 201810015189A CN 108184095 A CN108184095 A CN 108184095A
Authority
CN
China
Prior art keywords
video
interface
format conversion
data
business
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
Application number
CN201810015189.XA
Other languages
Chinese (zh)
Other versions
CN108184095B (en
Inventor
黎胜龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zheng Wei Yun Ltd
Original Assignee
Zheng Wei Yun Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zheng Wei Yun Ltd filed Critical Zheng Wei Yun Ltd
Priority to CN201810015189.XA priority Critical patent/CN108184095B/en
Publication of CN108184095A publication Critical patent/CN108184095A/en
Application granted granted Critical
Publication of CN108184095B publication Critical patent/CN108184095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Data encapsulation, data processing method, device, computing device and the storage medium that the application provides, wherein, the data processing method includes:Receive the video request from browsing terminal;Call data type adaptation that can call file according to the video request, and receive the data type adaptation to call handling result of the file to the video request;The handling result is sent to browsing terminal;The application can realize that the long-range of video data checks and retrieve, and can make full use of existing resource, put into without excessive construction, greatly reduce cost.

Description

Data encapsulation, data processing method, device, computing device and storage medium
Technical field
This application involves technical field of video monitoring, more particularly to a kind of data encapsulation, data processing method, device, meter Calculate equipment and storage medium.
Background technology
Generally the scene of calling for bid is mounted on video monitoring equipment and corresponding monitoring software during project purchasing bidding, for propping up It holds and is viewed locally and retrieves, but cannot precisely be searched by project name etc., remotely can not check and retrieve, to finance Supervision user or supplier etc. bring it is very inconvenient, if led directly to using special line, a whole set of network construction, hardware construction cost mistake Greatly, and live from the provincial bid for being taped against each district (city), workload is especially huge very unrealistic.
Invention content
In view of this, the embodiment of the present application provide a kind of data encapsulation, data processing method, device, computing device and Storage medium, to solve technological deficiency in the prior art.
The embodiment of the present application discloses a kind of data encapsulation method, including:
Set for interacted with browsing terminal business interface, format conversion interface, video device interface and regard Frequency transfer algorithm;
Set what is communicated between the business interface, the format conversion interface and the video device interface to lead to Road;
By the business interface, the Video Quality Metric algorithm, the format conversion interface, the video device interface and institute Channel is stated, file can be called by being packaged into data type adaptation.
On the other hand, present invention also provides a kind of data processing method, including:
Receive the video request from browsing terminal;
Call data type adaptation that can call file according to the video request, and it is adjustable to receive the data type adaptation With file to the handling result of the video request;
The handling result is sent to browsing terminal;
Wherein, the data type adaptation can call file by the way that business interface, Video Quality Metric algorithm, format conversion are connect Mouthful, between the video device interface and the business interface, the format conversion interface and the video device interface into The channel of row communication is packaged generation.
On the other hand, present invention also provides a kind of data encapsulation apparatus, including:
First setup module, for set for interacted with browsing terminal business interface, format conversion interface, regard Frequency equipment interface and Video Quality Metric algorithm;
Second setup module, for setting the business interface, the format conversion interface and the video device interface Between the channel that communicates;
Package module, for by the business interface, the Video Quality Metric algorithm, the format conversion interface, described regard Frequency equipment interface and the channel, file can be called by being packaged into data type adaptation.
On the other hand, present invention also provides a kind of data processing equipment, including:
Receiving module, for receiving the video request from browsing terminal;
Handling result receiving module, for calling data type adaptation that can call file, and connect according to the video request Handling result of the file to the video request can be called by receiving the data type adaptation;
Sending module, for the handling result to be sent to browsing terminal;
Wherein, the data type adaptation can call file by the way that business interface, Video Quality Metric algorithm, format conversion are connect Led between mouth, video device interface and the business interface, the format conversion interface and the video device interface The channel of letter is packaged generation.
On the other hand, present invention also provides a kind of computing device, including:Processor, memory, communication interface and communication Bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform as above The corresponding operation of the data encapsulation method.
On the other hand, present invention also provides a kind of computing device, including:Processor, memory, communication interface and communication Bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform as above The corresponding operation of the data processing method.
On the other hand, present invention also provides a kind of computer readable storage mediums, are stored with computer program, the journey The step of data encapsulation method as described above or the data processing method are realized when sequence is executed by processor.
A kind of data encapsulation, data processing method, device, computing device and the storage medium that the application provides, wherein, institute Data processing method is stated to include:Receive the video request from browsing terminal;Data type is called to fit according to the video request With file can be called, and receive the data type adaptation and can call handling result of the file to the video request;By described in Handling result is sent to browsing terminal;Wherein, data type adaptation can call file by by business interface, Video Quality Metric Algorithm, format conversion interface, the video device interface and the business interface, the format conversion interface and the video The channel to communicate between equipment interface is packaged generation;The application can realize that the long-range of video data checks and examine Rope, and existing resource can be made full use of, it is put into without excessive construction, greatly reduces cost.
Description of the drawings
Fig. 1 is the flow chart of a kind of data encapsulation method that one embodiment of the application provides;
Fig. 2 is the structure diagram that the data type adaptation that one embodiment of the application provides can call file;
Fig. 3 is the flow chart of a kind of data processing method that one embodiment of the application provides;
Fig. 4 is the flow chart of a kind of data processing method that one embodiment of the application provides;
Fig. 5 is the flow chart of a kind of data processing method that one embodiment of the application provides;
Fig. 6 is the flow chart of a kind of data processing method that one embodiment of the application provides.
Fig. 7 is the flow chart of a kind of data processing method that one embodiment of the application provides;
Fig. 8 is a kind of data encapsulation apparatus structure diagram that one embodiment of the application provides;
Fig. 9 is a kind of data processing equipment structural diagram that one embodiment of the application provides;
Figure 10 is the structure diagram of a kind of computing device that one embodiment of the application provides;
Figure 11 is the structure diagram of a kind of computing device that one embodiment of the application provides.
Specific embodiment
Many details are elaborated in the following description in order to fully understand the application.But the application can be with Much implement different from other manner described here, those skilled in the art can be in the situation without prejudice to the application intension Under do similar popularization, therefore the application is not limited by following public specific implementation.
In this application, " first ", " second ", " third ", " the 4th ", " the 5th " etc. be only used for mutual differentiation rather than Represent significance level and sequence and each other existing premise etc..
In this application, a kind of data encapsulation, data processing method, device, computing device and storage medium are provided, It is described in detail one by one in the following examples.
Referring to Fig. 1, the embodiment of the present application provides a kind of data encapsulation method, including step 101 to step 103.
Step 101:It sets and is connect for the business interface, format conversion interface, video equipment interacted with browsing terminal Mouth and Video Quality Metric algorithm.
In the embodiment of the present application, the browsing terminal can be user, such as the financial regulation of project purchasing bid center User or supplier etc., the browsing terminal itself do not have the ability of Video Quality Metric algorithm, need to obtain Video Quality Metric algorithm Return as a result, based on the result finally realize present the result function.Business interface is for being handed over browsing terminal Mutual interface, the interface generally use script are realized.
In the embodiment of the present application, the browsing terminal transmits demand parameter, such as need by being interacted with the business interface Format parameter of the project number for the project video to be obtained and receivable project video etc.;The business interface by with institute Video device interface interaction is stated, video capture device (such as camera) is controlled, selection needs the video data obtained Affiliated video capture device;The video device interface by with the format conversion interactive interfacing, transmit the video specified The video data that collecting device obtains carries out format conversion to the format conversion interface, and according to the Video Quality Metric algorithm; The business interface by with the format conversion interactive interfacing, obtain returning the result for the Video Quality Metric algorithm;The industry Returning the result for getting is passed to the browsing terminal by business interface.Wherein, the specific equipment of the business interface can be by Those skilled in the art are appropriately arranged with according to actual conditions.
In the embodiment of the present application, the Video Quality Metric algorithm is the underlying algorithm for being used to implement video data format conversion, The video data that can will be got by the video capture device is converted to the browsing by the Video Quality Metric algorithm The video data of terminal request;Compiler language algorithm or interpretative code algorithm may be used in the Video Quality Metric algorithm.
In the embodiment of the present application, the specific implementation of each interface can be by those skilled in the art according to actual demand Realize that the embodiment of the present application is not restricted this using any suitable mode.
Step 102:It sets and is led between the business interface, the format conversion interface and the video device interface The channel of letter.
In the embodiment of the present application, transmitting, interact, handling for data can be carried out between each interface by communication port Deng.Wherein, communication port can show as the forms such as mutual parameter is transmitted and/or interface calls.
Optionally, the business interface is set video capture device to be controlled to obtain the need by the video device interface The channel for the video data to be obtained.
Further, the business interface is set to need the video data institute obtained by video device interface selection The channel of the video capture device of category.
Optionally, the format conversion interface is set to receive what video capture device obtained by the video device interface The channel of video data.
Optionally, the format conversion interface is set to carry out lattice to the video data of reception by the Video Quality Metric algorithm The channel of formula conversion.
Optionally, the business interface is set to pass through the video data after the format conversion interface format conversion Channel;The business interface can also pass through Video Quality Metric algorithm described in the format conversion interface management.
Optionally, the video data that the business interface is set to be returned by the format conversion interface, and by institute State the channel that video data is sent to the browsing terminal.
Step 103:By the business interface, the Video Quality Metric algorithm, the format conversion interface, the video equipment Interface and the channel, file can be called by being packaged into data type adaptation.
In the embodiment of the present application, the data type adaptation can call file that any suitable document form may be used. By way of it can call file, browser can be loaded directly into calling data type adaptation that file can be called to carry out video format turn Processing is changed, without self-contained Video Quality Metric algorithm, details is realized without Video Quality Metric algorithm is understood, is regarded so that realizing The format conversion of frequency has more flexibility and compatibility.
Can also be the storage sky that the video data setting of format conversion interface acquisition is specified in the embodiment of the present application Between, the Information encapsulation of the memory space is entered data type adaptation can call file, specifically, can according to it is default when Between section the Information encapsulation of the memory space such as data type adaptation can be called into file.
It should be noted that in practical applications, it is not limited to above-mentioned Video Quality Metric algorithm and interface and the channel, ability Other appropriate interfaces or channel or functional unit or function module can also be encapsulated into number by field technique personnel according to actual demand File can be called according to type adaptation.
By the embodiment of the present application, by the business interface interacted with browsing terminal, format conversion interface, video equipment Between interface and Video Quality Metric algorithm and the business interface, the format conversion interface and the video device interface The channel to communicate, encapsulation generation data type, which is adapted to, together can call file.Data type adaptation can call file can It realizes video data format conversion and store function, for any browsing terminal, calls data type adaptation can by loading File is called, browsing terminal only needs file can be called to interact corresponding video data lattice can be realized with data type adaptation Formula conversion function, browsing terminal is without embedded Video Quality Metric algorithm, without the specific implementation details for understanding Video Quality Metric algorithm. As it can be seen that by the scheme of the embodiment of the present application, the video counts for the different-format for acquiring different video collecting device can be realized The video data format needed according to browsing terminal is converted to, and the video data after format conversion can also be stored in independently On the Cloud Server or corporate server of selection, autonomous supervision is realized.
The data encapsulation method of the present embodiment can be real by any suitable device with data processing function Show, including but not limited to various terminals and server etc..
The example of file can be called as shown in Fig. 2, number in Fig. 2 based on a kind of data type adaptation that the above process is realized Document encapsulation business interface can be called (business interface in Fig. 2 to be only shown, may be wrapped in practical applications according to type adaptation Include multiple), multiple Video Quality Metric algorithms, format conversion interface (can also be embodied as and multiple Video Quality Metrics in practical applications The corresponding multiple format conversion interfaces of algorithm), video capture device and video device interface.
In present application example, browsing terminal can be provided with browsing user 1, browsing user 2 and browsing user 3, described clear Look at user 1, browsing user 2 and browsing user 3 interacted with the business interface.
When browsing terminal, which initiates a project video, checks request, which is transmitted by the business interface and is looked into It sees the demand parameter of request, such as needs the format parameter of the project number of the project video obtained and the project video of request Deng the video capture device belonging to video data that opening needs obtain.Need the video acquisition belonging to the video data obtained After equipment gets video data, the format conversion interface is sent to by the video device interface, the form turns After alias receives the video data, the format conversion interface is turned by the Video Quality Metric algorithm, such as video Scaling method 1, Video Quality Metric algorithm 2 or Video Quality Metric algorithm 3 carry out format conversion, then by described to the video data of reception Video data after format conversion is back to the business interface by format conversion interface, and the business interface passes to described again Browsing terminal.
By the embodiment of the present application, by the business interface interacted with browsing terminal, format conversion interface, video equipment Between interface and Video Quality Metric algorithm and the business interface, the format conversion interface and the video device interface The channel to communicate, encapsulation generation data type, which is adapted to, together can call file.Data type adaptation can call file can It realizes video data format conversion function, for any browsing terminal, calls data type adaptation that can call text by loading Part, browsing terminal, which only needs file can be called to interact with data type adaptation, can be realized corresponding video data format and converts Function, browsing terminal is without embedded Video Quality Metric algorithm, without the specific implementation details for understanding Video Quality Metric algorithm.As it can be seen that By the scheme of the embodiment of the present application, the video data conversion for the different-format for acquiring different video collecting device can be realized For the video data format that browsing terminal needs, and the video data after format conversion can also be stored in what is independently selected On Cloud Server or corporate server, autonomous supervision is realized.
The data encapsulation method of the present embodiment can be real by any suitable device with data processing function Show, including but not limited to various terminals and server etc..
Referring to Fig. 3, the embodiment of the present application provides a kind of data encapsulation method, including step 301 to step 303.
Step 301:Receive the video request from browsing terminal.
In the embodiment of the present application, at least one parameter is carried in the video request, can be video name, the time or Video record place etc..
Step 302:Call data type adaptation that can call file, and receive the data type according to the video request Adaptation can call handling result of the file to the video request.
In the embodiment of the present application, data type adaptation can call file by by business interface, Video Quality Metric algorithm, Format conversion interface, the video device interface and the business interface, the format conversion interface and the video equipment The channel to communicate between interface is packaged generation, and the business interface is scripting language interface;The video format is Compiler language algorithm or interpretative code algorithm.
In the embodiment of the present application, data type adaptation can call file may be mounted at the cloud server end specified or Corporate server end, such as the video server end of shopping center or agency.The data type adaptation can call file It the video monitoring equipment agreement of mainstream and can be transmitted or recorded broadcast according to specified on the market with automatic adaptation.
Referring to Fig. 4, in the embodiment of the present application, call data type adaptation that can call file according to the video request, and Receiving the data type adaptation can call file to include step 401 to step 405 to the handling result of the video request.
Step 401:The default correspondence of item argument and video capture device in the video request determines The business interface selects video capture device by the video device interface.
In the embodiment of the present application, the item argument in the video request can be video name, time or video record Place etc..For example, the video request is when checking a project for bidding video request, the item argument can be the bid Bid place of the project number of project, project name or project etc..
In the embodiment of the present application, the default correspondence be in a set of specified services of the mating deployment of server end, Including that file can be called to initiate to data type adaptation, transmission is specified or recorded broadcast is specified, such as is specified according to specific number or time The video of transmission or recorded broadcast is needed, and with current bidding project can bind, it is ensured that can be by project number Or bid time etc. carries out retrieving corresponding video.
Such as the video request is to ask the video of project for bidding A, the project number of the project A:A1 starts to call for bid Time is:14 points of January 1 in 2016;First, the correspondence of bid room and camera is pre-configured with, that is, is installed in the room B that calls for bid Be camera 1, be reconfigured the correspondence of project number A1, bid time and the room B that calls for bid, i.e. project A in the room B that calls for bid into Row bid, then can the corresponding camera of the project be retrieved by the project number or bid time of the project for bidding, When the video data for carrying out the project for bidding obtains, it is possible to accurately retrieve the video data for wanting acquisition.
In practical application, it can be closed so that the parameters such as preset in advance video record place are corresponding with the video capture device System, the application are not construed as limiting this.
Step 402:The video device interface is accessed by the business interface, to obtain the video acquisition of selection The video data of equipment.
Step 403:Format parameter in the video request is sent to by the format conversion by the business interface Interface.
In the embodiment of the present application, when receiving the video request by the business interface, the industry can be passed through simultaneously Be engaged in interface described in browsing terminal request receive video data format parameter, so as to the browsing terminal can receive it is suitable Match, the video data that can be checked.
Step 404:The format conversion interface receives the video data by the video device interface, and according to institute It states format parameter and format conversion is carried out to the video data by the Video Quality Metric algorithm.
In the embodiment of the present application, according to the format parameter by the Video Quality Metric algorithm to the designated that gets The video data of collecting device carries out format conversion, is converted to the video data that browsing terminal can be checked.
Step 405:Receive the video data after the format conversion that the format conversion interface returns.
In the embodiment of the present application, after the format conversion that the business interface is returned by the format conversion interface Video data.
Step 303:The handling result is sent to browsing terminal.
In the embodiment of the present application, after the business interface receives the format conversion returned by the format conversion interface Video data, and the video data is sent to browsing terminal, the browsing terminal can check the video data Or it plays.
In the embodiment of the present application, what the video data setting after the format conversion returned for the format conversion interface was specified Memory space, the video data of the memory space is encapsulated into the data type adaptation can call file.
It is possible to further which the video data of the memory space is encapsulated into the data type according to preset time period Adaptation can call file.
Data processing method provided by the embodiments of the present application can realize that the long-range of video data checks and retrieve, and Existing resource can be made full use of, is put into without excessive construction, greatly reduces cost.
Referring to Fig. 5, Fig. 6, the embodiment of the present application by by above-mentioned data processing method use in bid business for carry out Illustrate, including step 501 to step 506.
Step 501:The project query video request from browsing terminal is received, is carried in the project query video request There is the format parameter of project number and the video of query video request.
Step 502:According to the project number and the default correspondence of video capture device, the business interface is determined The device numbering of video capture device is selected by the video device interface.
Step 503:The video device interface is accessed by the business interface, it is corresponding to obtain the device numbering The video data of video capture device.
Step 504:The format parameter is sent to by the format conversion interface, the form by the business interface Translation interface receives the video data, and turn by the video according to the format parameter by the video device interface Scaling method carries out format conversion to the video data.
Step 505:The video data after format conversion is returned by the format conversion interface according to the device numbering.
Referring to Fig. 7, if the video request is asked for video recorded broadcast, the project video recorded broadcast from browsing terminal is received Request carries the format parameter of project number and the video of video recorded broadcast request in the project video recorded broadcast request, referring to Above-mentioned steps completion needs the format conversion of the project video data of recorded broadcast, then specifies storage position for transformed video data Put, the storage location can be on the Cloud Server or corporate server independently selected, specifically, can according to it is preset when Between section the video data after format conversion is stored.
When browsing terminal according to project number when the project video of recorded broadcast is checked in requests, can directly from Cloud Server or The project video is got on corporate server, without carrying out format conversion and remote operation again, saves and obtains time and flow.
Wherein, manufacturer's video flowing in Fig. 6, Fig. 7 is the video that gets of video capture device (camera) of manufacturer Data.
Step 506:The browsing terminal receives the video data after the format conversion returned by the business interface simultaneously It plays out.
The embodiment of the present application can realize the configuration correspondence of project, bid room and video capture device, be compiled by project The video capture device and video of specific bid room number can be retrieved, the video equipment of mainstream on the market can also be docked, no With existing bid room video equipment is removed, and video flowing can be stored in the Cloud Server or corporate server independently selected Upper carry out independent control.
Referring to Fig. 8, the embodiment of the present application provides a kind of data encapsulation apparatus, including:
First setup module 801 connects for setting for the business interface that is interacted with browsing terminal, format conversion Mouth, video device interface and Video Quality Metric algorithm;
Second setup module 802, for the business interface, the format conversion interface and the video equipment to be set to connect The channel to communicate between mouthful;
Package module 803, for by the business interface, the Video Quality Metric algorithm, the format conversion interface, described Video device interface and the channel, file can be called by being packaged into data type adaptation.
Optionally, described device further includes:
Third setup module, for the business interface to be set to need what is obtained to regard by video device interface selection Frequency according to affiliated video capture device channel.
Optionally, second setup module 802 includes:
First passage sets submodule, for the business interface to be set video to be controlled to adopt by the video device interface Collection equipment obtains the channel of video data for needing to obtain.
Optionally, second setup module 802 includes:
Second channel sets submodule, for the format conversion interface to be set to be regarded by video device interface reception The channel for the video data that frequency collecting device obtains.
Optionally, second setup module 802 includes:
Third channel sets submodule, for setting the format conversion interface by the Video Quality Metric algorithm to receiving Video data carry out format conversion channel.
Optionally, second setup module 802 includes:
Fourth lane sets submodule, for the business interface to be set to turn by the format conversion interface form The channel of video data after changing.
Optionally, fourth lane setting submodule is additionally operable to the business interface and passes through the format conversion interface management institute State Video Quality Metric algorithm.
Optionally, second setup module 802 includes:
Five-channel sets submodule, is returned by the format conversion interface for setting the business interface Video data, and the video data is sent to the channel of the browsing terminal.
Optionally, the business interface is scripting language interface;The Video Quality Metric algorithm is compiler language algorithm or solution Release linguistic algorithm.
Optionally, described device further includes:
Memory module, the memory space that the video data setting for being acquired for the format conversion interface is specified, by institute The Information encapsulation for stating memory space enters data type adaptation and can call file.
The data encapsulation apparatus of the embodiment of the present application can realize that the long-range of video data checks and retrieve, and can fill Divide using existing resource, put into without excessive construction, greatly reduce cost.
The exemplary scheme of the above-mentioned data encapsulation apparatus for the present embodiment.It should be noted that the data encapsulation apparatus Technical solution and the technical solution of above-mentioned data encapsulation method belong to same design, the technical solution of data encapsulation apparatus is not The detail content of detailed description may refer to the description of the technical solution of above-mentioned data encapsulation method.
Referring to Fig. 9, the embodiment of the present application provides a kind of data processing equipment, including:
Receiving module 901, for receiving the video request from browsing terminal;
Handling result receiving module 902, for calling data type adaptation that can call file according to the video request, and Handling result of the file to the video request can be called by receiving the data type adaptation;
Sending module 903, for the handling result to be sent to browsing terminal;
Wherein, the data type adaptation can call file by the way that business interface, Video Quality Metric algorithm, format conversion are connect Led between mouth, video device interface and the business interface, the format conversion interface and the video device interface The channel of letter is packaged generation.
Optionally, the receiving module 901 is used to receive the video request from browsing terminal by the business interface.
Optionally, the handling result receiving module 902 includes:
Submodule is selected, for the item argument in the video request and the default corresponding pass of video capture device System determines that the business interface selects video capture device by the video device interface;
Acquisition submodule accesses the video device interface, to obtain described in selection for passing through the business interface The video data of video capture device;
Sending submodule, for the format parameter in the video request to be sent to the lattice by the business interface Formula translation interface;
Format conversion submodule receives the video counts for the format conversion interface by the video device interface According to, and format conversion is carried out to the video data by the Video Quality Metric algorithm according to the format parameter;
Receiving submodule, for receiving the video data after the format conversion of the format conversion interface return.
Optionally, the sending module 903 is additionally operable to the business interface and receives through format conversion interface return Format conversion after video data, and the video data is sent to browsing terminal.
Optionally, described device further includes:
Designated memory space module, for the video data setting after the format conversion that is returned for the format conversion interface The memory space specified, the video data of the memory space is encapsulated into the data type adaptation can call file.
Optionally, the designated memory space module is additionally operable to:
The video data of the memory space is encapsulated into the data type adaptation according to preset time period can call text Part.
Optionally, the business interface is scripting language interface;The video format is compiler language algorithm or explains language Say algorithm.
The data processing equipment of the embodiment of the present application can efficiently use existing equipment, and long-distance video prison is greatly lowered The equipment construction of control takes, during by the device use in project for bidding, it is only necessary in existing bid point one front end services of installation Tool, that is, handling result receiving module, video can be stored on the server that can independently select, safer controllable, and energy The video in the project bid period is precisely retrieved by project, the video in non-opening of bid PROJECT TIME will not be caused also to be stored And retrieval, lead to wasting space, it is also possible that the Video Remote supervision of bidding project, check it is more convenient, more intuitive.
The exemplary scheme of the above-mentioned data processing equipment for the present embodiment.It should be noted that the data processing equipment The technical solution of technical solution and above-mentioned data processing method belong to same design, the technical solution of data processing equipment is not The detail content of detailed description may refer to the description of the technical solution of above-mentioned data processing method.
The embodiment of the present application provides a kind of computer readable storage medium, is stored with computer program, the program quilt The step of processor realizes the data encapsulation method when performing.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited The technical solution of storage media and the technical solution of above-mentioned data encapsulation method belong to same design, the technical solution of storage medium The detail content not being described in detail may refer to the description of the technical solution of above-mentioned data encapsulation method.
The embodiment of the present application provides a kind of computer readable storage medium, is stored with computer program, the program quilt The step of processor realizes the data processing method when performing.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited The technical solution of storage media and the technical solution of above-mentioned data processing method belong to same design, the technical solution of storage medium The detail content not being described in detail may refer to the description of the technical solution of above-mentioned data processing method.
With reference to Figure 10, the embodiment of the present application provides a kind of structure diagram of computing device, the application specific embodiment The specific implementation of computing device is not limited.
The computing device can include:Processor (processor) 1001, communication interface (Communications Interface) 1002, memory (memory) 1003 and communication bus 1004.
Wherein:
Processor 1001, communication interface 1002 and memory 1003 complete mutual lead to by communication bus 1004 Letter.
Communication interface 1002, for communicating with other terminal devices or server.
Processor 1001 for performing program 1005, can specifically perform the phase in above-mentioned data encapsulation method embodiment Close step.
Specifically, program 1005 can include program code, which includes computer-managed instruction.
Processor 1001 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit) or be arranged to implement the embodiment of the present application one or more integrate electricity Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 1003, for storing program 1005.Memory 1003 may include high-speed RAM memory, it is also possible to also Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 1005 specifically can be used for so that processor 1001 performs the corresponding behaviour of data encapsulation method as described above Make.
In the embodiment of the present application, computing device can be any kind of static or mobile computing device, be counted including mobile Calculation machine or mobile computing device (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, on Net this etc.), mobile phone (for example, smart mobile phone), wearable computing device (for example, smartwatch, intelligent glasses etc.) or The static computing device of other kinds of mobile equipment or such as desktop computer or PC.Computing device can also be mobile The server of formula or state type.
With reference to Figure 11, the embodiment of the present application provides a kind of structure diagram of computing device, the application specific embodiment The specific implementation of computing device is not limited.
The computing device can include:Processor (processor) 1101, communication interface (Communications Interface) 1102, memory (memory) 1103 and communication bus 1104.
Wherein:
Processor 1101, communication interface 1102 and memory 1103 complete mutual lead to by communication bus 1104 Letter.
Communication interface 1102, for communicating with other terminal devices or server.
Processor 1101 for performing program 1105, can specifically perform the phase in above-mentioned data processing method embodiment Close step.
Specifically, program 1105 can include program code, which includes computer-managed instruction.
Processor 1101 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit) or be arranged to implement the embodiment of the present application one or more integrate electricity Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 1103, for storing program 1105.Memory 1103 may include high-speed RAM memory, it is also possible to also Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 1105 specifically can be used for so that processor 1101 performs the corresponding behaviour of data processing method as described above Make.
In the embodiment of the present application, computing device can be any kind of static or mobile computing device, be counted including mobile Calculation machine or mobile computing device (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, on Net this etc.), mobile phone (for example, smart mobile phone), wearable computing device (for example, smartwatch, intelligent glasses etc.) or The static computing device of other kinds of mobile equipment or such as desktop computer or PC.Computing device can also be mobile The server of formula or state type.
The computer instruction include computer program code, the computer program code can be source code form, Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can include:Institute can be carried State any entity of computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior Appropriate increase and decrease can be carried out, such as in certain jurisdictions of courts according to legislation in jurisdiction and the requirement of patent practice by holding Area, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that for aforementioned each method embodiment, describe, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should know, the application is not limited by described sequence of movement because According to the application, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this Shens It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is in order to preferably explain the application Principle and practical application, so as to which skilled artisan be enable to be best understood by and utilize the application.The application is only It is limited by claims and its four corner and equivalent.

Claims (37)

1. a kind of data encapsulation method, including:
It sets and turns for business interface, format conversion interface, video device interface and the video interacted with browsing terminal Scaling method;
The channel to communicate between the business interface, the format conversion interface and the video device interface is set;
By the business interface, the Video Quality Metric algorithm, the format conversion interface, the video device interface and described logical Road, file can be called by being packaged into data type adaptation.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The business interface is set to need the video acquisition belonging to the video data obtained by video device interface selection The channel of equipment.
3. according to the method described in claim 2, it is characterized in that, set the business interface, the format conversion interface and The channel to communicate between the video device interface, including:
The business interface is set to control video capture device acquisition is described to need what is obtained to regard by the video device interface The channel of frequency evidence.
4. according to the method described in claim 1, it is characterized in that, set the business interface, the format conversion interface and The channel to communicate between the video device interface, including:
The format conversion interface is set to receive the video data of video capture device acquisition by the video device interface Channel.
5. according to the method described in claim 4, it is characterized in that, set the business interface, the format conversion interface and The channel to communicate between the video device interface, including:
The format conversion interface is set to carry out the logical of format conversion to the video data of reception by the Video Quality Metric algorithm Road.
6. according to the method described in claim 5, it is characterized in that, set the business interface, the format conversion interface and The channel to communicate between the video device interface, including:
Channel of the business interface by the video data after the format conversion interface format conversion is set.
7. according to the method described in claim 6, it is characterized in that, the business interface is set to pass through the format conversion interface The channel of the video data after format conversion is received, is further included:
The business interface passes through Video Quality Metric algorithm described in the format conversion interface management.
8. according to the method described in claim 6, it is characterized in that, set the business interface, the format conversion interface and The channel to communicate between the video device interface, including:
The video data that the business interface is set to be returned by the format conversion interface, and by the video data transmitting Give the channel of the browsing terminal.
9. according to the method described in claim 1, it is characterized in that, the business interface is scripting language interface;The video Transfer algorithm is compiler language algorithm or interpretative code algorithm.
10. according to the method described in claim 1, it is characterized in that, the method further includes:
The memory space that video data setting for format conversion interface acquisition is specified, the information of the memory space is sealed File can be called by being packed into the data type adaptation.
11. a kind of data processing method, which is characterized in that including:
Receive the video request from browsing terminal;
Call data type adaptation that can call file according to the video request, and receive the data type adaptation to call text Part is to the handling result of the video request;
The handling result is sent to browsing terminal;
Wherein, data type adaptation can call file by by business interface, Video Quality Metric algorithm, format conversion interface, It communicates between video device interface and the business interface, the format conversion interface and the video device interface Channel is packaged generation.
12. according to the method for claim 11, which is characterized in that the video request from browsing terminal is received, including:
Video request from browsing terminal is received by the business interface.
13. according to the method for claim 12, which is characterized in that call data type adaptation can according to the video request File is called, and receive the data type adaptation to call handling result of the file to the video request, including:
The default correspondence of item argument and video capture device in the video request, determines the business interface Video capture device is selected by the video device interface;
The video device interface is accessed by the business interface, to obtain the video counts of the video capture device of selection According to;
Format parameter in the video request is sent to by the format conversion interface by the business interface;
The format conversion interface receives the video data by the video device interface, and is led to according to the format parameter It crosses the Video Quality Metric algorithm and format conversion is carried out to the video data;
Receive the video data after the format conversion that the format conversion interface returns.
14. according to the method for claim 13, which is characterized in that the handling result is sent to browsing terminal, including:
The business interface receives the video data after the format conversion returned by the format conversion interface, and is regarded by described in Frequency evidence is sent to browsing terminal.
15. according to the method for claim 13, which is characterized in that call data type adaptation can according to the video request File is called, and is received after data type adaptation can call file to the handling result of the video request, is further included:
The memory space that video data setting after the format conversion returned for the format conversion interface is specified, by the storage The video data in space, which is encapsulated into the data type adaptation, can call file.
16. according to the method for claim 15, which is characterized in that be encapsulated into the video data of the memory space described Data type adaptation can call file, including:
The video data of the memory space is encapsulated into the data type adaptation according to preset time period can call file.
17. according to the method for claim 16, which is characterized in that the business interface is scripting language interface;It is described to regard Frequency form is compiler language algorithm or interpretative code algorithm.
18. a kind of data encapsulation apparatus, which is characterized in that including:
First setup module sets for setting for the business interface, format conversion interface, video interacted with browsing terminal Standby interface and Video Quality Metric algorithm;
Second setup module, for setting between the business interface, the format conversion interface and the video device interface The channel to communicate;
Package module, for the business interface, the Video Quality Metric algorithm, the format conversion interface, the video to be set Standby interface and the channel, file can be called by being packaged into data type adaptation.
19. device according to claim 18, which is characterized in that described device further includes:
Third setup module, for the business interface to be set to need the video counts obtained by video device interface selection According to the channel of affiliated video capture device.
20. device according to claim 19, which is characterized in that second setup module includes:
First passage sets submodule, for the business interface to be set video acquisition to be controlled to set by the video device interface It is standby to obtain the channel of video data for needing to obtain.
21. device according to claim 18, which is characterized in that second setup module includes:
Second channel sets submodule, is adopted for the format conversion interface to be set to receive video by the video device interface Collect the channel for the video data that equipment obtains.
22. device according to claim 21, which is characterized in that second setup module includes:
Third channel sets submodule, for the format conversion interface to be set to be regarded by the Video Quality Metric algorithm to reception Frequency is according to the channel for carrying out format conversion.
23. device according to claim 22, which is characterized in that second setup module includes:
Fourth lane sets submodule, after setting the business interface by the format conversion interface format conversion Video data channel.
24. device according to claim 23, which is characterized in that fourth lane setting submodule is additionally operable to the business and connects Mouth passes through Video Quality Metric algorithm described in the format conversion interface management.
25. device according to claim 23, which is characterized in that second setup module includes:
Five-channel sets submodule, for the video that the business interface is set to be returned by the format conversion interface Data, and the video data is sent to the channel of the browsing terminal.
26. device according to claim 18, which is characterized in that the business interface is scripting language interface;It is described to regard Frequency transfer algorithm is compiler language algorithm or interpretative code algorithm.
27. device according to claim 18, which is characterized in that described device further includes:
Memory module, the memory space that the video data setting for being acquired for the format conversion interface is specified, is deposited described The Information encapsulation in storage space, which enters the data type adaptation, can call file.
28. a kind of data processing equipment, which is characterized in that including:
Receiving module, for receiving the video request from browsing terminal;
Handling result receiving module, for calling data type adaptation that can call file, and receive institute according to the video request Handling result of the file to the video request can be called by stating data type adaptation;
Sending module, for the handling result to be sent to browsing terminal;
Wherein, data type adaptation can call file by by business interface, Video Quality Metric algorithm, format conversion interface, Led between the video device interface and the business interface, the format conversion interface and the video device interface The channel of letter is packaged generation.
29. device according to claim 28, which is characterized in that the receiving module is used to connect by the business interface Receive the video request from browsing terminal.
30. device according to claim 29, which is characterized in that the handling result receiving module includes:
Submodule is selected, for the item argument in the video request and the default correspondence of video capture device, Determine that the business interface selects video capture device by the video device interface;
Acquisition submodule accesses the video device interface, to obtain the video of selection for passing through the business interface The video data of collecting device;
Sending submodule turns for the format parameter in the video request to be sent to the form by the business interface Alias;
Format conversion submodule receives the video data for the format conversion interface by the video device interface, And format conversion is carried out to the video data by the Video Quality Metric algorithm according to the format parameter;
Receiving submodule, for receiving the video data after the format conversion of the format conversion interface return.
31. device according to claim 30, which is characterized in that the sending module is additionally operable to the business interface and receives Video data after the format conversion returned by the format conversion interface, and the video data is sent to browsing eventually End.
32. device according to claim 30, which is characterized in that described device further includes:
Designated memory space module, it is specified for the video data setting after the format conversion that is returned for the format conversion interface Memory space, the video data of the memory space is encapsulated into data type adaptation can call file.
33. device according to claim 32, which is characterized in that the designated memory space module is additionally operable to:
The video data of the memory space is encapsulated into the data type adaptation according to preset time period can call file.
34. device according to claim 28, which is characterized in that the business interface is scripting language interface;It is described to regard Frequency form is compiler language algorithm or interpretative code algorithm.
35. a kind of computing device, which is characterized in that including:Processor, memory, communication interface and communication bus, the processing Device, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform right such as will Ask the corresponding operation of 1-10 any one of them data encapsulation methods.
36. a kind of computing device, which is characterized in that including:Processor, memory, communication interface and communication bus, the processing Device, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform right such as will Ask the corresponding operation of 11-17 any one of them data processing methods.
37. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor The step of claim 1-10 or claim 11-17 any one the methods are realized during row.
CN201810015189.XA 2018-01-08 2018-01-08 Data packaging method, data processing method, data packaging device, data processing device, computing equipment and storage medium Active CN108184095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810015189.XA CN108184095B (en) 2018-01-08 2018-01-08 Data packaging method, data processing method, data packaging device, data processing device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810015189.XA CN108184095B (en) 2018-01-08 2018-01-08 Data packaging method, data processing method, data packaging device, data processing device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108184095A true CN108184095A (en) 2018-06-19
CN108184095B CN108184095B (en) 2020-05-05

Family

ID=62550062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810015189.XA Active CN108184095B (en) 2018-01-08 2018-01-08 Data packaging method, data processing method, data packaging device, data processing device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108184095B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-12-19 中国联合通信有限公司 Monitoring device for multimedium monitoring information and its monitoring method
CN102710965A (en) * 2012-05-29 2012-10-03 中国联合网络通信集团有限公司 Video monitoring data acquisition method and system and special bearing network
US20130074140A1 (en) * 2011-07-28 2013-03-21 Robostar Co., Ltd. Method and apparatus for distributing video under multi-channel, and video management system using the same
CN104683734A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Video surveillance content adaptation method, system, central server and device
CN106060459A (en) * 2016-05-30 2016-10-26 安徽四创电子股份有限公司 Protocol conversion system and method for camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-12-19 中国联合通信有限公司 Monitoring device for multimedium monitoring information and its monitoring method
US20130074140A1 (en) * 2011-07-28 2013-03-21 Robostar Co., Ltd. Method and apparatus for distributing video under multi-channel, and video management system using the same
CN102710965A (en) * 2012-05-29 2012-10-03 中国联合网络通信集团有限公司 Video monitoring data acquisition method and system and special bearing network
CN104683734A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Video surveillance content adaptation method, system, central server and device
CN106060459A (en) * 2016-05-30 2016-10-26 安徽四创电子股份有限公司 Protocol conversion system and method for camera

Also Published As

Publication number Publication date
CN108184095B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN103715736B (en) Charging device and charging system
US20140355519A1 (en) Sharing wireless traffic
CN105913847A (en) Voice control system, user end device, server and central control unit
CN107533484A (en) System and method for dynamically managing virtual network function descriptor
CN110012002A (en) Message parsing method, device and server, computer readable storage medium
CN112261080A (en) Edge Internet of things agent method applied to power Internet of things
CN109240688A (en) Interface development method, electronic device and readable storage medium storing program for executing
CN104836713A (en) Measurement and calibration method for vehicle electronic controller, device and system
CN110414208A (en) Login validation method, calculates equipment and medium at device
CN109996260A (en) Configuration system, client device, embedded device configuration method and storage medium
CN105183649A (en) Automatic telnet method and system used for automatic testing
CN104965829A (en) Method, server and system for classifying terminal applications
CN105338550A (en) Method and device for managing connection of wireless network
CN109600278A (en) A kind of data communications method, device, equipment and medium
CN104053016B (en) A kind of image preview method and device
CN109194706A (en) Internet resources dial testing method and terminal
CN108184095A (en) Data encapsulation, data processing method, device, computing device and storage medium
CN114466047B (en) Method, platform, equipment and medium for conveniently accessing Internet of things equipment to Internet of things platform
CN110337136A (en) It is connected to the network strategy adjusting method, device, equipment and storage medium
CN113791766B (en) Method for combining data interfaces, electronic device and readable storage medium
CN108806102A (en) A kind of engraving system and application method based on internet and Internet of Things
CN103559308A (en) SCD (Substation Configuration Description) file management system and method
CN109472129A (en) Account hierarchical management system and its method based on 5G network
CN103634939A (en) Mobile terminal and NFC (Near Field Communication) multifunction management method and system

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