METHODS, HOST DEVICES AND COMPUTER PROGRAM PRODUCTS FOR ASSIGNING COMMUNICATION PORTS

The present disclosure relates to a method of a host device (101) of assigning a communication port to at least one of a plurality of applications (102-106) hosted by the host device (101), and a host device (101) performing the method. In an aspect, a method of a host device (101) of assigning a co...

Full description

Saved in:
Bibliographic Details
Main Authors MEHTA, Amardeep, YADHAV, Vinay, SKÖLDSTRÖM, Pontus
Format Patent
LanguageEnglish
French
Published 23.09.2021
Online AccessGet full text

Cover

Loading…
More Information
Summary:The present disclosure relates to a method of a host device (101) of assigning a communication port to at least one of a plurality of applications (102-106) hosted by the host device (101), and a host device (101) performing the method. In an aspect, a method of a host device (101) of assigning a communication port to at least one of a plurality of applications (102, 103) hosted by the host device (101) is provided. The method comprises acquiring (S201) a subset of communication addresses being exclusively allocated to the host device (101); receiving (S202) a request from one of the plurality of applications (102) to be assigned a communication port; binding (S203) a selected one of the communication addresses of the subset to the communication port indicated in the request; and determining (S204) whether or not the bound communication address has been assigned to another one (103) of the plurality of applications along with the requested communication port, wherein in case the bound communication address has already been assigned to another one of the plurality of applications, attempts are made to bind a selected (S206) new communication address from the subset to the communication port indicted in the request until a non-assigned address is successfully bound to the communication port wherein the binding of the non- assigned communication address to the communication port indicated in the request is accepted (S205) for the application (102) making the request. La présente invention concerne un procédé d'un dispositif hôte (101) d'attribution d'un port de communication à au moins l'une d'une pluralité d'applications (102-106) hébergées par le dispositif hôte (101), et un dispositif hôte (101) mettant en œuvre le procédé. Selon un aspect, l'invention concerne un procédé d'attribution d'un port de communication à au moins l'une d'une pluralité d'applications (102-106) hébergées par le dispositif hôte (101). Le procédé comprend les étapes suivantes : acquisition (S201) d'un sous-ensemble d'adresses de communication qui sont exclusivement attribuées au dispositif hôte (101); réception (S202) d'une demande de la part de l'une de la pluralité d'applications (102) à attribuer un port de communication; liaison (S203) d'une adresse de communication sélectionnée parmi les adresses de communication du sous-ensemble au port de communication indiqué dans la demande; et détermination (S204) si l'adresse de communication liée a été attribuée ou non à une autre (103) de la pluralité d'applications conjointement avec le port de communication demandé, dans le cas où l'adresse de communication liée a déjà été attribuée à une autre de la pluralité d'applications, des tentatives étant effectuées pour lier une nouvelle adresse de communication sélectionnée (S206) du sous-ensemble au port de communication indiqué dans la demande jusqu'à la réussite de la liaison d'une adresse non attribuée au port de communication, la liaison de l'adresse de communication non attribuée au port de communication indiqué dans la demande étant acceptée (S205) pour l'application (102) qui effectue la demande.
Bibliography:Application Number: WO2020SE50294