Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of method of receiving terminal for digital television data sharing, a kind of data sharing device and a kind of data-sharing systems are provided.Solve the problem that the data between the receiving terminal for digital television of different manufacturers in the prior art or different model can not be carried out data sharing, be convenient to carry out between the user sharing of program data information.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of method of receiving terminal for digital television data sharing, comprising:
Obtain first data message of receiving terminal for digital television storage;
According to described first data message, generate second data message that meets the data framework principle that sets in advance;
According to described second data message, generate the 3rd data message of the receiving terminal for digital television that meets appointment;
Described the 3rd data message is sent to the receiving terminal for digital television of described appointment, to share described first data message.
Wherein, according to described first data message, the step that generates second data message that meets the data framework principle that sets in advance comprises:
From described first data message, extract the data of needs according to described data framework principle;
The data that extract are generated second data message that meets described data framework principle.
Wherein, according to described second data message, the step that generates the 3rd data message of the receiving terminal for digital television that meets appointment comprises:
From described second data message, extract the data of needs according to described data framework principle;
The data that extract are generated the 3rd data message of the data framework principle of the receiving terminal for digital television that meets described appointment.
Wherein, also comprise after described the 3rd data message being sent to the step of receiving terminal for digital television of described appointment:
The receiving terminal for digital television of described appointment receives described the 3rd data message;
Load described the 3rd data message at local terminal.
Wherein, the data framework that sets in advance comprises following combination:
Satellite data information;
Antenna data information;
The transponder data message;
Program data information.
Correspondingly, the embodiment of the invention also discloses a kind of data sharing device, comprising:
Acquisition module is used to obtain first data message of receiving terminal for digital television storage;
First generation module is used for according to described first data message, generates second data message that meets the data framework principle that sets in advance;
Second generation module is used for according to described second data message, generates the 3rd data message of the data framework of the receiving terminal for digital television that meets appointment;
Sending module is used for described the 3rd data message is sent to the receiving terminal for digital television of described appointment, to share described first data message.
Wherein, described first generation module comprises:
First extraction unit is used for according to the data of described data framework principle from described first data message extraction needs;
First generates subelement, and the data that are used for described first extraction unit is extracted generate second data message that meets described data framework principle;
Described second generation module comprises:
Second extraction unit extracts the data of needs from described second data message according to described data framework principle;
Second generates subelement, and the data that are used for that described second extraction unit is extracted generate the 3rd data message of the data framework principle of the digit receiving terminal that meets appointment.
Correspondingly, the embodiment of the invention also discloses a kind of data-sharing systems, comprise first receiving terminal for digital television and second receiving terminal for digital television, described first receiving terminal for digital television comprises above-mentioned data sharing device; Described second receiving terminal for digital television is the receiving terminal for digital television of the described first receiving terminal for digital television appointment.
Wherein, described second receiving terminal for digital television comprises:
Load-on module, the 3rd data message that is used for receiving is loaded into local terminal.
Correspondingly, the embodiment of the invention also discloses a kind of data-sharing systems, comprise server, first receiving terminal for digital television and second receiving terminal for digital television, described server comprises above-mentioned data sharing device;
Described acquisition module specifically is used to obtain first data message of described first receiving terminal for digital television storage;
Described second receiving terminal for digital television is the receiving terminal for digital television of the described first receiving terminal for digital television appointment.
Wherein, described second receiving terminal for digital television comprises:
Load-on module, the 3rd data message that is used for receiving is loaded into local terminal.
Implement the embodiment of the invention, have following beneficial effect:
By setting in advance unified data framework, first data message that obtains is generated second data message that meets this data framework principle, generate the 3rd data message of the receiving terminal for digital television that meets appointment according to second data message, and send the 3rd data message to the receiving terminal for digital television of appointment, so that the receiving terminal for digital television of appointment loads, thereby realized data sharing, solved the problem that the data between the receiving terminal for digital television of different manufacturers in the prior art or different model can not be carried out data sharing, be convenient to carry out sharing of program data information between the user, satisfied the user carrying out the demand of data sharing between the receiving terminal for digital television of different manufacturers or different model.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The method flow schematic diagram of first embodiment of receiving terminal for digital television data sharing of the present invention as shown in Figure 1 comprises:
Step S101: first data message that obtains the receiving terminal for digital television storage;
Particularly, this first data message is the data message that meets the data framework principle of this receiving terminal for digital television definition, can comprise transponder data message, program data information or the like.
Step S102:, generate second data message that meets the data framework principle that sets in advance according to described first data message;
Particularly, before the step S102, can pre-set a kind of unified data framework principle between the receiving terminal for digital television, promptly, communicate negotiation between at least two receiving terminal for digital television, can the unified data framework principle of self-defined a kind of both sides, then in step S102, according to this first data message that obtains, generate second data message that meets this data framework principle.
Step S103:, generate the 3rd data message of the receiving terminal for digital television that meets appointment according to described second data message;
Step S104: described the 3rd data message is sent to the receiving terminal for digital television of described appointment, to share described first data message.
Particularly, the above-mentioned receiving terminal for digital television that communicates negotiation is the receiving terminal for digital television of appointment, the receiving terminal for digital television of this appointment can be a receiving terminal for digital television, also can be a plurality of receiving terminal for digital television of same type (as same model etc.), the 3rd data message is sent to the receiving terminal for digital television of appointment, to finish sharing to described first data message.
Need to prove that the receiving terminal for digital television of each appointment can be respectively dissimilar receiving terminal for digital television, as long as according to described second data message, the 3rd data message that generates the receiving terminal for digital television that meets appointment gets final product.
Further, the method flow schematic diagram of second embodiment of receiving terminal for digital television data sharing of the present invention as shown in Figure 2 comprises:
Step S201: first data message that obtains the receiving terminal for digital television storage;
Particularly, identical with step S101 among the last embodiment, repeat no more here.
Step S202: the data of from described first data message, extracting needs according to described data framework principle;
Step S203: the data that extract are generated second data message that meets described data framework principle;
Particularly, before the step S202, can pre-set a kind of unified data framework principle between the receiving terminal for digital television, promptly, communicate negotiation between at least two receiving terminal for digital television, can the unified data framework principle of self-defined a kind of both sides, then in step S202, from described first data message, extract the data of needs according to this data framework principle, data message as a few of this data framework policy settings, the data that need in will from this first data message, extracting these several so, and in step S203, the data that extract are generated second data message that meets this data framework principle, promptly, be equivalent to this first data message is mapped to a unified data framework, constitute second data message.
Step S204: the data of from described second data message, extracting needs according to described data framework principle;
Step S205: the 3rd data message that the data that extract is generated the data framework principle of the receiving terminal for digital television that meets described appointment;
Step S206: described the 3rd data message is sent to the receiving terminal for digital television of appointment, to share described first data message.
Need to prove that the foregoing description step S101 is to step S104, and step S201 both can carry out to step S206 by the receiving terminal for digital television of user's local terminal, also can carry out by the server of network terminal, that is, particularly:
The receiving terminal for digital television of user's local terminal obtains first data message that self stores, then at local terminal according to described first data message, generation meets second data message of the data framework principle that sets in advance, from described second data message, extract the data of needs then according to described data framework principle, the data that extract are generated the 3rd data message of the data framework principle of the receiving terminal for digital television that meets described appointment, the receiving terminal for digital television that finally will described the 3rd data message be sent to appointment by the receiving terminal for digital television of local terminal is with shared described first data message; Perhaps
The server of network terminal obtains first data message of the receiving terminal for digital television storage of user side by network, then on server according to described first data message, generation meets second data message of the data framework principle that sets in advance, from described second data message, extract the data of needs then according to described data framework principle, the data that extract are generated the 3rd data message of the data framework principle of the receiving terminal for digital television that meets described appointment, the receiving terminal for digital television that finally will described the 3rd data message be sent to appointment by server is with shared described first data message.
Again further, after step S104 or step S206, the embodiment of the invention can also comprise: the receiving terminal for digital television of described appointment receives described second data message; Load described the 3rd data message at local terminal; Particularly:
After the receiving terminal for digital television of this appointment receives the 3rd data message that the opposite end sends and come, call the data load function of local terminal, because the 3rd data message is the data message that meets Local Data framework principle, therefore get final product described the 3rd data message of loaded by the original data load function of local terminal, thereby play the program data information of opposite end, finished the sharing of data of the embodiment of the invention.
Need to prove that the data framework that sets in advance in the embodiment of the invention can comprise following combination: satellite data information; Antenna data information; The transponder data message; Program data information.Particularly, the data structure of each data block includes but not limited to following form:
The satellite data piece can comprise following information:
{
Name[MAX_LEN_OF_SAT_NAME]; // satellite designation
Lnb_low; // low local oscillator
Lnb_high; // high local oscillator
Angle; // satellite angle
West_east; // satellite thing warp
Ntp; The number of // the transponder that this satellite has been preserved
Tp[MAX_TP_NUM_IN_ONE_SAT]; // leave the transponder information on this satellite in
}
The antenna data piece can comprise following information:
{
Satid; The satellite index of // this antenna correspondence number
Lnb_low; // low local oscillator
Lnb_high; // high local oscillator
Lnb_type; //lnb type, C-band, or ku wave band
K22; Whether // 22k opens
V12; Whether // 12v opens
V1418; // antenna required voltage
Diseqc10_use; // whether use diseqc10
Diseqc10_port; //diseqc10 port numbers
The transponder data block comprises following information:
{
Satid; The call number of the satellite at // this transponder place
Polar; // level or perpendicular polarization
Frequency; The frequency of // transponder
Symbolrate; The symbol rate of // transponder
Ant_lnb_index; // this transponder is in the call number of the transponder array of the satellite of correspondence
}
The program data piece can comprise following information:
{
Service_id; The service ID of // program
Ch_number; // program sequence number
Antid; // antenna index number
Sat_id; // satellite index number
Tpid; // transponder call number
teletext; //teletext?PID
Ch_type; // TV, broadcast identification
pcr; //PCR?PID
Favorite; Which fav group the current program of // sign belongs to
Lnbselect; // transponder locking sign
Demod_mode; //dvbs and dvbs2 sign
Audio_lr; The voice output mode of // preservation program, stereo or left and right sound channels
Ca_type; The CA type of // sign program
Audio_vol; The sound size of // program
Bskip; The sign whether // program is skipped
Block; The sign whether // program locks
subtitle_pid; //subtitle?pid
Ttx_exist; Whether //teletext exists
Subtitle_exist; Whether //subtitle exists
Name[MAX_LEN_OF_SERVICE_NAME]; // programm name
video; //video?PID
H264; Whether // program is h264
Hdvt; Whether // program is the high definition program
Audio[NUMBER_OF_AUDIO_IN_SIL]; // deposit the pid of each track
Audio_type[NUMBER_OF_AUDIO_IN_SIL]; // deposit the type of track, mpeg1, mpeg2, ac3
Audio_lang; The sequence number of the track that // program uses
}
Need to prove, above data framework is to be example with the digital satellite television receiving terminal, comprise the digital satellite television receiving terminal and watched the general information of program needs, the extracting data that these information generally can be obtained from step S101 or step S201, for some data that can not obtain a default value can be set, so that when the receiving terminal for digital television of appointment is resolved the data of this data framework, can from this data framework, extract pertinent program information equally, finally convert the data message that local terminal needs to.
Need to prove that also the data framework that sets in advance in the embodiment of the invention can be developed personnel as required and improve or adjust.
Implement the embodiment of the invention, by setting in advance unified data framework, first data message that obtains is generated second data message that meets this data framework principle, and send this second data message to the receiving terminal for digital television of appointment, so that the receiving terminal for digital television of appointment is resolved this second data message according to this data framework principle, obtain the data that need and load, thereby realized data sharing, solved the problem that the data between the receiving terminal for digital television of different manufacturers in the prior art or different model can not be carried out data sharing, be convenient to carry out sharing of program data information between the user, satisfied the user carrying out the demand of data sharing between the receiving terminal for digital television of different manufacturers or different model.
Describe the method for the receiving terminal for digital television data sharing of the embodiment of the invention above in detail, below accordingly, describe the data sharing device and the data-sharing systems of the embodiment of the invention in detail.
The structural representation of first embodiment of data sharing device of the present invention as shown in Figure 3, data sharing device 3 comprise acquisition module 31, first generation module 32, second generation module 33 and sending module 34, wherein
Acquisition module 31 is used to obtain first data message of receiving terminal for digital television storage;
Particularly, this first data message is the data message that meets the data framework principle of this receiving terminal for digital television definition, can comprise transponder data message, program data information or the like.
First generation module 32 is used for according to described first data message, generates second data message that meets the data framework principle that sets in advance;
Particularly, can pre-set a kind of unified data framework principle between the receiving terminal for digital television, promptly, communicate negotiation between at least two receiving terminal for digital television, can the unified data framework principle of self-defined a kind of both sides, this first data message that first generation module 32 obtains according to acquisition module 31 generates second data message that meets this data framework principle.
Second generation module 33 is used for according to described second data message, generates the 3rd data message of the data framework of the receiving terminal for digital television that meets appointment;
Sending module 34 is used for described the 3rd data message is sent to the receiving terminal for digital television of described appointment, to share described first data message.
Particularly, the above-mentioned receiving terminal for digital television that communicates negotiation is the receiving terminal for digital television of appointment, the receiving terminal for digital television of this appointment can be a receiving terminal for digital television, also can be a plurality of receiving terminal for digital television of same type (as same model etc.), sending module 34 sends to the receiving terminal for digital television of appointment with the 3rd data message, to finish sharing described first data message.
Need to prove that the receiving terminal for digital television of each appointment can be respectively dissimilar receiving terminal for digital television, as long as according to described second data message, the 3rd data message that generates the receiving terminal for digital television that meets appointment gets final product.
Further, the structural representation of second embodiment of data sharing device of the present invention as shown in Figure 4, first generation module 32 comprise that first extraction unit 321 and first generates subelement 322, wherein
First extraction unit 321 is used for extracting from described first data message according to described data framework principle the data of needs;
The data that the first generation subelement 322 is used for first extraction unit 321 is extracted generate second data message that meets described data framework principle.
Can pre-set a kind of unified data framework principle between the receiving terminal for digital television, promptly, communicate negotiation between at least two receiving terminal for digital television, can the unified data framework principle of self-defined a kind of both sides, first extraction unit 321 extracts the data of needs from described first data message according to this data framework principle then, data message as a few of this data framework policy settings, the data that need in will from this first data message, extracting these several so, and first generates subelement 322 generates second data message that meets this data framework principle with the data that extract, promptly, be equivalent to this first data message is mapped to a unified data framework, constitute second data message;
Second generation module 33 comprises that second extraction unit 331 and second generates subelement 332, wherein
Second extraction unit 331 extracts the data of needs from described second data message according to described data framework principle;
Second generates the 3rd data message that subelement 332 is used for the data that second extraction unit 331 extracts are generated the data framework principle of the digit receiving terminal that meets appointment.
Need to prove, data sharing device 3 in the embodiment of the invention can be integrated on the receiving terminal for digital television of user's local terminal, also can be integrated on the server of network terminal, below correspondingly, be elaborated in conjunction with the structure of following data-sharing systems of the present invention:
The structural representation of first embodiment of data-sharing systems of the present invention as shown in Figure 5, data-sharing systems comprises that first receiving terminal for digital television 51 and second receiving terminal for digital television, 52, the first receiving terminal for digital television 51 comprise data sharing device 3; Second receiving terminal for digital television 52 is the receiving terminal for digital television of first receiving terminal for digital television, 51 appointments.Particularly
First receiving terminal for digital television 51 of user's local terminal obtains first data message of self storing by the acquisition module 31 of data sharing device 3, first generation module 32 is according to described first data message then, generation meets second data message of the data framework principle that sets in advance, second generation module 33 extracts the data of needs from described second data message according to described data framework principle then, the data that extract are generated the 3rd data message of the data framework principle of the receiving terminal for digital television that meets described appointment, finally described the 3rd data message is sent to second receiving terminal for digital television 52, to share described first data message by sending module 34;
Need to prove, first receiving terminal for digital television 51 and second receiving terminal for digital television 52 are for communicating negotiation in advance, set a kind of general designation of receiving terminal for digital television of unified data framework principle, first receiving terminal for digital television 51 or second receiving terminal for digital television 52 are not limited to represent a receiving terminal for digital television, can also represent a plurality of receiving terminal for digital television; That is, data-sharing systems can comprise a plurality of receiving terminal for digital television, and these receiving terminal for digital television all are to carry out communication negotiation in advance, sets a kind of receiving terminal for digital television of unified data framework principle, can carry out data sharing mutually.
The structural representation of second embodiment of data-sharing systems of the present invention as shown in Figure 6, data-sharing systems comprises server 61, first receiving terminal for digital television 62 and second receiving terminal for digital television 63, and server 61 comprises above-mentioned data sharing device 3; Second receiving terminal for digital television 63 is the receiving terminal for digital television of first receiving terminal for digital television, 62 appointments.Particularly
Acquisition module 31 in the data sharing device 3 of the server 61 of network terminal obtains first data message of first receiving terminal for digital television, 62 storages of user side by network, first generation module 32 is according to described first data message then, generation meets second data message of the data framework principle that sets in advance, second generation module 33 extracts the data of needs from described second data message according to described data framework principle then, the data that extract are generated the 3rd data message of the data framework principle of the receiving terminal for digital television that meets described appointment, finally described the 3rd data message is sent to second receiving terminal for digital television 63, to share described first data message by sending module 34.
Need to prove, first receiving terminal for digital television 62 and second receiving terminal for digital television 63 are for communicating negotiation in advance, set a kind of general designation of receiving terminal for digital television of unified data framework principle, first receiving terminal for digital television 62 or second receiving terminal for digital television 63 are not limited to represent a receiving terminal for digital television, can also represent a plurality of receiving terminal for digital television; That is, data-sharing systems can comprise a plurality of receiving terminal for digital television, and these receiving terminal for digital television all are to carry out communication negotiation in advance, sets a kind of receiving terminal for digital television of unified data framework principle, can carry out data sharing mutually.
Again further, the structural representation of second receiving terminal for digital television of the embodiment of the invention as shown in Figure 7, second receiving terminal for digital television 52 and/or second receiving terminal for digital television 63 among Fig. 6 embodiment among Fig. 5 embodiment can comprise (describing with second receiving terminal for digital television 52 among Fig. 5 embodiment among Fig. 7): load-on module 521, the 3rd data message that is used for receiving is loaded into local terminal.
Particularly, after this second receiving terminal for digital television 52 and/or second receiving terminal for digital television 63 receive the 3rd data message that the opposite end sends and come, load-on module 521 calls the data load function of local terminal, because the 3rd data message is the data message that meets Local Data framework principle, therefore get final product described the 3rd data message of loaded by the original data load function of local terminal, thereby play the program data information of opposite end, finished the sharing of data of the embodiment of the invention.
Need to prove, first receiving terminal for digital television in the embodiment of the invention and second receiving terminal for digital television are just for transmitting terminal and receiving terminal, same receiving terminal for digital television both can be first receiving terminal for digital television, also can be second receiving terminal for digital television, promptly, when the data of the shared local terminal of a receiving terminal for digital television are given other receiving terminal for digital television, be first receiving terminal for digital television; When a receiving terminal for digital television receives that other receiving terminal for digital television send and during the shared data that comes, is second receiving terminal for digital television.
In sum, by setting in advance unified data framework, first data message that obtains is generated second data message that meets this data framework principle, and send this second data message to the receiving terminal for digital television of appointment, so that the receiving terminal for digital television of appointment is resolved this second data message according to this data framework principle, obtain the data that need and load, thereby realized data sharing, solved the problem that the data between the receiving terminal for digital television of different manufacturers in the prior art or different model can not be carried out data sharing, be convenient to carry out sharing of program data information between the user, satisfied the user carrying out the demand of data sharing between the receiving terminal for digital television of different manufacturers or different model.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.