CN106411835A - Transmission method and apparatus based on AllJoyn Control Panel - Google Patents

Transmission method and apparatus based on AllJoyn Control Panel Download PDF

Info

Publication number
CN106411835A
CN106411835A CN201610351487.7A CN201610351487A CN106411835A CN 106411835 A CN106411835 A CN 106411835A CN 201610351487 A CN201610351487 A CN 201610351487A CN 106411835 A CN106411835 A CN 106411835A
Authority
CN
China
Prior art keywords
message
network
control panel
source device
purpose equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610351487.7A
Other languages
Chinese (zh)
Other versions
CN106411835B (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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610351487.7A priority Critical patent/CN106411835B/en
Publication of CN106411835A publication Critical patent/CN106411835A/en
Application granted granted Critical
Publication of CN106411835B publication Critical patent/CN106411835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a transmission method and apparatus based on an AllJoyn Control Panel. The method comprises that a corresponding target network identification is written in a message at a source equipment side according to a network where target equipment is; the message is sent to a gateway, and the gateway sends the message to the target equipment according to the target network identification; after the message from source equipment is received at a gateway side, the target network identification in the message is extracted; and the message is sent to target equipment in a network corresponding to the target network identification. The embodiment of the invention increases the target network identification in the message for discriminating whether the message is transmitted in a local area network or toward an external network, so that the AllJoyn Control Panel is enabled to be suitable for the local area network and the inter-network scene.

Description

A kind of transmission method based on AllJoyn Control Panel and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of transmission method based on AllJoyn Control Panel and device.
Background technology
AllJoyn is a point-to-point framework on client/server (Client/Server) model, it is mainly used to realize cross operating system, the communication for information across language with across mechanics of communication, be a current very big Open Framework of power of influence in the world.Control panel (Control Panel) service framework of AllJoyn is one of four big infrastructure service frameworks of AllJoyn.
Control Panel allows the other equipment that in LAN, equipment closes on in this LAN to broadcast its virtual control panel, wherein, this broadcaster is referred to as subject to prosecutor;Support in LAN that the equipment of Control Panel can render the virtual control panel broadcasted by prosecutor on the screen of oneself, wherein, the equipment rendering is referred to as controlling party, thus user can be realized to the interaction by prosecutor by controlling party.
AllJoyn Control Panel is only applicable to LAN at present.If the user desired that inter-network operates the function of distinct device, cannot be realized based on current Control Panel mechanism, therefore existing AllJoyn Control Panel service framework limitation is larger.
For example:User come home from work before half an hour, wish by the electrical equipment of the mobile phone control family of oneself so that the temperature in room, all in a kind of suitable working condition, is such as adjusted to a suitable value by them, by the water heater heating between bathing, the water heater in kitchen is plugged and starts to heat up water etc..But it is based on existing AllJoyn Control Panel mechanism, has no idea to realize user's request, because the scope of application of existing Control Panel mechanism is limited in a local network, inter-network operation cannot be realized.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of transmission method based on AllJoyn Control Panel and device, in order to solve the problems, such as that existing AllJoyn Control Panel is only applicable to LAN.
For above-mentioned technical problem, the present invention to solve by the following technical programs.
The invention provides a kind of transmission method based on AllJoyn Control Panel, the step that methods described executes in source device side includes:Network according to residing for purpose equipment, writes corresponding purpose network identity in messages;Described message is sent to gateway, so that described gateway, according to described purpose network identity, described message is sent to described purpose equipment.
Wherein, the type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Described network according to residing for purpose equipment, writes corresponding purpose network identity in messages, including:If purpose equipment is in the outside of source device place network, write inter-network mark in messages;And/or, if purpose equipment is in the inside of source device place network, write Intranet mark in messages.
Wherein, described write corresponding purpose network identity in messages, including:Corresponding purpose network identity is write in the preset field of described message.
Wherein, if described source device is the controlled device in AllJoyn Control Panel, then pass through and described purpose equipment transmitting message, the virtual control panel information transfer of described source device is given described purpose equipment, so that described purpose equipment is controlled to described source device based on the virtual control panel information of described source device;If described source device is the control device in AllJoyn Control Panel, then pass through and described purpose equipment transmitting message, receive the virtual control panel information of the described purpose equipment that described purpose equipment sends, to be controlled to described purpose equipment based on the virtual control panel information of described purpose equipment.
Wherein, described message is connection request message, connection response message, request of data message or data response message.
Present invention also offers a kind of transmission method based on AllJoyn Control Panel, the step that methods described executes in gateway side includes:Receiving after the message of source device, extracting the purpose network identity in described message;Send described message to the purpose equipment being in described purpose network identity map network.
Wherein, the type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Described send described message to the purpose equipment that is in described purpose network identity map network, including:If described purpose network identity identifies then it represents that described purpose equipment is in the outside of described source device place network for inter-network, described message is sent to the described purpose equipment being in external network;And/or, if described purpose network identity identifies then it represents that described purpose equipment is in the inside of described source device place network for Intranet, described message is sent to the described purpose equipment being in internal network.
Wherein, the described purpose network identity extracting in described message, including:Target network identity is extracted in the preset field of described message.
Wherein, described message is connection request message, connection response message, request of data message or data response message.
Present invention also offers a kind of transmitting device based on AllJoyn Control Panel, the described device being arranged on source device side includes:Writing module, for network according to residing for purpose equipment, writes corresponding purpose network identity in messages;First transceiver module, for sending described message to gateway, so that described gateway, according to described purpose network identity, described message is sent to described purpose equipment.
Wherein, the type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Said write module, if be in the outside of source device place network for purpose equipment, write inter-network mark in messages;And/or, if purpose equipment is in the inside of source device place network, write Intranet mark in messages.
Wherein, said write module, for writing corresponding purpose network identity in the preset field of described message.
Wherein, described first transceiver module, is used for:If described source device is the controlled device in AllJoyn Control Panel, then pass through and described purpose equipment transmitting message, the virtual control panel information transfer of described source device is given described purpose equipment, so that described purpose equipment is controlled to described source device based on the virtual control panel information of described source device;If described source device is the control device in AllJoyn Control Panel, then pass through and described purpose equipment transmitting message, receive the virtual control panel information of the described purpose equipment that described purpose equipment sends, to be controlled to described purpose equipment based on the virtual control panel information of described purpose equipment.
Wherein, described message is connection request message, connection response message, request of data message or data response message.
Present invention also offers a kind of transmitting device based on AllJoyn Control Panel, the described device being arranged on gateway side includes:Extraction module, for receiving after the message of source device, extracts the purpose network identity in described message;Second transceiver module, for sending described message to the purpose equipment being in described purpose network identity map network.
Wherein, the type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Described second transceiver module, if identified then it represents that described purpose equipment is in the outside of described source device place network for inter-network for described purpose network identity, described message is sent to the described purpose equipment being in external network;And/or, if described purpose network identity identifies then it represents that described purpose equipment is in the inside of described source device place network for Intranet, described message is sent to the described purpose equipment being in internal network.
Wherein, described extraction module, for extracting target network identity in the preset field of described message.
Wherein, described message is connection request message, connection response message, request of data message or data response message.
The present invention has the beneficial effect that:
The embodiment of the present invention passes through to increase in messages purpose network identity, distinguishing message is transmission in a local network or external network transmission, AllJoyn Control Panel is made to be applicable not only in LAN, can be applied in inter-network scene, increased the motility of AllJoyn Control Panel.
Brief description
Fig. 1 is the flow chart of the transmission method based on AllJoyn Control Panel according to an embodiment of the invention;
Fig. 2 is the flow chart of the transmission method based on AllJoyn Control Panel according to an embodiment of the invention;
Fig. 3 is the message format of connection request message according to an embodiment of the invention;
Fig. 4 is the message format of connection response message according to an embodiment of the invention;
Fig. 5 is the message format of request of data message according to an embodiment of the invention;
Fig. 6 is the message format of data response message according to an embodiment of the invention;
Fig. 7 is the rete mirabile remotely control sequential chart based on AllJoyn Control Panel according to an embodiment of the invention;
Fig. 8 is the rete mirabile remotely control sequential chart based on AllJoyn Control Panel according to an embodiment of the invention;
Fig. 9 is the structure chart of the transmitting device based on AllJoyn Control Panel according to an embodiment of the invention;
Figure 10 is the structure chart of the transmitting device based on AllJoyn Control Panel according to an embodiment of the invention.
Specific embodiment
The present invention is improved to message format, increased the attribute field sending to Intranet for identification and sending to outer net, making outer net equipment can control Intranet equipment, realize more flexible operation, enriching the use scene of user further, thus lifting Consumer's Experience.
Below in conjunction with accompanying drawing and embodiment, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein, only in order to explain the present invention, does not limit the present invention.
Embodiments provide a kind of transmission method based on AllJoyn Control Panel in the execution of source device side, Fig. 1 is the flow chart of the transmission method based on AllJoyn Control Panel according to an embodiment of the invention.The present embodiment executes in source device side.
Step S110, network according to residing for purpose equipment, write corresponding purpose network identity in messages.
Step S120, described message is sent to gateway, so that described gateway, according to described purpose network identity, described message is sent to described purpose equipment.
Source device and purpose equipment are all to support AllJoyn framework, and are connectable to the equipment of network.In the present embodiment, source device is the equipment being connected to internal network, is such as connected to the equipment of LAN, and purpose equipment is the equipment being connected to this LAN or being connected to external network.
Target network identity is used for recognition purpose equipment and whether source device is in consolidated network.It is in distinguish purpose equipment in the internal network at source device place or is in external network, write corresponding purpose network identity in messages.The type of purpose network identity includes:Inter-network mark and/or Intranet mark.Inter-network mark represents that purpose equipment and source device are in heterogeneous networks, and source device is in internal network (LAN), and purpose equipment is in external network.Intranet mark represents that purpose equipment and source device are among consolidated network, all in internal network.
If purpose equipment is in the outside of source device place network, that is, message needs external network to send, then write inter-network identifies in messages;And/or, if purpose equipment is in the inside of source device place network, that is, message needs internally network to send, then write Intranet identifies in messages.It is possible to further determine that purpose equipment is in the outside or inside of source device place network according to the IP address of purpose equipment.
Further, the preset field of message writes corresponding purpose network identity.This preset field can be the newer field increasing in existing message, for example:This newer field is remotely control (Remote Control, abbreviation RMT) field, is to send to Intranet or to outer net transmission by this RMT field identification message.
The message generating is sent to the gateway of source device side, according to the purpose network identity in message, this gateway judges that internally network sends this message or external network sends.
The embodiment of the present invention passes through to increase in messages purpose network identity, distinguishing message is transmission in a local network or external network transmission, AllJoyn Control Panel is made to be applicable not only in LAN, can be applied in inter-network scene, increased the motility of AllJoyn Control Panel.
Embodiments provide a kind of transmission method in gateway side execution based on AllJoyn Control Panel, Fig. 2 is the flow chart of the transmission method based on AllJoyn Control Panel according to an embodiment of the invention.The present embodiment executes in the gateway positioned at source device side.
Step S210, is receiving after the message of source device, is extracting the purpose network identity in message.
Step S220, sends described message to the purpose equipment being in described purpose network identity map network.
Target network identity can be extracted in the preset field of message.For example:Target network identity is extracted in the RMT field of message.The type of target network identity includes:Inter-network mark and/or Intranet mark.
If purpose network identity identifies then it represents that purpose equipment is in the outside of source device place network for inter-network, message is sent to the purpose equipment being in external network.I.e. inside LAN, purpose equipment, in outer net, identifies source device according to inter-network, and message is sent to the purpose equipment positioned at outer net.
If purpose network identity identifies then it represents that purpose equipment is in the inside of source device place network for Intranet, message is sent to the purpose equipment being in internal network.I.e. source device and purpose equipment, all inside the LAN that source device is located, identify according to Intranet, message are sent to the purpose equipment in LAN.
Specifically, after receiving message, extract the RMT field in message;If RMT field is only used for carrying inter-network mark, judge whether RMT field carries inter-network mark;If it is, according to the destination address of message, message is sent to the purpose equipment outside LAN;If it is not, then according to the destination address of message, message is sent to the purpose equipment within LAN.If RMT field is only used for carrying Intranet mark, judge whether RMT field carries Intranet mark;If it is, according to the destination address of message, message is sent to the purpose equipment within LAN;If it is not, then according to the destination address of message, message is sent to the purpose equipment outside LAN.If RMT field both can carry Intranet mark and can also carry inter-network mark, above two mode is selected one and is executed.
For the message in the embodiment of the present invention, specifically:
The present invention is based on AllJoyn Control Panel service framework, adds auxiliary layer, to change existing message format, to increase the field for carrying purpose network identity in Control Panel.Auxiliary layer is used for existing message is encapsulated again, makes the RMT field in message become meaningful, so that the purpose network identity in this RMT field can be identified by gateway.
In order to realize equipment control, the type of message includes:Connection request message, connection response message, request of data message, data response message.Connection request message is used for control device request and is connected with controlled device foundation.Connection response message is used for the connection request of controlled device response control device, sets up with control device and is connected.Request of data message is used for control device to controlled device request data.Data response message is used for the request of data of controlled device responsive control device, and by the data feedback of request to control device.When being subsequently described to rete mirabile remote control process, it will the use to message illustrates.
The present embodiment proposes the message format shown in Fig. 3~Fig. 6.Wherein, Fig. 3 is the message format of the connection request message of the present embodiment;Fig. 4 is the message format of the connection response message of the present embodiment;Fig. 5 is the message format of the request of data message of the present embodiment;Fig. 6 is the message format of the data response message of the present embodiment.
According to Fig. 3~Fig. 6, in existing connection request message, connection response message, request of data message data response message, all add RMT field, RMT field writes purpose network identity.So, just can distinguish message according to the RMT field in message is to access Intranet or access outer net.
Based on the present embodiment, under AllJoyn Control Panel service framework, source device and purpose equipment can be realized controlling and controlled function.If source device is control device, purpose equipment is controlled device;If source device is controlled device, purpose equipment is control device.
Specifically, if source device is the controlled device in AllJoyn Control Panel, then pass through and purpose equipment transmitting message, by the virtual control panel information transfer of source device to purpose equipment, so that purpose equipment is controlled to source device based on the virtual control panel information of source device;If source device is the control device in AllJoyn Control Panel, then pass through and purpose equipment transmitting message, receive the virtual control panel information of the purpose equipment that purpose equipment sends, to be controlled to purpose equipment based on the virtual control panel information of purpose equipment.Wherein, virtual control panel information includes:Virtual control, control parameter, control action instruction etc..
Based on the embodiment of the present invention, it is possible to achieve the rete mirabile remotely control based on AllJoyn Control Panel.
Because, in rete mirabile remotely control, purpose network identity is all inter-network mark, gateway plays and for interior network packet to be forwarded to outer net, outer network packet is forwarded to the effect of Intranet, therefore, when describing rete mirabile remotely control, gateway wouldn't be illustrated, only control device and controlled device are described.
A kind of embodiment of the rete mirabile remotely control of static state is given below, the present invention to be further described.Static rete mirabile remotely control refers to that control device actively calls the function of controlled device.
Fig. 7 is the rete mirabile remotely control sequential chart based on AllJoyn Control Panel according to an embodiment of the invention.
Step 1, controlled device registers remote component object.
Controlled device registration remote component object is exactly to provide coloured interface element, that is, provide the function information that controlled device can be controlled with controlled device.
Step 2, control device detects whether to support Control Panel.Control Panel interface.
Control device supports that Control Panel.Control Panel interface represents that control device supports AllJoyn Control Panel service framework.
Step 3, in the case that control device supports Control Panel.Control Panel interface, control device sends connection request message to controlled device.
RMT=1, RST=1 in this connection request message.
RMT field is used for writing purpose network identity.RMT=1 identifies for inter-network;RMT=0 identifies for Intranet.RST field is used for setting up connection.RST=1 is that connection is set up in request.
Step 4, control device sends checking information to controlled device.
This checking information can be carried in connection request message, or by carrying this checking information in other kinds of message, to reach the purpose transmitting authentication information to controlled device.
Checking information is verified to control device for controlled device, determines whether control device has the authority controlling controlled device.Checking information can be the facility information of control device.As:Device id, hardware encryption of equipment etc..
Step 5, in the case of being verified, controlled device obtains and travels through object and the port of virtual control panel.
Controlled device is verified to control device according to checking information, in the case of being verified, obtains and travel through object and the port of virtual control panel, in the case that checking is not passed through, terminates flow process.
Specific verification mode is varied, will not be described here.
Controlled device travels through object and the port of virtual control panel, it is possible to obtain virtual control panel information.
Step 6, controlled device sends connection response message to control device, carries the virtual control panel information of controlled device in this connection response message.
ACK=1, RST=1, RMT=1 in this connection response message.
For responding to request message, ACK=1 is response to ACK (Acknowledgement confirms character).
The virtual control panel information of controlled device can write in the XML file data of connection response message.
Step 7, control device builds the assembly tree of the virtual control panel of controlled device based on the virtual control panel information of controlled device.
Assembly tree is for showing the virtual control panel of controlled device.
Step 8, control device sends request of data message to controlled device, calls controlled device side Properties.GetAll () by request of data message, obtains the metadata of currency (Property) and assembly.
RST=1, RMT=1 in this request of data message.
Properties.GetAll () function is used for obtaining all of control function of controlled device.Metadata is control function, currency is the parameter value of control function.
Step 9, controlled device passes through to send data response message to control device, and metadata and currency are fed back to control device.ACK=1, RST=1, RMT=1 in this data response message.
Step 10, control device renders the virtual control panel of controlled device according to the metadata of assembly tree and currency.
Step 11, user uses user interface (User Interface, abbreviation UI) assembly to change the Property value of controlled device in control device side.
When can be changed before value.After control device side renders and completes, user can change the Property value of a certain metadata of controlled device to the virtual control panel of controlled device in control device side using UI assembly.
Step 12, control device sends request of data message to controlled device, calls the Property.SetValue () function of controlled device side by request of data message.
RST=1, RMT=1 in this request of data message.
Property.SetValue () function is used for setting a certain metadata corresponding Property value, pass through UI assembly after control device changes Property value in user, realize the final change in controlled device side for this Property value by calling Property.SetValue () function.
Step 13, controlled device passes through to send data response message to control device, to control device sending signal Property.ValueChanged ().
ACK=1, RST=1, RMT=1 in this data response message.
When the corresponding currency of a certain metadata changes, Property.SetValue () function will trigger Property.ValueChanged (), sends the Property value after this metadata changes to control device.
Step 14, user clicks on the virtual control panel of controlled device in control device side, starts control process.
Step 15, control device calls Action.Exec (), and controlled device is controlled.
Action.Exec () function is used for calling the function of controlled device, calls Action.Exec () function can assign control command to controlled device.
Step 16, controlled device executes order, realizes the rete mirabile remotely control to controlled device for the control device.
A kind of embodiment of dynamic rete mirabile remotely control is given below, the present invention to be further described.In the case that dynamic rete mirabile remotely control refers to that the data of controlled device changes, control device calls the function of controlled device.
Fig. 8 is the rete mirabile remotely control sequential chart based on AllJoyn Control Panel according to an embodiment of the invention.
Step 1, controlled device registers remote component object.
Step 2, control device detects whether to support Control Panel.Control Panel interface.
Step 3, in the case that control device supports Control Panel.Control Panel interface, control device sends connection request message to controlled device.RMT=1, RST=1 in this connection request message.
Step 4, control device sends checking information to controlled device.
Step 5, in the case of being verified, controlled device obtains and travels through object and the port of virtual control panel.
Step 6, controlled device sends connection response message to control device, carries the virtual control panel information of controlled device in this connection response message.
ACK=1, RST=1, RMT=1 in this connection response message.
Step 7, control device builds the assembly tree of the virtual control panel of controlled device based on the virtual control panel information of controlled device.
Step 8, control device sends request of data message to controlled device, calls controlled device side Properties.GetAll () by request of data message, obtains the metadata of currency and assembly.
RST=1, RMT=1 in this request of data message.
Step 9, controlled device passes through to send data response message to control device, and metadata and currency are fed back to control device.ACK=1, RST=1, RMT=1 in this data response message.
Step 10, control device renders the virtual control panel of controlled device according to the metadata of assembly tree and currency.
Step 11, user uses UI assembly to change the Property value of controlled device in control device side.
Step 12, control device sends request of data message to controlled device, calls the Property.SetValue () function of controlled device side by request of data message.
RST=1, RMT=1 in this request of data message.
Step 13, controlled device passes through to send data response message to control device, to control device sending signal Property.ValueChanged ().
ACK=1, RST=1, RMT=1 in this data response message.
Step 14, user clicks on the virtual control panel of controlled device in control device side, starts control process.
Step 15, controlled device passes through to send data response message to control device, to control device sending signal Property.MetaDataChanged ().
ACK=1, RST=1, RMT=1 in this data response message.
If the currency of a certain metadata of controlled device changes, controlled device sends Property.MetaDataChanged () to control device, to inform this change of control device.
This step 15 is the dynamic rete mirabile remotely control in order to realize control device to controlled device.
Step 16, control device calls Action.Exec (), and controlled device is controlled.
Step 17, controlled device executes order.
Based on the embodiment of the present invention, can be under AllJoyn Control Panel service framework, access the equipment in other places anywhere or anytime, make the operation behavior of user more flexible, without being confined in LAN, and reduce the dependency to remote control equipment, message just can be sent to purpose equipment by remote control equipment by source device, i.e. control device still can be controlled to controlled device by remote control equipment, flexible and extensibility height.
The invention provides a kind of transmitting device based on AllJoyn Control Panel being arranged on source device side, Fig. 9 is the structure chart of the transmitting device based on AllJoyn Control Panel according to an embodiment of the invention.
It is arranged on the transmitting device based on AllJoyn Control Panel of source device side, including:
Writing module 910, for network according to residing for purpose equipment, writes corresponding purpose network identity in messages.Described message is connection request message, connection response message, request of data message or data response message.
First transceiver module 920, for sending described message to gateway, so that described gateway, according to described purpose network identity, described message is sent to described purpose equipment.
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Said write module 910, if be in the outside of source device place network for purpose equipment, write inter-network mark in messages;And/or, if purpose equipment is in the inside of source device place network, write Intranet mark in messages.Further, said write module 910, for writing corresponding purpose network identity in the preset field of described message.
Described first transceiver module 920, if being the controlled device in AllJoyn Control Panel for described source device, then pass through and described purpose equipment transmitting message, the virtual control panel information transfer of described source device is given described purpose equipment, so that described purpose equipment is controlled to described source device based on the virtual control panel information of described source device;If described source device is the control device in AllJoyn Control Panel, then pass through and described purpose equipment transmitting message, receive the virtual control panel information of the described purpose equipment that described purpose equipment sends, to be controlled to described purpose equipment based on the virtual control panel information of described purpose equipment.
The function of the device described in the present embodiment is described in the embodiment of the method shown in Fig. 1, Fig. 3~Fig. 8, therefore not detailed part in the description of the present embodiment, may refer to the related description in previous embodiment, will not be described here.
The invention provides a kind of transmitting device based on AllJoyn Control Panel being arranged on gateway side, Figure 10 is the structure chart of the transmitting device based on AllJoyn Control Panel according to an embodiment of the invention.
It is arranged on the transmitting device based on AllJoyn Control Panel of gateway side, including:
Extraction module 1010, for receiving after the message of source device, extracts the purpose network identity in described message.Described message is connection request message, connection response message, request of data message or data response message.
Second transceiver module 1020, for sending described message to the purpose equipment being in described purpose network identity map network.
Described extraction module 1010, for extracting target network identity in the preset field of described message.
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;Described second transceiver module 1020, if identified then it represents that described purpose equipment is in the outside of described source device place network for inter-network for described purpose network identity, described message is sent to the described purpose equipment being in external network;And/or, if described purpose network identity identifies then it represents that described purpose equipment is in the inside of described source device place network for Intranet, described message is sent to the described purpose equipment being in internal network.
The function of the device described in the present embodiment is described in the embodiment of the method shown in Fig. 2~Fig. 8, therefore not detailed part in the description of the present embodiment, may refer to the related description in previous embodiment, will not be described here.
Although being example purpose, have been disclosed for the preferred embodiments of the present invention, those skilled in the art will recognize that various improvement, increase and replacement are also possible, and therefore, the scope of the present invention should be not limited to above-described embodiment.

Claims (18)

1. a kind of transmission method based on AllJoyn control panel Control Panel it is characterised in that Include in the step of source device side execution:
Network according to residing for purpose equipment, writes corresponding purpose network identity in messages;
Described message is sent to gateway, so that described gateway is according to described purpose network identity, by described report Literary composition sends to described purpose equipment.
2. the method for claim 1 it is characterised in that
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;
Described network according to residing for purpose equipment, writes corresponding purpose network identity in messages, including:
If purpose equipment is in the outside of source device place network, write inter-network mark in messages;With If purpose equipment is in the inside of source device place network, write Intranet mark in messages.
3. method as claimed in claim 2 is it is characterised in that described write corresponding mesh in messages Network identity, including:Corresponding purpose network identity is write in the preset field of described message.
4. the method for claim 1 it is characterised in that
If described source device is the controlled device in AllJoyn Control Panel, pass through and described mesh Device transmission message, by the virtual control panel information transfer of described source device give described purpose equipment, with Described purpose equipment is made based on the virtual control panel information of described source device, described source device to be controlled;
If described source device is the control device in AllJoyn Control Panel, pass through and described mesh Device transmission message, receive the virtual control panel information of the described purpose equipment that described purpose equipment sends, To be controlled to described purpose equipment based on the virtual control panel information of described purpose equipment.
5. the method as any one of claim 1-4 is it is characterised in that described message is to connect Request message, connection response message, request of data message or data response message.
6. a kind of transmission method based on AllJoyn control panel Control Panel it is characterised in that Include in the step of gateway side execution:
Receiving after the message of source device, extracting the purpose network identity in described message;
Send described message to the purpose equipment being in described purpose network identity map network.
7. method as claimed in claim 6 it is characterised in that
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;
Described send described message to the purpose equipment that is in described purpose network identity map network, including:
If described purpose network identity identifies then it represents that described purpose equipment is in described source device for inter-network The outside of place network, described message is sent to the described purpose equipment being in external network;And/or,
If described purpose network identity identifies then it represents that described purpose equipment is in described source device for Intranet The inside of place network, described message is sent to the described purpose equipment being in internal network.
8. method as claimed in claim 6 is it is characterised in that purpose in the described message of described extraction Network identity, including:Target network identity is extracted in the preset field of described message.
9. the method as described in claim 6-8 it is characterised in that described message be connection request message, Connection response message, request of data message or data response message.
10. a kind of transmitting device based on AllJoyn control panel Control Panel it is characterised in that The described device being arranged on source device side includes:
Writing module, for network according to residing for purpose equipment, writes corresponding purpose network mark in messages Know;
First transceiver module, for sending described message to gateway, so that described gateway is according to described purpose Network identity, described message is sent to described purpose equipment.
11. devices as claimed in claim 10 it is characterised in that
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;
Said write module, if be in the outside of source device place network, in message for purpose equipment Middle write inter-network mark;And/or, if purpose equipment is in the inside of source device place network, in message Middle write Intranet mark.
12. devices as claimed in claim 11 it is characterised in that said write module, in institute Corresponding purpose network identity is write in the preset field stating message.
13. devices as claimed in claim 10, it is characterised in that described first transceiver module, are used for:
If described source device is the controlled device in AllJoyn Control Panel, pass through and described mesh Device transmission message, by the virtual control panel information transfer of described source device give described purpose equipment, with Described purpose equipment is made based on the virtual control panel information of described source device, described source device to be controlled;
If described source device is the control device in AllJoyn Control Panel, pass through and described mesh Device transmission message, receive the virtual control panel information of the described purpose equipment that described purpose equipment sends, To be controlled to described purpose equipment based on the virtual control panel information of described purpose equipment.
14. devices as any one of claim 10-13 are it is characterised in that described message is even Connect request message, connection response message, request of data message or data response message.
A kind of 15. transmitting devices based on AllJoyn control panel Control Panel it is characterised in that The described device being arranged on gateway side includes:
Extraction module, for receiving after the message of source device, extracts the purpose in described message Network identity;
Second transceiver module, for sending to the purpose equipment being in described purpose network identity map network Described message.
16. devices as claimed in claim 15 it is characterised in that
The type of described purpose network identity includes:Inter-network mark and/or Intranet mark;
Described second transceiver module, if for described purpose network identity for inter-network mark then it represents that described Purpose equipment is in the outside of described source device place network, by described message to being in described in external network Purpose equipment sends;And/or, if described purpose network identity identifies then it represents that described purpose sets for Intranet The standby inside being in described source device place network, described message is set to the described purpose being in internal network Preparation is sent.
17. devices as claimed in claim 15 it is characterised in that described extraction module, in institute State extraction target network identity in the preset field of message.
18. devices as described in claim 15-17 are it is characterised in that described message is connection request report Literary composition, connection response message, request of data message or data response message.
CN201610351487.7A 2016-05-25 2016-05-25 A kind of transmission method and device based on AllJoyn Control Panel Active CN106411835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610351487.7A CN106411835B (en) 2016-05-25 2016-05-25 A kind of transmission method and device based on AllJoyn Control Panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610351487.7A CN106411835B (en) 2016-05-25 2016-05-25 A kind of transmission method and device based on AllJoyn Control Panel

Publications (2)

Publication Number Publication Date
CN106411835A true CN106411835A (en) 2017-02-15
CN106411835B CN106411835B (en) 2019-09-06

Family

ID=58006304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610351487.7A Active CN106411835B (en) 2016-05-25 2016-05-25 A kind of transmission method and device based on AllJoyn Control Panel

Country Status (1)

Country Link
CN (1) CN106411835B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117282A (en) * 2018-07-16 2019-01-01 阿里巴巴集团控股有限公司 A kind of data transmission method, communication part, apparatus and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202664A (en) * 2007-11-30 2008-06-18 华为技术有限公司 Method for reporting equipment information, system and method for obtaining equipment information
CN101330409A (en) * 2008-08-01 2008-12-24 杭州华三通信技术有限公司 Method and system for detecting network loophole
CN103095546A (en) * 2013-01-28 2013-05-08 华为技术有限公司 Method, device and data center network for processing messages
CN104378297A (en) * 2013-08-15 2015-02-25 杭州华三通信技术有限公司 Message forwarding method and device
CN104461584A (en) * 2014-12-31 2015-03-25 北京海尔广科数字技术有限公司 AllJoyn network asynchronous event and action triggering method and device
CN104536756A (en) * 2014-12-30 2015-04-22 北京海尔广科数字技术有限公司 Method and device for sending and processing AllJoyn network message
CN104601472A (en) * 2015-02-04 2015-05-06 盛科网络(苏州)有限公司 Chip VXLAN gateway distributed routing implementation method and message processing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202664A (en) * 2007-11-30 2008-06-18 华为技术有限公司 Method for reporting equipment information, system and method for obtaining equipment information
CN101330409A (en) * 2008-08-01 2008-12-24 杭州华三通信技术有限公司 Method and system for detecting network loophole
CN103095546A (en) * 2013-01-28 2013-05-08 华为技术有限公司 Method, device and data center network for processing messages
CN104378297A (en) * 2013-08-15 2015-02-25 杭州华三通信技术有限公司 Message forwarding method and device
CN104536756A (en) * 2014-12-30 2015-04-22 北京海尔广科数字技术有限公司 Method and device for sending and processing AllJoyn network message
CN104461584A (en) * 2014-12-31 2015-03-25 北京海尔广科数字技术有限公司 AllJoyn network asynchronous event and action triggering method and device
CN104601472A (en) * 2015-02-04 2015-05-06 盛科网络(苏州)有限公司 Chip VXLAN gateway distributed routing implementation method and message processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117282A (en) * 2018-07-16 2019-01-01 阿里巴巴集团控股有限公司 A kind of data transmission method, communication part, apparatus and system

Also Published As

Publication number Publication date
CN106411835B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
KR102153645B1 (en) Data transmission method and apparatus
CN103024503B (en) System and method for achieving remote control through mobile communication equipment terminal
EP2989848B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
US10834031B2 (en) Information exchange method, client, and apparatus
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
WO2017165105A1 (en) Universal internet of things (iot) smart translator
CN109391634A (en) Establish method, terminal and the computer readable storage medium of communication
KR20100098260A (en) Device and method for controlling remote user interface device
CN104270662A (en) System of terminal equipment for controlling intelligent television through browser
CN104135443B (en) Router control method and device
CN104865931B (en) Controlled terminal and the correlating method and device of control terminal
CN106713118A (en) Remote control system and method based on intelligent routing and chat room mechanism
CN105493621A (en) Terminal, server, and terminal control method
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN108632798A (en) A kind of quick binding method of Internet of Things household appliance, system and relevant apparatus
CN103139271A (en) System and method of controlling communication between terminals
CN110399578A (en) Page access method and device
CN111988660A (en) DLNA equipment screen projection method, gateway, terminal and system
CN106789470A (en) terminal resource sharing method, device and system
CN105245556A (en) Intelligent mobile phone remote control method and device
US9084027B2 (en) Internet protocol television system and implementation method thereof
CN103001948B (en) Method and system for controlling computer terminal by handheld device through scan codes
CN106506573B (en) Intelligent home furnishing control method and system
WO2018103623A1 (en) Terminal control method and apparatus, and terminal system

Legal Events

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