CN103684992B - Home gateway, terminal and data sharing method - Google Patents

Home gateway, terminal and data sharing method Download PDF

Info

Publication number
CN103684992B
CN103684992B CN201310692634.3A CN201310692634A CN103684992B CN 103684992 B CN103684992 B CN 103684992B CN 201310692634 A CN201310692634 A CN 201310692634A CN 103684992 B CN103684992 B CN 103684992B
Authority
CN
China
Prior art keywords
data
terminal
home gateway
instant message
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310692634.3A
Other languages
Chinese (zh)
Other versions
CN103684992A (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies Co 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201310692634.3A priority Critical patent/CN103684992B/en
Publication of CN103684992A publication Critical patent/CN103684992A/en
Application granted granted Critical
Publication of CN103684992B publication Critical patent/CN103684992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a home gateway which comprises a receiving unit, an analyzing unit, an extracting unit, an obtaining unit and a file transmission unit. The receiving unit is used for receiving specified instant information sent by any terminal which has registered in the home gateway, the specified instant information comprises control information, and the control information includes data sending terminal information, data receiving terminal information, data content and control operations. The analyzing unit analyzes the specified instant information and analyzes the control information from the specified instant information. The extraction unit extracts the data sending terminal information, the data receiving terminal information, the data content and control operation information from the control information. The obtaining unit finds and obtains data files corresponding to the data content from a data sending terminal. The file transmission unit transmits the obtained data files to a data receiving terminal and executes the control operations. Correspondingly, the invention further provides a terminal and a data sharing method. According to the technical scheme, control of a complex multimedia content interaction procedure can be achieved through the instant information.

Description

Home gateway, terminal and data sharing method
Technical field
The present invention relates to Resource Sharing Technology field, in particular to a kind of home gateway, a kind of terminal and a kind of number According to sharing method.
Background technology
Home network be fusion home control network and multimedia network information in the household's IT application platform of one, be Information equipment, communication equipment, amusement equipment, household electrical appliance, automation equipment, lighting apparatus, security personnel are realized in home-ranges(Prison Control)Device, family are sought help the shared system of apparatus interconnection and management and data and multimedia messages such as report to the police.
Home gateway (Home Gate Way), or CPE (Customer Premise Equipment), are to realize family The equipment that each equipment of network internal is in communication with each other with external equipment, is core constituting portion point in home network.Home gateway is real The equipment that each equipment is in communication with each other with external equipment inside existing home network, is core constituting portion point in home network.
For user, with high-speed wideband online and the popularization of home computer, increasing digital multimedia device Such as notebook computer, education television, mobile phone, landline telephone and other consumption electronic products, it is often necessary in the same time period It is interior by network insertion to internet.Meanwhile, the pursuit that user is inexpensively serviced network high-quality, such as packetized voice call service Deng so that the application of home gateway is naturally pushed out.Home gateway can make user easily set up home network, intelligence Can connect, can also conveniently manage family's internal-external network and multimedia equipment.
The part home gateway product for occurring in the market has possessed media storage function, can preserve audio frequency and video etc. Media content, and the shared of each equipment room content of multimedia can be completed by upper layer application protocols such as such as DLNA, but correlation Operation is needed by supporting that the terminal of this kind of application layer protocol initiates operation on applications client interface, and choosing is also only supported in operation Select content of multimedia of certain device plays from another equipment, it is impossible to the control logic of complexity is realized in the operation of single, Such as it is based on retrieval and the play operation of some conditions.
Accordingly, it would be desirable to a kind of new technical scheme, at least one solving the above problems.
The content of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new technical scheme, it is possible to achieve in complicated multimedia Hold the control of interaction flow.
In view of this, the present invention proposes a kind of home gateway, including:Receiving unit, it is registered to described for receiving The specified instant message that any terminal of home gateway sends, wherein, the specified instant message includes data sharing information control Information processed, includes data is activation end message, in data receiving terminal information, data in the data sharing information control information Hold and control operation and data content;Resolution unit, for parsing to the specified instant message, specifies instant from described The data sharing information control information is parsed in message;Extraction unit, for from the data sharing information control information In extract the data is activation end message, the data receiving terminal information and the data content information, the number According to content and the control operation;Acquiring unit, it is corresponding with the data content for finding out from data is activation terminal Data file, and obtain the data file;File transmission unit, for by the transmitting data file for getting to data Receiving terminal, and perform the control operation.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, select mobile terminal A(That is data is activation terminal)On file B(Count According to content), and in computer C(That is data receiving terminal)Upper broadcasting(That is control operation ", so, when the specified requirements is reached, Home gateway will carry out corresponding operation under the specified requirements, that is, select the file B on mobile terminal A, and broadcast on computer C Put.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize the control logic of data sharing in home gateway, nothing The agreement and art of programming of instant message need to be understood, the technical threshold for realizing more complicated control logic is reduced.
Wherein, terminal had both included mobile terminal and computer, and including mobile plug-in unit.
In above-mentioned technical proposal, it is preferable that also include:Memory cell, it is described for getting in the acquiring unit During data file, the data file is stored;And unit is deleted, for the data file to be successfully transmitted to into the number After receiving terminal, the data file is deleted.
In the technical scheme, the data that will be transmitted by home gateway are cached, and are deleted upon completion of the transmission Remove, so, both can ensure that the transmission safety of data file, memory space can be effectively utilized again.
In above-mentioned technical proposal, it is preferable that also include:Detector unit, for detect the data is activation terminal and/or Whether registered to the described home gateway of data receiving terminal, and whether the acquiring unit get the data file; Tip element, for detecting the data is activation terminal in the detector unit and/or data receiving terminal is unregistered to institute State home gateway, and/or the acquiring unit is not when getting the data file, sends mistake to any terminal and carries Show.
In the technical scheme, home gateway can know the address of each terminal according to the log-on message of terminal, and then complete Into the transmission of data, and when terminal is unregistered to home gateway or when not finding the file for wanting to look up in the terminal, then can This operation of the user of prompt terminal is wrong, and so, user can further take other to operate according to prompting.
According to a further aspect in the invention, a kind of terminal is additionally provided, including:Registering unit, for the terminal to be noted Volume is to the home gateway specified;Setting unit, for receiving setting command according to reception, arranges and specifies instant message;Show single Unit, for showing the specified instant message;Transmitting element, for according to the transmission order for receiving, specifying instant by described Message is sent to the home gateway specified.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, the file B on mobile terminal A is selected, and play on computer C ", this Sample, when the specified requirements is reached, home gateway will carry out corresponding operation under the specified requirements, that is, select mobile terminal A On file B, and on computer C play.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize home gateway The control logic of interior data sharing, the agreement and art of programming without the need for understanding instant message is reduced and realizes that more complicated control is patrolled The technical threshold collected.
In above-mentioned technical proposal, it is preferable that also include:Judging unit, for whether judging the specified instant message Meet default setting rule, when judged result is to be, it is allowed to which the transmitting element sends the specified instant message to institute The home gateway specified is stated, otherwise, does not allow the transmitting element to send the specified instant message to the family for specifying Gateway.
In the technical scheme, user can edit instant message according to individual demand, but instant message needs to meet one Fixed form or redaction rule, so that home gateway can be identified to instant message.Send message with identifier with General instant message is different from, still text mode shows in forms of identifier, such as one section by explicit special field " # Share# " makees the Message-text of prefix, as the reserved keyword such as " selection ", " broadcasting ", " storage " of control logic in message Deng being difference and normal words additional character interval, such as % storage %, full instance is as follows:(1)#share#% is from % computer@ Home% selects % to steal dream space % to % TV@home% and plays %.(2)#store#% is deposited from %1385553333@mobile phone .home% Storage % " hello.jpg " % to % computer@home.
In above-mentioned technical proposal, it is preferable that also include:Receiving unit, sends out for receiving the home gateway specified The miscue sent;And the display unit is additionally operable to:Show the miscue.
In the technical scheme, in the technical scheme, home gateway can know each end according to the log-on message of terminal The address at end, and then complete the transmission of data, and work as that terminal is unregistered not to be found to home gateway or want to look in the terminal During the file looked for, then can prompt terminal user this time operation it is wrong, so, user can according to prompting further take it He operates.
According to a further aspect in the invention, a kind of data sharing method is additionally provided, including:Terminal is received according to reception and set Order is put, is arranged and is specified instant message, and show the specified instant message, wherein, the specified instant message includes control Information, includes data is activation end message, data receiving terminal information, data content and control operation in the control information; The terminal sends the specified instant message to registered successful home gateway according to the transmission order for receiving;Institute State home gateway and receive the specified instant message that the terminal sends, the specified instant message is parsed, from the finger Determine to parse the control information in instant message, and extract from the control information data is activation end message, The data receiving terminal information, data content and control operation;The home gateway find out from data is activation terminal with The corresponding data file of the data content, and obtain the data file;The home gateway is by the data for getting File is transmitted to data receiving terminal, and executive control operation.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, the file B on mobile terminal A is selected, and play on computer C ", this Sample, when the specified requirements is reached, home gateway will carry out corresponding operation under the specified requirements, that is, select mobile terminal A On file B, and on computer C play.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize home gateway The control logic of interior data sharing, the agreement and art of programming without the need for understanding instant message is reduced and realizes that more complicated control is patrolled The technical threshold collected.
In above-mentioned technical proposal, it is preferable that also include:The home gateway is deposited when the data file is got Store up the data file;And after the data file is successfully transmitted to into the data receiving terminal, delete the data File.
In the technical scheme, the data that will be transmitted by home gateway are cached, and are deleted upon completion of the transmission Remove, so, both can ensure that the transmission safety of data file, memory space can be effectively utilized again.
In above-mentioned technical proposal, it is preferable that also include:The terminal also judges whether the specified instant message meets It is default that rule is set, when judged result is to be, the specified instant message is sent to the home gateway specified, it is no Then, the specified instant message is not sent to the home gateway specified.
In the technical scheme, user can edit instant message according to individual demand, but instant message needs to meet one Fixed form or redaction rule, so that home gateway can be identified to instant message.Send message with identifier with General instant message is different from, still text mode shows in forms of identifier, such as one section by explicit special field " # Share# " makees the Message-text of prefix, as the reserved keyword such as " selection ", " broadcasting ", " storage " of control logic in message Deng being difference and normal words additional character interval, such as % storage %, full instance is as follows:(1)#share#% is from %pc@home% Select % to steal dream space % to %tv@home% and play %.(2)#store#% stores % from %1385553333@mobile.home% " hello.jpg " % to %pc@home.
In above-mentioned technical proposal, it is preferable that also include:The home gateway detect the data is activation terminal and/or Whether registered to the described home gateway of data receiving terminal, and whether get the data file;The home gateway Detecting the data is activation terminal and/or the data receiving terminal home gateway, and/or institute is not got When stating data file, to the terminal miscue is sent;The terminal receives and shows the miscue.
In the technical scheme, in the technical scheme, home gateway can know each end according to the log-on message of terminal The address at end, and then complete the transmission of data, and work as that terminal is unregistered not to be found to home gateway or want to look in the terminal During the file looked for, then can prompt terminal user this time operation it is wrong, so, user can according to prompting further take it He operates.
By above technical scheme so that terminal use can control each networking in home network and set by instant message Content of multimedia interaction flow between standby, and further various operations are combined by instant message, realize in complicated multimedia Hold the control of interaction flow.
Description of the drawings
Fig. 1 shows the block diagram of home gateway according to an embodiment of the invention;
Fig. 2 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 3 shows the flow chart of data sharing method according to an embodiment of the invention;
Fig. 4 shows the functional schematic of terminal according to an embodiment of the invention;
Fig. 5 shows the functional schematic of terminal according to another embodiment of the invention;
Fig. 6 shows the functional schematic of home gateway according to an embodiment of the invention;
Fig. 7 A and Fig. 7 B show the interface schematic diagram of instant message input according to an embodiment of the invention;
Fig. 8 shows the idiographic flow schematic diagram of data sharing method according to an embodiment of the invention;
Fig. 9 shows the idiographic flow schematic diagram of data sharing method according to an embodiment of the invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and concrete real in order to be more clearly understood that the above objects, features and advantages of the present invention Apply mode to be further described in detail the present invention.It should be noted that in the case where not conflicting, the enforcement of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment restriction.
Fig. 1 shows the block diagram of home gateway according to an embodiment of the invention.
As shown in figure 1, home gateway 100 according to an embodiment of the invention, including:Receiving unit 102, for receiving The specified instant message that any terminal of the home gateway sends is registered to, wherein, the specified instant message includes control Information, includes data is activation end message, data receiving terminal information, data content and control operation in the control information; Resolution unit 104, for parsing to the specified instant message, from the specified instant message control is parsed Information;Extraction unit 106, for extracting the data is activation end message, the data receiver from the control information End message, data content and control operation;Acquiring unit 108, for finding out from data is activation terminal and the data The corresponding data file of content, and obtain the data file;File transmission unit 110, for by the data for getting File is transmitted to data receiving terminal, and performs the control operation.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, the file B on mobile terminal A is selected, and play on computer C ", this Sample, when the specified requirements is reached, home gateway will carry out corresponding operation under the specified requirements, that is, select mobile terminal A On file B, and on computer C play.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize home gateway The control logic of interior data sharing, the agreement and art of programming without the need for understanding instant message is reduced and realizes that more complicated control is patrolled The technical threshold collected.
Wherein, terminal had both included mobile terminal and computer, and including mobile plug-in unit.
In above-mentioned technical proposal, it is preferable that also include:Memory cell 112, for getting institute in the acquiring unit When stating data file, the data file is stored;And unit 114 is deleted, for the data file to be successfully transmitted to After the data receiving terminal, the data file is deleted.
In the technical scheme, the data that will be transmitted by home gateway are cached, and are deleted upon completion of the transmission Remove, so, both can ensure that the transmission safety of data file, memory space can be effectively utilized again.
In above-mentioned technical proposal, it is preferable that also include:Detector unit 116, for detecting the data is activation terminal And/or whether registered to the described home gateway of data receiving terminal, and whether the acquiring unit get the data File;Tip element 118, for detecting the data is activation terminal and/or data receiving terminal in the detector unit 116 The home gateway, and/or the acquiring unit 108 is not when getting the data file, to arbitrary end End sends miscue.
In the technical scheme, home gateway can know the address of each terminal according to the log-on message of terminal, and then complete Into the transmission of data, and when terminal is unregistered to home gateway or when not finding the file for wanting to look up in the terminal, then can This operation of the user of prompt terminal is wrong, and so, user can further take other to operate according to prompting.
Fig. 2 shows the block diagram of terminal according to an embodiment of the invention.
As shown in Fig. 2 terminal 200 according to an embodiment of the invention, including:Registering unit 202, for by the terminal It is registered to the home gateway specified;Setting unit 204, for receiving setting command according to reception, arranges and specifies instant message;It is aobvious Show unit 206, for showing the specified instant message;Transmitting element 208, for according to the transmission order for receiving, by institute State specified instant message to send to the home gateway specified.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, the file B on mobile terminal A is selected, and play on computer C ", this Sample, when the specified requirements is reached, home gateway will carry out corresponding operation under the specified requirements, that is, select mobile terminal A On file B, and on computer C play.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize home gateway The control logic of interior data sharing, the agreement and art of programming without the need for understanding instant message is reduced and realizes that more complicated control is patrolled The technical threshold collected.
In above-mentioned technical proposal, it is preferable that also include:Judging unit 210, for judging that the specified instant message is It is no to meet default setting rule, when judged result is to be, it is allowed to which the transmitting element sends the specified instant message extremely The home gateway specified, otherwise, does not allow the transmitting element to send the specified instant message to the family for specifying Front yard gateway.
In the technical scheme, user can edit instant message according to individual demand, but instant message needs to meet one Fixed form or redaction rule, so that home gateway can be identified to instant message.Send message with identifier with General instant message is different from, still text mode shows in forms of identifier, such as one section by explicit special field " # Share# " makees the Message-text of prefix, as the reserved keyword such as " selection ", " broadcasting ", " storage " of control logic in message Deng being difference and normal words additional character interval, such as % storage %, full instance is as follows:(1)#share#% is from % computer@ Home% selects % to steal dream space % to % TV@home% and plays %.(2)#store#% is deposited from %1385553333@mobile phone .home% Storage % " hello.jpg " % to % computer@home.
In above-mentioned technical proposal, it is preferable that also include:Receiving unit 212, for receiving the home gateway specified The miscue of transmission;And the display unit 206 is additionally operable to:Show the miscue.
In the technical scheme, in the technical scheme, home gateway can know each end according to the log-on message of terminal The address at end, and then complete the transmission of data, and work as that terminal is unregistered not to be found to home gateway or want to look in the terminal During the file looked for, then can prompt terminal user this time operation it is wrong, so, user can according to prompting further take it He operates.
Fig. 3 shows the flow chart of data sharing method according to an embodiment of the invention.
As shown in figure 3, data sharing method according to an embodiment of the invention, including:Step 302, terminal is according to reception Setting command is received, is arranged and is specified instant message, and show the specified instant message, wherein, the specified instant message bag Include control information, in the control information include data is activation end message, data receiving terminal information, the data content and The control operation;Step 304, the terminal sends the specified instant message to according to the transmission order for receiving The home gateway for succeeding in registration;Step 306, the home gateway receives the specified instant message that the terminal sends, to described Specified instant message is parsed, and the control information is parsed from the specified instant message, and from the control information In extract the data is activation end message, the data receiving terminal information, the data content and the control operation; Step 308, the home gateway finds out data file corresponding with the data content from data is activation terminal, and obtains The data file;The home gateway to data receiving terminal, and performs the transmitting data file for getting described Control operation.
In the technical scheme, user can control multimedia between home network interior each networking equipment by instant message Content interaction flow.Wherein, instant message user can enter edlin according to individual demand, as long as the instant message that user edits Meet certain form so that home gateway can recognize that then home gateway will carry out the control of terminal according to the instant message The management of system and data.And more specifically, some specified requirements can also be included in the instant message that user edits, such as " when The front time meets time interval(11 points to 13 points)When, the file B on mobile terminal A is selected, and play on computer C ", this Sample, when the specified requirements is reached, home gateway will carry out corresponding operation under the specified requirements, that is, select mobile terminal A On file B, and on computer C play.As such, it is possible to using the clause of the vocabulary composition being more readily understood, realize home gateway The control logic of interior data sharing, the agreement and art of programming without the need for understanding instant message is reduced and realizes that more complicated control is patrolled The technical threshold collected.
In above-mentioned technical proposal, it is preferable that also include:The home gateway is deposited when the data file is got Store up the data file;And after the data file is successfully transmitted to into the data receiving terminal, delete the data File.
In the technical scheme, the data that will be transmitted by home gateway are cached, and are deleted upon completion of the transmission Remove, so, both can ensure that the transmission safety of data file, memory space can be effectively utilized again.
In above-mentioned technical proposal, it is preferable that also include:The terminal also judges whether the specified instant message meets It is default that rule is set, when judged result is to be, the specified instant message is sent to the home gateway specified, it is no Then, the specified instant message is not sent to the home gateway specified.
In the technical scheme, user can edit instant message according to individual demand, but instant message needs to meet one Fixed form or redaction rule, so that home gateway can be identified to instant message.Send message with identifier with General instant message is different from, still text mode shows in forms of identifier, such as one section by explicit special field " # Share# " makees the Message-text of prefix, as the reserved keyword such as " selection ", " broadcasting ", " storage " of control logic in message Deng being difference and normal words additional character interval, such as % storage %, full instance is as follows:(1)#share#% is from %pc@home% Select % to steal dream space % to %tv@home% and play %.(2)#store#% stores % from %1385553333@mobile.home% " hello.jpg " % to %pc@home.
In above-mentioned technical proposal, it is preferable that also include:The home gateway detect the data is activation terminal and/or Whether registered to the described home gateway of data receiving terminal, and whether get the data file;The home gateway Detecting the data is activation terminal and/or the data receiving terminal home gateway, and/or institute is not got When stating data file, to the terminal miscue is sent;The terminal receives and shows the miscue.
In the technical scheme, in the technical scheme, home gateway can know each end according to the log-on message of terminal The address at end, and then complete the transmission of data, and work as that terminal is unregistered not to be found to home gateway or want to look in the terminal During the file looked for, then can prompt terminal user this time operation it is wrong, so, user can according to prompting further take it He operates.
Fig. 4 shows the functional schematic of terminal according to an embodiment of the invention.
It is the functional schematic of terminal according to an embodiment of the invention such as Fig. 4, wherein the terminal can be mobile Plug-in unit, by electric equipments such as the mobile plug-in unit of insertion, TVs WLAN terminal can also be considered, and by mobile plug-in unit Middle software realizes the operation flow on wireless local area network link.If the mobile plug-in unit of external tv, in its hardware component Including at least USB interface part, wireless lan interfaces part and HDMI part.The software section of mobile plug-in unit is at least wrapped Containing the corresponding driver of above-mentioned hardware interface part, the operating system for supporting upper layer application session protocol is supported, also comprising meeting The realization such as initial session protocol of words agreement(Session Initiation Protocol, SIP)Or expansible communication and presentation Agreement(The Extensible Messaging and Presence Protocol, XMPP), the upper strata that session protocol is realized, Should also there are the instant message application of dialogue-based agreement and the analytical capabilities module of control logic in correspondence instant message.
Fig. 5 shows the functional schematic of terminal according to another embodiment of the invention.
It is the functional schematic of terminal according to another embodiment of the invention such as Fig. 5, specifically, the terminal can be with It is the mobile terminals such as mobile phone.Be not in the HDMI being joined directly together with TV in terminal, but include at least on mobile terminal Wireless lan interfaces, and PC includes at least wired Ethernet interface.With differring primarily in that for mobile plug-in unit In layer application, the analytical capabilities of the required not only control command of instant message application, the also retrieval of control command and validity are examined The function of looking into, this function is used to aid in user's editor control command messages in instant message inputting interface, while terminal applies are also Comprising presentation, shared and file transfer applications.
Fig. 6 shows the functional schematic of home gateway according to an embodiment of the invention.
As shown in fig. 6, can not possibly there is the HDMI being joined directly together with TV in home gateway, but including at least wireless office Domain network interface.Software section drives including at least related wireless lan interfaces, operating system necessary to upper layer application Support, equally also includes the session protocol such as Session Initiation Protocol or XMPP.Agreement upper strata is except having disappearing immediately for dialogue-based agreement Breath application and correspondence instant message in control logic analytical capabilities module, can also include dialogue-based protocol realization presentation, Content is shared and file transmits class application, and by presenting, home gateway issues the state of each access device, common by content Enjoy, content is shared flow process, transmitted by file between home gateway initiating equipment, and home gateway can initiate to store in the media recorded The flow process of appearance.The also concrete media file storage function of part family gateway equipment.
Fig. 7 A and Fig. 7 B show the interface schematic diagram of instant message input according to an embodiment of the invention.
As shown in Figure 7 A, when terminal use enters instant message interface 702, can select to use common instant message Using registration uses other ends of instant messaging on this gateway under current home network will to edit information and sending End subscriber.When user selects certain options menu or button at message editing interface, and determine that interface carries using after control message Stencil-chosen interface 704 is provided for popup menu, after user selects certain template, message as shown in Figure 7 B, edit box is advance Fill in Message-text.The keyword 706 of %% symbols encapsulation can be highlighted after cursor mark, and automatic spring menu is given Option is easy to user to change.
Fig. 8 shows the idiographic flow schematic diagram of data sharing method according to an embodiment of the invention.
One time is initiated between TV and mobile phone as a example by video playback, describe technical scheme in detail by terminal below. As shown in figure 8, wherein, session protocol adopts Session Initiation Protocol to illustrate flow process, and correspondence instant message is:#share#% is from %pc@ Home% selects % to steal dream space % to %tv@home% and plays %.
Step 802, using the register command of Session Initiation Protocol client registers process is completed.
Step 803, home gateway sip server replys authentication information during client offer registration.
Step 804, client reuses the SIP registration signaling for carrying authentication information, request registration.
Step 805, server is replied successfully.
Step 806, client applies for that please read registered clients on current server asks using the subscription request of SIP The notice asked.
Step 807, server replys client, please read request and be processed.
Step 808, server sends the content of current registered client, by the notice signaling of SIP, informs client
Step 809, client replys server, notifies to receive.
Step 810, even if client sends the message with control information, even if using the message signaling of SIP
Step 811, server receives message.
Step 812, home gateway initiates the SIP callings to mobile plug-in unit, using call signaling.
Step 813, mobile plug-in unit indicates that call request is being processed.
Step 814, mobile plug-in unit indicates that call request is being processed.
Step 815, acknowledges receipt of the signaling of " processing ".
Step 816, confirms call setup.
After mobile plug-in unit is with television startup, the association process and verification process in WLAN is initiated, home gateway exists Mobile plug-in unit completes to mark this SOT state of termination to be " having been turned on not ready " during this.Subsequently mobile plug-in unit is using SIP's Register message completes in registration process, i.e. Fig. 8 step 802 to 805.Mobile plug-in unit is using that SIP's after registration Subscribe message is initiated to subscribe to flow process, subscribes to equipment list and status information of equipment in home network.Subscribe to process step pair Step 806 is answered to 809.It is also same flow process after mobile terminal-opening, correspondence step 801 to 809.Mobile phone users are being compiled After collecting the instant message for completing control command, terminal is sent to home gateway using the Message of SIP, that is, correspond to process step 810 to 811.Home gateway is received after the instant message of spcial character mark, that is, call parsing module to judge control information, is retrieved The media content gone out in PC memory space concurrently plays the video sharing service between gateway and TV.The mistake of retrieval content Journey can be using application layer conversation agreements such as HTTP, and video shared procedure still adopts the session that the INVITE of SIP is initiated 812 to 816 steps in flow process, i.e. Fig. 8.
If the media play content that terminal is initiated is stored from terminal local, the processing mode of home gateway can be at least Comprising two kinds:One is voluntarily to initiate to be shared with the video of playback equipment such as TV Room using SIP Message message informings terminals, Two is that video content is obtained first from terminal to home gateway media storage space using application layer conversation agreements such as HTTP, then Initiate the shared flow process of the video of home gateway and TV Room.
Such as Fig. 9, describe to obtain content friendship between content and mobile plug-in unit and home gateway on home gateway and PC The function of changing, step is as follows:
Step 901, video data in acquisition request PC.
Step 902, upper one obtains the success response of request, carries requested date.
Step 903, that is, correspond to the processing procedure of step 812 to step 816.
Step 904, after confirming call setup, transmits the process of video data between mobile plug-in unit and home gateway, adopt With Real-time Transport Protocol packaged media data.
In Fig. 8 in 810,811 steps, mobile phone sends control information to home gateway, home network by SIP Message Close and confirm that content source is PC after parsing message, the software module on PC is complete by 801 to 809 steps in Fig. 8 Into the registration on home gateway, home gateway utilizes the IP address of registration acknowledgement message PC, and using this IP and control Media content name and pre-configured resource relative path in message processed, determines the HTTP unified resources positioning of media content Symbol, and content is obtained by the GET request of HTTP.HTTP obtains the flow process of content can various implementation methods, including HTTP The mode of live streaming, or media content is cut into into multiple content blocks transmission.Mobile plug-in unit and family on TV SIP sessions between gateway by being initiated by home gateway(811 to 816 in Fig. 8)Media transport link is set up, is assisted using RTP View is completed.Home gateway obtains the process of media content on PC by HTTP, and home gateway is inserted by RTP to mobile The process of part transmission media can be carried out synchronously, and by home gateway the local cache strategy of switched-media during both sides is controlled.
Technical scheme is described in detail above in association with accompanying drawing, by technical scheme so that terminal User can control content of multimedia interaction flow between home network interior each networking equipment by instant message, and further lead to Cross instant message to combine various operations, realize the control to complicated content of multimedia interaction flow.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (7)

1. a kind of home gateway, it is characterised in that include:
Receiving unit, the specified instant message that any terminal for receiving the home gateway sends, wherein, institute Specified instant message is stated including control information, data is activation end message, data receiving terminal letter are included in the control information Breath, data content and control operation;
Resolution unit, for parsing to the specified instant message, from the specified instant message control is parsed Information processed;
Extraction unit, for extracting the data is activation end message, the data receiving terminal from the control information Information, the data content and the control operation;
Acquiring unit, for finding out data file corresponding with the data content from data is activation terminal, and obtains institute State data file;
File transmission unit, to data receiving terminal, and the control is performed for by the transmitting data file for getting Operation.
2. home gateway according to claim 1, it is characterised in that also include:
Memory cell, for when the acquiring unit gets the data file, storing the data file;And
Unit is deleted, for after the data file is successfully transmitted to into the data receiving terminal, deleting the data text Part.
3. home gateway according to claim 1 and 2, it is characterised in that also include:
Detector unit, for detecting the data is activation terminal and/or whether registered to the described home network of data receiving terminal Close, and whether the acquiring unit gets the data file;
Tip element, for detecting the data is activation terminal in the detector unit and/or data receiving terminal is unregistered When not getting the data file to the home gateway, and/or the acquiring unit, to any terminal mistake is sent Prompting.
4. a kind of data sharing method, it is characterised in that include:
Terminal receives setting command according to reception, arranges and specifies instant message, and shows the specified instant message, wherein, institute Specified instant message is stated including control information, data is activation end message, data receiving terminal letter are included in the control information Breath, data content and control operation;
The terminal sends the specified instant message to registered successful home network according to the transmission order for receiving Close;
The home gateway receives the specified instant message that the terminal sends, and the specified instant message is parsed, from The control information is parsed in the specified instant message, and the data is activation terminal is extracted from the control information Information, the data receiving terminal information, the data content and the control operation;
The home gateway finds out data file corresponding with the data content from data is activation terminal, and obtains described Data file;
The transmitting data file for getting to data receiving terminal, and is performed the control operation by the home gateway.
5. data sharing method according to claim 4, it is characterised in that also include:
The home gateway stores the data file when the data file is got;And
After the data file is successfully transmitted to into the data receiving terminal, the data file is deleted.
6. data sharing method according to claim 4, it is characterised in that also include:
The terminal also judges whether the specified instant message meets default setting rule, when judged result is to be, sends out Send the specified instant message to the home gateway specified, otherwise, do not send the specified instant message and specify to described Home gateway.
7. the data sharing method according to any one of claim 4 to 6, it is characterised in that also include:
The home gateway detects the data is activation terminal and/or whether registered to the described home network of data receiving terminal Close, and whether get the data file;
The home gateway is detecting the data is activation terminal and/or the data receiving terminal home network Close, and/or when not getting the data file, to the terminal miscue is sent;
The terminal receives and shows the miscue.
CN201310692634.3A 2013-12-16 2013-12-16 Home gateway, terminal and data sharing method Active CN103684992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310692634.3A CN103684992B (en) 2013-12-16 2013-12-16 Home gateway, terminal and data sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310692634.3A CN103684992B (en) 2013-12-16 2013-12-16 Home gateway, terminal and data sharing method

Publications (2)

Publication Number Publication Date
CN103684992A CN103684992A (en) 2014-03-26
CN103684992B true CN103684992B (en) 2017-04-26

Family

ID=50321358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310692634.3A Active CN103684992B (en) 2013-12-16 2013-12-16 Home gateway, terminal and data sharing method

Country Status (1)

Country Link
CN (1) CN103684992B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717289B (en) * 2015-03-10 2018-07-20 三星电子(中国)研发中心 A kind of method of data synchronization and device
CN106470144A (en) * 2015-08-14 2017-03-01 中兴通讯股份有限公司 A kind of message treatment method and device
CN105185391B (en) * 2015-08-27 2017-08-04 三星电子(中国)研发中心 A kind of multi-user's audio amplifier control method and device
CN106452999B (en) * 2016-09-30 2020-09-22 海尔优家智能科技(北京)有限公司 Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN110391932B (en) 2019-06-03 2021-10-22 杭州未名信科科技有限公司 Multi-device media data management system and method and robot device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729442A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Method and device for realizing content sharing
CN101894452A (en) * 2010-04-30 2010-11-24 中山大学 Mobile communication network-based intelligent home control method and system
CN101951331A (en) * 2010-07-30 2011-01-19 华南理工大学 Digital household network multimedia sharing system and sharing method thereof
CN102957583A (en) * 2011-08-23 2013-03-06 天津三星电子有限公司 Digital home network based method for sending files from computer to television for playing
CN103023931A (en) * 2011-09-20 2013-04-03 希姆通信息技术(上海)有限公司 User terminal content sharing method and system, user terminal and sharing server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729442A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Method and device for realizing content sharing
CN101894452A (en) * 2010-04-30 2010-11-24 中山大学 Mobile communication network-based intelligent home control method and system
CN101951331A (en) * 2010-07-30 2011-01-19 华南理工大学 Digital household network multimedia sharing system and sharing method thereof
CN102957583A (en) * 2011-08-23 2013-03-06 天津三星电子有限公司 Digital home network based method for sending files from computer to television for playing
CN103023931A (en) * 2011-09-20 2013-04-03 希姆通信息技术(上海)有限公司 User terminal content sharing method and system, user terminal and sharing server

Also Published As

Publication number Publication date
CN103684992A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
US9912999B2 (en) System for managing media services
CN104618780B (en) Electrical equipment control method and system
CN103684992B (en) Home gateway, terminal and data sharing method
EP2428013B1 (en) Session push transfer
US9979690B2 (en) Method and apparatus for social network communication over a media network
US20210303521A1 (en) Device searching system and method for data transmission
US20140253803A1 (en) Method, Apparatus, and System for Displaying Interactive Message
CN102577309A (en) System, method and apparatus for dynamic media file streaming
US11196691B2 (en) Method and apparatus for distributing content to communication devices
CN104902295A (en) Intelligent TV business realization method, terminal device and system
EP4262180A1 (en) Call processing method, call processing apparatus and related device
US8908853B2 (en) Method and device for displaying information
US10674189B2 (en) Methods, systems, and devices for providing a video trailer for media content during a voice communication session
CN102111877B (en) Method for sensing service activity of user, base station and network side device and system
US9538234B2 (en) Time-shifting of a live media stream
CN103841141B (en) A kind of multimedia communications system and method
CN101951381A (en) Digital television receiving terminal and method thereof for realizing multimedia instant messaging
MX2013001555A (en) Stream media channel switch method, switch agent, client and terminal.
KR101741237B1 (en) System and method for providing multi modal typed interactive auto response service
KR101528268B1 (en) System and method for streaming content to remote locations
US20090041007A1 (en) Method and system for obtaining internet radio resources based on session initiation protocol
Anand A New SIP Based Services Connecting IMS and DLNA for Future Converged Networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant