CN108513141A - A kind of receiving/transmission method of data, device and equipment - Google Patents
A kind of receiving/transmission method of data, device and equipment Download PDFInfo
- Publication number
- CN108513141A CN108513141A CN201810251932.1A CN201810251932A CN108513141A CN 108513141 A CN108513141 A CN 108513141A CN 201810251932 A CN201810251932 A CN 201810251932A CN 108513141 A CN108513141 A CN 108513141A
- Authority
- CN
- China
- Prior art keywords
- data
- type
- source
- supplemental information
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000005540 biological transmission Effects 0.000 title claims abstract description 13
- 230000000153 supplemental effect Effects 0.000 claims abstract description 76
- 238000004590 computer program Methods 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 7
- 230000008901 benefit Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000004064 recycling Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000003795 chemical substances by application Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004883 computer application Methods 0.000 description 1
- 238000013497 data interchange Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001502 supplementing effect Effects 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/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention is suitable for field of communication technology, provides a kind of receiving/transmission method of data, device and equipment, including:Obtain data to be sent;According to the data type of the data, determine that the type mark of the data and the supplemental information for remarking additionally to the data, the supplemental information include the coded format of the source-information and the data of the data;It is sent to receiving terminal by the type mark, the supplemental information and after the data combination of coded format coding.The method can reduce the resource consumption of network.
Description
Technical field
The invention belongs to a kind of field of communication technology more particularly to receiving/transmission method of data, device and equipment.
Background technology
With the development of Internet technology, a kind of continuous time-base media-stream matchmaker using streaming technology in a network
Body is applied and is given birth to, and common Streaming Media has audio, video or multimedia file.Stream service may provide the user with continual
Audio/video flow meets user without downloading the needs of online viewing dynamic audiovisual can be realized, and therefore, stream media technology is in media
Program request field and medium living broadcast field are greatly applied.
But in existing stream media technology, to each code stream transmission use be two network links, if
Multiple code streams are sent, then may include more network links, Multi net voting link design increases network resource consumption, simultaneously
Increase the additional consumption of kernel and user terminal to these conservation of resources.
Invention content
In view of this, an embodiment of the present invention provides a kind of receiving/transmission method of data, device and equipment, to solve existing skill
The big problem of resource consumption caused by code stream sending method in art.
The first aspect of the embodiment of the present invention provides a kind of sending method of data, including:Obtain data to be sent;
According to the data type of the data, the type mark of the data and the benefit for remarking additionally to the data are determined
Information is filled, the supplemental information includes the coded format of the source-information and the data of the data;By the type mark,
The supplemental information and by the coded format coding data content combination after be sent to receiving terminal.
The second aspect of the embodiment of the present invention provides a kind of method of reseptance of data, including:Receive what transmitting terminal was sent
Data splitting after transmitting terminal combination, the data splitting include type mark, supplemental information and reception data;Institute
Type mark is stated for determining the type for receiving data, the supplemental information is for adding the reception data
Bright, the supplemental information includes the coded format of the source-information for receiving data and the data content for receiving data;
Judge the source for receiving data based on the source-information;The reception data are solved based on the coded format
Code;Operation corresponding with the type is executed based on the type mark.
The third aspect of the embodiment of the present invention provides a kind of sending device of data, including:Acquisition module, for obtaining
Data to be sent;Determining module determines the type mark of the data and is used for for the data type according to the data
To the supplemental information that the data remark additionally, the supplemental information includes the source-information of the data and the data
Coded format;Sending module is used for the type mark, the supplemental information and the number encoded by the coded format
Receiving terminal is sent to after being combined according to content.
The fourth aspect of the embodiment of the present invention provides a kind of reception device of data, including:Receiving module, for receiving
The data splitting after transmitting terminal combination that transmitting terminal is sent, the data splitting includes type mark, supplemental information
With reception data;The type mark is used to determine that the type for receiving data, the supplemental information to be used for the reception
Data remark additionally, and the supplemental information includes in the source-information for receiving data and the data for receiving data
The coded format of appearance;Processing module, for judging the source for receiving data based on the source-information;Based on the coding
Format is decoded the reception data;Operation corresponding with the type is executed based on the type mark.
5th aspect of the embodiment of the present invention provides a kind of sending device of data, including memory, processor and
It is stored in the computer program that can be run in the memory and on the processor, which is characterized in that the processor is held
The step of method described in first aspect as above being realized when the row computer program.
6th aspect of the embodiment of the present invention provides a kind of receiving device of data, including memory, processor and
It is stored in the computer program that can be run in the memory and on the processor, which is characterized in that the processor is held
The step of method described in second aspect as above being realized when the row computer program.
7th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, which is characterized in that the computer program realizes method as described above when being executed by processor
The step of.
Existing advantageous effect is the embodiment of the present invention compared with prior art:
The embodiment of the present invention obtains data to be sent first, then according to the data type of the data, determine described in
The type mark of data and supplemental information for remarking additionally to the data, wherein the supplemental information includes institute
The coded format of data is stated, finally by the type mark, the supplemental information and the data encoded by the coded format
It is sent to receiving terminal after content combination.Since the data that the embodiment of the present invention is sent contain source and the type of data so that
Receiving terminal can judge data source after receiving the data according to source-information, according to type mark execution and type
Corresponding operation, and different types of data are received and dispatched respectively without recycling multiple and different links, reduce disappearing for resource
Consumption.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 shows the implementation process schematic diagram of the sending method of data provided in an embodiment of the present invention;
Fig. 2 shows the implementation process schematic diagrames of the method for reseptance of data provided in an embodiment of the present invention;
Fig. 3 shows the composition schematic diagram of the sending device for the data that another embodiment of the present invention provides;
Fig. 4 shows the composition schematic diagram of the reception device for the data that another embodiment of the present invention provides;
Fig. 5 shows the schematic diagram of the sending device for the data that another embodiment of the present invention provides;
Fig. 6 shows the schematic diagram of the receiving device for the data that another embodiment of the present invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be understood that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
Embodiment one
Fig. 1 shows the implementation process of the sending method of data provided in an embodiment of the present invention.Data in the present embodiment
Sending method executive agent be with realize the embodiment of the present invention described in data sending method equipment, the equipment packet
Include but be not limited to video camera, camera server.Details are as follows:
In step s 11, data to be sent are obtained.
Data to be sent can be obtained from web camera, can also be obtained from camera server.Typical camera shooting
Machine server has network hard disk video recorder (Network Video Recorder, NVR).The most important functions of NVR are to pass through net
Network receives the digital video bit stream of web camera transmission, and is stored, is managed, to realize distribution that networking is brought
Framework advantage.In simple terms, by NVR, it can watch, browse simultaneously, playing back, managing, storing multiple web cameras.
In step s 12, according to the data type of the data, the type mark of the data is determined and for described
The supplemental information that data remark additionally.
In embodiments of the present invention, data type includes but not limited to control class, video class and audio class, according to the number
According to data type, the type mark of the data is determined, so that different types of data are endowed different type marks, just
Different types of data are distinguished in receiving terminal.
Type mark can be made of number and/or letter, for example, the data of control class are indicated with number 1, digital 2 tables
Show video class data;Or the data of control class are indicated with letter a, alphabetical b indicates the data of video class.
Supplemental information is the information for remarking additionally to sent data, be can include but is not limited to:Data
Source-information and data coded format.
In embodiments of the present invention, the coded format of different types of data is different.Specifically, if the type of data is control
Class processed, then the coded format of the data is JSON formats;If the type of data is audio class, the coded format of the data includes
But it is not limited to PCM format;If the type of data is video class, the coded formats of the data includes but not limited to H.264 format.
JSON is a kind of data interchange format of lightweight.It is deposited using the text formatting for being totally independent of programming language
Storage and expression data.Since which employs the text formattings independently of programming language, reads and write so it is easy to people, simultaneously
It is also easy to machine parsing and generates, effectively improve network transmission efficiency.In JSON language, all are all objects.Therefore,
The type of any support can be indicated by JSON, such as character string, number, object, array etc..
PCM is the english abbreviation of pulse code modulation.Pulse code modulation is one of coding mode of digital communication, mainly
It is to be sampled the analog signals such as speech, image at regular intervals, makes its discretization, while sample value is pressed into layered units
Round quantifies, while the amplitude of sampling pulse being indicated by one group of binary code.It, can in computer application
Reach highest fidelity level is exactly pcm encoder, is widely used in audio coding.
H.264 it is that the joint video team constituted jointly by ITU-T Video Coding Experts Groups and ISO dynamic image expert groups carries
The high compression digital video coding-coding device standard gone out.H.264 the main target of standard is:With other existing Video coding marks
Standard is compared, and more outstanding image quality is provided under identical bandwidth.By the standard, the compression under same image quality
Efficiency improves 2 times or so than pervious standard (MPEG2), and required bandwidth is less in network transmission process, also more
It is economical.
In embodiments of the present invention, the source-information includes camera address.
In order to distinguish at one the video camera in net, need to assign different IP address to each video camera in net, with
For one video camera of unique mark.By the way that camera address is sent to receiving terminal, receiving terminal can be made to learn reception
Data are which video camera is sent, to execute subsequent processing operation after which video camera determination is.
Further, if the data type of the data is video class, the supplemental information further includes clear data scale
Note.It, may be including clear and smooth two kinds of situations, if the video sent is clearly video, then right for the video of transmission
The data volume for the video answered is larger, if the video sent is smooth video, the data volume of corresponding video is relatively small.It is logical
It crosses and assigns different labels to the video of different clarity, enabling distribute the network bandwidth resources of rational size.
It in step s 13, will be in the data of the type mark, the supplemental information and process coded format coding
It is sent to receiving terminal after holding combination.
After the type mark that the data are determined and supplemental information for remarking additionally to the data,
It is sent to reception by the type mark, the supplemental information and after the data content combination of coded format coding
End.
Said program obtains data to be sent first, then according to the data type of the data, determines the data
Type mark and supplemental information for remarking additionally to the data, wherein the supplemental information includes the number
According to source-information, finally by the type mark, the supplemental information and by the coded format coding data content
Receiving terminal is sent to after combination.Since the data that the embodiment of the present invention is sent contain source and the type of data so that receive
End can judge data source after receiving the data according to source-information, be executed according to type mark corresponding with type
Operation, and receive and dispatch different types of data respectively without recycling multiple and different link, reduce the consumption of resource.
Embodiment two
Fig. 2 shows the implementation processes of the method for reseptance of data provided in an embodiment of the present invention.Data in the present embodiment
Sending method executive agent be with realize the embodiment of the present invention described in data method of reseptance equipment, the equipment packet
Include but be not limited to mobile terminal, camera server and computer.Details are as follows:
S21, the data splitting after transmitting terminal combination that transmitting terminal is sent is received.
In embodiments of the present invention, the data splitting includes type mark, supplemental information and reception data;The type
It marks for determining the type for receiving data, the supplemental information is for remarking additionally to the reception data, institute
State the coded format that supplemental information includes the source-information for receiving data and the data content for receiving data.
S22, the source for receiving data is judged based on the source-information;Based on the coded format to the reception
Data are decoded;Operation corresponding with the type is executed based on the type mark.
Said program receives the data splitting after transmitting terminal combination that transmitting terminal is sent, the combination first
Data include type mark, supplemental information and receive data, the supplemental information include it is described receive data source-information and
The coded format of the data content for receiving data is then based on the source-information and judges the source for receiving data;
The reception data are decoded based on the coded format;Behaviour corresponding with the type is executed based on the type mark
Make.Since the embodiment of the present invention is after receiving data splitting, the source of data can be judged according to source-information, it can be with
Operation corresponding with type mark is executed according to type mark, so receiving terminal can receive different type with a network link
And the data of separate sources, and without receiving different types of data using Multi net voting link, reduce the consumption of Internet resources.
Embodiment three
Fig. 3 shows the implementation process of the sending device 100 of data provided in an embodiment of the present invention.Details are as follows:
Acquisition module 110, for obtaining data to be sent;
Determining module 120, type mark for according to the data types of the data, determining the data and for pair
The supplemental information that the data remark additionally, the supplemental information include the source-information of the data and the data
Coded format;
Sending module 130 is used for the type mark, the supplemental information and the number encoded by the coded format
Receiving terminal is sent to after being combined according to content.
Said program obtains data to be sent first, then according to the data type of the data, determines the data
Type mark and supplemental information for remarking additionally to the data, wherein the supplemental information includes the number
According to source-information, finally by the type mark, the supplemental information and by the coded format coding data content
Receiving terminal is sent to after combination.Since the data that the embodiment of the present invention is sent contain source and the type of data so that receive
End can judge data source after receiving the data according to source-information, be executed according to type mark corresponding with type
Operation, and receive and dispatch different types of data respectively without recycling multiple and different link, reduce the consumption of resource.
Example IV
Fig. 4 shows the implementation process of the reception device 200 of data provided in an embodiment of the present invention.Details are as follows:
Receiving module 210, the data splitting after transmitting terminal combination for receiving transmitting terminal transmission, described group
It includes type mark, supplemental information and reception data to close data;The type mark is used to determine the type for receiving data,
For the supplemental information for remarking additionally to the reception data, the supplemental information includes the source for receiving data
The coded format of information and the data content for receiving data;
Processing module 220, for judging the source for receiving data based on the source-information;Based on the coding lattice
Formula is decoded the reception data;Operation corresponding with the type is executed based on the type mark.
Said program receives the data splitting after transmitting terminal combination that transmitting terminal is sent, the combination first
Data include type mark, supplemental information and receive data, the supplemental information include it is described receive data source-information and
The coded format of the data content for receiving data is then based on the source-information and judges the source for receiving data;
The reception data are decoded based on the coded format;Behaviour corresponding with the type is executed based on the type mark
Make.Since the embodiment of the present invention is after receiving data splitting, the source of data can be judged according to source-information, it can be with
Operation corresponding with type mark is executed according to type mark, so receiving terminal can receive different type with a network link
And the data of separate sources, and without receiving different types of data using Multi net voting link, reduce the consumption of Internet resources.
Embodiment five
Fig. 5 is a kind of schematic diagram of the sending device 300 for data that yet another embodiment of the invention provides.As shown in Figure 5
The sending device 300 of data in the present embodiment may include:Processor 310, memory 320 and it is stored in memory 320
In and the computer program 330 that can be run on processor 310.Processor 310 realizes above-mentioned number when executing computer program 330
According to sending method embodiment in step.For memory 320 for storing computer program, the computer program includes program
Instruction.Processor 310 is used to execute the program instruction of the storage of memory 320.Wherein, processor 310 is configured for calling institute
It states program instruction and executes following operation:
Processor 310 is for obtaining data to be sent;According to the data type of the data, the class of the data is determined
Phenotypic marker and supplemental information for remarking additionally to the data, the supplemental information include the source letter of the data
The coded format of breath and the data;By the type mark, the supplemental information and the number encoded by the coded format
According to being sent to receiving terminal after combination.
Said program obtains data to be sent first, then according to the data type of the data, determines the data
Type mark and supplemental information for remarking additionally to the data, wherein the supplemental information includes the number
According to source-information, finally by the type mark, the supplemental information and by the coded format coding data content
Receiving terminal is sent to after combination.Since the data that the embodiment of the present invention is sent contain source and the type of data so that receive
End can judge data source after receiving the data according to source-information, be executed according to type mark corresponding with type
Operation, and receive and dispatch different types of data respectively without recycling multiple and different link, reduce the consumption of resource.
Embodiment six
Fig. 6 is a kind of schematic diagram of the receiving device 400 for data that yet another embodiment of the invention provides.It is as shown in FIG. 6
The receiving device 400 of data in the present embodiment may include:Processor 410, memory 420 and it is stored in memory 420
In and the computer program 430 that can run on the processor 410.Processor 410 realizes above-mentioned number when executing computer program 430
According to sending method embodiment in step.For memory 420 for storing computer program, the computer program includes program
Instruction.Processor 410 is used to execute the program instruction of the storage of memory 420.Wherein, processor 410 is configured for calling institute
It states program instruction and executes following operation:
Processor 410 is used to receive the data splitting after transmitting terminal combination of transmitting terminal transmission, the combination
Data include type mark, supplemental information and reception data;The type mark is used to determine the type for receiving data, institute
Supplemental information is stated for remarking additionally to the reception data, the supplemental information includes the source letter for receiving data
Breath and the coded format for receiving data;It is additionally operable to judge the source for receiving data based on the source-information;It is based on
The coded format is decoded the reception data;Operation corresponding with the type is executed based on the type mark.
Said program receives the data splitting after transmitting terminal combination that transmitting terminal is sent, the combination first
Data include type mark, supplemental information and receive data, the supplemental information include it is described receive data source-information and
The coded format of the data content for receiving data is then based on the source-information and judges the source for receiving data;
The reception data are decoded based on the coded format;Behaviour corresponding with the type is executed based on the type mark
Make.Since the embodiment of the present invention is after receiving data splitting, the source of data can be judged according to source-information, it can be with
Operation corresponding with type mark is executed according to type mark, so receiving terminal can receive different type with a network link
And the data of separate sources, and without receiving different types of data using Multi net voting link, reduce the consumption of Internet resources.
It should be appreciated that in embodiment five and embodiment six, alleged processor can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Alleged memory may include read-only memory and random access memory, and provide instruction sum number to processor
According to.The a part of of memory can also include nonvolatile RAM.For example, memory can be with storage device class
The information of type.
It should be noted that the data that the sending device and embodiment six of the data that the embodiment of the present invention five proposes propose
The data that the sending method and embodiment two for the data that receiving device is proposed with the method for the present invention embodiment one respectively propose connect
Receiving method is based on identical inventive concept, and apparatus embodiments can be applicable in mutually with the relevant art content in embodiment of the method, this
Place is no longer described in detail.
Embodiment seven
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes program instruction, and described program instruction is realized when being executed by processor:
Obtain data to be sent;
According to the data type of the data, the type mark of the data is determined and for supplementing the data
The supplemental information of explanation, the supplemental information include the coded format of the source-information and the data of the data;
It is sent to and connects by the type mark, the supplemental information and after the data combination of coded format coding
Receiving end.
Said program obtains data to be sent first, then according to the data type of the data, determines the data
Type mark and supplemental information for remarking additionally to the data, wherein the supplemental information includes the number
According to source-information, finally by the type mark, the supplemental information and by the coded format coding data content
Receiving terminal is sent to after combination.Since the data that the embodiment of the present invention is sent contain source and the type of data so that receive
End can judge data source after receiving the data according to source-information, be executed according to type mark corresponding with type
Operation, and receive and dispatch different types of data respectively without recycling multiple and different link, reduce the consumption of resource.
Described program instruction can also be realized when being executed by processor:
The data splitting after transmitting terminal combination that transmitting terminal is sent is received, the data splitting includes type mark
Note, supplemental information and reception data;The type mark is used to determine that the type for receiving data, the supplemental information to be used for
It remarks additionally to the reception data, the supplemental information includes the source-information for receiving data and the reception number
According to coded format;
Judge the source for receiving data based on the source-information;Based on the coded format to the reception data
It is decoded;Operation corresponding with the type is executed based on the type mark.
Said program receives the data splitting after transmitting terminal combination that transmitting terminal is sent, the combination first
Data include type mark, supplemental information and receive data, the supplemental information include it is described receive data source-information and
The coded format of the data content for receiving data is then based on the source-information and judges the source for receiving data;
The reception data are decoded based on the coded format;Behaviour corresponding with the type is executed based on the type mark
Make.Since the embodiment of the present invention is after receiving data splitting, the source of data can be judged according to source-information, it can be with
Operation corresponding with type mark is executed according to type mark, so receiving terminal can receive different type with a network link
And the data of separate sources, and without receiving different types of data using Multi net voting link, reduce the consumption of Internet resources.
The computer readable storage medium can be the internal storage unit of the equipment described in aforementioned any embodiment, example
Such as the hard disk or memory of equipment.The computer readable storage medium can also be the External memory equipment of the equipment, such as
The plug-in type hard disk being equipped in the equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
The internal storage unit for including the equipment also includes External memory equipment.The computer readable storage medium is described for storing
Other programs needed for computer program and the equipment and data.The computer readable storage medium can be also used for temporarily
Ground stores the data that has exported or will export.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set
Standby and unit specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, equipment or unit
Connection can also be electricity, mechanical or other form connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can store program
The medium of code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
1. a kind of sending method of data, which is characterized in that including:
Obtain data to be sent;
According to the data type of the data, the type mark of the data is determined and for remarking additionally to the data
Supplemental information, the supplemental information includes the coded format of the source-information and the data of the data;
It is sent to reception by the type mark, the supplemental information and after the data combination of coded format coding
End.
2. sending method as described in claim 1, which is characterized in that further include:
If the data type of data class in order to control, the coded format of the data is JSON formats.
3. sending method as described in claim 1, which is characterized in that the source-information includes camera address.
4. such as claims 1 to 3 any one of them sending method, which is characterized in that further include:
If the data type of the data is video class, the supplemental information further includes clear data scale designation.
5. a kind of method of reseptance of data, which is characterized in that including:
Receive transmitting terminal send by the transmitting terminal combination after data splitting, the data splitting include type mark,
Supplemental information and reception data;The type mark be used for determine it is described receive data type, the supplemental information for pair
The reception data remark additionally, and the supplemental information includes the source-information for receiving data and the reception data
Coded format;
Judge the source for receiving data based on the source-information;The reception data are carried out based on the coded format
Decoding;Operation corresponding with the type is executed based on the type mark.
6. a kind of sending device of data, which is characterized in that including:
Acquisition module, for obtaining data to be sent;
Determining module determines the type mark of the data and for the number for the data type according to the data
According to the supplemental information to remark additionally, the supplemental information includes the source-information of the data and the coding lattice of the data
Formula;
Sending module is used for the type mark, the supplemental information and the data content encoded by the coded format
Receiving terminal is sent to after combination.
7. a kind of reception device of data, which is characterized in that including:
Receiving module, the data splitting after transmitting terminal combination for receiving transmitting terminal transmission, the data splitting
Including type mark, supplemental information and receive data;The type mark is used to determine the type for receiving data, the benefit
Fill information for remarking additionally to the receptions data, the supplemental information include the source-information for receiving data with
The coded format of the data content for receiving data;
Processing module, for judging the source for receiving data based on the source-information;Based on the coded format to institute
Reception data are stated to be decoded;Operation corresponding with the type is executed based on the type mark.
8. a kind of sending device of data, which is characterized in that including memory, processor and be stored in the memory simultaneously
The computer program that can be run on the processor, which is characterized in that the processor executes real when the computer program
Now such as the step of any one of Claims 1-4 the method.
9. a kind of sending device of data, which is characterized in that including memory, processor and be stored in the memory simultaneously
The computer program that can be run on the processor, which is characterized in that the processor executes real when the computer program
Now the step of method as claimed in claim 5.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810251932.1A CN108513141A (en) | 2018-03-26 | 2018-03-26 | A kind of receiving/transmission method of data, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810251932.1A CN108513141A (en) | 2018-03-26 | 2018-03-26 | A kind of receiving/transmission method of data, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108513141A true CN108513141A (en) | 2018-09-07 |
Family
ID=63378499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810251932.1A Pending CN108513141A (en) | 2018-03-26 | 2018-03-26 | A kind of receiving/transmission method of data, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108513141A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112422410A (en) * | 2020-11-06 | 2021-02-26 | 上海连尚网络科技有限公司 | Method and equipment for sharing information in session window of social application |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463158A (en) * | 2002-05-31 | 2003-12-24 | 华为技术有限公司 | Method for managing stream media data of videoconference |
CN1468002A (en) * | 2002-06-27 | 2004-01-14 | 上海汉唐科技有限公司 | Flow media compression, transmission and storage system based on internet |
CN1972424A (en) * | 2006-12-01 | 2007-05-30 | 中兴通讯股份有限公司 | A transmission method for mobile multimedia broadcasting electronic service guide |
CN101217658A (en) * | 2008-01-09 | 2008-07-09 | 杭州华三通信技术有限公司 | A media transmission method, system and device |
WO2009002094A1 (en) * | 2007-06-25 | 2008-12-31 | Lg Electronics Inc. | Digital broadcasting system and data processing method |
CN102665103A (en) * | 2012-04-13 | 2012-09-12 | 烽火通信科技股份有限公司 | Audio and video packaging method applicable to streaming media services |
CN106464943A (en) * | 2014-06-30 | 2017-02-22 | 索尼公司 | Information processing device and method |
CN106899861A (en) * | 2017-04-08 | 2017-06-27 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method and its equipment, system |
CN107222583A (en) * | 2017-08-08 | 2017-09-29 | 江苏优闼数据科技有限公司 | A kind of data transmission method of fusion structure data and unstructured data |
US20180018676A1 (en) * | 2016-07-15 | 2018-01-18 | Intuit Inc. | System and method for generating structured representations of compliance forms from multiple visual source compliance forms |
-
2018
- 2018-03-26 CN CN201810251932.1A patent/CN108513141A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463158A (en) * | 2002-05-31 | 2003-12-24 | 华为技术有限公司 | Method for managing stream media data of videoconference |
CN1468002A (en) * | 2002-06-27 | 2004-01-14 | 上海汉唐科技有限公司 | Flow media compression, transmission and storage system based on internet |
CN1972424A (en) * | 2006-12-01 | 2007-05-30 | 中兴通讯股份有限公司 | A transmission method for mobile multimedia broadcasting electronic service guide |
WO2009002094A1 (en) * | 2007-06-25 | 2008-12-31 | Lg Electronics Inc. | Digital broadcasting system and data processing method |
CN101217658A (en) * | 2008-01-09 | 2008-07-09 | 杭州华三通信技术有限公司 | A media transmission method, system and device |
CN102665103A (en) * | 2012-04-13 | 2012-09-12 | 烽火通信科技股份有限公司 | Audio and video packaging method applicable to streaming media services |
CN106464943A (en) * | 2014-06-30 | 2017-02-22 | 索尼公司 | Information processing device and method |
US20180018676A1 (en) * | 2016-07-15 | 2018-01-18 | Intuit Inc. | System and method for generating structured representations of compliance forms from multiple visual source compliance forms |
CN106899861A (en) * | 2017-04-08 | 2017-06-27 | 腾讯科技(深圳)有限公司 | A kind of photograph document handling method and its equipment, system |
CN107222583A (en) * | 2017-08-08 | 2017-09-29 | 江苏优闼数据科技有限公司 | A kind of data transmission method of fusion structure data and unstructured data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112422410A (en) * | 2020-11-06 | 2021-02-26 | 上海连尚网络科技有限公司 | Method and equipment for sharing information in session window of social application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103548358B (en) | Receiving device, method of reseptance and information providing apparatus | |
CN103814562B (en) | Represent the network stream transmission for media data for the characteristic of fragment with signal | |
CN104396263B (en) | For the method and system of the real-time multiplexing transformation of streaming content | |
CN105340282B (en) | Data structure, data structure for physical layer encapsulation generate device and method thereof | |
CN100387055C (en) | Receiver | |
JP5122644B2 (en) | Method and apparatus for composing a scene using laser content | |
US9609338B2 (en) | Layered video encoding and decoding | |
CN108924600A (en) | Sending and receiving methods, device and the electronic equipment of live data | |
CN105900436A (en) | Communication apparatus, communication data generation method, and communication data processing method | |
TW200419393A (en) | Method of announcing sessions | |
CN103327417A (en) | Method and device for directly broadcasting real-time long-distance audio and video frequency | |
CN111107391A (en) | Distributed WEB plug-in-free video live broadcast method | |
CN106464944B (en) | Broadcast singal sending device, broadcasting signal receiving, broadcast singal sending method and broadcast signal received method | |
CN105765943B (en) | The device for sending broadcast singal, the device for receiving broadcast singal, the method for sending broadcast singal and the method for receiving broadcast singal | |
CN105900400A (en) | Broadcast signal transmission method, broadcast signal transmission device, broadcast signal reception method, and broadcast signal reception device | |
CN104937949A (en) | Obtaining a version of an item of content | |
CN109889894A (en) | Media file coding/decoding method, device and storage medium | |
CN106603503A (en) | Live streaming data processing method and device | |
CN109547860A (en) | A kind of method and IPTV playing device of the video suspension continued broadcasting of program request | |
CN106817613A (en) | Realize the method and apparatus that audio-video frequency content is played | |
TWI345402B (en) | Method and apparatus for signaling transmission code set in data broadcasting | |
CN108055595A (en) | Reorientation method, the computer readable storage medium of video image | |
CN108924630A (en) | A kind of method and playback equipment of display caching progress | |
CN108513141A (en) | A kind of receiving/transmission method of data, device and equipment | |
US20090245346A1 (en) | Method and apparatus for generating and processing packet |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180907 |