Embodiments of the present application relate to the technical field of communications. Disclosed are a method and apparatus for establishing communication connection, and a device, and a computer readable storage medium. The method comprises: establishing communication connection with a server on the basis of a first port, the first port being a port through which a client negotiates with the server, or, the first port being a port used when the client communicates with the server last time; in the case that establishing the communication connection with the server on the basis of the first port fails, reading port information in target configuration data, a second port indicated by the port information in the target configuration data being used for establishing the communication connection between the client and the server; and establishing the communication connection with the server on the basis of the second port. The client does not need to traverse a plurality of ports but can directly determine, by reading the target configuration data, the second port that can be used for establishing the communication connection with the server, and therefore, the time required for establishment of the communication connection between the client and the server can be shortened, thereby improving the communication efficiency.
Dans des modes de réalisation, la présente invention se rapporte au domaine technique des communications. Un procédé et un appareil d'établissement d'une connexion de communication, un dispositif, et un support d'enregistrement lisible par ordinateur sont divulgués. Le procédé consiste à : établir une connexion de communication avec un serveur sur la base d'un premier port, le premier port étant un port par lequel un client négocie avec le serveur, ou le premier port étant un port utilisé lorsque le client communique une dernière fois avec le serveur ; dans le cas où l'établissement de la connexion de communication avec le serveur sur la base du premier port échoue, lire des informations de port dans des données de configuration cibles, un second port indiqué par les informations de port dans les données de configuration cibles étant utilisé pour établir la connexion de communication entre le client et le serveur ; et établir la connexion de communication avec le serveur sur la base du second port. Le client ne doit pas passer par une pluralité de ports, mais peut directement déterminer, par lecture des données de configuration cibles, le second port qui peut être utilisé pour établir la connexion de communication avec le serveur, et par conséquent, le temps nécessaire à l'établissement de la connexion de communication entre le client et le serveur peut être réduit, ce qui permet d'améliorer l'efficacité de communication.
本申请实施例公开了一种建立通信连接的方法、装置、设备及计算机可读存储介质,属于通信技术领域。所述方法包括:基于第一端口与服务端建立通信连接,第一端口为客户端与服务端协商的端口,或者,第一端口为客户端上一次与服务端通信所使用的端口;在基于第一端口与服务端建立通信连接失败的情况下,读取目标配置数据中的端口信息,目标配置数据中的端口信息指示的第二端口能够用于客户端与服务端建立通信连接;基于第二端口与服务端建立通信连接。由于客户端不需要遍历多个端口,而是可以直接通过读取目标配置数据来确定能够用于与该服务端建立通信连接的第二端口,因此可以缩短客户端与服务端建立通信连接所需要的时间,提高了通信效率。
METHOD AND APPARATUS FOR ESTABLISHING COMMUNICATION CONNECTION, AND DEVICE, AND COMPUTER READABLE STORAGE MEDIUM
PROCÉDÉ ET APPAREIL D'ÉTABLISSEMENT D'UNE CONNEXION DE COMMUNICATION, DISPOSITIF, ET SUPPORT D'ENREGISTREMENT LISIBLE PAR ORDINATEUR
建立通信连接的方法、装置、设备及计算机可读存储介质
2022-01-27
Patent
Electronic Resource
Chinese
APPARATUS CONNECTION METHOD AND DEVICE, HARDWARE APPARATUS, AND COMPUTER-READABLE STORAGE MEDIUM
European Patent Office | 2023
|Communication apparatus, vehicle, computer-readable storage medium, and communication method
European Patent Office | 2023
|COMMUNICATION APPARATUS, VEHICLE, COMPUTER-READABLE STORAGE MEDIUM, AND COMMUNICATION METHOD
European Patent Office | 2021
|COMMUNICATION APPARATUS, VEHICLE, COMPUTER-READABLE STORAGE MEDIUM, AND COMMUNICATION METHOD
European Patent Office | 2021
|APPARATUS, METHOD, AND COMPUTER-READABLE STORAGE MEDIUM FOR DETERMINING CONNECTION OF TRAILER
European Patent Office | 2024
|