Method and device for integrating bonjour service in application program

An application program and its technology, applied in the field of communication, can solve problems such as the lack of independence of the application program, and achieve the effect of sharing

Inactive Publication Date: 2017-12-15
WUXI TVMINING MEDIA SCI & TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In related technologies, some applications that need to use the Bonjour service install and start the Bonjour service on the machine or terminal where the application runs, so that when the application uses the Bonjour service, it is affected by whether the user's machine or terminal has installed or enabled the Bonjour service. impact, resulting in a lack of independence for the application

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 integrating bonjour service in application program
  • Method and device for integrating bonjour service in application program
  • Method and device for integrating bonjour service in application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0048] figure 1 Shown is a flow chart of a method for integrating Bonjour services in an application program in an embodiment of the present invention, and the method includes the following steps S11-S14:

[0049] Step S11, obtaining the source code of the Bonjour service.

[0050] Step S12 , encapsulate the start interface for starting the Bonjour service and the stop interface for stopping the Bonjour service from the obtained source code, and obtain the encapsulated source code.

[0051]Step S13, compiling the encapsulated source code into a Bonjour service dynamic link library.

[0052] Step S14, loading the Bonjour service dynamic link library in the applicat...

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 and device for integrating Bonjour service in an application program, as well as a method and device for providing Bonjour service, so as to realize that the application program can independently use the Bonjour service, so that it will not be affected by whether the user machine or terminal is installed or enabled Limitations of Bonjour Services. The method for integrating the Bonjour service in the application program includes: obtaining the source code of the zero-configuration networking Bonjour service; encapsulating the start interface for starting the Bonjour service and the stop interface for stopping the Bonjour service from the source code, and obtaining Encapsulated source code; compiling the encapsulated source code into a Bonjour service dynamic link library; loading the Bonjour service dynamic link library in the application program to integrate the Bonjour service in the application program.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for integrating Bonjour service in an application program, and a method and device for providing Bonjour service. Background technique [0002] Zero-configuration networking (Bonjour) is the name given to an open zero-configuration networking standard based on multicast Domain Name System (mDNS). Devices using the Bonjour service automatically broadcast their own service information in the network and listen to the service information of other devices, as if greeting each other. [0003] In this way, Bonjour makes it easy to find systems and services on the LAN even without a network administrator. Bonjour displays the names of devices and applications that support multicast domain name protocol in the local network, and uses mDNS to resolve device naming conflicts in the local network. [0004] In related technologies, some applications that ...

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 Patents(China)
IPC IPC(8): G06F9/44G06F9/445G06F9/45
Inventor 张金良
Owner WUXI TVMINING MEDIA SCI & TECH
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