CN106411835B - A kind of transmission method and device based on AllJoyn Control Panel - Google Patents

A kind of transmission method and device based on AllJoyn Control Panel Download PDF

Info

Publication number
CN106411835B
CN106411835B CN201610351487.7A CN201610351487A CN106411835B CN 106411835 B CN106411835 B CN 106411835B CN 201610351487 A CN201610351487 A CN 201610351487A CN 106411835 B CN106411835 B CN 106411835B
Authority
CN
China
Prior art keywords
message
network
equipment
control panel
source device
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
CN201610351487.7A
Other languages
Chinese (zh)
Other versions
CN106411835A (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

Abstract

The invention discloses a kind of transmission methods and device based on AllJoyn Control Panel.In source device lateral root, according to network locating for purpose equipment, corresponding purpose network identity is written in the method in messages;The message is sent to gateway, so that the gateway is according to the purpose network identity, the message is sent to the purpose equipment.The method after receiving the message from source device, extracts the purpose network identity in the message in gateway side;The message is sent to the purpose equipment in the purpose network identity corresponding network.For the embodiment of the present invention by increasing purpose network identity in messages, distinguishing message is transmission in a local network or external network transmission, is applicable not only to AllJoyn Control Panel in local area network, can be applied in inter-network scene.

Description

A kind of transmission method and device based on AllJoyn Control Panel
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of transmission based on AllJoyn Control Panel Method and apparatus.
Background technique
AllJoyn is the point-to-point frame for being based on client/server (Client/Server) model, main to use Come realize cross operating system, across language and across the information interchange of mechanics of communication, be that very big one of influence power opens in the world at present Source frame.Control panel (Control Panel) service framework of AllJoyn be AllJoyn four big infrastructure service frames it One.
The other equipment that equipment is closed on into the local area network in Control Panel permission local area network broadcast its virtual control Panel processed, wherein the broadcaster is known as by prosecutor;In local area network support Control Panel equipment can oneself The virtual control panel broadcasted by prosecutor is rendered on screen, wherein the equipment of rendering is referred to as controlling party, so that user can Realized by controlling party to the interaction by prosecutor.
AllJoyn Control Panel is only applicable to local area network at present.If the user desired that inter-network operates distinct device Function, cannot achieve based on current Control Panel mechanism, thus existing AllJoyn Control Panel take Frame limitation of being engaged in is larger.
Such as: half an hour before user comes home from work, it is desirable to the electric appliance that family is controlled by the mobile phone of oneself, so that they are all It is adjusted to a suitable value in a kind of suitable working condition, such as by the temperature in room, the water heater between bathing is added The water heater in kitchen is plugged and starts to heat up water etc. by heat.But it is based on existing AllJoyn Control Panel mechanism, do not have Method realizes user demand, because the scope of application limitation of existing Control Panel mechanism is in a local network, inter-network operation It cannot achieve.
Summary 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, to solve the problems, such as that existing AllJoyn Control Panel is only applicable to local area network.
In view of the above technical problems, the present invention solves by the following technical programs.
The present invention provides a kind of transmission methods based on AllJoyn Control Panel, and the method is in source device The step of side executes includes: the network according to locating for purpose equipment, and corresponding purpose network identity is written in messages;By the report Text is sent to gateway, so that the gateway is sent according to the purpose network identity, by the message to the purpose equipment.
Wherein, the type of the purpose network identity includes: inter-network mark and/or Intranet mark;It is described to be set according to purpose Standby locating network, is written corresponding purpose network identity in messages, comprising: if purpose equipment is in network where source device Outside, then in messages write-in inter-network mark;And/or if purpose equipment is in the inside of source device place network, Intranet mark is written in message.
Wherein, described that corresponding purpose network identity is written in messages, comprising: to be write in the preset field of the message Enter corresponding purpose network identity.
Wherein, if the source device is the controlled device in AllJoyn Control Panel, pass through and the mesh Equipment transmitting message, the virtual control panel information of the source device is transferred to the purpose equipment, so that the purpose Equipment controls the source device based on the virtual control panel information of the source device;If the source device is Control equipment in AllJoyn Control Panel, then by and the purpose equipment transmitting message, receive the purpose and set The virtual control panel information for the purpose equipment that preparation is sent, so as to the virtual control panel information based on the purpose equipment The purpose equipment is controlled.
Wherein, the message is connection request message, connection response message, request of data message or data response report Text.
The present invention also provides a kind of transmission methods based on AllJoyn Control Panel, and the method is in gateway The step of side executes includes: to extract the purpose network identity in the message after receiving the message from source device;To Purpose equipment in the purpose network identity corresponding network sends the message.
Wherein, the type of the purpose network identity includes: inter-network mark and/or Intranet mark;It is described in described Purpose equipment in purpose network identity corresponding network sends the message, comprising: if the purpose network identity is inter-network Mark, then it represents that the outside of network where the purpose equipment is in the source device, by the message in external network The purpose equipment send;And/or if the purpose network identity is Intranet mark, then it represents that at the purpose equipment The inside of network where the source device sends the message to the purpose equipment in internal network.
Wherein, the purpose network identity extracted in the message, comprising: extracted in the preset field of the message Target network identity.
Wherein, the message is connection request message, connection response message, request of data message or data response report Text.
The present invention also provides a kind of transmitting devices based on AllJoyn Control Panel, are arranged in source device side Described device include: writing module, be used for the network according to locating for purpose equipment, corresponding purpose network mark is written in messages Know;First transceiver module, for sending the message to gateway, so that the gateway is incited somebody to action according to the purpose network identity The message is sent to the purpose equipment.
Wherein, the type of the purpose network identity includes: inter-network mark and/or Intranet mark;The write module is used If the outside of network where purpose equipment is in source device, is written inter-network mark in messages;And/or if purpose The inside of network where equipment is in source device, then write-in Intranet identifies in messages.
Wherein, the write module, for corresponding purpose network identity to be written in the preset field of the message.
Wherein, first transceiver module, is used for: if the source device is in AllJoyn Control Panel Controlled device, then by and the purpose equipment transmitting message, the virtual control panel information of the source device is transferred to institute Purpose equipment is stated, so that the purpose equipment controls the source device based on the virtual control panel information of the source device System;If the source device is the control equipment in AllJoyn Control Panel, by being transmitted with the purpose equipment Message receives the virtual control panel information for the purpose equipment that the purpose equipment is sent, to be set based on the purpose Standby virtual control panel information controls the purpose equipment.
Wherein, the message is connection request message, connection response message, request of data message or data response report Text.
The present invention also provides a kind of transmitting devices based on AllJoyn Control Panel, and gateway side is arranged in Described device includes: extraction module, for after receiving the message from source device, extracting the purpose net in the message Network mark;Second transceiver module, for sending the report to the purpose equipment in the purpose network identity corresponding network Text.
Wherein, the type of the purpose network identity includes: inter-network mark and/or Intranet mark;The second transmitting-receiving mould Block, if being inter-network mark for the purpose network identity, then it represents that the purpose equipment is in net where the source device The outside of network sends the message to the purpose equipment in external network;And/or the if purpose network mark Know is that Intranet identifies, then it represents that the inside of network where the purpose equipment is in the source device, by the message to being in The purpose equipment of internal network is sent.
Wherein, the extraction module, for extracting target network identity in the preset field of the message.
Wherein, the message is connection request message, connection response message, request of data message or data response report Text.
The present invention has the beneficial effect that:
The embodiment of the present invention by messages increase purpose network identity, distinguish message be in a local network transmission or External network transmission, is applicable not only to AllJoyn Control Panel in local area network, can be applied in inter-network scene In, increase the flexibility of AllJoyn Control Panel.
Detailed description of the invention
Fig. 1 is the flow chart of the transmission method according to an embodiment of the invention based on AllJoyn Control Panel;
Fig. 2 is the flow chart of the transmission method according to an embodiment of the invention based on AllJoyn Control Panel;
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 long-range control sequential according to an embodiment of the invention based on AllJoyn Control Panel Figure;
Fig. 8 is the rete mirabile long-range control sequential according to an embodiment of the invention based on AllJoyn Control Panel Figure;
Fig. 9 is the structure chart of the transmitting device according to an embodiment of the invention based on AllJoyn Control Panel;
Figure 10 is the structure of the transmitting device according to an embodiment of the invention based on AllJoyn Control Panel Figure.
Specific embodiment
The present invention improves message format, increases the mark for sending to Intranet and sending for identification to outer net Field makes outer net equipment can control Intranet equipment, realizes more flexible operation, further enriches the usage scenario of user, from And promote user experience.
Below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein Specific embodiment be only used to explain the present invention, limit the present invention.
The embodiment of the invention provides a kind of transmission based on AllJoyn Control Panel executed in source device side Method, Fig. 1 are the flow charts of the transmission method according to an embodiment of the invention based on AllJoyn Control Panel.This Embodiment is executed in source device side.
Corresponding purpose network identity is written in step S110, the network according to locating for purpose equipment in messages.
Step S120 sends the message to gateway, so that the gateway is according to the purpose network identity, it will be described Message is sent to the purpose equipment.
Source device and purpose equipment are all to support AllJoyn frame, and the equipment for being connectable to network.In the present embodiment In, source device is the equipment for being connected to internal network, and the equipment for being such as connected to local area network, purpose equipment is to be connected to the local Net or the equipment for being connected to external network.
Whether target network identity is in consolidated network for recognition purpose equipment and source device.It is set to distinguish purpose In the standby internal network in where source device or in external network, corresponding purpose network mark is written in messages Know.The type of purpose network identity includes: inter-network mark and/or Intranet mark.Inter-network mark indicates purpose equipment and source device In heterogeneous networks, source device is in internal network (local area network), and purpose equipment is in external network.Intranet mark indicates purpose Equipment and source device are among consolidated network, all in internal network.
If the outside of network, i.e. message need external network to send, are then reporting where purpose equipment is in source device Inter-network mark is written in text;And/or if purpose equipment is in the inside of source device place network, i.e. message needs internally Network is sent, then write-in Intranet identifies in messages.It is possible to further determine purpose equipment according to the IP address of purpose equipment Outside or inside in network where source device.
Further, corresponding purpose network identity is written in the preset field of message.The preset field can be Increased newer field in existing message, such as: the newer field is long-range control (Remote Control, abbreviation RMT) field, is led to Crossing the RMT field identification message is to send to Intranet or send to outer net.
The message of generation is sent to the gateway of source device side, which judges according to the purpose network identity in message Internally network is sent the message or external network is sent.
The embodiment of the present invention by messages increase purpose network identity, distinguish message be in a local network transmission or External network transmission, is applicable not only to AllJoyn Control Panel in local area network, can be applied in inter-network scene In, increase the flexibility of AllJoyn Control Panel.
The embodiment of the invention provides a kind of in the transmission side based on AllJoyn Control Panel that gateway side executes Method, Fig. 2 are the flow charts of the transmission method according to an embodiment of the invention based on AllJoyn Control Panel.This reality Example is applied to execute in the gateway for being located at source device side.
Step S210 extracts the purpose network identity in message after receiving the message from source device.
Step S220 sends the message to the purpose equipment in the purpose network identity corresponding network.
Target network identity can be extracted in the preset field of message.Such as: target is extracted in the RMT field of message Network identity.The type of target network identity includes: inter-network mark and/or Intranet mark.
If purpose network identity is inter-network mark, then it represents that the outside of network where purpose equipment is in source device, it will Message is sent to the purpose equipment in external network.That is source device is inside local area network, and purpose equipment is in outer net, according to inter-network Mark sends message to the purpose equipment for being located at outer net.
If purpose network identity is Intranet mark, then it represents that the inside of network where purpose equipment is in source device, it will Message is sent to the purpose equipment in internal network.I.e. source device and purpose equipment are all in the local area network where source device Portion is identified according to Intranet, and purpose equipment of the message into local area network is sent.
Specifically, extracting the RMT field in message after receiving message;If RMT field is only used for carrying inter-network mark Know, then judges whether RMT field carries inter-network mark;If it is, message is sent to office according to the destination address of message Purpose equipment outside the net of domain;If it is not, then message is sent to the purpose inside local area network and is set according to the destination address of message It is standby.If RMT field is only used for carrying Intranet mark, judge whether RMT field carries Intranet mark;If it is, root According to the destination address of message, purpose equipment message being sent to inside local area network;If it is not, then according to the destination of message Location, purpose equipment message being sent to outside local area network.If RMT field can both carry Intranet mark and also carry across Network mark is known, then above two mode selects one execution.
For the message in the embodiment of the present invention, specifically:
The present invention is based on AllJoyn Control Panel service frameworks, add auxiliary layer in Control Panel, Change existing message format, increases the field for carrying purpose network identity.Auxiliary layer is used to carry out again existing message Secondary encapsulation makes the RMT field in message become significant, identifies the purpose network identity in the RMT field by gateway.
In order to realize equipment control, the type of message includes: connection request message, connection response message, request of data report Text, data response message.Connection request message establishes connection for controlling device request and controlled device.Connection response message is used In the connection request of controlled device response control equipment, connection is established with control equipment.Request of data message is for controlling equipment To controlled device request data.Data response message is used for the request of data of controlled device responsive control device, and by request Data feedback gives control equipment.It is subsequent rete mirabile remote control process is described when, it will the use of message is said It is bright.
The present embodiment proposes Fig. 3~message format shown in fig. 6.Wherein, Fig. 3 is the connection request report of the present embodiment The message format of text;Fig. 4 is the message format of the connection response message of the present embodiment;Fig. 5 is the request of data report of the present embodiment The message format of text;Fig. 6 is the message format of the data response message of the present embodiment.
According to Fig. 3~Fig. 6 it is found that being rung in existing connection request message, connection response message, request of data message and data It answers and all joined RMT field in message, purpose network identity is written in RMT field.In this way, according to the RMT field in message It is access Intranet or access outer net that message, which can be distinguished,.
Based on the present embodiment, under AllJoyn Control Panel service framework, source device and purpose equipment can be real The function of now controlling and controlled.If source device is control equipment, purpose equipment is controlled device;If source device is quilt Equipment is controlled, then purpose equipment is control equipment.
Specifically, passing through and purpose equipment if source device is the controlled device in AllJoyn Control Panel The virtual control panel information of source device is transferred to purpose equipment by transmitting message, so that void of the purpose equipment based on source device Quasi- control panel information controls source device;If source device is the control equipment in AllJoyn Control Panel, Then by the virtual control panel information of the purpose equipment sent with purpose equipment transmitting message, reception purpose equipment, so as to base Purpose equipment is controlled in 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, may be implemented remotely to control based on the rete mirabile of AllJoyn Control Panel.
Since in rete mirabile remotely controls, purpose network identity is all inter-network mark, and gateway, which plays, forwards interior network packet To outer net, outer network packet is forwarded to the effect of Intranet, therefore, when description rete mirabile remotely controls, gateway wouldn't be said It is bright, only control equipment and controlled device are described.
The embodiment that a kind of rete mirabile of static state remotely controls is given below, to further explain the present invention.Static is different The long-range control of net refers to that control equipment actively calls the function of controlled device.
Fig. 7 is the rete mirabile long-range control sequential according to an embodiment of the invention based on AllJoyn Control Panel Figure.
Step 1, controlled device registers remote component object.
Controlled device registration remote component object is just to provide the interface element being rendered, i.e. offer controlled device can be by Control the functional information of equipment control.
Step 2, control equipment detects whether to support Control Panel.Control Panel interface.
Controlling equipment supports Control Panel.Control Panel interface to indicate that control equipment supports AllJoyn Control Panel service framework.
Step 3, in the case where controlling equipment support Control Panel.Control Panel interface, equipment is controlled Connection request message is sent to controlled device.
RMT=1, RST=1 in the connection request message.
RMT field is for being written purpose network identity.RMT=1 is inter-network mark;RMT=0 is Intranet mark.RST field For establishing connection.RST=1 is that connection is established in request.
Step 4, control equipment sends verification information to controlled device.
The verification information can be carried in connection request message, or is tested by carrying this in other kinds of message Information is demonstrate,proved, to achieve the purpose that transmit authentication information to controlled device.
Verification information verifies control equipment for controlled device, determines whether control equipment has control controlled device Permission.Verification information can be the facility information of control equipment.Such as: the hardware encryption of device id, equipment.
Step 5, in the case where being verified, controlled device obtains and traverses object and the port of virtual control panel.
Controlled device verifies control equipment according to verification information, in the case where being verified, obtains and traverses The object of virtual control panel and port terminate process in the case where verifying unacceptable situation.
Specific verification mode is varied, and this will not be repeated here.
Controlled device traverses object and the port of virtual control panel, can obtain virtual control panel information.
Step 6, controlled device sends connection response message to control equipment, carries controlled device in the connection response message Virtual control panel information.
ACK=1, RST=1, RMT=1 in the connection response message.
For ACK (Acknowledgement confirms character) for responding to request message, ACK=1 is response.
The virtual control panel information of controlled device can be written into the XML file data of connection response message.
Step 7, control equipment builds the virtual controlling face of controlled device based on the virtual control panel information of controlled device The component tree of plate.
Component tree is for showing the virtual control panel of controlled device.
Step 8, control equipment sends request of data message to controlled device, calls controlled device by request of data message Side Properties.GetAll () obtains the metadata of current value (Property) and component.
RST=1, RMT=1 in the request of data message.
Properties.GetAll () function is for obtaining all control functions of controlled device.Metadata is control letter Number, the parameter value that current value is control function.
Step 9, metadata and current value are fed back to control by sending data response message to control equipment by controlled device Control equipment.ACK=1, RST=1, RMT=1 in the data response message.
Step 10, control equipment renders the virtual control panel of controlled device according to the metadata and current value of component tree.
Step 11, user changes quilt using user interface (User Interface, abbreviation UI) component in control equipment side Control the Property value of equipment.
It can be changed before value.The virtual control panel of controlled device is after the rendering of control equipment side is completed, user The Property value of a certain metadata of controlled device can be changed using UI component in control equipment side.
Step 12, control equipment sends request of data message to controlled device, calls controlled set by request of data message Property.SetValue () function of standby side.
RST=1, RMT=1 in the request of data message.
Property.SetValue () function is for setting the corresponding Property value of a certain metadata, i.e., logical in user UI component is crossed after control equipment changes Property value, it should by calling Property.SetValue () function to realize Final change of the Property value in controlled device side.
Step 13, controlled device sends signal to control equipment by sending data response message to control equipment Property.ValueChanged()。
ACK=1, RST=1, RMT=1 in the data response message.
When the corresponding current value of a certain metadata changes, Property.SetValue () function will be triggered Property.ValueChanged () sends the Property value after the metadata changes to control equipment.
Step 14, user hits the virtual control panel of controlled device in control equipment side point, starts control process.
Step 15, equipment calls Action.Exec () is controlled, controlled device is controlled.
Action.Exec () function is used to call the function of controlled device, calls Action.Exec () function can be to Controlled device assigns control command.
Step 16, controlled device executes order, realizes that control equipment remotely controls the rete mirabile of controlled device.
A kind of embodiment that dynamic rete mirabile remotely controls is given below, to further explain the present invention.It is dynamic different In the case that the long-range control of net refers to that the data of controlled device change, the function of equipment calls controlled device is controlled.
Fig. 8 is the rete mirabile long-range control sequential according to an embodiment of the invention based on AllJoyn Control Panel Figure.
Step 1, controlled device registers remote component object.
Step 2, control equipment detects whether to support Control Panel.Control Panel interface.
Step 3, in the case where controlling equipment support Control Panel.Control Panel interface, equipment is controlled Connection request message is sent to controlled device.RMT=1, RST=1 in the connection request message.
Step 4, control equipment sends verification information to controlled device.
Step 5, in the case where being verified, controlled device obtains and traverses object and the port of virtual control panel.
Step 6, controlled device sends connection response message to control equipment, carries controlled device in the connection response message Virtual control panel information.
ACK=1, RST=1, RMT=1 in the connection response message.
Step 7, control equipment builds the virtual controlling face of controlled device based on the virtual control panel information of controlled device The component tree of plate.
Step 8, control equipment sends request of data message to controlled device, calls controlled device by request of data message Side Properties.GetAll () obtains the metadata of current value and component.
RST=1, RMT=1 in the request of data message.
Step 9, metadata and current value are fed back to control by sending data response message to control equipment by controlled device Control equipment.ACK=1, RST=1, RMT=1 in the data response message.
Step 10, control equipment renders the virtual control panel of controlled device according to the metadata and current value of component tree.
Step 11, user changes the Property value of controlled device in control equipment side using UI component.
Step 12, control equipment sends request of data message to controlled device, calls controlled set by request of data message Property.SetValue () function of standby side.
RST=1, RMT=1 in the request of data message.
Step 13, controlled device sends signal to control equipment by sending data response message to control equipment Property.ValueChanged()。
ACK=1, RST=1, RMT=1 in the data response message.
Step 14, user hits the virtual control panel of controlled device in control equipment side point, starts control process.
Step 15, controlled device sends signal to control equipment by sending data response message to control equipment Property.MetaDataChanged()。
ACK=1, RST=1, RMT=1 in the data response message.
If the current value of a certain metadata of controlled device changes, controlled device is sent to control equipment Property.MetaDataChanged (), to inform control this change of equipment.
The step 15 is to realize that control equipment remotely controls the dynamic rete mirabile of controlled device.
Step 16, equipment calls Action.Exec () is controlled, controlled device is controlled.
Step 17, controlled device executes order.
Based on the embodiment of the present invention, can be accessed anywhere or anytime under AllJoyn Control Panel service framework The equipment in other places without being confined in local area network, and is reduced to remote so that the operation behavior of user is more flexible The dependence of program-controlled control equipment, source device, which does not pass through remote control equipment, can be sent to message purpose equipment, that is, control Equipment, which does not pass through remote control equipment, can still control controlled device, and flexibly and scalability is high.
The present invention provides a kind of transmitting device based on AllJoyn Control Panel that source device side is arranged in, Fig. 9 is the structure chart of the transmitting device according to an embodiment of the invention based on AllJoyn Control Panel.
The transmitting device based on AllJoyn Control Panel of source device side is set, comprising:
Writing module 910 is used for the network according to locating for purpose equipment, corresponding purpose network identity is written in messages. The message is connection request message, connection response message, request of data message or data response message.
First transceiver module 920, for sending the message to gateway, so that the gateway is according to the purpose network Mark, the message is sent to the purpose equipment.
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;The write module 910, is used for If inter-network mark is written in the outside of network where purpose equipment is in source device in messages;And/or if purpose is set The standby inside in network where source device, then write-in Intranet identifies in messages.Further, the write module 910 are used Corresponding purpose network identity is written in the preset field in the message.
First transceiver module 920, if being controlled in AllJoyn Control Panel for the source device Equipment, then by and the purpose equipment transmitting message, the virtual control panel information of the source device is transferred to the mesh Equipment, so that the purpose equipment controls the source device based on the virtual control panel information of the source device; If the source device is the control equipment in AllJoyn Control Panel, by being reported with purpose equipment transmission Text receives the virtual control panel information for the purpose equipment that the purpose equipment is sent, to be based on the purpose equipment Virtual control panel information the purpose equipment is controlled.
The function of device described in the present embodiment is retouched in Fig. 1, Fig. 3~embodiment of the method shown in Fig. 8 It states, therefore not detailed place in the description of the present embodiment, it may refer to the related description in previous embodiment, this will not be repeated here.
The present invention provides a kind of transmitting device based on AllJoyn Control Panel that gateway side is arranged in, figures 10 be the structure chart of the transmitting device according to an embodiment of the invention based on AllJoyn Control Panel.
The transmitting device based on AllJoyn Control Panel of gateway side is set, comprising:
Extraction module 1010, for after receiving the message from source device, extracting the purpose net in the message Network mark.The message is connection request message, connection response message, request of data message or data response message.
Second transceiver module 1020, for sending institute to the purpose equipment in the purpose network identity corresponding network State message.
The extraction module 1010, for extracting target network identity in the preset field of the message.
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;Second transceiver module 1020, if being inter-network mark for the purpose network identity, then it represents that the purpose equipment is in where the source device The outside of network sends the message to the purpose equipment in external network;And/or the if purpose network It is identified as Intranet mark, then it represents that the inside of network where the purpose equipment is in the source device, by the message to place It is sent in the purpose equipment of internal network.
The function of device described in the present embodiment is described in Fig. 2~embodiment of the method shown in Fig. 8, therefore Not detailed place, may refer to the related description in previous embodiment, this will not be repeated here in the description of the present embodiment.
Although for illustrative purposes, the preferred embodiment of the present invention has been disclosed, those skilled in the art will recognize It is various improve, increase and replace be also it is possible, therefore, the scope of the present invention should be not limited to the above embodiments.

Claims (14)

1. a kind of transmission method based on AllJoyn control panel Control Panel, which is characterized in that held in source device side Capable step includes:
Corresponding purpose network identity is written in the network according to locating for purpose equipment in messages;
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;
Corresponding purpose network identity is written in messages, specifically includes for the network according to locating for purpose equipment:
If inter-network mark is written in the outside of network where purpose equipment is in source device in messages;And/or if mesh Equipment be in the inside of network where source device, then write-in Intranet mark in messages;
The message is sent to gateway, so that the gateway is according to the purpose network identity, by the message to the mesh Equipment send.
2. the method as described in claim 1, which is characterized in that described that corresponding purpose network identity, packet are written in messages It includes: corresponding purpose network identity being written in the preset field of the message.
3. the method as described in claim 1, which is characterized in that
If the source device is the controlled device in AllJoyn Control Panel, by being passed with the purpose equipment The virtual control panel information of the source device is transferred to the purpose equipment, so that the purpose equipment is based on by defeated message The virtual control panel information of the source device controls the source device;
If the source device is the control equipment in AllJoyn Control Panel, by being passed with the purpose equipment Defeated message receives the virtual control panel information for the purpose equipment that the purpose equipment is sent, to be based on the purpose The virtual control panel information of equipment controls the purpose equipment.
4. method as claimed in any one of claims 1-3, which is characterized in that the message is connection request message, connection Response message, request of data message or data response message.
5. a kind of transmission method based on AllJoyn control panel Control Panel, which is characterized in that executed in gateway side The step of include:
After receiving the message from source device, the purpose network identity in the message is extracted;
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;
The message is sent to the purpose equipment in the purpose network identity corresponding network, is specifically included:
If the purpose network identity is inter-network mark, then it represents that network where the purpose equipment is in the source device Outside sends the message to the purpose equipment in external network;And/or
If the purpose network identity is Intranet mark, then it represents that network where the purpose equipment is in the source device Inside sends the message to the purpose equipment in internal network.
6. method as claimed in claim 5, which is characterized in that the purpose network identity extracted in the message, comprising: Target network identity is extracted in the preset field of the message.
7. the method as described in any one of claim 5-6, which is characterized in that the message is connection request message, connection Response message, request of data message or data response message.
8. a kind of transmitting device based on AllJoyn control panel Control Panel, which is characterized in that be arranged in source device The described device of side includes:
Writing module is used for the network according to locating for purpose equipment, corresponding purpose network identity is written in messages;
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;
The write module, if the outside of network where being in source device specifically for purpose equipment, is written in messages Inter-network mark;And/or if purpose equipment is in the inside of source device place network, Intranet mark is written in messages;
First transceiver module, for sending the message to gateway, so that the gateway is incited somebody to action according to the purpose network identity The message is sent to the purpose equipment.
9. device as claimed in claim 8, which is characterized in that the write module, for the preset field in the message It is middle that corresponding purpose network identity is written.
10. device as claimed in claim 8, which is characterized in that first transceiver module is used for:
If the source device is the controlled device in AllJoyn Control Panel, by being passed with the purpose equipment The virtual control panel information of the source device is transferred to the purpose equipment, so that the purpose equipment is based on by defeated message The virtual control panel information of the source device controls the source device;
If the source device is the control equipment in AllJoyn Control Panel, by being passed with the purpose equipment Defeated message receives the virtual control panel information for the purpose equipment that the purpose equipment is sent, to be based on the purpose The virtual control panel information of equipment controls the purpose equipment.
11. the device as described in any one of claim 8-10, which is characterized in that the message is connection request message, connects Connect response message, request of data message or data response message.
12. a kind of transmitting device based on AllJoyn control panel Control Panel, which is characterized in that be arranged in gateway side Described device include:
Extraction module, for after receiving the message from source device, extracting the purpose network identity in the message;
The type of the purpose network identity includes: inter-network mark and/or Intranet mark;
Second transceiver module, for sending the message to the purpose equipment in the purpose network identity corresponding network, It is specifically used for:
If the purpose network identity is inter-network mark, then it represents that network where the purpose equipment is in the source device Outside sends the message to the purpose equipment in external network;And/or if the purpose network identity is Intranet mark, then it represents that the inside of network where the purpose equipment is in the source device, by the message in inside The purpose equipment of network is sent.
13. device as claimed in claim 12, which is characterized in that the extraction module, for the predetermined word in the message Target network identity is extracted in section.
14. the device as described in any one of claim 12-13, which is characterized in that the message is connection request message, connects Connect 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 CN106411835A (en) 2017-02-15
CN106411835B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN106411835A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
KR102153645B1 (en) Data transmission method and apparatus
CN104270468B (en) A kind of system of wechat control internet of things equipment
CN104956649B (en) Calling does not have ready terminal
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
CN104883402B (en) A kind of information processing method and cloud service platform
CN105472430B (en) Method, equipment and the system of mobile terminal jingle bell are controlled by smart television
CN101702690A (en) Method for carrying out human-computer interaction by embedded equipment through internet instant messaging system
CN106713118A (en) Remote control system and method based on intelligent routing and chat room mechanism
CN102413068A (en) Cloud computing-based system and method for controlling internet of things terminal device
CN104635543B (en) It is managed the method and apparatus of operation
CN105551120A (en) Building intercommunication method, near field communication (NFC) unlocking device and building intercommunication system
CN104865931B (en) Controlled terminal and the correlating method and device of control terminal
CN105704157A (en) Remote control method and system, intelligent terminal and service terminal application to remote control method and system
CN103841466A (en) Screen projection method, computer end and mobile terminal
CN106358090A (en) Virtual reality video play method and device, video projection method and device
CN107204873A (en) A kind of method and relevant device for switching target domain name resolution server
CN104967886B (en) Wireless display method and system
CN106973083A (en) Wiring method, system and its equipment of internet of things home appliance device identification
CN105245556A (en) Intelligent mobile phone remote control method and device
CN104283773A (en) System for controlling internet-of-things devices through microblog
CN104780082B (en) A kind of means of communication of mobile device and home intelligent terminal
CN106411835B (en) A kind of transmission method and device based on AllJoyn Control Panel
CN106506573B (en) Intelligent home furnishing control method and system
CN106162313A (en) A kind of multi-screen interaction method and system
CN108280906A (en) Realize the customized method and device of intelligent door lock keypress function

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