Method and device for sending and processing AllJoyn network message

A technology of network messages and processing methods, applied in the field of AllJoyn network message sending and processing methods and devices, capable of solving problems such as AllJoyn network service conflicts, achieving the effects of improving user experience, enhancing robustness, and resolving conflicts

Active Publication Date: 2015-04-22
HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The technical problem to be solved by the present invention is to provide a method and device for sending and processing AllJoyn network messages to solve the problem of AllJoyn network service conflicts in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for sending and processing AllJoyn network message
  • Method and device for sending and processing AllJoyn network message
  • Method and device for sending and processing AllJoyn network message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] A method for sending an AllJoyn network message in an embodiment of the present invention includes the following steps: the sending end generates a message, the message includes a message type, and the message type includes signal sending and event sending; the sending end sends the generated message to the receiver end.

Embodiment 2

[0045] A kind of AllJoyn network message processing method of the embodiment of the present invention comprises the following steps: receiving end receives message; Obtain the message type in the received message, described message type comprises signal transmission and event transmission; When the type of described message is signal When sending, the message is processed through a signal processing mechanism; when the type of the message is event sending, the message is processed through an event-action mechanism. In this embodiment, the processing of the message through the signal processing mechanism specifically includes: passing the message to a signal processor, and the signal processor processes the message; the processing of the message through the event-action mechanism The processing of the message specifically includes: passing the message to a rule engine, and the rule engine processes the message.

Embodiment 3

[0047] A kind of AllJoyn network service processing method of the embodiment of the present invention such as figure 2 As shown, the method includes the following steps:

[0048] Step s201, the sender generates a message, the message includes a message type, and the message type includes signal sending and event sending;

[0049] Step s202, the sending end sends the generated message to the receiving end;

[0050] Step s203, the receiver receives the message;

[0051] Step s204, obtaining the message type in the received message;

[0052] Step s205, when the type of the message is signal sending, process the message through a signal processing mechanism; when the type of the message is event sending, process the message through an event-action mechanism.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for transmitting an AllJoyn network message. The method comprises the steps that a transmitting end generates a message; the transmitting end sends the generated message to a receiving end. The invention further discloses a method for processing the AllJoyn network message. The method comprises the steps that the receiving end receives the message; the message type in the received message is acquired; when the message type is signal transmitting, the message is processed by a signal processing mechanism; when the message type is incident transmitting, the message is processed by an incident-movement mechanism. The invention further discloses an AllJoyn network transmitting end and an AllJoyn network receiving end. According to the method and device for transmitting and processing the AllJoyn network message, a signal and an incident are distinguished with a method that an incident transmitting type is added in the message type of the AllJoyn network message, so that an AllJoyn network business conflict caused by the fact that a signal processing mechanism and the incident-movement mechanism are triggered by a same accident simultaneously is avoided, the AllJoyn robust is promoted, and the user experience is improved.

Description

technical field [0001] The invention relates to the field of AllJoyn network, in particular to a method and device for sending and processing AllJoyn network messages. Background technique [0002] AllJoyn is an open source software project, which provides a common communication framework for different electronic devices; AllJoyn is a P2P (Peer to Peer, peer-to-peer connection) communication framework, and the communication parties are the service provider and the service user. In AllJoyn's communication mechanism, the service provider and the service user communicate by implementing the same interface specification. The AllJoyn interface includes three members: method, property and signal. The method is a function call, which accepts one or more input parameters, performs corresponding processing, and returns one or more output parameters; properties include read-only, write-only and There are three ways to read and write variables; the signal is an asynchronous notificati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 薛国栋李永华齐磊
Owner HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products