CN103297322A - Information interaction method and relevant equipment based on message server - Google Patents

Information interaction method and relevant equipment based on message server Download PDF

Info

Publication number
CN103297322A
CN103297322A CN2013101224791A CN201310122479A CN103297322A CN 103297322 A CN103297322 A CN 103297322A CN 2013101224791 A CN2013101224791 A CN 2013101224791A CN 201310122479 A CN201310122479 A CN 201310122479A CN 103297322 A CN103297322 A CN 103297322A
Authority
CN
China
Prior art keywords
subscriber equipment
message
environmental unit
message server
information receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101224791A
Other languages
Chinese (zh)
Other versions
CN103297322B (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.)
Jiangsu Shanxin Information Technology Co., Ltd
Original Assignee
王玉娇
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 王玉娇 filed Critical 王玉娇
Priority to CN201310122479.1A priority Critical patent/CN103297322B/en
Publication of CN103297322A publication Critical patent/CN103297322A/en
Application granted granted Critical
Publication of CN103297322B publication Critical patent/CN103297322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An information interaction method based on a message server comprises the steps that the message server acquires register information sent by user equipment, generates information receiving and sending addresses for the user equipment and sends the information receiving and sending addresses to the user equipment; the message server acquires information contents of environment equipment and transmits the information contents to corresponding user equipment. Correspondingly, the invention provides equipment relevant to the method. The equipment comprises the user equipment, the environment equipment and the message server. According to the information interaction method and relevant equipment based on the message server, information interaction between the user equipment and the environment equipment can be achieved; the user equipment does not need to be provided with a plurality of application program clients to be matched with the multiple environment equipment, and therefore the pressure of the user equipment is relieved; the information contents are transmitted to the user equipment from the environment equipment through the message server, and therefore the safety is guaranteed during the information interaction between the user equipment and the environment equipment.

Description

Information interacting method and relevant device based on message server
Technical field
The present invention relates to the communications field, be specifically related to a kind of information interacting method based on message server and relevant device.
Background technology
Along with the development of information technology, increasing environmental unit can enter into people's life, and these environmental units can be gathered environmental information, carry out specific business function, by carrying out alternately with subscriber equipment, thereby provides colourful business experience for the user.
The vision of Internet of Things (Internet of Things) allows various article all possess intellectuality exactly, each other can connection, communication, mutual.
For example: pasted intelligent label on the cup in restaurant, this intelligent label can send message mutually with user's mobile communication and mobile phone and carry out " chat ", and the guiding cellphone subscriber installs the application program that it is recommended; Perhaps send one section content of multimedia to mobile phone.
Usually, subscriber equipment must be installed specific application program at subscriber equipment if carry out alternately with environmental unit.The kind of considering environmental unit is varied, may be distributed in the various environment, supports different application layer protocols, so just may various application programs be installed at subscriber equipment, could and numerous environmental unit adaptive.
At present, information interactive method has following several between the realization equipment:
1, Cellphone Accessories and mobile phone communicates by letter
The Nike+ Fuel Band wrist strap of Nike issue for example, it can record and measure the amount of exercise in user's daily life, encourage and inspire people to live to such an extent that vigor more arranged with this, there be the application program supporting with Nike+ Fuel Band at the iPhone mobile phone simultaneously, this application program can read user's movable information from Nike+ Fuel Band, be illustrated as various abundant statistical graphs.
Wherein, what match with accessory is special application program, and this application program need be installed on the mobile phone in advance.Along with the quantity of environmental unit in the life is increasing, the mutual instantaneity often of subscriber equipment and environmental unit, even once run into never again later alternately, set up applications just becomes very big burden so in advance, the user will seldom even can not re-use this application program later on, and the user is brought inconvenience.
2, the message Push Service of smart mobile phone
The message Push Service that provides of Apple and Google for example, their push server that gives information, when apps server need be to application client (being installed on the subscriber equipment) PUSH message, apps server is the interface of message call push server just, by the message push server message is sent to application client on the subscriber equipment.
Wherein, apps server needs in advance to the registration of message push server, obtains just can send message after pushing qualification; Numerous application programs has been installed on the subscriber equipment, and different application programs may adopt different push server, causes usually moving automatically on the subscriber equipment application client of a plurality of push server; The message Push Service is unidirectional, can only be pushed to application client from apps server, and reverse message is still walked application client to the passage of apps server, namely still special application program need be installed in advance on the subscriber equipment.
3, little letter public platform of company of Tengxun
Public's platform push function that gives information, public's platform user can be to the subscriber's PUSH message of oneself.Public's platform user is directly operated in public's platform client, need not apps server.Only need on user's the terminal a little letter client is installed, just can accept the message that numerous little letter platform numbers of the account are sent.
Wherein, public's platform user needs manual operation, do not contact between environmental unit and the public's platform, so this passage can't be set up the information receiving and transmitting passage between environmental unit and subscriber equipment.
4, subscriber equipment and environmental unit direct communication
A kind of feasible mode is to utilize to be similar to UPnP(Universal Plug and Play, UPnP) agreement, finish discovery and control between the equipment.For example: environmental unit is used as a controlled side, subscriber equipment is used as the control point.
Wherein, because the environmental unit business form is varied, the control point program also is different, so still various control point program need be installed on the subscriber equipment; In addition, the environmental unit source is not clear, belongs to untrusted devices, if subscriber equipment and environmental unit are directly mutual, then has the risk that is injected into malicious code, and fail safe is lower.
Summary of the invention
The invention provides a kind of information interacting method based on message server and relevant device, can realize the information interaction between subscriber equipment and the environmental unit.
According to a first aspect of the invention, the invention provides a kind of electronic equipment, as subscriber equipment, comprising:
Communication module is used for communicating with miscellaneous equipment.
Human-computer interaction module is used for gathering user's input information and shows output information to the user.
Administration module, it is connected with human-computer interaction module with communication module, be used for the input information structuring log-on message according to the user, described log-on message is sent to message server by communication module, and after getting access to the information receiving and transmitting address that message server returns, described information receiving and transmitting address is sent to environmental unit; Described administration module also for the message content of the environmental unit that obtains the message server transmission, is resolved it; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.
Memory module, it is connected with administration module, is used for the storage data.
According to a second aspect of the invention, the invention provides a kind of electronic equipment, as environmental unit, comprising:
Communication module is used for communicating by letter with message server with subscriber equipment.
Administration module, it is connected with communication module, be used for the control communication module sends environmental unit to described information receiving and transmitting address after getting access to the information receiving and transmitting address of subscriber equipment message content, described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.
Memory module, it is connected with administration module, is used for the storage data.
According to a third aspect of the invention we, the invention provides a kind of message server, comprising:
Communication module is used for communicating with subscriber equipment and environmental unit.
Administration module, it is connected with communication module, is used for behind the log-on message that gets access to the subscriber equipment transmission, is that described subscriber equipment generates the information receiving and transmitting address, and described information receiving and transmitting address is sent to subscriber equipment; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence; Described administration module also is used for after getting access to the message content of environmental unit described message content being transmitted to the subscriber equipment of correspondence.
Memory module, it is connected with administration module, is used for the storage data.
The present invention also provides a kind of information interacting method based on message server, comprising:
Message server obtains the log-on message that subscriber equipment sends, and for described subscriber equipment generates the information receiving and transmitting address, and described information receiving and transmitting address is sent to subscriber equipment; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.
Message server obtains the message content of environmental unit, and described message content is transmitted to corresponding subscriber equipment.
A kind of information interacting method and relevant device based on message server provided by the invention, can realize the information interaction between subscriber equipment and the environmental unit, wherein, subscriber equipment need not to install a plurality of application clients and comes with a plurality of environmental units adaptive, reduced the pressure of subscriber equipment, environmental unit is when sending message content to subscriber equipment, can't directly send message content to subscriber equipment, its message content is transmitted to subscriber equipment by message server, has therefore guaranteed the fail safe of subscriber equipment when carrying out information interaction with environmental unit.
Description of drawings
Fig. 1 is the annexation schematic diagram of relevant device in the embodiment of the invention information interacting method;
Fig. 2 is that an embodiment of the present invention is based on the information interacting method flow chart of message server;
Fig. 3 is the module diagram of subscriber equipment in an embodiment of the present invention;
Fig. 4 is the module diagram of environmental unit in an embodiment of the present invention;
Fig. 5 is the module diagram of message server in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of application examples that the present invention is based on the information interacting method of message server.
Embodiment
Terminological interpretation:
URL:Uniform Resource Location, URL(uniform resource locator) is to be used for the character string of descriptor resource on the Internet.
Wi-Fi:Wireless Fidelity, Wireless Fidelity belongs to the short distance wireless technical that uses in office and family.
Wi-Fi Direct: be a kind of standard on the Wi-Fi basis, allow the equipment in the wireless network to need not to interconnect by wireless router.
Bluetooth: the radiotechnics of a kind of support equipment short haul connection (in the general 10m) can comprise that carrying out wireless messages between numerous equipment such as mobile phone, PDA, wireless headset, notebook computer, relevant peripheral hardware exchanges.
TCP:Transmission Control Protocol, transmission control protocol, its be a kind of towards connect (connecting guiding), reliably, based on transport layer (Transport layer) communication protocol of byte stream
UDP:User Datagram Protocol, User Datagram Protoco (UDP), it is mainly used to support those need transmit the network application of data between computer, UDP has got rid of information reliable delivery mechanism, wait function transfer to finish to upper layer application with ordering safety, greatly reduced the time of implementation, speed is guaranteed.
HTTP:Hypertext Transfer Protocol, HTML (Hypertext Markup Language) is used for transmitting on the internet hypertext language.
HTTPS:Secure Hypertext Transfer Protocol refers to safe HTML (Hypertext Markup Language), and it is a secured communication channel, based on HTTP, is used for exchange of information between client-server.
UPnP:Universal Plug and Play, UPnP is that peer-to-peer network that realizations such as various smart machines, wireless device and PC spread all over the world is connected the structure of (P2P).UPnP is a kind of distributed, the open network architecture.UPnP is media independently.In any operating system, utilize any programming language can use UPnP equipment.
SDK:Software Development Kit, SDK is realized specific function, SDK can initiatively not move usually, but just carries out specific function by application call.
Short-range communication refers to the communication between nearer distance (for example in hundreds of rice) equipment.Generally realize short-range communication by local area network (LAN) or point-to-point mode, for example: by WiFi, WiFi-Direct, bluetooth, NFC, RFID etc.
Subscriber equipment: refer to the smart machine by user's direct control, the user controls other equipment by these equipment executive utilities.Common subscriber equipment is intelligent terminal, for example: smart mobile phone, panel computer, intelligent glasses, intelligent watch etc.
Environmental unit: be distributed in the smart machine in people's work, the living environment, these equipment are carried out specific business function, can produce professional relevant data, and data are offered subscriber equipment, use for subscriber equipment processing, for example: intelligent television, intelligent refrigerator, intelligent water heater etc.
Please refer to Fig. 1, the equipment that the embodiment of the invention provides comprises subscriber equipment 101, environmental unit 102 and message server 103.
Subscriber equipment 101 is connected to the Internet by modes such as operator's wireless network (for example GPRS, 3G, 4G etc.), WiFi, WiFi-Direct, cable broadbands.
Message server 103 is disposed on the internet, for subscriber equipment 101, environmental unit 102 visits.Message server 103 has been preserved the relevant information of subscriber equipment 101, can be between subscriber equipment 101 and environmental unit 102 pass-along message.
Belong to short-range communication between environmental unit 102 and the subscriber equipment 101, for example: WiFi, WiFi-Direct, bluetooth, NFC(Near Field Communication, close range wireless communication), RFID(Radio FrequencyIdentification, radio-frequency (RF) identification) etc.Environmental unit 102 has the ability of visit the Internet, if himself does not have, also can be by subscriber equipment 101 visit the Internets, and for example subscriber equipment 101 serves as the WiFi access point.
In embodiments of the present invention, subscriber equipment 101 need not to install a plurality of application clients and a plurality of environmental unit 102 is adaptive, reduced the pressure of subscriber equipment 101, environmental unit 102 is when sending message content to subscriber equipment 101, can't directly send message content to subscriber equipment 101, its message content is transmitted to subscriber equipment 101 by message server 103, has therefore guaranteed the fail safe of subscriber equipment 101 when carrying out information interaction with environmental unit 102.
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Please refer to Fig. 2, present embodiment provides a kind of information interacting method based on message server, comprises following step:
Step 3.1: subscriber equipment sends log-on message to message server, this log-on message is subscriber equipment according to the user's who gets access to input information structuring, comprised device address, the device identification of subscriber equipment, this device address is used for message server and sends message to subscriber equipment.Device identification can be user-defined in when registration, and perhaps the administration module in the subscriber equipment generates automatically according to the software of subscriber equipment and/or hardware characteristics; The communication protocol interface that administration module in the subscriber equipment of device address detects this equipment obtains.
Step 3.2: message server is that subscriber equipment generates the information receiving and transmitting address, and this information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.Generate the information receiving and transmitting address and can be following two kinds of generting machanisms, a kind of mode is to generate static information receiving and transmitting address, static state refers to keep between address and the equipment stable corresponding relation, can not change along with the change of factors such as time, place, for example: the device identification according to the user generates static information receiving and transmitting address; Another kind of mode is to generate dynamic information receiving and transmitting address; be that subscriber equipment is registered at every turn; the information receiving and transmitting address that message server generates is all different; such benefit has been to protect the privacy of subscriber equipment; subscriber equipment is want when mutual with environmental unit; the application dynamic address; dynamic address is only effective under certain condition; in case exceed predetermined condition, dynamic address had just lost efficacy, for example: in case finish alternately; perhaps behind certain hour; just lost efficacy in this address, environmental unit rethinks to subscriber equipment and sends message, just can't arrive.In an instantiation, please refer to the information receiving and transmitting address field of table 1, the composition rule of information receiving and transmitting address is a URL, it comprises two parts content at least: message server domain name and port (the http agreement is defaulted as 80) and the pseudo-code corresponding with subscriber equipment, the domain name of message server and port refer message server, the pseudo-code corresponding with subscriber equipment are used for the corresponding subscriber equipment of message server inquiry.For example: http://www.a.com/12345432, wherein http://www.a.com/ is domain name and port, the 12345432nd, the pseudo-code corresponding with subscriber equipment.
Step 3.3: message server sends to subscriber equipment with the information receiving and transmitting address that generates.
When subscriber equipment is registered to message server, message server needs the relevant information of maintenance customer's equipment, please refer to table 1, in the present invention's one instantiation, message server is according to the mode of the log-on message maintenance customer facility information of receiving, message server generates the corresponding relation of device identification, device address and information receiving and transmitting address.
Table 1 subscriber equipment table
Figure BDA00003029348200061
Figure BDA00003029348200071
In another kind of embodiment, to the message server registration, message server is preserved device identification and the device address of subscriber equipment to subscriber equipment in registration process earlier, and can temporarily not send the information receiving and transmitting address to subscriber equipment this moment.After the registration, when subscriber equipment need carry out information interaction with environmental unit, subscriber equipment sends the request that requires to obtain the information receiving and transmitting address to message server, carry the device identification of subscriber equipment in the registration process in this request, message server regenerates or inquires about with it corresponding information receiving and transmitting address according to this device identification, sends it to subscriber equipment.The device identification of subscriber equipment can generate by subscriber equipment in registration process automatically, also can be that message server is that subscriber equipment generates.
Step 4.1: environmental unit sends broadcast, broadcast comprises the device address of environmental unit, environmental unit can send broadcast according to predetermined condition, for example, timed sending, detect new subscriber equipment and establish when adding network to send, detect and send when new point-to-point equipment connects etc.In an instantiation, environmental unit uses udp protocol to send broadcast, has carried environmental unit in the broadcast for the device address and the port that receive message, for example, and 192.168.1.23:8088.The content such as title/pet name, functional description that optionally, can also comprise environmental unit in the broadcast.
Step 4.2: subscriber equipment according to the device address of the environmental unit that carries in the broadcast, will send to environmental unit from the information receiving and transmitting address that message server obtains after getting access to the broadcast of environmental unit transmission.
In another kind of embodiment, environmental unit does not send broadcast, but subscriber equipment sends broadcast, and the information receiving and transmitting address is sent to environmental unit.
In another kind of embodiment, environmental unit and subscriber equipment do not send broadcast, but the two is set up direct communication network and comes pass-along message transmitting-receiving address.For example: set up NFC communication, subscriber equipment sends to environmental unit to the information receiving and transmitting address; Perhaps in two-dimension code, the two-dimension code that environmental unit scanning subscriber equipment provides has then obtained the information receiving and transmitting address to subscriber equipment the information receiving and transmitting geocoding; Perhaps user equipment scans the two-dimension code that provides of environmental unit, obtained the mailing address of environmental unit, subscriber equipment sends to environmental unit to the information receiving and transmitting address by this mailing address then.Should be appreciated that environmental unit obtains the information receiving and transmitting address and can also realize by other conventional method of this area.
Step 4.3: environmental unit gets access to behind the information receiving and transmitting address that subscriber equipment sends its preservation, is used for the follow-up message content that sends to the information receiving and transmitting address.
Step 5.1: environmental unit sends the message content of environmental unit to this information receiving and transmitting address behind the information receiving and transmitting address that gets access to the subscriber equipment transmission, message content is content of multimedia such as text, image, video, sound, can be the content of single type, also may be polytype combination.In an instantiation, message content is a kind of message format that meets Web webpage relevant criterion, for example HTML5 standard.
In another kind of embodiment, in the step 5.1, environmental unit also sends the device address of environmental unit to message server, information such as the IP address, port numbers of environmental unit have been reflected in the device address of environmental unit, are used for after subscriber equipment gets access to the message content of environmental unit response result being returned to environmental unit by message server.
Step 5.2: after message server gets access to the message content of environmental unit transmission, message content is carried out fail safe detect.
In another kind of embodiment, in step 5.2, after message server gets access to the device address of environmental unit, the build environment device identification, for example, hash is carried out in the device address of environmental unit calculate, obtain unique environmental unit sign, message server is safeguarded the device address of environmental unit and the corresponding relation of environmental unit sign.Please refer to table 2, in an instantiation, message server is safeguarded the device address of environmental unit and the mode of the corresponding relation that environmental unit identifies.
In another embodiment, environmental unit also sends the environmental unit sign to message server, has not then needed the device identification of message server build environment.
Table 2 environmental unit table
Figure BDA00003029348200081
Step 5.3: when message server when to detect message content be safe, message content is transmitted to corresponding subscriber equipment; When detecting message content when dangerous, then refuse message content is transmitted to corresponding subscriber equipment.
In another kind of embodiment, message server also sends to subscriber equipment together with environmental unit sign and message content, when being used for subscriber equipment and environmental unit generation information interaction, to environmental unit echo reply result, or when making things convenient for subscriber equipment simultaneously with a plurality of environmental unit generation information interaction, to the particular environment equipment sending message.Be to be understood that, subscriber equipment has been known the device address of environmental unit when getting access to the broadcast that environmental unit sends, subscriber equipment also can use this device address to carry out the direct transmission of message when carrying out information interaction with environmental unit after getting access to the message content that environmental unit sends; But the fail safe for guarantee information, subscriber equipment can only send the information receiving and transmitting address to this device address, and can not send interactive messages, when subscriber equipment carries out information interaction with environmental unit after getting access to the message content that environmental unit sends, can only send to the device address of the environmental unit of subscriber equipment by message server, the message that subscriber equipment returns to environmental unit can only be transmitted to environmental unit by message server.The information interaction that should be appreciated that subscriber equipment and environmental unit can be repeatedly.
Step 5.4: the user is resolved and showed to subscriber equipment to it after getting access to the message content of the environmental unit that message server sends.For example, when the form of message content is the web webpage, the browser engine that subscriber equipment then calls self resolves the message content received and the form by webpage shows the user, and simultaneously, the user also can carry out further information interaction by the interaction options in the webpage and environmental unit.
According to above-mentioned information interacting method based on message server, present embodiment also provides the relevant device of realizing this method, comprises subscriber equipment, environmental unit and message server.
Please refer to Fig. 3, be the module diagram of subscriber equipment in the present embodiment, this subscriber equipment comprises communication module 601, human-computer interaction module 602, administration module 603 and memory module 604.
Communication module 601 is used for communicating with message server and environmental unit, it supports short-range communications such as WiFi, WiFiDirect, bluetooth, RFID to connect, also support and the communicating to connect of the Internet, and communicating to connect host-host protocols such as supporting TCP, UDP, HTTP, HTTPS on the basis.
Human-computer interaction module 602 is used for gathering user's input information and shows output information to the user, and human-computer interaction module 602 provides input capability, is used for gathering user's input information, for example keyboard, touch-screen, sound, video etc.; Human-computer interaction module 602 also provides fan-out capability, is used for showing output information to the user, for example display screen, loudspeaker, vibration component etc.
Administration module 603 is connected with human-computer interaction module 602 with communication module 601, be used for the input information structuring log-on message according to the user, log-on message is sent to message server by communication module 601, and after getting access to the information receiving and transmitting address that message server returns, the information receiving and transmitting address is sent to environmental unit; Administration module 603 also for the message content of the environmental unit that obtains the message server transmission, is resolved it; Log-on message comprises the device address of subscriber equipment, and information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.Wherein, log-on message comprises the device address of subscriber equipment, and information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence.In an instantiation, administration module 603 comprises browser engine, is used for resolving the web page contents of message content, for example the HTML5 content.
In another kind of embodiment, administration module 603 also identifies for device address or the environmental unit of the environmental unit that obtains the message server transmission, be used for subscriber equipment and handle at the message content to environmental unit, when carrying out information interaction with environmental unit to environmental unit echo reply result.
Should be appreciated that administration module 603 can comprise the processor as the electronic equipment maincenter, processor is connected with various external modules, and the various application programs in the subscriber equipment are moved by processor.In addition, subscriber equipment is equipped with the operating system between hardware and application program, be used for providing application program running environment, public bottom ability (for example subscriber equipment receives the informing mechanism that the message content rear line of environmental unit is given notice) be provided and provide support for application access hardware.
Memory module 604 is connected with administration module, is used for the storage data.Be to be understood that, memory module 604 comprises persistent storage (hard disk, SD card etc.) and perishability storage (internal memory), wherein persistent storage be used for to be preserved data such as application program, but not the memory space of persistent storage needed program, data when being used for the equipment operation is provided.
Please refer to Fig. 4, be the module diagram of environmental unit in the present embodiment, this environmental unit comprises communication module 701, administration module 702, memory module 703 and sensor assembly 704.
Communication module 701 is used for communicating by letter with message server with subscriber equipment, it supports short-range communications such as WiFi, WiFi Direct, bluetooth, RFID to connect, perhaps also support and the communicating to connect of the Internet, and communicating to connect host-host protocols such as supporting TCP, UDP, HTTP, HTTPS on the basis.
Administration module 702 is connected with communication module 701, be used for control communication module 701 and send broadcast, and after getting access to the information receiving and transmitting address that subscriber equipment sends, sending the message content of environmental unit to the information receiving and transmitting address, broadcast comprises the device address of environmental unit.In another kind of embodiment, environmental unit does not send broadcast, and subscriber equipment directly sends to environmental unit by the mode of broadcasting with the information receiving and transmitting address.Should be appreciated that environmental unit obtains the information receiving and transmitting address and can also realize by other conventional method of this area.
Memory module 703 is connected with administration module 702, is used for the storage data.Be to be understood that, memory module 703 comprises persistent storage (hard disk, SD card etc.) and perishability storage (internal memory), wherein persistent storage be used for to be preserved data such as application program, but not the memory space of persistent storage needed program, data when being used for the equipment operation is provided.
Sensor assembly 704 is connected with administration module 702, is used for gathering environmental information, for example: a kind of environmental unit that is attached on the coffee machine, how many people sensor assembly has connect coffee in detecting one day; A kind of environmental unit that is attached on the refrigerator, sensor assembly detect interior user of a week and have opened refrigerator doors several times, have perhaps got beverage several times; Sensor assembly on the shopper window, detect passer-by age, sex, wear characteristics.The above-mentioned content that is detected by sensor assembly is environmental information.Sensor assembly 704 can comprise one or more transducers according to service needed.Accordingly, administration module 702 also is used for forming corresponding service feature according to environmental information.Sensor assembly 704 is gathered belongs to raw information, often can not give professionally directly to use, and need analyze according to the needs of business, forms the information of higher aspect, is service feature.For example: in the scene of shopper window, camera is transducer, and the raw information of collection is exactly photo or video, analyzes " people's age, sex, wear characteristics " from photo or video, just belongs to service feature.
In another kind of embodiment, administration module 702 also sends the device address of environmental unit to the information receiving and transmitting address behind the information receiving and transmitting address that gets access to the subscriber equipment transmission, the device address of environmental unit is used for after subscriber equipment gets access to the message content of environmental unit response result being returned to environmental unit.
Should be appreciated that administration module 702 can comprise the processor as the electronic equipment maincenter, processor is connected with various external modules, and the various application programs in the environmental unit are moved by processor.In addition, environmental unit is equipped with the operating system between hardware and application program, be used for providing application program running environment, public bottom ability be provided and provide support for application access hardware.
The environmental unit that present embodiment provides need not to pass through in advance authentication and the authentication of message server, can directly send message content to the information receiving and transmitting address, guarantee the high-adaptability of message server.
Please refer to Fig. 5, be the module diagram of message server in the present embodiment, this message server comprises communication module 801, administration module 802, memory module 803 and safety detection module 804.
Communication module 801 is used for communicating with subscriber equipment and environmental unit, and it has network interface and protocol stack, makes message server can insert the Internet, for subscriber equipment and environmental unit visit.
Administration module 802 is connected with communication module 801, is used for behind the log-on message that gets access to the subscriber equipment transmission, is that subscriber equipment generates the information receiving and transmitting address, and the information receiving and transmitting address is sent to subscriber equipment; Log-on message comprises the device address of subscriber equipment; Information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence; Administration module 802 also is used for behind the message content that gets access to the environmental unit transmission message content being transmitted to corresponding subscriber equipment; This log-on message comprises the device address of subscriber equipment.Administration module 802 needs the corresponding relation between management of subscriber sign and the subscriber equipment.
Memory module 803 is connected with administration module 802, is used for the storage data.Be to be understood that, memory module 803 comprises persistent storage (hard disk, SD card etc.) and perishability storage (internal memory), wherein persistent storage be used for to be preserved data such as application program, but not the memory space of persistent storage needed program, data when being used for the equipment operation is provided.
Safety detection module 804 is connected with administration module 802, being used for after administration module 802 gets access to the message content of environmental unit transmission this message content being carried out fail safe detects, when to detect message content be safe, notice administration module 802 was transmitted to corresponding subscriber equipment with message content; Dangerous when detecting message content, notice administration module 802 refusals are transmitted to corresponding subscriber equipment with message content.The existence of safety detection module 804 can guarantee the fail safe of subscriber equipment when carrying out information interaction with numerous foreign environment equipment.When concrete the application, safety detection module 804 can be set to filter the junk information of environmental unit transmission, the Virus of implantable subscriber equipment etc.
In another kind of embodiment, administration module 802 also obtains the device address of environmental unit, and generate corresponding environmental unit sign, administration module 802 is when sending the message content of environmental unit to subscriber equipment, also send the environmental unit sign to subscriber equipment, be used for after subscriber equipment gets access to the message content of environmental unit, response result being returned to environmental unit.
Should be appreciated that administration module 802 can comprise the processor as the electronic equipment maincenter, processor is connected with various external modules, and the various application programs in the message server are moved by processor.In addition, message server is equipped with the operating system between hardware and application program, be used for providing application program running environment, public bottom ability be provided and provide support for application access hardware.
Please refer to Fig. 6, be the concrete application examples of information interacting method between the equipment in the present embodiment.
Smart mobile phone is as subscriber equipment, water dispenser is as environmental unit, the user registers to message server by mobile phone, or after registration to message server send a request message the transmitting-receiving address solicited message, when message server gets access to the log-on message of mobile phone or solicited message, generate the information receiving and transmitting address, and send to mobile phone.Water dispenser sends broadcast as environmental unit under predetermined condition, when the user holds mobile phone near water dispenser, after mobile phone receives the broadcast of water dispenser, according to the device address of the water dispenser that carries in the broadcast information receiving and transmitting address is sent to water dispenser.After water dispenser gets access to the information receiving and transmitting address of mobile phone, send the message content of water dispenser to this information receiving and transmitting address.Message server carries out fail safe to message content and detects after receiving the message content that water dispenser sends, if safety then according to the device address of the mobile phone of information receiving and transmitting address correspondence, message content is transmitted to mobile phone.
Subscriber equipment can be built-in with browser engine, can support to satisfy the message content of Web standard, make message content have the flexibility of height, simple message content can be passage, complicated message content then can be one section webpage that contains audio frequency, video, image, can also have text box to accept user's input in the webpage, webpage also has submit button to send message for subscriber equipment to environmental unit.As shown in Figure 6, the literal among the figure, text input frame, to send button all be to provide in the message content of being sent by environmental unit (water dispenser).
Certainly, behind the message content that receives the water dispenser transmission, can carry out information interaction in order to guarantee mobile phone with water dispenser, when water dispenser sends message content to the information receiving and transmitting address, also send the device address of water dispenser.After message server receives this device address, generate the device identification of corresponding water dispenser, and when transmitting message content, the device identification of water dispenser is sent to mobile phone.When mobile phone carries out information interaction according to message content needs and water dispenser, then interactive information is sent to message server together with the device identification of water dispenser, message server is inquired about the device address of corresponding water dispenser again according to device identification, interactive information is transmitted to water dispenser.
Information interacting method and equipment thereof based on message server that present embodiment provides, can realize the information interaction between subscriber equipment and the environmental unit, wherein, subscriber equipment need not to install a plurality of application clients and comes with a plurality of environmental units adaptive, reduced the pressure of subscriber equipment, environmental unit is when sending message content to subscriber equipment, can't directly send message content to subscriber equipment, its message content is transmitted to subscriber equipment by message server, has therefore guaranteed the fail safe of subscriber equipment when carrying out information interaction with environmental unit.
It will be appreciated by those skilled in the art that, the all or part of step of the whole bag of tricks can instruct related hardware to finish by program in the above-mentioned execution mode, this program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory, random asccess memory, disk or CD etc.
Above content be in conjunction with concrete execution mode to further describing that the present invention does, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace.

Claims (10)

1. an electronic equipment as subscriber equipment, is characterized in that, comprising:
Communication module is used for communicating with miscellaneous equipment;
Human-computer interaction module is used for gathering user's input information and shows output information to the user;
Administration module, it is connected with human-computer interaction module with communication module, be used for the input information structuring log-on message according to the user, described log-on message is sent to message server by communication module, and after getting access to the information receiving and transmitting address that message server returns, described information receiving and transmitting address is sent to environmental unit; Described administration module also for the message content of the environmental unit that obtains the message server transmission, is resolved it; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence;
Memory module, it is connected with administration module, is used for the storage data.
2. an electronic equipment as environmental unit, is characterized in that, comprising:
Communication module is used for communicating by letter with message server with subscriber equipment;
Administration module, it is connected with communication module, be used for the control communication module sends environmental unit to described information receiving and transmitting address after getting access to the information receiving and transmitting address of subscriber equipment message content, described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence;
Memory module, it is connected with administration module, is used for the storage data.
3. equipment as claimed in claim 2, it is characterized in that, described administration module also is used for sending to described information receiving and transmitting address the device address of environmental unit after getting access to the information receiving and transmitting address of subscriber equipment, the device address of described environmental unit is used for by message server response result being returned to environmental unit after subscriber equipment gets access to the message content of environmental unit.
4. a message server is characterized in that, comprising:
Communication module is used for communicating with subscriber equipment and environmental unit;
Administration module, it is connected with communication module, is used for behind the log-on message that gets access to the subscriber equipment transmission, is that described subscriber equipment generates the information receiving and transmitting address, and described information receiving and transmitting address is sent to subscriber equipment; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence; Described administration module also is used for after getting access to the message content of environmental unit described message content being transmitted to the subscriber equipment of correspondence;
Memory module, it is connected with administration module, is used for the storage data.
5. message server as claimed in claim 4, it is characterized in that, also comprise safety detection module, it is connected with administration module, being used for after administration module gets access to the message content of environmental unit described message content being carried out fail safe detects, when to detect message content be safe, the notice administration module was transmitted to corresponding subscriber equipment with described message content; Dangerous when detecting message content, notice administration module refusal is transmitted to corresponding subscriber equipment with described message content.
6. message server as claimed in claim 5, it is characterized in that, described administration module is also for the device address that obtains environmental unit, generate the environmental unit sign corresponding with the device address of described environmental unit, and the message content of described environmental unit sign and environmental unit sent to subscriber equipment, described environmental unit sign is for after subscriber equipment gets access to the message content of environmental unit response result being returned to environmental unit.
7. the information interacting method based on message server is characterized in that, comprising:
Message server obtains the log-on message that subscriber equipment sends, and for described subscriber equipment generates the information receiving and transmitting address, and described information receiving and transmitting address is sent to subscriber equipment; Described log-on message comprises the device address of subscriber equipment, and described information receiving and transmitting address refer message server is used for message server according to the subscriber equipment of information receiving and transmitting address lookup correspondence;
Message server obtains the message content of environmental unit, and described message content is transmitted to corresponding subscriber equipment.
8. method as claimed in claim 7 is characterized in that, after message server gets access to the message content of environmental unit, described message content is transmitted to corresponding subscriber equipment before, also comprise:
Message server carries out fail safe to described message content and detects, and when to detect message content be safe, then described message content is transmitted to corresponding subscriber equipment; When detecting message content when dangerous, then refuse described message content is transmitted to corresponding subscriber equipment.
9. method as claimed in claim 8, it is characterized in that, described message server also obtains the device address of environmental unit, generate the environmental unit sign corresponding with the device address of described environmental unit, and the message content of described environmental unit sign and environmental unit sent to subscriber equipment, described environmental unit sign is for after subscriber equipment gets access to the message content of environmental unit response result being returned to environmental unit.
10. as each described method of claim 7-9, it is characterized in that, described information receiving and transmitting address comprises the domain name of message server and port, the pseudo-code corresponding with subscriber equipment, the domain name of described message server and port refer message server, the described pseudo-code corresponding with subscriber equipment is used for the corresponding subscriber equipment of message server inquiry.
CN201310122479.1A 2013-04-10 2013-04-10 Information interacting method based on message server and relevant device Active CN103297322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310122479.1A CN103297322B (en) 2013-04-10 2013-04-10 Information interacting method based on message server and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310122479.1A CN103297322B (en) 2013-04-10 2013-04-10 Information interacting method based on message server and relevant device

Publications (2)

Publication Number Publication Date
CN103297322A true CN103297322A (en) 2013-09-11
CN103297322B CN103297322B (en) 2016-08-17

Family

ID=49097664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310122479.1A Active CN103297322B (en) 2013-04-10 2013-04-10 Information interacting method based on message server and relevant device

Country Status (1)

Country Link
CN (1) CN103297322B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161187A (en) * 2015-03-31 2016-11-23 中国移动通信集团公司 A kind of method, apparatus and system that public information service is provided based on instant message
CN106233701A (en) * 2014-04-30 2016-12-14 Ice网关有限公司 For make information can apparatus and method
CN107683491A (en) * 2015-05-27 2018-02-09 国际商业机器公司 Start physical object using Internet of Things to perform the specific action that enhancing user interacts with physical object
CN108293062A (en) * 2015-12-03 2018-07-17 瑞典爱立信有限公司 Method and apparatus for managing constrained devices
CN109218431A (en) * 2018-09-28 2019-01-15 江苏中威科技软件系统有限公司 A kind of accurate information push management method
CN110401704A (en) * 2019-07-11 2019-11-01 安克创新科技股份有限公司 The methods, devices and systems of message push

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478553A (en) * 2009-02-10 2009-07-08 中国网络通信集团公司 Dynamic domain name management system and method
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key
US20120315846A1 (en) * 2011-06-13 2012-12-13 Avaya Inc. Method and system for proximity-based content sharing
CN202677469U (en) * 2012-06-21 2013-01-16 朱建 System of interaction between cell phone and advertisement machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478553A (en) * 2009-02-10 2009-07-08 中国网络通信集团公司 Dynamic domain name management system and method
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system
US20120315846A1 (en) * 2011-06-13 2012-12-13 Avaya Inc. Method and system for proximity-based content sharing
CN202677469U (en) * 2012-06-21 2013-01-16 朱建 System of interaction between cell phone and advertisement machine
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106233701A (en) * 2014-04-30 2016-12-14 Ice网关有限公司 For make information can apparatus and method
US10257652B2 (en) 2014-04-30 2019-04-09 Ice Gateway Gmbh Apparatus and method for making information available
CN106233701B (en) * 2014-04-30 2019-12-31 Ice网关有限公司 Apparatus and method for making information available
CN106161187A (en) * 2015-03-31 2016-11-23 中国移动通信集团公司 A kind of method, apparatus and system that public information service is provided based on instant message
CN106161187B (en) * 2015-03-31 2020-01-03 中国移动通信集团公司 Method, equipment and system for providing public information service based on instant message
CN107683491A (en) * 2015-05-27 2018-02-09 国际商业机器公司 Start physical object using Internet of Things to perform the specific action that enhancing user interacts with physical object
CN108293062A (en) * 2015-12-03 2018-07-17 瑞典爱立信有限公司 Method and apparatus for managing constrained devices
US11044593B2 (en) 2015-12-03 2021-06-22 Telefonaktiebolaget Lm Ericsson (Publ) Method and devices for managing constrained devices
CN108293062B (en) * 2015-12-03 2021-08-24 瑞典爱立信有限公司 Method and apparatus for managing constrained devices
CN109218431A (en) * 2018-09-28 2019-01-15 江苏中威科技软件系统有限公司 A kind of accurate information push management method
CN110401704A (en) * 2019-07-11 2019-11-01 安克创新科技股份有限公司 The methods, devices and systems of message push
CN110401704B (en) * 2019-07-11 2022-04-29 安克创新科技股份有限公司 Message pushing method, device and system

Also Published As

Publication number Publication date
CN103297322B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
KR101362384B1 (en) The method and system for browsing things of internet of things on ip using web platform
US20170289781A1 (en) Method for providing access to media content through a server
CN103297322A (en) Information interaction method and relevant equipment based on message server
US9736205B2 (en) Media share control apparatus, media reproducing apparatus, and method of providing user interface for media sharing thereof
US20140359001A1 (en) Multimedia device configured to provide both client and server aspects of a network service
EP2843975A1 (en) Mobile terminal and direct service-providing method therefor
US20090302998A1 (en) Method for providing to an end device access to a service, to an end device and to a mobile terminal realizing such a method
US9936036B2 (en) Method and system for indirectly establishing a unique communication channel between a plurality of devices
CN103491172A (en) Method and system for sharing cloud file
CN101352021A (en) Dynamic discovery of a network service on a mobile device
CN102750433A (en) Techniques for conference system location awareness and provisioning
CN104871481B (en) The method and apparatus of power management based on cloud for local network device
CN103888488A (en) WIFI-based data sharing method
CN102291243A (en) Service processing server, system and method
CN103532833A (en) Business system access method, terminal and agency service system
CN103167327A (en) Method, device and system of information interaction
CN102404616B (en) Method and system for pushing data cloud based on digital television network
KR101523204B1 (en) System and method for providing advertisement
CN102427469B (en) System and method for using handheld electronic device to control target equipment
WO2018011814A1 (en) A system of dynamic application for accessing secure wlan and enabling services.
CN103500200A (en) Medium information collaborative releasing system and method thereof
CN109525652A (en) Information sharing method, device, equipment and storage medium
KR101111898B1 (en) Server system for reducing use of packet data use for smart phone
CN105788594A (en) Voice and meaning identification method and system of flow-free APP
CN103368961A (en) Method for multi-screen interaction through social network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Luohu District Shenzhen City, Guangdong Province, Wenjin North Road 518020 No. 1052 Grand Garden District Jiaqing court room 16G

Patentee after: Wang Yujiao

Address before: 403 U1 building, U District, Shahe Guihua garden, Nanshan District, Guangdong, Shenzhen 518053, China

Patentee before: Wang Yujiao

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191128

Address after: 221000 No.9 Xingye Road, Lingang Industrial Park, Pizhou City, Xuzhou City, Jiangsu Province

Patentee after: Jiangsu Sanzhou Machinery Technology Co., Ltd

Address before: 518020 Room 16G Jiaqing Pavilion, 1052 Wenjin North Road, Luohu District, Shenzhen City, Guangdong Province

Patentee before: Wang Yujiao

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200710

Address after: Room 403-a, 4th floor, building c-1-c, software park, no.6, wuruyuan Road, Quanshan District, Xuzhou City, Jiangsu Province, 221000

Patentee after: Jiangsu Shanxin Information Technology Co., Ltd

Address before: 221000 No.9 Xingye Road, Lingang Industrial Park, Pizhou City, Xuzhou City, Jiangsu Province

Patentee before: Jiangsu Sanzhou Machinery Technology Co.,Ltd.