CN111711660B - Method, device, equipment and storage medium for communication between electronic equipment - Google Patents

Method, device, equipment and storage medium for communication between electronic equipment Download PDF

Info

Publication number
CN111711660B
CN111711660B CN202010447834.2A CN202010447834A CN111711660B CN 111711660 B CN111711660 B CN 111711660B CN 202010447834 A CN202010447834 A CN 202010447834A CN 111711660 B CN111711660 B CN 111711660B
Authority
CN
China
Prior art keywords
communication
application
communication information
equipment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010447834.2A
Other languages
Chinese (zh)
Other versions
CN111711660A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202010447834.2A priority Critical patent/CN111711660B/en
Publication of CN111711660A publication Critical patent/CN111711660A/en
Application granted granted Critical
Publication of CN111711660B publication Critical patent/CN111711660B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for communication between electronic equipment, wherein the method comprises the steps that a first application receives first communication information from first equipment, and the first communication information accords with a communication standard of the first equipment; the first application calls the second application to process the first communication information so as to convert the first communication information into second communication information, wherein the second communication information accords with the communication standard of the second equipment; the first application sends the second communication information to the second device. By the method, communication between incompatible devices can be achieved.

Description

Method, device, equipment and storage medium for communication between electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for communications between electronic devices.
Background
With the wide application of the internet of things technology, the types and the number of intelligent devices connected to the internet of things are more and more. However, most of these intelligent devices are developed by different enterprises, and the adopted transmission protocols, communication protocols, data transmission formats and the like are different, so that the devices are not compatible with each other.
At present, each enterprise is building an own ecological circle, and for enterprises with own ecological circles, the ecological circle can be compatible with sub-equipment products of each manufacturer in the ecological circle. However, many manufacturers develop intelligent sub-equipment products, new enterprises are continuously emerging, and ecological enterprises are difficult to be compatible with the intelligent sub-equipment products of all manufacturers. On the other hand, small enterprises which are dedicated to developing intelligent sub-equipment products have no resource development gateway products, and have no own ecological circles, and the development gateway products have little value for them. Most small enterprises choose to access the products to the ecological circles of the industrial tap enterprises. At present, the gateway of the tap enterprise is compatible with the sub-equipment of the terminal equipment manufacturer through an enterprise cooperation mode, or the terminal equipment manufacturer develops the sub-equipment according to the protocol of the tap enterprise. The cooperation mode has some defects, such as too small scale of terminal equipment manufacturers, difficulty in attracting attention of tap enterprises, and unreliable compatibility depending on the tap enterprises; the single products of terminal equipment manufacturers are delivered, and the cost for modifying the protocol is huge; long development period, etc.
Disclosure of Invention
The technical problem that this application mainly solves is to provide a method, device, equipment and storage medium of communication between electronic equipment, can realize the communication between incompatible equipment.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: there is provided a method of communication between electronic devices, the method comprising a first application receiving first communication information from a first device, the first communication information conforming to a communication standard of the first device; the first application calls the second application to process the first communication information so as to convert the first communication information into second communication information, wherein the second communication information accords with the communication standard of the second equipment; the first application sends the second communication information to the second device.
Wherein the first application invoking the second application to process the first communication information to convert the first communication information into the second communication information includes: the first application sends the first communication information to the second application; the second application receives the first communication information, performs protocol conversion on the first communication information based on the communication standard of the second device, and converts the first communication information into second communication information; and the second application sends the converted second communication information to the first application so that the first application sends the second communication information to the second device.
The method comprises the following steps that before the first application calls the second application to process the first communication information: the first application judges whether the first communication information is communication information compatible with the second application; if yes, executing the step that the first application calls the second application to process the first communication information.
Wherein the first application judging whether the first communication information is communication information compatible with the second application, comprises: the method comprises the steps that a first application obtains equipment information of first equipment and matches the equipment information with a user-defined equipment information list; if the matching is successful, the first device is determined to be the custom device predefined by the second application, and if the first device is determined to be the custom device predefined by the second application, the first communication information is determined to be the communication information compatible with the second application.
The method comprises the steps that a first application obtains equipment information of a first device, and before the equipment information is matched with a user-defined equipment information list, the method further comprises the steps of: the second application calls an interface of the first application and registers the user-defined equipment list information into the first application.
Wherein before the first application receives the first communication information from the first device, the method further comprises: the method comprises the steps that a first application receives first communication information carrying a network access request from first equipment; the first application receives first communication information carrying a network access request, gives a network access response and generates second communication information carrying a binding request; the first application calls the second application to analyze the first communication information carrying the network access request, the network access request is obtained, and the second communication information carrying the binding request is generated based on the network access request; the first application sends second communication information carrying the binding request to the second device to establish a communication connection between the first device and the second device.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: the device comprises a first application module and a second application module, wherein the first application module is used for receiving first communication information/sending second communication information, the first communication information accords with the communication standard of the first device, and the second communication information accords with the communication standard of the second device; the second application module is used for processing the first communication information so as to convert the first communication information into second communication information.
The device for realizing communication between the electronic devices further comprises a first communication interface, wherein the first communication interface is coupled with the first application and is used for establishing communication connection with the first device/the second device.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: an apparatus for enabling communication between electronic devices is provided, comprising a processor for executing instructions to implement the method for enabling communication between electronic devices described above.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: there is provided a computer readable storage medium storing instructions/program data executable to implement the method of communication between electronic devices described above.
The beneficial effects of this application are: different from the condition of the prior art, the application can realize the communication between two electronic devices, in particular to realize the communication between two incompatible devices by combining at least two application modules which are respectively compatible and process different communication standards.
Drawings
Fig. 1 is a schematic structural diagram of an apparatus for implementing communication between electronic devices according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an implementation of communication between electronic devices in an embodiment of the present application;
FIG. 3 is a schematic diagram of a device for implementing communication between electronic devices according to an embodiment of the present application;
FIG. 4 is a flow chart of a communication method between electronic devices according to an embodiment of the present application;
FIG. 5 is a flow chart of another method of communication between electronic devices according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer-readable storage medium in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and effects of the present application clearer and more specific, the present application will be further described in detail below with reference to the accompanying drawings and examples.
Based on the problem that tap enterprises have no method to be compatible with products of all terminal equipment manufacturers, and the terminal equipment manufacturers need to attach ecological circles of the tap enterprises. The utility model provides a based on the thinking of enabling, tap enterprise gives terminal equipment manufacturer and inserts the ability of its intelligent sub-equipment to own ecological circle, provides a whole set of gateway solution, and terminal equipment manufacturer can be based on the gateway solution to compatible sub-equipment of oneself, and then develops a section and both compatible sub-equipment of tap enterprise ecological circle, and the gateway product of own sub-equipment.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an apparatus for implementing communication between electronic devices according to an embodiment of the present application. In this embodiment, an apparatus for implementing communication between electronic devices is provided, where the apparatus 10 includes a first application module 101, a second application module 102, and a first communication interface 103.
Wherein the first communication interface 103 is configured to establish a communication connection with the first device/second device; the first application module 101 is coupled to the first communication interface 103, and is configured to receive/send communication information through the first communication interface 103, and meanwhile, the first application module 101 may also analyze and process communication information conforming to the second device communication standard; the second application module 102 is coupled to the first application module 101, and is configured to parse the communication information conforming to the first device communication standard, and convert the communication information into communication information conforming to the second device communication standard.
A second communication interface (not shown) may be further included between the first application module 101 and the second application module 102, so that the first application module 101 cannot process communication information conforming to the first device communication standard in a compatible manner, and when receiving the communication information conforming to the first device communication standard, the first application module 101 may call the second application module 102 that can process the communication information conforming to the first device communication standard in a compatible manner to process the communication information conforming to the first device communication standard, so that the apparatus 10 may implement communication between two incompatible devices.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating communication between electronic devices according to an embodiment of the present application. In this embodiment, the apparatus 10 can be used to realize communication between two electronic devices. Specifically, the first device 20 and the second device 30 respectively establish a communication connection with the apparatus 10 through the first communication interface 103, and the first device 20 and the second device 30 may send communication information to each other through the apparatus 10, or may receive communication information from each other through the apparatus 10.
In an embodiment, the first device 20 sends the first communication information to the apparatus 10, where the first communication information is in accordance with the first device communication standard, after the first application module 101 receives the first communication information, it detects that the first communication information is in accordance with the first device communication standard, and the first application module 101 cannot compatibly process the communication information in accordance with the first device communication standard, and the first application module 101 may invoke the second application module 102 that may compatibly process the communication information in accordance with the first device communication standard to process the first communication information, and may convert the first communication information into the second communication information in accordance with the second device communication standard that the first application module 101 may compatibly process, so as to implement communication between incompatible devices. Specifically, the first application module 101 sends the first communication information to the second application module 102, the second application module 102 performs protocol conversion on the first communication information to convert the first communication information into the second communication information, the second application module 102 sends the second communication information to the first application module 101, and the first application module 101 sends the second communication information to the second device 30, so as to realize communication between the first device 20 and the second device 30. With this embodiment, even if the first device 20 and the second device 30 are not compatible with each other, communication between the two can be achieved.
In another embodiment, the first device 20 sends the first communication information to the apparatus 10, where the first communication information accords with the second device communication standard, and after receiving the first communication information, the first application module 101 detects and determines that the first communication information is in the second device communication standard, and the first application module 101 may directly analyze and process the first communication information and send the first communication information to the second device 30, where participation of the second application is no longer required. Thus, with the apparatus 10, communication between both compatible devices can be achieved, as well as communication between both incompatible devices.
In this embodiment, by providing application modules capable of respectively compatibly handling different communication standards, i.e., installing at least two application programs, on the apparatus 10, communication between two electronic devices can be achieved, and in particular, communication between two incompatible devices can be achieved. In other embodiments, more applications may be installed, i.e., there may be more second applications to be compatible with more devices.
In an embodiment, the apparatus 10 may be a gateway device, for example, a gateway device based on any protocol such as zigbee, bluetooth, etc., where at least two applications are installed on the gateway device, so as to implement communication between two incompatible devices.
The first device may be an intelligent electronic device such as an intelligent television, an intelligent refrigerator, an intelligent sound box, and the second device is a computer device such as a server. The first equipment and the second equipment can be connected with the gateway equipment through communication interfaces in a communication mode so as to realize information interaction with the other party by using the gateway equipment. According to the scheme provided by the application, the first equipment different from the server protocol standard can be accessed into the cloud service network to communicate with the cloud server.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for implementing communication between electronic devices according to an embodiment of the present application. In this embodiment, the device 10 for enabling communication between electronic devices includes a processor 11.
The processor 11 may also be referred to as a CPU (Central Processing Unit ). The processor 11 may be an integrated circuit chip with signal processing capabilities. The processor 11 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The general purpose processor may be a microprocessor or the processor 11 may be any conventional processor or the like.
The device 10 for enabling communication between electronic devices may further comprise a memory (not shown) for storing instructions and data needed for the operation of the processor 11.
The processor 11 is configured to execute instructions to implement the methods provided by any of the embodiments of the methods of communication between electronic devices and any non-conflicting combinations described below.
When the processor 11 works, it may be divided into a plurality of modules according to the working functions, for example, the first application module and the second application module are used for processing different task items, and detailed descriptions of the above embodiments are omitted herein.
In an application scenario, the device for implementing communication between electronic devices is a gateway device, where a first application program and at least one second application program are installed on the gateway device. The first application can be an application program developed by a large enterprise and can be compatible with various sub-devices in an ecological chain of the large enterprise, and the second application can be an application program developed by a small enterprise based on the first application program.
Specifically, a large enterprise has an own ecological chain and a developed gateway product, the gateway product can be compatible with various sub-devices in the ecological chain, but different terminal device manufacturers develop more different terminal devices along with the time, and the gateway device of the large enterprise cannot be compatible with all the sub-devices, particularly some newly added sub-devices; the terminal equipment manufacturers do not have resources to develop gateway products, and do not have own ecological circles, and the gateway equipment does not need to be independently developed, but the communication between the terminal equipment and other equipment is blocked due to the fact that the gateway equipment compatible with the terminal equipment is not provided.
Therefore, a large enterprise can provide a gateway solution (i.e. gateway equipment with a first application) for a terminal equipment manufacturer, and the terminal equipment manufacturer can develop (i.e. develop a second application) based on the gateway solution, so that the gateway equipment can be compatible with own terminal equipment (i.e. the second application can process communication information conforming to the communication standard of the terminal equipment), and the original architecture of the gateway equipment can not be changed, so that the gateway equipment can be compatible with sub-equipment in the original ecological chain of the large enterprise, and also can be compatible with terminal equipment developed by the terminal equipment manufacturer (i.e. the gateway equipment is provided with the first application and the second application at the same time).
By implementing the implementation of the embodiment, a large enterprise is endowed with the capability of enabling a terminal equipment manufacturer to access the intelligent sub-equipment to the ecological circle of the large enterprise, and the large enterprise is not required to continuously update gateway equipment for being compatible with more equipment; meanwhile, the terminal equipment can not depend on the communication standard of a large enterprise any more, and gateway equipment compatible with the terminal equipment can be developed in the capability range. And further, gateway equipment of a large enterprise can be compatible with sub-equipment of more small enterprises, so that the product development of the small enterprises is more flexible, the large enterprises are not completely relied on, the gateway equipment is not required to be completely independently developed, and the research and development cost is saved.
Based on the above, the application also provides a method for communication between electronic devices. Referring to fig. 4, fig. 4 is a flow chart of a communication method between electronic devices according to an embodiment of the present application. In this embodiment, a communication method between electronic devices includes:
s410: the first application receives first communication information from the first device.
Wherein the first communication is a communication conforming to a first device communication standard, such as may be generated based on a first communication protocol.
S420: the first application invokes the second application to process the first communication to convert the first communication to the second communication.
Wherein the second communication is a communication conforming to a second device communication standard, such as may be generated based on a second communication protocol.
S430: the first application sends the second communication information to the second device.
The first application can compatibly process the communication information conforming to the communication standard of the second device, and the second application can compatibly process the communication information conforming to the communication standard of the first device, so that the first application can call the second application to process the first communication information after receiving the communication information conforming to the communication standard of the first device, perform protocol conversion, convert the first communication information into the communication information conforming to the communication standard of the second device, and send the communication information to the second device, thereby realizing communication between two incompatible devices.
In one embodiment, after the first application receives the communication information, it may first detect and determine which communication standard the communication information is based on. Specifically, the electronic devices can be customized and classified in advance, and the communication information can be judged to be based on which communication standard by judging which type of electronic device the communication information is from. For example, a device information list may be registered in advance in the first application, device information such as a manufacturer name, a model number, a device type, etc. of the electronic device may be defined, and the communication information may be determined based on which communication standard by determining the device information.
Referring to fig. 5, fig. 5 is a flow chart of another communication method between electronic devices according to an embodiment of the present application. In this embodiment, the first device is an intelligent terminal device, the second device is a cloud server, and before the communication between the intelligent terminal device and the server, the intelligent terminal device needs to be first configured, and the intelligent terminal device is added into a networking of a cloud service platform, specifically including:
s51: the cloud server opens the distribution network permission of a Zigbee gateway (hereinafter referred to as gateway), and issues a notification of the distribution network permission to the gateway. The method includes that a user operates on a client device, the client device responds to an instruction of clicking an adding device by the user, a request for opening the distribution network permission is sent to a cloud server, and the cloud server opens the distribution network permission of a gateway after receiving the request for opening the distribution network permission.
S52: after receiving the notification of the network allocation permission issued by the cloud server, the gateway opens its own network allocation function, i.e. opens the Zigbee network.
S53: the intelligent terminal equipment scans whether a gateway allowing network allocation exists or not, and after the gateway with the network allocation function is opened in the environment is scanned, first communication information carrying a network access request is sent to the gateway. The operation that whether the intelligent terminal device scans the gateway allowing the distribution network can be executed only by opening the distribution network function of the intelligent terminal device in advance, the user can manually open the distribution network function of the intelligent terminal device, or a command for opening the distribution network function can be sent to the intelligent terminal device by using the client device, and then the distribution network function is automatically opened.
S54: after receiving first communication information carrying a network access request and sent by intelligent terminal equipment, a first application of the gateway gives a network access response and simultaneously sends a binding request to a cloud server.
Before sending the binding request, the first application needs to judge whether the intelligent terminal equipment is custom sub-equipment or ecological circle sub-equipment. The communication information sent by the custom sub-equipment is generated based on a first communication protocol, the communication information sent by the ecological circle sub-equipment is generated based on a second communication protocol, the first application of the gateway equipment can be used for compatibly processing the communication information of the ecological circle sub-equipment, and the second application of the gateway equipment can be used for compatibly processing the communication information of the custom equipment.
After the intelligent terminal equipment is the user-defined equipment, the first application can call the second application to acquire binding request information, specifically, the first application newly transmits first communication carrying the network access request to the second application, the second application analyzes the first communication carrying the network access request to acquire the network access request, wherein the network access request carries verification information such as equipment information, authorization codes and the like of the intelligent terminal equipment, the second application can give out the binding request information based on the equipment information, the authorization code information and the like in the network access request, then the second communication carrying the binding request is transmitted to the first application, and then the first application transmits the second communication carrying the binding request to the cloud server. When the intelligent terminal equipment is judged to be the sub-equipment of the ecological circle, the first application can directly identify and analyze the first communication information, acquire a network access request and give a binding request.
Wherein the device information list may be registered in advance with the first application, that is, step S50 may be performed before step S51 is performed: a custom device list is registered with the first application. For example, the second application may call the interface of the first application to register the manufacturer name and model list of the sub device (i.e., the custom sub device) to be accessed to the first application. In other embodiments, the custom device information list may also be directly input into the first application, which is not limited herein.
S55: after receiving the device information data of the intelligent terminal device, the cloud server stores the device information of the intelligent terminal device, adds the intelligent terminal device into the network, and closes the distribution network.
So far, the intelligent terminal equipment has joined the ecological network, and the server can be used for controlling the intelligent terminal equipment in the follow-up process, and can also be used for communicating with other intelligent terminal equipment in the ecological circle. In other embodiments, if the intelligent terminal device is already in the network, the information interaction can be directly performed.
When the cloud server needs to send command instructions to the intelligent terminal equipment, the cloud server sends second communication information carrying command notifications to the gateway, after receiving the second communication information, the first application analyzes and acquires the command notifications, judges whether the command notifications are sent to the custom sub-equipment or the ecological chain sub-equipment, and when judging that the command notifications are sent to the custom sub-equipment, the first application sends the second communication information carrying the command notifications to the second application, the second application carries out protocol conversion on the second communication information, converts the second communication information into first communication information carrying the command notifications, sends the first communication information back to the first application, and then sends the first application to the corresponding intelligent terminal equipment. And when the judgment is issued to the ecological-link equipment, the first application can directly send the second communication information to the corresponding ecological-link equipment without protocol conversion.
When the intelligent terminal equipment needs to report the state information to the cloud server, the intelligent terminal equipment sends first communication information carrying the state information to the gateway, after the first application receives the first communication information, the first application judges whether the information is from the self-defined sub-equipment or the ecological chain sub-equipment, when the information is judged to be from the self-defined equipment, the first application sends the first communication information carrying the state information to the second application, the second application carries out protocol conversion on the first communication information, converts the first communication information into second communication information carrying the state information, sends the second communication information back to the first application, and then the first application sends the second communication information to the cloud server. When the state information reported by the ecological chain equipment is judged, the first application can directly send the first communication information to the server without protocol conversion.
In this embodiment, by installing at least two application programs capable of respectively compatibly handling different communication standards on the gateway device, communication between two electronic devices can be achieved, and in particular, communication between two incompatible devices can be achieved. In other embodiments, more applications may be installed, i.e., there may be more second applications to be compatible with more devices.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a computer readable storage medium according to an embodiment of the present application. The computer readable storage medium 60 of the present embodiment stores instruction/program data 61, which when executed, implements the methods provided by any of the embodiments and any non-conflicting combinations of the method of communication between electronic devices of the present application. Wherein the instructions/program data 61 may be stored in the storage media 60 as a software product in a form of a program file, so that a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) performs all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium 60 includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes, or a terminal device such as a computer, a server, a mobile phone, a tablet, or the like.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the patent application, and all equivalent structures or equivalent processes using the descriptions and the contents of the present application or other related technical fields are included in the scope of the patent application.

Claims (9)

1. A method of communication between electronic devices, comprising:
the method comprises the steps that a first application receives first communication information from first equipment, the first application judges whether the first equipment is ecological circle equipment or custom sub equipment, and if the first equipment is ecological circle equipment, the first application directly analyzes the first communication information and sends the first communication information to second equipment;
if the first device is a custom sub-device, the first application judges whether the first communication information accords with the communication standard of the second device;
if the first communication information accords with the communication standard of the second equipment, the first application directly analyzes and processes the first communication information and sends the first communication information to the second equipment;
if the first communication information does not accord with the communication standard of the second equipment, the first application judges whether the first communication information is compatible processing communication information of the second application;
if the first communication information is the communication information which can be compatible processed by the second application, the first application calls the second application to process the first communication information so as to convert the first communication information into the second communication information, and the second communication information accords with the communication standard of the second equipment;
the first application sends the second communication information to a second device.
2. The method of inter-electronic device communication of claim 1, wherein the first application invoking the second application to process the first communication to convert the first communication to a second communication comprises:
the first application sends the first communication information to the second application;
the second application receives the first communication information, performs protocol conversion on the first communication information based on the communication standard of the second device, and converts the first communication information into the second communication information;
and the second application sends the second communication information obtained after conversion to the first application so that the first application sends the second communication information to second equipment.
3. The method of communicating between electronic devices of claim 1, wherein the first application determining whether the first communication is compatible with the second application comprises:
the first application obtains the equipment information of the first equipment and matches the equipment information with a custom equipment information list;
and if the matching is successful, judging that the first device is the custom device predefined by the second application, and if the first device is the custom device predefined by the second application, judging that the first communication information is the communication information compatible with the second application.
4. The method of communicating between electronic devices of claim 3, wherein the first application obtains device information of the first device and before matching the device information with a custom device information list further comprises:
and the second application calls an interface of the first application and registers the user-defined equipment list information into the first application.
5. The method of inter-electronic device communication of claim 1, wherein the first application further comprises, prior to receiving the first communication from the first device:
the first application receives first communication information carrying a network access request from the first device;
the first application receives the first communication information carrying the network access request, gives a network access response, and generates second communication information carrying the binding request; the first application calls the second application to analyze the first communication information carrying the network access request, the network access request is obtained, and the second communication information carrying the binding request is generated based on the network access request;
and the first application sends the second communication information carrying the binding request to the second equipment so as to establish communication connection between the first equipment and the second equipment.
6. An apparatus for enabling communication between electronic devices, comprising:
the first application module is used for receiving/sending first communication information, wherein the first communication information accords with the communication standard of the first equipment, and the second communication information accords with the communication standard of the second equipment;
the second application module is used for processing the first communication information so as to convert the first communication information into the second communication information; the first application module and the second application module are configured to execute instructions to implement the method of inter-electronic device communication of any of claims 1-5.
7. The apparatus for enabling communication between electronic devices of claim 6 further comprising a first communication interface coupled to said first application for establishing a communication connection with a first device/second device.
8. An apparatus for enabling communication between electronic devices, comprising a processor for executing instructions to implement the method of communication between electronic devices according to any of claims 1-5.
9. A computer readable storage medium storing instructions/program data executable to implement a method of communication between electronic devices according to any of claims 1-5.
CN202010447834.2A 2020-05-25 2020-05-25 Method, device, equipment and storage medium for communication between electronic equipment Active CN111711660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010447834.2A CN111711660B (en) 2020-05-25 2020-05-25 Method, device, equipment and storage medium for communication between electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010447834.2A CN111711660B (en) 2020-05-25 2020-05-25 Method, device, equipment and storage medium for communication between electronic equipment

Publications (2)

Publication Number Publication Date
CN111711660A CN111711660A (en) 2020-09-25
CN111711660B true CN111711660B (en) 2023-07-18

Family

ID=72537333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010447834.2A Active CN111711660B (en) 2020-05-25 2020-05-25 Method, device, equipment and storage medium for communication between electronic equipment

Country Status (1)

Country Link
CN (1) CN111711660B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7950017B1 (en) * 1999-04-23 2011-05-24 Avaya Inc. Apparatus and method for forwarding messages between two applications
CN108595451A (en) * 2017-12-04 2018-09-28 阿里巴巴集团控股有限公司 Service request processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780155B (en) * 2015-03-16 2018-03-06 小米科技有限责任公司 Apparatus bound method and device
CN106899584A (en) * 2017-02-17 2017-06-27 深圳怡化电脑股份有限公司 Management method and its device that a kind of hardware device is accessed
CN107018050A (en) * 2017-03-09 2017-08-04 广东美的制冷设备有限公司 Appliances equipment control method, Internet of Things module and home appliance
US20180338018A1 (en) * 2017-05-18 2018-11-22 Hcl Technologies Limited Hybrid middleware device for facilitating communication amongst devices operating on a distinct communication protocols
CN110995647A (en) * 2019-10-24 2020-04-10 珠海格力电器股份有限公司 Protocol conversion method, device, equipment, storage medium and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7950017B1 (en) * 1999-04-23 2011-05-24 Avaya Inc. Apparatus and method for forwarding messages between two applications
CN108595451A (en) * 2017-12-04 2018-09-28 阿里巴巴集团控股有限公司 Service request processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Probabilistic Framework for Protocol Conversions in IIoT Networks With Heterogeneous Gateways;Revathy Narayanan等;《IEEE Communications Letters 》;全文 *
多协议支持的通用外部交互接口服务器设计与实现;赵宏涛;魏元玲;王涛;陈峰;;铁路计算机应用(第02期);全文 *

Also Published As

Publication number Publication date
CN111711660A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
EP3399715B1 (en) Protocol conversion method, platform, and protocol conversion gateway
CN109635019B (en) Request processing method, device, equipment and storage medium
US20030009539A1 (en) Distributed object middleware connection method
EP2145251A1 (en) Xml push and remote execution of a wireless application
CN102790781A (en) Middleware, M2M (machine-to-machine) system with industrial application middleware and application method of system
US11709722B2 (en) Extensible communication framework and communication method supporting multiple communication protocols
CN101388887A (en) Network service processing method and system
CN111711660B (en) Method, device, equipment and storage medium for communication between electronic equipment
EP1198101A1 (en) Provisioning mechanism for a service gateway
US8516094B2 (en) Method and network management apparatus for implementing information service level inheritance in network management system
CN105075189A (en) Receiving a communication event
CN101404656A (en) Software interface design method for communicating with third party intelligent equipment protocol
CN114900387A (en) Cross-platform fusion access method, system, gateway and storage medium of equipment
WO2021057351A1 (en) Apparatus and method for controlling android bluetooth in glibc environment, and terminal device
CN112905273A (en) Service calling method and device
CN109582481B (en) Transmission method, device and equipment of call result and storage medium
AU2018373682B2 (en) Method for remote management of a device connected to a residential gateway
CN102594729B (en) Intermodule communication method and intermodule communication system
CN102075646B (en) Call center equipment control system and method
CN117201577B (en) Communication method and system of cross-platform API and SPI based on PISA
CN117135011B (en) Method for adapting gateway to multiple cloud platforms based on MQTT communication and gateway system
CN116170506B (en) System and method for realizing loose coupling butt joint of mobile terminal signature service and reader
CN112650601B (en) Method, apparatus, device, storage medium, and program for opening applet across hosts
WO2022116191A1 (en) Connection establishment method and apparatus, and device and storage medium
WO2024011634A1 (en) Subscription message processing method and apparatus, device, storage medium, and program product

Legal Events

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