EP2348696A1 - Dongle for enhancing capabilities of peripheral devices - Google Patents

Dongle for enhancing capabilities of peripheral devices Download PDF

Info

Publication number
EP2348696A1
EP2348696A1 EP09306298A EP09306298A EP2348696A1 EP 2348696 A1 EP2348696 A1 EP 2348696A1 EP 09306298 A EP09306298 A EP 09306298A EP 09306298 A EP09306298 A EP 09306298A EP 2348696 A1 EP2348696 A1 EP 2348696A1
Authority
EP
European Patent Office
Prior art keywords
dongle
javacard
function
peripheral device
interface
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.)
Withdrawn
Application number
EP09306298A
Other languages
German (de)
French (fr)
Inventor
Julien Delsuc
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.)
Thales DIS France SA
Original Assignee
Gemalto SA
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 Gemalto SA filed Critical Gemalto SA
Priority to EP09306298A priority Critical patent/EP2348696A1/en
Priority to PCT/EP2010/066898 priority patent/WO2011076474A1/en
Publication of EP2348696A1 publication Critical patent/EP2348696A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/2258Supports; Mounting means by structural association with other equipment or articles used with computer equipment
    • H01Q1/2275Supports; Mounting means by structural association with other equipment or articles used with computer equipment associated to expansion card or bus, e.g. in PCMCIA, PC cards, Wireless USB

Definitions

  • the present invention relates to common use peripheral devices.
  • the invention relates more particularly to peripheral devices having a USB interface through which they are controlled by a computer or to peripheral devices in the area of domotics and internet of things.
  • Domotic solutions are developed in order to provide an automatic management of domestic appliances to the user. Such appliances can for instance be windows shutters, cookers, refrigerators or doors. Most of the domotic solutions require specific appliances as well as an expensive and complex control equipment. Thus, the installation of a domotic solution involves a significantly higher cost than the use of end user controlled domestic appliances. This is a major obstacle to wider distribution of appliances designed for domotic applications.
  • the dongle may comprise a Javacard applet including a function for controlling a peripheral device not directly connected to the dongle, said Javacard applet, when it is executed and if a predetermined signal is received by the dongle on its USB interface, is adapted to send a message including a call to said function along with its execution parameters through the wireless interface to another dongle connected to this peripheral device.
  • Said driver may be adapted to apply a command to a peripheral device connected to its USB host interface when a call to its function and its execution parameters are received on the wireless communication interface.
  • the virtual machine is compliant with the Javacard specification.
  • the dongle may comprise a writable non volatile memory and a communication interface through which applets or drivers can be loaded into the writable non volatile memory in order to be executed by said Javacard virtual machine.
  • the invention also relates to a set of dongles, comprising at least two dongles as recited before, wherein a first dongle stores a software driver for controlling a first peripheral device connected to its USB interface and wherein a second dongle stores a software driver for controlling a second peripheral device connected to its USB interface, wherein the second dongle stores a Javacard applet being adapted, when it is executed and if a predetermined signal is received by said second dongle on its USB interface, to send a message including a call to said function along with execution parameters through the wireless interface to the first dongle.
  • the invention further relates to a method for providing the control of a peripheral device to another device, comprising a step in which a first dongle as recited before and connected to the peripheral device by its USB interface declares said function for controlling the peripheral device through its wireless interface to a second dongle as recited before, said dongle storing an applet calling the declared function when executed and being connected to said other device.
  • said first dongle declares its function to the second dongle using one of the following protocols: SOAP, RPC or REST.
  • a dongle is provided both with USB host interface and a wireless communication interface.
  • the dongle hosts a Javacard compliant virtual machine executed by a microcontroller.
  • the dongle also hosts a software driver coded with Javacard instructions.
  • This software driver comprises at least one function for controlling a peripheral device to be connected to the USB interface.
  • the driver is adapted to declare this function and its parameters to another dongle through its wireless communication interface.
  • Such a dongle provides a significant widening of the applications available when using a given peripheral device, without needing a sophisticated management process inside this peripheral device and without needing sophisticated control equipments. Such a dongle can cooperate with another dongle to provide an interaction with other peripheral devices. The use of peripheral devices is thereby made much more versatile.
  • a function in a Java environment is usually named a method.
  • FIG. 1 is a schematic view of the functional structure of a dongle D according to the invention.
  • the dongle D comprises a microcontroller MC provided with a processor, a non volatile memory and a random access memory.
  • the dongle D also comprises a USB connector D2 and a wireless communication antenna D1.
  • the dongle D further comprises a USB host controller USB-HC for managing the communications and/or the power management on the USB connector D2.
  • the USB host controller USB-HC allows the dongle D to manage communication with a peripheral device connected to connector D2 without requesting a computer additionally.
  • the dongle D further comprises a wireless communication controller WIC.
  • the controller WIC manages the communications of the dongle D through the antenna D1.
  • the controller WIC can comprise a radiofrequency emission/reception circuit.
  • the controller WIC and antenna D1 can be designed for communicating based on any suitable protocol like recited in Bluetooth, Wifi or NFC specifications.
  • the dongle also stores a Javacard virtual machine JVM to be executed by the microcontroller MC.
  • the dongle D further stores one or more Javacard compliant libraries LI.
  • the libraries LI allow the dongle to pilot a USB peripheral device plugged to the USB connector D2 by defining its specific functions.
  • the dongle also stores one or more Javacard compliant applets AP and one or more peripheral device drivers DR.
  • the drivers DR are coded according to a Javacard specification, for instance the Javacard 3.0 specification.
  • One driver DR comprises at least one Javacard function for controlling a peripheral device to be connected to the USB connector D2. This driver is also designed to declare this function and the format of its parameters to another dongle through the wireless communication antenna D1.
  • another dongle is able to send a message including a call to this function with appropriate execution parameters to control the peripheral device connected to the USB connector D2. Responsive to the reception of this message, the driver DR of the dongle D can apply a command to the peripheral device connected to its USB connector D2.
  • the use of a Javacard virtual machine allows the execution of complex Javacard applets with a microcontroller MC presenting limited capacities.
  • the dongle D may also run a smart card web server SCWS enabling the broadcasting of a convenient user interface that can be displayed through a browser.
  • the dongle D comprises an applet AP for controlling a peripheral device to which it is not connected.
  • This Javacard compliant applet AP includes a stub referring to a function comprised in a peripheral device driver or applet stored in another dongle.
  • This applet AP is adapted to send a control message through the wireless communication antenna D1 to the other dongle.
  • the dongle D receives a predetermined signal from the peripheral device connected to its USB connector D2, it is adapted to send through antenna D1 and to respond to this signal a control message to the other dongle.
  • This message includes a call to this function along with execution parameters of the function.
  • the dongle can thereby control a peripheral device connected to the USB connector of the other dongle.
  • the functions can be declared to other dongles by using any suitable protocol.
  • the following protocols can be used: SOAP (notably available at http://www.w3.org/TR/soapl2-partl/#intro), RPC (RFC1831), REST (notably available at http://www.ics.uci.edu/ ⁇ fielding/pubs/dissertation/rest_arc h_style.htm).
  • the peripheral device can be a generic peripheral USB device distributed without its Javacard driver and/or applet, or a specific peripheral USB device distributed with its Javacard driver and/or applet to be loaded into its associated dongle.
  • the peripheral device can also be distributed with an associated dongle including its Javacard driver and/or applet loaded therein beforehand.
  • the dongle can be a generic dongle, with update capacities in order to load new drivers and applets to manage a newly purchased peripheral device. Such a generic dongle can be produced and distributed at a reasonable price, thus facilitating the distribution of peripheral devices with enhanced communication capacities.
  • the dongle D can comprise a writable non volatile memory to store additional drivers and applets uploaded by a user.
  • the Javacard virtual machine JVM will thereby be able to execute these additional applets or drivers.
  • This writable non volatile memory can be included in microcontroller MC or can be integrated as an additional mass storage connected to the microcontroller MC.
  • the dongle D may then comprise a communication interface adapted for uploading such applets or drivers.
  • These applets or drivers can notably be uploaded into the dongle by using its already available USB connector D2 or antenna D1.
  • the user uploads drivers and applets into the dongles D10 and D20 with a computer C.
  • the computer C can communicate with dongles D10 and D20 respectively with USB connexions C1 and C2 or with its antenna A.
  • the dongle can be switched between a master and a slave mode for its cooperation with the connected peripheral device.
  • the dongle connected to an electronic picture frame can be switched into a slave mode to provide an access to pictures stored in a mass storage non volatile memory.
  • the electronic picture frame can then display a slideshow of the pictures stored in the mass storage of the dongle.
  • the dongle can also be switched into a master mode to take control of the electronic picture frame display. For instance, the dongle will control the display on the electronic picture frame of a RSS flow provided remotely by another dongle. This dual mode of the dongle further enriches the applications that can be practically carried out using the peripheral device.
  • the dongle according to the invention can be powered in any appropriate way known per se.
  • the dongle can notably be powered through a connexion to the electric network using an AC/DC transformer, through batteries housed in the casing of the dongle or through the USB host interface connected to the peripheral device.
  • Known methods allow a device to derive its power from its USB host interface.
  • FIG. 2 illustrates an example of the cooperation between two peripheral devices P1 and P2 using a set of dongles D10 and D20.
  • the peripheral device P1 is a webcam having a USB connector P11 connected to the USB connector D12 of dongle D10.
  • the peripheral device P2 is a door including a lock P21 and a USB connector P22.
  • the lock P21 comprises a detector generating a signal when the door P2 is open.
  • the dongle D10 stores a driver dedicated for managing the webcam P1.
  • This driver comprises a function called 'takeapicture', this function triggering a snapshot by the webcam P1 with appropriate execution parameters.
  • the function 'takeapicture' can also trigger the sending of the picture towards another device through the antenna D11 or its storage in the dongle D10, through an applet executed in dongle D10.
  • the dongle D10 declares the function 'takeapicture' and the corresponding parameters to the dongles in the whereabouts, including dongle D20.
  • An identification of the dongle D10 in association with function 'takeapicture' and its parameters are stored in dongle D20.
  • the signal generated by the lock detector is transmitted to the dongle D20.
  • the dongle D20 stores a driver dedicated for managing the door lock P21 and an applet for providing security features.
  • the applet requests pictures to be taken at regular intervals by the webcam when a door opening is detected.
  • this applet includes a stub referring to the function 'takeapicture'
  • the signal triggers a call by this applet to the function 'takeapicture' processed in dongle D10.
  • the driver triggers a snapshot as explained previously.
  • a wireless video surveillance system can thereby be obtained based on a very simple and cheap architecture.
  • peripheral devices can be domestic appliances like refrigerators, ovens, coffee machine or other devices like window shutters.
  • Generic drivers for a given category of peripheral devices can be stored beforehand in the dongles.
  • the dongles can be distributed with drivers for managing generic functions of webcams, mass storage...
  • Developers can easily write applets, drivers and functions based on published software development kits, like the development kit distributed under the name 'JCDK'.
  • Figure 4 illustrates an example of a process starting from the configuration of the dongles D10 and D20 and including the interactions between these dongles.
  • a driver for the management of the webcam P1 is loaded into the dongle D10.
  • the webcam P1 is connected to the USB connector D12.
  • a driver for the management of the door P2 is loaded into the dongle D20.
  • an applet for managing the interaction between the door P2 and the webcam P1 is loaded into the dongle D20.
  • the door P2 is connected to the USB connector D22.
  • the dongle D10 declares the functions available in its driver along with their parameters through the antenna D11.
  • the functions and parameters are received by the dongle D20 through its antenna D21.
  • the applet is executed in dongle D20.
  • the door is opened and the detector of the lock P21 generates a corresponding signal received on the USB connector D22.
  • the applet sends a message to the dongle D10 through the antenna D21, this message including a call to the declared function along with execution parameters.
  • the message and execution parameters are received by dongle D10 through its antenna D11.
  • the message is processed by the driver managing P1 and this driver applies an appropriate command on P1 through the USB connector D12.
  • FIG. 5 illustrates another example where a dongle D10 according to the invention is used.
  • the dongle D10 hosts a smartcard web server SCWS available for communicating with other devices without exceeding the capacities of the microcontroller embedded in the dongle.
  • a window shutter P3 is connected through its USB connector P31 to the USB connector D12 of the dongle.
  • a mobile phone D30 having an antenna D31 for wireless communications can communicate with the dongle D10 using a wireless communication protocol.
  • a control interface D32 is displayed on the mobile phone screen.
  • the user of the mobile phone D30 can thereby input commands and execution parameters for operating the window shutter P3. These commands and execution parameters are sent to the dongle D10 through the wireless communication interfaces.
  • the driver of the window shutter P3 stored in the dongle D10 applies corresponding commands and execution parameters on the window shutter P3 through its USB connector D12.
  • the smart card web server SCWS may provide web pages which contain scripts developed in JavaScript. These scripts may communicate with one or several Javacard servlets which are plugged to the SCWS. The user of the mobile phone D30 may enter data via the web page.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a dongle (D), comprising:
-a microcontroller (MC);
-a USB host interface (D2);
-a wireless communication interface (D1);
-a Javacard compliant virtual machine (JVM) to be executed by said microcontroller (MC);
-a Javacard driver framework (LI) enabling the development of Javacard coded drivers;
-a software driver (DR):
-coded according to a Javacard specification and using the Javacard driver framework;
-comprising at least one function for controlling a peripheral device to be connected to said USB interface;
-adapted to declare said function and its parameters to another dongle through said wireless communication interface.

Description

  • The present invention relates to common use peripheral devices. The invention relates more particularly to peripheral devices having a USB interface through which they are controlled by a computer or to peripheral devices in the area of domotics and internet of things.
  • Many computer peripheral devices, like webcams, have either limited functions or require to be controlled by complex applications run on a computer or on dedicated control circuits. For instance, extending the use of webcams for home video surveillance requires expensive control equipments. Thus, the distribution of such devices is not as wide as it could be.
  • On the other hand, domestic appliances remain mostly controlled directly by the end user. Domotic solutions are developed in order to provide an automatic management of domestic appliances to the user. Such appliances can for instance be windows shutters, cookers, refrigerators or doors. Most of the domotic solutions require specific appliances as well as an expensive and complex control equipment. Thus, the installation of a domotic solution involves a significantly higher cost than the use of end user controlled domestic appliances. This is a major obstacle to wider distribution of appliances designed for domotic applications.
  • It is therefore an object of the present invention to provide a dongle, comprising:
    • a microcontroller;
    • a USB host interface;
    • a wireless communication interface;
    • a Javacard compliant virtual machine to be executed by said microcontroller;
    • a javacard driver framework enabling the development of javacard coded drivers;
    • a software driver:
      • coded according to a Javacard specification and using the Javacard driver framework;
      • comprising at least one function for controlling a peripheral device to be connected to said USB interface;
      • adapted to declare said function and its parameters to another dongle through said wireless communication interface.
  • The dongle may comprise a Javacard applet including a function for controlling a peripheral device not directly connected to the dongle, said Javacard applet, when it is executed and if a predetermined signal is received by the dongle on its USB interface, is adapted to send a message including a call to said function along with its execution parameters through the wireless interface to another dongle connected to this peripheral device.
  • Said driver may be adapted to apply a command to a peripheral device connected to its USB host interface when a call to its function and its execution parameters are received on the wireless communication interface.
  • The virtual machine is compliant with the Javacard specification.
  • The dongle may comprise a writable non volatile memory and a communication interface through which applets or drivers can be loaded into the writable non volatile memory in order to be executed by said Javacard virtual machine.
  • The invention also relates to a set of dongles, comprising at least two dongles as recited before, wherein a first dongle stores a software driver for controlling a first peripheral device connected to its USB interface and wherein a second dongle stores a software driver for controlling a second peripheral device connected to its USB interface, wherein the second dongle stores a Javacard applet being adapted, when it is executed and if a predetermined signal is received by said second dongle on its USB interface, to send a message including a call to said function along with execution parameters through the wireless interface to the first dongle.
  • The invention further relates to a method for providing the control of a peripheral device to another device, comprising a step in which a first dongle as recited before and connected to the peripheral device by its USB interface declares said function for controlling the peripheral device through its wireless interface to a second dongle as recited before, said dongle storing an applet calling the declared function when executed and being connected to said other device.
  • In a further embodiment:
    • said second dongle receives a predetermined signal from said other device and responsive thereto, the Javacard applet of the second dongle sends a message including a call to said function and its execution parameters to the first dongle through the wireless interface;
    • said first dongle receives the message and its driver applies a corresponding command to said peripheral device.
  • In an additional embodiment, said first dongle declares its function to the second dongle using one of the following protocols: SOAP, RPC or REST.
  • In another embodiment the method comprises the steps of:
    • loading said software driver in the first dongle;
    • loading said Javacard applet in the second dongle;
    • storing in the second dongle an identification of the first dongle in association with the declared function and its parameters.
  • The advantage of the present invention will become apparent from the following description of several embodiments with reference to the accompanying drawings, in which:
    • Figure 1 is a schematic view of the structure of a dongle according to the invention;
    • Figure 2 is a schematic view of two dongles and two peripheral devices cooperating during the execution of an applet;
    • Figure 3 illustrate two dongles and a computer during a configuration process;
    • Figure 4 illustrates the steps carried out from the configuration stage up to the execution stage; and
    • Figure 5 illustrates the control of a peripheral device using a smartcard web server in communication with a mobile phone.
  • According to the invention, a dongle is provided both with USB host interface and a wireless communication interface. The dongle hosts a Javacard compliant virtual machine executed by a microcontroller. The dongle also hosts a software driver coded with Javacard instructions. This software driver comprises at least one function for controlling a peripheral device to be connected to the USB interface. The driver is adapted to declare this function and its parameters to another dongle through its wireless communication interface.
  • Such a dongle provides a significant widening of the applications available when using a given peripheral device, without needing a sophisticated management process inside this peripheral device and without needing sophisticated control equipments. Such a dongle can cooperate with another dongle to provide an interaction with other peripheral devices. The use of peripheral devices is thereby made much more versatile.
  • A function in a Java environment is usually named a method.
  • Figure 1 is a schematic view of the functional structure of a dongle D according to the invention. The dongle D comprises a microcontroller MC provided with a processor, a non volatile memory and a random access memory. The dongle D also comprises a USB connector D2 and a wireless communication antenna D1.
  • The dongle D further comprises a USB host controller USB-HC for managing the communications and/or the power management on the USB connector D2. The USB host controller USB-HC allows the dongle D to manage communication with a peripheral device connected to connector D2 without requesting a computer additionally.
  • The dongle D further comprises a wireless communication controller WIC. The controller WIC manages the communications of the dongle D through the antenna D1. The controller WIC can comprise a radiofrequency emission/reception circuit. The controller WIC and antenna D1 can be designed for communicating based on any suitable protocol like recited in Bluetooth, Wifi or NFC specifications.
  • The dongle also stores a Javacard virtual machine JVM to be executed by the microcontroller MC. The dongle D further stores one or more Javacard compliant libraries LI. The libraries LI allow the dongle to pilot a USB peripheral device plugged to the USB connector D2 by defining its specific functions. The dongle also stores one or more Javacard compliant applets AP and one or more peripheral device drivers DR. The drivers DR are coded according to a Javacard specification, for instance the Javacard 3.0 specification. One driver DR comprises at least one Javacard function for controlling a peripheral device to be connected to the USB connector D2. This driver is also designed to declare this function and the format of its parameters to another dongle through the wireless communication antenna D1. Thus, another dongle is able to send a message including a call to this function with appropriate execution parameters to control the peripheral device connected to the USB connector D2. Responsive to the reception of this message, the driver DR of the dongle D can apply a command to the peripheral device connected to its USB connector D2. The use of a Javacard virtual machine allows the execution of complex Javacard applets with a microcontroller MC presenting limited capacities. The dongle D may also run a smart card web server SCWS enabling the broadcasting of a convenient user interface that can be displayed through a browser.
  • Advantageously, the dongle D comprises an applet AP for controlling a peripheral device to which it is not connected. This Javacard compliant applet AP includes a stub referring to a function comprised in a peripheral device driver or applet stored in another dongle. This applet AP is adapted to send a control message through the wireless communication antenna D1 to the other dongle. When the dongle D receives a predetermined signal from the peripheral device connected to its USB connector D2, it is adapted to send through antenna D1 and to respond to this signal a control message to the other dongle. This message includes a call to this function along with execution parameters of the function. The dongle can thereby control a peripheral device connected to the USB connector of the other dongle.
  • The functions can be declared to other dongles by using any suitable protocol. For instance, the following protocols can be used: SOAP (notably available at http://www.w3.org/TR/soapl2-partl/#intro), RPC (RFC1831), REST (notably available at http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arc h_style.htm).
  • The peripheral device can be a generic peripheral USB device distributed without its Javacard driver and/or applet, or a specific peripheral USB device distributed with its Javacard driver and/or applet to be loaded into its associated dongle. The peripheral device can also be distributed with an associated dongle including its Javacard driver and/or applet loaded therein beforehand.
  • The dongle can be a generic dongle, with update capacities in order to load new drivers and applets to manage a newly purchased peripheral device. Such a generic dongle can be produced and distributed at a reasonable price, thus facilitating the distribution of peripheral devices with enhanced communication capacities. Advantageously, the dongle D can comprise a writable non volatile memory to store additional drivers and applets uploaded by a user. The Javacard virtual machine JVM will thereby be able to execute these additional applets or drivers. This writable non volatile memory can be included in microcontroller MC or can be integrated as an additional mass storage connected to the microcontroller MC. The dongle D may then comprise a communication interface adapted for uploading such applets or drivers. These applets or drivers can notably be uploaded into the dongle by using its already available USB connector D2 or antenna D1. In the example of figure 3, the user uploads drivers and applets into the dongles D10 and D20 with a computer C. The computer C can communicate with dongles D10 and D20 respectively with USB connexions C1 and C2 or with its antenna A.
  • Advantageously, the dongle can be switched between a master and a slave mode for its cooperation with the connected peripheral device. For instance, the dongle connected to an electronic picture frame can be switched into a slave mode to provide an access to pictures stored in a mass storage non volatile memory. The electronic picture frame can then display a slideshow of the pictures stored in the mass storage of the dongle. The dongle can also be switched into a master mode to take control of the electronic picture frame display. For instance, the dongle will control the display on the electronic picture frame of a RSS flow provided remotely by another dongle. This dual mode of the dongle further enriches the applications that can be practically carried out using the peripheral device.
  • The dongle according to the invention can be powered in any appropriate way known per se. The dongle can notably be powered through a connexion to the electric network using an AC/DC transformer, through batteries housed in the casing of the dongle or through the USB host interface connected to the peripheral device. Known methods allow a device to derive its power from its USB host interface.
  • Figure 2 illustrates an example of the cooperation between two peripheral devices P1 and P2 using a set of dongles D10 and D20. The peripheral device P1 is a webcam having a USB connector P11 connected to the USB connector D12 of dongle D10. The peripheral device P2 is a door including a lock P21 and a USB connector P22. The lock P21 comprises a detector generating a signal when the door P2 is open.
  • The dongle D10 stores a driver dedicated for managing the webcam P1. This driver comprises a function called 'takeapicture', this function triggering a snapshot by the webcam P1 with appropriate execution parameters. The function 'takeapicture' can also trigger the sending of the picture towards another device through the antenna D11 or its storage in the dongle D10, through an applet executed in dongle D10. Initially, for instance when it is powered up or when the peripheral device P1 is connected, the dongle D10 declares the function 'takeapicture' and the corresponding parameters to the dongles in the whereabouts, including dongle D20. An identification of the dongle D10 in association with function 'takeapicture' and its parameters are stored in dongle D20.
  • When the door P2 is open, the signal generated by the lock detector is transmitted to the dongle D20. The dongle D20 stores a driver dedicated for managing the door lock P21 and an applet for providing security features. The applet requests pictures to be taken at regular intervals by the webcam when a door opening is detected. As this applet includes a stub referring to the function 'takeapicture', the signal triggers a call by this applet to the function 'takeapicture' processed in dongle D10. When the call to the function 'takeapicture' is received by dongle D10, the driver triggers a snapshot as explained previously. A wireless video surveillance system can thereby be obtained based on a very simple and cheap architecture.
  • Numerous different applications and peripheral devices can be used in connection with the dongles to provide a remote interaction between these devices. For instance, if used with a USB controlled power switch, the peripheral devices can be domestic appliances like refrigerators, ovens, coffee machine or other devices like window shutters. Generic drivers for a given category of peripheral devices can be stored beforehand in the dongles. For instance, the dongles can be distributed with drivers for managing generic functions of webcams, mass storage...
  • Developers can easily write applets, drivers and functions based on published software development kits, like the development kit distributed under the name 'JCDK'.
  • Figure 4 illustrates an example of a process starting from the configuration of the dongles D10 and D20 and including the interactions between these dongles.
  • At step 101, a driver for the management of the webcam P1 is loaded into the dongle D10. At step 102, the webcam P1 is connected to the USB connector D12. At step 103, a driver for the management of the door P2 is loaded into the dongle D20. At step 104, an applet for managing the interaction between the door P2 and the webcam P1 is loaded into the dongle D20. At step 105, the door P2 is connected to the USB connector D22.
  • At step 106, the dongle D10 declares the functions available in its driver along with their parameters through the antenna D11. The functions and parameters are received by the dongle D20 through its antenna D21. At step 107, the applet is executed in dongle D20. At step 108, the door is opened and the detector of the lock P21 generates a corresponding signal received on the USB connector D22. In response to this signal, at step 109, the applet sends a message to the dongle D10 through the antenna D21, this message including a call to the declared function along with execution parameters. At step 110, the message and execution parameters are received by dongle D10 through its antenna D11. At step 111, the message is processed by the driver managing P1 and this driver applies an appropriate command on P1 through the USB connector D12.
  • Figure 5 illustrates another example where a dongle D10 according to the invention is used. The dongle D10 hosts a smartcard web server SCWS available for communicating with other devices without exceeding the capacities of the microcontroller embedded in the dongle. A window shutter P3 is connected through its USB connector P31 to the USB connector D12 of the dongle. A mobile phone D30 having an antenna D31 for wireless communications can communicate with the dongle D10 using a wireless communication protocol. When the mobile phone D30 is in communication with the dongle D10, a control interface D32 is displayed on the mobile phone screen. The user of the mobile phone D30 can thereby input commands and execution parameters for operating the window shutter P3. These commands and execution parameters are sent to the dongle D10 through the wireless communication interfaces. Once the commands are received by dongle D10, the driver of the window shutter P3 stored in the dongle D10 applies corresponding commands and execution parameters on the window shutter P3 through its USB connector D12.
  • The smart card web server SCWS may provide web pages which contain scripts developed in JavaScript. These scripts may communicate with one or several Javacard servlets which are plugged to the SCWS. The user of the mobile phone D30 may enter data via the web page.

Claims (10)

  1. A dongle (D), characterized in that it comprises:
    - a microcontroller (MC);
    - a USB host interface (D2);
    - a wireless communication interface (D1);
    - a Javacard compliant virtual machine (JVM) to be executed by said microcontroller (MC);
    - a javacard driver framework (LI) enabling the development of javacard coded drivers;
    - a software driver (DR):
    - coded according to a Javacard specification and using the Javacard driver framework;
    - comprising at least one function for controlling a peripheral device to be connected to said USB interface;
    - adapted to declare said function and its parameters to another dongle through said wireless communication interface.
  2. Dongle (D20) according to claim 1, comprising a Javacard applet (AP) including a function for controlling a peripheral device (P1) not directly connected to the dongle, said Javacard applet, when it is executed and if a predetermined signal is received by the dongle (D20) on its USB interface (D22), is adapted to send a message including a call to said function along with its execution parameters through the wireless interface (D21) to another dongle (D10) connected to this peripheral device (P1).
  3. Dongle according to claim 1 or 2, wherein said driver (DR) is adapted to apply a command to a peripheral device (P1) connected to its USB host interface (D12) when a call to its function and its execution parameters are received on the wireless communication interface (D11).
  4. Dongle according to any one of the preceding claims, wherein the virtual machine (JVM) is compliant with the Javacard specification.
  5. Dongle according to any one of the preceding claims, comprising a writable non volatile memory and a communication interface through which applets or drivers can be loaded into the writable non volatile memory in order to be executed by said Javacard virtual machine.
  6. Set of dongles, comprising at least two dongles (D10, D20) according to any one of the preceding claims, wherein a first dongle (D10) stores a software driver for controlling a first peripheral device (P1) connected to its USB interface (D12) and wherein a second dongle (D20) stores a software driver for controlling a second peripheral device (P2) connected to its USB interface, wherein the second dongle (D20) stores a Javacard applet being adapted, when it is executed and if a predetermined signal is received by said second dongle on its USB interface, to send a message including a call to said function along with execution parameters through the wireless interface to the first dongle.
  7. Method for providing the control of a peripheral device to another device, comprising a step in which a first dongle (D10) according to any one of claims 1 to 5 and connected to the peripheral device by its USB interface (D12) declares said function for controlling the peripheral device (P1) through its wireless interface (D11) to a second dongle (D20) according to any one of claims 1 to 5, said dongle storing an applet calling the declared function when executed and being connected to said other device.
  8. Method according to claim 7, wherein :
    - said second dongle receives a predetermined signal from said other device and responsive thereto, the Javacard applet of the second dongle sends a message including a call to said function and its execution parameters to the first dongle through the wireless interface;
    - said first dongle receives the message and its driver applies a corresponding command to said peripheral device.
  9. Method according to claim 7 or 8, wherein said first dongle declares its function to the second dongle using one of the following protocols: SOAP, RPC or REST.
  10. Method according to any one of claims 7 to 9, comprising the steps of:
    - loading said software driver in the first dongle;
    - loading said Javacard applet in the second dongle;
    - storing in the second dongle an identification of the first dongle in association with the declared function and its parameters.
EP09306298A 2009-12-21 2009-12-21 Dongle for enhancing capabilities of peripheral devices Withdrawn EP2348696A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09306298A EP2348696A1 (en) 2009-12-21 2009-12-21 Dongle for enhancing capabilities of peripheral devices
PCT/EP2010/066898 WO2011076474A1 (en) 2009-12-21 2010-11-05 Dongle for enhancing capabilities of peripheral devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
EP09306298A EP2348696A1 (en) 2009-12-21 2009-12-21 Dongle for enhancing capabilities of peripheral devices

Publications (1)

Publication Number Publication Date
EP2348696A1 true EP2348696A1 (en) 2011-07-27

Family

ID=42341055

Family Applications (1)

Application Number Title Priority Date Filing Date
EP09306298A Withdrawn EP2348696A1 (en) 2009-12-21 2009-12-21 Dongle for enhancing capabilities of peripheral devices

Country Status (2)

Country Link
EP (1) EP2348696A1 (en)
WO (1) WO2011076474A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645314A1 (en) * 2012-03-28 2013-10-02 Gemalto SA Method, device and system for managing a provision of energy

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1845664A2 (en) * 2006-04-11 2007-10-17 Rmax, LLC Devices and systems for improved communication of a wireless adapter
EP1850571A1 (en) * 2006-04-26 2007-10-31 Nokia Corporation Supporting use of wireless connection via electrical interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1845664A2 (en) * 2006-04-11 2007-10-17 Rmax, LLC Devices and systems for improved communication of a wireless adapter
EP1850571A1 (en) * 2006-04-26 2007-10-31 Nokia Corporation Supporting use of wireless connection via electrical interface

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FODOR O ET AL: "JavaCard and OpenCard Framework: a tutorial", EMERGING TECHNOLOGIES AND FACTORY AUTOMATION, 1999. PROCEEDINGS. ETFA '99. 1999 7TH IEEE INTERNATIONAL CONFERENCE ON BARCELONA, SPAIN 18-21 OCT. 1999, PISCATAWAY, NJ, USA,IEEE, US LNKD- DOI:10.1109/ETFA.1999.815333, vol. 1, 18 October 1999 (1999-10-18), pages 13 - 22, XP010365871, ISBN: 978-0-7803-5670-2 *
FUENFROCKEN S ET AL: "DIE JAVACARD ALS PROGRAMMIER- UND AUSFUEHRUNGSPLATTFORM FUER VERTEILTE ANWENDUNGEN", JIT. JAVA INFORMATIONS TAGE, XX, XX, 1 September 1999 (1999-09-01), pages 100 - 109, XP000998554 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645314A1 (en) * 2012-03-28 2013-10-02 Gemalto SA Method, device and system for managing a provision of energy
WO2013144256A1 (en) * 2012-03-28 2013-10-03 Gemalto Sa Method, device and system for managing a provision of energy
US9780603B2 (en) 2012-03-28 2017-10-03 Gemalto Sa Method, device and system for managing a provision of energy

Also Published As

Publication number Publication date
WO2011076474A1 (en) 2011-06-30

Similar Documents

Publication Publication Date Title
KR100562491B1 (en) Method and apparatus for controlling a device on a network
RU2651164C2 (en) Method and apparatus for customizing smart device scenario mode of the intelligent device
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
EP2840455A1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
EP2474127B1 (en) Method and apparatus for controlling remote user interface in a home network
Yue et al. Voice activated smart home design and implementation
CN107291456B (en) Multi-screen display control method and system
RU2641257C2 (en) Device management method and device
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
EP2840741B1 (en) Method and apparatus for using service of home network device based on remote access
US20140266592A1 (en) Network gateway system and method
CN108156058B (en) Method and device for accessing intelligent gateway equipment and readable storage medium
EP3993338A1 (en) Device binding method and apparatus, and electronic device
EP3040859A1 (en) Method for sharing resource using a virtual device driver and electronic device thereof
CN108415273B (en) Control method of electric curtain
CN111381508A (en) Control method and system for smart home and storage medium
CN113589979A (en) Operation guiding method and device for household appliance, electronic device and storage medium
TWI482461B (en) Device management system and method
EP2348696A1 (en) Dongle for enhancing capabilities of peripheral devices
CN112333100A (en) Route creating method, device and readable storage medium
CN103685491A (en) Application service providing method, system and related equipment
CN112019409B (en) Equipment distribution network processing method, equipment distribution network processing device and electronic equipment
US11792269B2 (en) Method for generating application for controlling external electronic device and electronic apparatus for supporting the same
CN103269360A (en) Method and device capable of controlling electrical device
CN116762063A (en) Terminal apparatus, device management server, information processing system, information processing method, and information processing program

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO SE SI SK SM TR

AX Request for extension of the european patent

Extension state: AL BA RS

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20120128