CN113726881A - Communication connection establishment method, related device and computer program product - Google Patents

Communication connection establishment method, related device and computer program product Download PDF

Info

Publication number
CN113726881A
CN113726881A CN202111003138.3A CN202111003138A CN113726881A CN 113726881 A CN113726881 A CN 113726881A CN 202111003138 A CN202111003138 A CN 202111003138A CN 113726881 A CN113726881 A CN 113726881A
Authority
CN
China
Prior art keywords
address
mobile phone
cloud mobile
unused
phone user
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.)
Granted
Application number
CN202111003138.3A
Other languages
Chinese (zh)
Other versions
CN113726881B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111003138.3A priority Critical patent/CN113726881B/en
Publication of CN113726881A publication Critical patent/CN113726881A/en
Application granted granted Critical
Publication of CN113726881B publication Critical patent/CN113726881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a communication connection establishing method, a communication connection establishing device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the field of cloud computing such as cloud service, cloud mobile phones and smart clouds. One embodiment of the method comprises: the method comprises the steps of responding to a received connection request sent by a cloud mobile phone user, sending the connection request to a configuration route, wherein the configuration route is used for distributing an address for establishing communication connection with the cloud mobile phone user, further controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address distribution strategy, controlling the configuration route to return to the target address, and finally establishing communication connection with the cloud mobile phone user according to the target address. According to the embodiment, the communication address configuration is carried out on the cloud mobile phone user requesting the cloud resources by using the configuration route, so that the communication address allocation is completed more reasonably, and the communication quality is improved.

Description

Communication connection establishment method, related device and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of cloud computing such as cloud services, cloud phones, and smart clouds, and in particular, to a method and an apparatus for establishing a communication connection, an electronic device, a computer-readable storage medium, and a computer program product.
Background
A Cloud Phone (Cloud Phone), which is a Phone technology that applies a Cloud computing technology to a network terminal service and implements a Cloud service through a Cloud server. The smart phone is a smart phone deeply combined with network services, and the smart phone can realize a plurality of functions through a network by means of a system of the smart phone and a network terminal erected by a manufacturer.
The cloud mobile phone has the value that the mobile broadband network and the always-on characteristic of the mobile phone brought by 3G and the characteristics of the cloud technology are fully utilized to link the mobile phone with the whole network system.
Disclosure of Invention
The embodiment of the disclosure provides a communication connection establishing method and device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a communication connection establishing method, including: responding to a connection request sent by a cloud mobile phone user, sending the connection request to a configuration route, wherein the configuration route is used for distributing an address for establishing communication connection with the cloud mobile phone user; controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy, and controlling the configuration route to return to the target address; and establishing communication connection with the cloud mobile phone user according to the target address.
In a second aspect, an embodiment of the present disclosure provides a communication connection establishing apparatus, including: the connection request sending unit is configured to respond to a connection request sent by a cloud mobile phone user, and send the connection request to a configuration route, wherein the configuration route is used for distributing an address for establishing communication connection with the cloud mobile phone user; the target address configuration control unit is configured to control the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy and control the configuration route to return to the target address; and the communication connection establishing unit is configured to establish communication connection with the cloud mobile phone user according to the target address.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to implement the communication connection establishment method as described in any implementation manner of the first aspect.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement the communication connection establishment method as described in any implementation manner of the first aspect.
In a fifth aspect, the embodiments of the present disclosure provide a computer program product including a computer program, which when executed by a processor is capable of implementing the communication connection establishment method as described in any implementation manner of the first aspect.
The communication connection establishment method, the communication connection establishment device, the electronic device, the computer-readable storage medium and the computer program product provided by the embodiments of the present disclosure respond after receiving a connection request sent by a cloud mobile phone user, and send the connection request to a configuration route, where the configuration route is used to allocate an address for establishing communication connection with the cloud mobile phone user, and then control the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy, and control the configuration route to return to the target address, and finally establish communication connection with the cloud mobile phone user according to the target address.
According to the method and the device, the communication address can be configured for the cloud mobile phone user requesting the cloud resource by using the configuration route, so that the address used for communicating with the cloud mobile phone user can be distributed according to the address distribution strategy preset in the configuration route, and the purposes of completing communication address distribution more reasonably and improving communication quality are achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present disclosure may be applied;
fig. 2 is a flowchart of a communication connection establishing method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another communication connection establishment method provided in the embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a communication connection establishment method in an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a communication connection establishing apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to execute a communication connection establishment method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
In addition, in the technical scheme related to the disclosure, the processing of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the related user all accords with the regulations of related laws and regulations, and does not violate the good custom of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the communication connection establishment methods, apparatuses, electronic devices and computer-readable storage media of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, configuration routes 103, networks 104, and servers 105 used by cloud handset users. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, the configuration route 103, and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102 to interact with the server 105 via the network 104 to receive or send messages or the like. Various cloud applications for realizing information communication between the terminal devices 101 and 102 and the server 105, such as a cloud storage application, a cloud computing application, an instant messaging application, and the like, may be installed on the terminal devices 101 and 102 and the server 105.
The terminal devices 101, 102, the configuration route 103, and the server 105 may be hardware or software. When the terminal devices 101, 102 are hardware, they may be various electronic devices with a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like; when the terminal devices 101 and 102 are software, they may be installed in the electronic devices listed above, and they may be implemented as multiple software or software modules, or implemented as a single software or software module, and are not limited in this respect. When the configuration route is hardware, it refers to a hardware device that can be implemented as a network-wide process of determining an end-to-end path when a packet is from a source to a destination, and includes, but is not limited to, a router, a mobile network card, and the like, and when the configuration route 103 is software, it can be installed in the above listed electronic devices, and it can be implemented as a plurality of software or software modules, or as a single software or software module, and is not limited in this respect. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited herein.
The server 105 may provide various services through various built-in applications, and for example, may provide cloud computing for a terminal device used by a user to form a cloud computing application of a cloud mobile phone service, when the server 105 runs the cloud computing application, the following effects may be achieved: firstly, responding to a connection request sent from terminal equipment 101 and 102 used by a cloud mobile phone user through a network 104, and sending the connection request to a configuration route 103, wherein the configuration route is used for distributing an address for establishing communication connection with the cloud mobile phone user; next, the server 105 controls the configuration route 103 to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy, and controls the configuration route 103 to return to the target address; finally, the server 105 establishes a communication connection with the cloud mobile phone user according to the target address.
Since the cloud computing service needs to occupy more computing resources and stronger computing power, the communication connection establishing method provided in the following embodiments of the present disclosure is generally executed by the server 105 having stronger computing power and more computing resources, and accordingly, the communication connection establishing apparatus is generally also disposed in the server 105. However, it should be noted that, when the terminal devices 101 and 102 also have computing capabilities and computing resources meeting the requirements, the terminal devices 101 and 102 may also provide the above-mentioned operations to the server 105 for other terminal devices through the cloud computing applications installed thereon, and then output the same result as the server 105. Particularly, when a plurality of terminal devices having different computing capabilities coexist, but the cloud computing application determines that the terminal device has a strong computing capability and a large amount of computing resources are left, the terminal device may execute the above-described computation, thereby appropriately reducing the computing pressure of the server 105.
It should be understood that the number of end devices, networks, configuration routes, and servers in fig. 1 are merely illustrative. There may be any number of end devices, networks, configuration routes, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a communication connection establishing method according to an embodiment of the present disclosure, where the process 200 includes the following steps:
step 201, in response to receiving a connection request sent by a cloud mobile phone user, sending the connection request to a configuration route.
In this embodiment, an execution main body (for example, the server 105 shown in fig. 1) of the communication connection establishment method responds to a received link request sent by a cloud mobile phone user, and sends the link request to a configuration route, where the cloud mobile phone user may establish a temporary communication connection with a temporary communication address of the execution main body through a network, so as to complete tasks such as sending of a connection request, authentication, and the like through the temporary communication connection.
The configuration route is used for allocating addresses for establishing communication connection with the cloud mobile phone user, the configuration route can generate a back-end address pool in advance based on each address which can be used for establishing communication connection with the execution main body so as to facilitate address configuration according to the back-end address pool, wherein addresses in the back-end address pool can be generated based on a fixed address for communicating with the execution main body, or can be generated based on random address generation logic for communicating with the execution main body, and at the moment, automatic and random address configuration can be performed in the back-end address pool through the stored generation logic.
Step 202, controlling a configuration route to determine a target address corresponding to a cloud mobile phone user according to a preset address allocation strategy, and controlling the configuration route to return to the target address.
In this embodiment, after sending the connection request to the configuration route in step 201, the execution main body controls the configuration route to determine a target address for the execution main body to communicate with the cloud mobile phone user according to a preset address allocation policy, and controls the configuration route to return the target address to the execution main body.
The preset address allocation strategy can be set based on actual use requirements, and illustratively, when the purpose of balancing load of each address is achieved, the address allocation strategy can be used for allocating unused addresses which are not currently in communication connection with other cloud mobile phones to cloud mobile phone users of the request by a configuration route, so that address conflict caused by the fact that the addresses are used by other cloud mobile phone users is avoided.
And step 203, establishing communication connection with a cloud mobile phone user according to the target address.
In this embodiment, after the destination address returned by the configuration route in step 202 is acquired, the communication connection with the cloud mobile phone user is established based on the destination address, and the establishment of the communication connection is completed.
According to the communication connection establishing method provided by the embodiment of the disclosure, the configuration route can be used for configuring the communication address of the cloud mobile phone user requesting the cloud resource, so that the address for communicating with the cloud mobile phone user can be conveniently allocated according to the address allocation strategy preset in the configuration route, and the purposes of completing the communication address allocation more reasonably and improving the communication quality are achieved.
In some optional implementations of this embodiment, the method for establishing a communication connection further includes: acquiring a protocol version requested in the connection request; in response to the protocol version being lower than the default protocol version of the configuration route, determining that a target version of the protocol version can be virtually generated; correspondingly, the configuration route is controlled to determine a target address supporting the target version according to a preset address allocation strategy, and the configuration route is controlled to return to the target address.
Specifically, the Protocol Version requested in the connection request is obtained, and the more common Protocol Version is divided into an Internet Protocol Version 4 (Internet Protocol Version 4, IPV4 for short) and an Internet Protocol Version 6 (Internet Protocol Version 6, IPV6 for short), and accordingly, the Protocol versions may be set based on different network environments, application scenarios, and the like, which is not limited in this application, but when the Protocol Version requested in the request is lower than the default Protocol Version of the configuration route, the execution main body may perform virtual configuration, decrease the Protocol Version to the target Version of the Protocol Version, and after determining that the target Version of the Protocol Version can be generated virtually, control the configuration route to determine the target address supporting the target Version according to a preset address allocation policy, and control the configuration route to return to the target address, and after obtaining the target address, when establishing a communication connection with the cloud mobile phone user in the future, virtualizing the target address to the protocol version requested in the connection request, and completing establishment of communication connection, so as to improve compatibility for different protocol versions when the execution subject establishes communication connection.
Referring to fig. 3, fig. 3 is a flowchart of another communication connection establishment method when the address allocation policy is the first allocation policy according to the embodiment of the present disclosure, where the process 300 includes the following steps:
step 301, in response to receiving a connection request sent by a cloud mobile phone user, sending the connection request to a configuration route.
Step 302, controlling the configuration route to extract an unused address from the back-end address pool, and determining the unused address as a target address.
In this embodiment, the control configuration router extracts an unused address from the backend address pool, and selects a target address from the extracted unused address.
In response to that there are multiple unused addresses, in some optional implementations of this embodiment, the method further includes: acquiring a plurality of unused addresses and sending the unused addresses to the cloud mobile phone user; and acquiring unused address selection information returned by the cloud mobile phone user.
Specifically, when a plurality of unused addresses exist, the unused addresses can be fed back to the cloud mobile phone user, so that the cloud mobile phone user can select a proper unused address according to the self requirement, and feed back the selected used address to the execution main body, and the execution main body determines a target address according to the fed back address, so that when a plurality of unused addresses exist, configuration is performed according to the selection of the user, and the user experience is improved.
In response to that there are multiple unused addresses, in some optional implementations of this embodiment, the method further includes: and acquiring the communication speed when the connection is established between the unused addresses and the cloud mobile phone user.
Specifically, when a plurality of unused addresses exist, the communication rate when each unused address is used to establish connection with the cloud mobile phone user can be obtained, so that the unused address with the highest communication rate can be selected according to the communication rate to establish connection with the cloud mobile phone user, and the communication efficiency is improved.
In response to that there are multiple unused addresses, in some optional implementations of this embodiment, the method further includes: and acquiring a plurality of unused addresses returned in response to the back-end route, acquiring historical addresses which establish communication connection with the cloud mobile phone user, and determining matched addresses as the target addresses in response to the matched addresses which exist in the unused addresses and are the same as the historical addresses.
Specifically, when a plurality of unused addresses exist, a historical address used by the execution main body when the execution main body establishes connection with the cloud mobile phone user is obtained, if the unused addresses exist in the addresses with the same historical address, the addresses are determined as matching addresses, and then the matching addresses are determined as target addresses, so that the execution main body establishes communication connection by using the history and related configuration when the cloud mobile phone user establishes, the quality of interaction with the cloud mobile phone user can be ensured, the communication connection establishment time can be further reduced, and the efficiency is improved.
And 303, establishing communication connection with a cloud mobile phone user according to the target address.
The above steps 301 and 303 are the same as steps 201 and 203 shown in fig. 2, and for the content of the same part, please refer to the corresponding part in the previous embodiment, which is not described herein again, and in this embodiment, on the basis of the embodiment shown in fig. 2, further, the control configuration route performs address configuration for establishing communication connection between the execution main body and the cloud mobile phone user based on an unused address in the back-end address pool, so that the load between the addresses is more balanced, and load conflict caused when different cloud mobile phone users use the same address for communication is prevented.
In some optional embodiments, in response to that the address allocation policy is a second policy, the controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy includes: controlling the configuration route to acquire the current number of cloud mobile phone users connected with each address in the back-end address pool, and controlling to generate use information corresponding to each address and then returning the use information; and determining the address with the least number of users connecting the current cloud mobile phone as a target address based on the use information.
Specifically, when the address allocation policy is a second policy, the configuration route is controlled to acquire the number of current cloud mobile phone users connected to each address in the back-end address pool, the usage information corresponding to each address is controlled to be generated and then returned, the address with the minimum number of connected current cloud mobile phone users is determined as the target address based on the usage information, the availability of the address is verified in a manner that whether the address establishes communication connection with other cloud mobile phone users or not when the availability of the address is emphasized, and the reliability of the system is balanced on the basis of improving the communication quality.
For further understanding, the present disclosure further provides a specific implementation scheme in combination with a specific application scenario, see fig. 4, which includes a cloud mobile phone user a, a server B, and a configuration route C, and in this scenario, a flow 400 of the communication connection establishment method may specifically be as follows:
step 401, the cloud mobile phone user a sends a connection request to the server B.
In step 402, after receiving the connection request, server B sends the connection request to configuration route C.
And step 403, controlling the configuration route C to determine an unused address corresponding to the cloud mobile phone user A according to the first strategy, and returning the unused address to the server B.
Specifically, the control configuration route C extracts the unused addresses from the back-end routing pool according to the first policy, and the proposed unused addresses are "191.126.1.255", "191.126.2.255", and "191.126.3.255".
In step 404, the server B obtains a historical address of the cloud mobile phone user a that established the communication connection.
Specifically, the server B determines that the historical address used for establishing the communication connection with the cloud mobile phone user a is "191.126.3.255" and determines the address as the target address based on the historical access list.
And step 405, establishing communication connection with the cloud mobile phone user A according to the target address.
Specifically, a communication connection with the cloud mobile phone user a is established based on the target address "191.126.3.255".
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a communication connection establishing apparatus, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the communication connection establishing apparatus 500 of the present embodiment may include: a connection request sending unit 501, a target address configuration control unit 502, and a communication connection establishing unit 503. The connection request sending unit 501 is configured to, in response to receiving a connection request sent by a cloud mobile phone user, send the connection request to a configuration route, where the configuration route is used for allocating an address for establishing a communication connection with the cloud mobile phone user; a target address configuration control unit 502 configured to control the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy, and control the configuration route to return to the target address; a communication connection establishing unit 503 configured to establish a communication connection with the cloud handset user according to the target address.
In the present embodiment, in the communication connection establishment apparatus 500: the detailed processing and the technical effects thereof of the connection request sending unit 501, the target address configuration control unit 502, and the communication connection establishing unit 503 can refer to the related descriptions of step 201 and step 203 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of the present embodiment, in response to the address allocation policy being the first policy, the target address configuration control unit 502 is further configured to control the configuration router to extract an unused address from a backend address pool, and determine the unused address as the target address, where the unused address is not currently used for establishing a communication connection with other cloud handset users.
In some optional implementations of this embodiment, in response to extracting a plurality of the unused addresses, the communication connection establishing apparatus 500 further includes: an unused address feedback unit configured to acquire a plurality of unused addresses and send the unused addresses to the cloud mobile phone user; the selection information acquisition unit is configured to acquire unused address selection information returned by the cloud mobile phone user; accordingly, the target address configuration control unit 502 is further configured to determine a desired address selected by the unused address selection information as the target address.
In some optional implementations of this embodiment, in response to extracting a plurality of the unused addresses, the communication connection establishing apparatus 500 further includes: a communication rate acquisition unit configured to acquire a communication rate at which a connection is established with the cloud mobile phone user using each of the unused addresses; accordingly, the target address configuration control unit 502 is further configured to determine the preferred address where the communication speed is highest as the target address.
In some optional implementations of this embodiment, in response to extracting a plurality of the unused addresses, the communication connection establishing apparatus 500 further includes: a history address acquisition unit configured to acquire a history address that has established communication connection with the cloud mobile phone user in response to a plurality of unused addresses returned by the back-end route; accordingly, the target address configuration control unit 502 is further configured to determine a matching address as the target address in response to a matching address that is the same as the historical address existing in the unused address.
In some optional implementations of this embodiment, in response to the address allocation policy being the first policy, the target address configuration control unit 502 includes: the using information return control subunit is configured to control the configuration route to acquire the current number of cloud mobile phone users connected with each address in the back-end address pool, and control the using information corresponding to each address to be generated and then returned; and the target address determining subunit is configured to determine the address with the least number of connected current cloud mobile phone users as the target address based on the usage information.
In some optional implementations of this embodiment, the communication connection establishing apparatus 500 further includes: a protocol version acquisition unit configured to acquire a protocol version requested in the connection request; a target version determination unit configured to determine a target version in which the protocol version can be virtually generated in response to the protocol version being lower than a default protocol version of the configuration route; correspondingly, the target address configuration control unit is further configured to control the configuration route to determine a target address supporting the target version according to a preset address allocation policy, and control the configuration route to return to the target address.
The communication connection establishing apparatus provided in this embodiment may configure a communication address for a cloud mobile phone user requesting cloud resources by using a configuration route, so as to allocate an address used for communicating with the cloud mobile phone user according to an address allocation policy preset in the configuration route, so as to achieve the purposes of completing communication address allocation more reasonably and improving communication quality.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the communication connection establishment method. For example, in some embodiments, the communication connection establishment method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the communication connection establishment method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the communication connection establishment method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service. The server may also be divided into servers of a distributed system, or servers that incorporate a blockchain.
According to the technical scheme of the embodiment of the disclosure, the communication address of the cloud mobile phone user requesting the cloud resource can be configured by using the configuration route, so that the address for communicating with the cloud mobile phone user can be conveniently allocated according to the address allocation strategy preset in the configuration route, and the purposes of completing the communication address allocation more reasonably and improving the communication quality are achieved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (17)

1. A communication connection establishment method, comprising:
in response to receiving a connection request sent by a cloud mobile phone user, sending the connection request to a configuration route, wherein the configuration route is used for allocating an address for establishing communication connection with the cloud mobile phone user;
controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy, and controlling the configuration route to return to the target address;
and establishing communication connection with the cloud mobile phone user according to the target address.
2. The method of claim 1, wherein in response to the address allocation policy being a first policy, the controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy comprises:
and controlling the configuration route to extract an unused address from a back-end address pool, and determining the unused address as the target address, wherein the unused address is not used for establishing communication connection with other cloud mobile phone users currently.
3. The method of claim 2, in response to fetching a plurality of the unused addresses, further comprising:
acquiring a plurality of unused addresses and sending the unused addresses to the cloud mobile phone user;
acquiring unused address selection information returned by the cloud mobile phone user;
accordingly, the determining the unused address as the target address comprises:
and determining the expected address selected by the unused address selection information as the target address.
4. The method of claim 2, in response to fetching a plurality of the unused addresses, further comprising:
acquiring a communication rate when the connection is established between each unused address and the cloud mobile phone user;
accordingly, the determining the unused address as the target address comprises:
and determining the preferred address with the highest communication speed as the target address.
5. The method of claim 2, in response to fetching a plurality of the unused addresses, further comprising:
obtaining a plurality of unused addresses returned in response to the back-end route, and obtaining historical addresses which establish communication connection with the cloud mobile phone user;
accordingly, the determining the unused address as the target address comprises:
and in response to the fact that a matched address with the same history address exists in the unused addresses, determining the matched address as the target address.
6. The method of claim 1, wherein in response to the address allocation policy being a second policy, the controlling the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation policy comprises:
controlling the configuration route to acquire the current number of cloud mobile phone users connected with each address in a back-end address pool, and controlling to generate use information corresponding to each address and then returning the use information;
and determining the address with the least number of connected current cloud mobile phone users as a target address based on the use information.
7. The method of any of claims 1-6, further comprising:
acquiring a protocol version requested in the connection request;
in response to the protocol version being lower than a default protocol version of the configuration route, determining that a target version of the protocol version may be virtually generated;
correspondingly, the configuration route is controlled to determine a target address supporting the target version according to a preset address allocation strategy, and the configuration route is controlled to return to the target address.
8. A communication connection establishment apparatus comprising:
the connection request sending unit is configured to respond to a connection request sent by a cloud mobile phone user, and send the connection request to a configuration route, wherein the configuration route is used for allocating an address for establishing communication connection with the cloud mobile phone user;
the target address configuration control unit is configured to control the configuration route to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy and control the configuration route to return to the target address;
a communication connection establishing unit configured to establish a communication connection with the cloud mobile phone user according to the target address.
9. The apparatus of claim 8, in response to the address allocation policy being a first policy, the target address configuration control unit is further configured to control the configuration route to extract an unused address from a backend address pool, determine the unused address as the target address, wherein the unused address is not currently used to establish communication connections with other cloud handset users.
10. The apparatus of claim 9, in response to fetching a plurality of the unused addresses, further comprising:
an unused address feedback unit configured to acquire a plurality of unused addresses and send the unused addresses to the cloud mobile phone user;
the selection information acquisition unit is configured to acquire unused address selection information returned by the cloud mobile phone user;
accordingly, the target address configuration control unit is further configured to determine a desired address selected by the unused address selection information as the target address.
11. The apparatus of claim 9, in response to fetching a plurality of the unused addresses, further comprising:
a communication rate acquisition unit configured to acquire a communication rate at the time of establishing a connection with the cloud mobile phone user using each of the unused addresses;
accordingly, the target address configuration control unit is further configured to determine a preferred address where the communication speed is highest as the target address.
12. The apparatus of claim 9, in response to fetching a plurality of the unused addresses, further comprising:
a history address acquisition unit configured to acquire a history address at which a communication connection with the cloud mobile phone user was established, in response to a plurality of unused addresses returned by the back-end route;
accordingly, the target address configuration control unit is further configured to determine a matching address as the target address in response to a presence of a matching address of the unused addresses that is the same as the history address.
13. The apparatus of claim 8, the target address configuration control unit, responsive to the address allocation policy being a second policy, comprising:
the using information return control subunit is configured to control the configuration route to acquire the current number of cloud mobile phone users connected with each address in the back-end address pool, and control to generate and return using information corresponding to each address;
a target address determination subunit configured to determine, based on the usage information, the address with the least number of connected current cloud mobile phone users as a target address.
14. The apparatus of any of claims 8-13, further comprising:
a protocol version acquisition unit configured to acquire a protocol version requested in the connection request;
a target version determination unit configured to determine that a target version of the protocol version can be virtually generated in response to the protocol version being lower than a default protocol version of the configuration route;
correspondingly, the target address configuration control unit is further configured to control the configuration route to determine a target address supporting the target version according to a preset address allocation policy, and control the configuration route to return to the target address.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the communication connection establishment method of any one of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the communication connection establishment method according to any one of claims 1 to 7.
17. A computer program product comprising a computer program which, when executed by a processor, implements a communication connection establishment method according to any one of claims 1-7.
CN202111003138.3A 2021-08-30 2021-08-30 Communication connection establishment method, related device and computer readable storage medium Active CN113726881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111003138.3A CN113726881B (en) 2021-08-30 2021-08-30 Communication connection establishment method, related device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111003138.3A CN113726881B (en) 2021-08-30 2021-08-30 Communication connection establishment method, related device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113726881A true CN113726881A (en) 2021-11-30
CN113726881B CN113726881B (en) 2024-04-05

Family

ID=78678928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111003138.3A Active CN113726881B (en) 2021-08-30 2021-08-30 Communication connection establishment method, related device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113726881B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604233A (en) * 2022-12-12 2023-01-13 河北振创电子科技有限公司(Cn) Method and device for actively registering address of modbus protocol equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006037276A1 (en) * 2004-10-05 2006-04-13 Huawei Technologies Co., Ltd. A method for intercommunication between networks having different version of internet protocol
WO2011160465A1 (en) * 2010-06-23 2011-12-29 中兴通讯股份有限公司 Location method and location system for acquiring terminal location
CN103024056A (en) * 2012-12-17 2013-04-03 山东中创软件商用中间件股份有限公司 Data processing method, load equalizer and cloud system
CN104468752A (en) * 2014-11-26 2015-03-25 无锡成电科大科技发展有限公司 Method and system for increasing utilization rate of cloud computing resources
CN108833580A (en) * 2018-07-02 2018-11-16 北京天华星航科技有限公司 A kind of cloud data processing method, device and cloud computing system
CN109936840A (en) * 2019-01-02 2019-06-25 百度在线网络技术(北京)有限公司 Communication means, device and electronic equipment
CN110581826A (en) * 2018-06-07 2019-12-17 大唐移动通信设备有限公司 core network communication method, device and system
CN110830551A (en) * 2019-09-30 2020-02-21 浙江口碑网络技术有限公司 Service request processing method, device and system
CN111327663A (en) * 2018-12-17 2020-06-23 中国移动通信集团青海有限公司 Bastion machine distribution method and equipment
CN111586121A (en) * 2020-04-27 2020-08-25 安超云软件有限公司 Distributed cloud mobile phone application installation method, cloud platform, system and storage medium
CN112583910A (en) * 2020-12-07 2021-03-30 深圳市信锐网科技术有限公司 Equipment access method and device of Internet of things platform, electronic equipment and storage medium
CN112988381A (en) * 2021-02-26 2021-06-18 北京百度网讯科技有限公司 Method and device for generating optimization information for cloud resources and electronic equipment
CN113037851A (en) * 2021-03-19 2021-06-25 深圳市瑞驰信息技术有限公司 Method for achieving cloud mobile phone system overdivision based on storage

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006037276A1 (en) * 2004-10-05 2006-04-13 Huawei Technologies Co., Ltd. A method for intercommunication between networks having different version of internet protocol
WO2011160465A1 (en) * 2010-06-23 2011-12-29 中兴通讯股份有限公司 Location method and location system for acquiring terminal location
CN103024056A (en) * 2012-12-17 2013-04-03 山东中创软件商用中间件股份有限公司 Data processing method, load equalizer and cloud system
CN104468752A (en) * 2014-11-26 2015-03-25 无锡成电科大科技发展有限公司 Method and system for increasing utilization rate of cloud computing resources
CN110581826A (en) * 2018-06-07 2019-12-17 大唐移动通信设备有限公司 core network communication method, device and system
CN108833580A (en) * 2018-07-02 2018-11-16 北京天华星航科技有限公司 A kind of cloud data processing method, device and cloud computing system
CN111327663A (en) * 2018-12-17 2020-06-23 中国移动通信集团青海有限公司 Bastion machine distribution method and equipment
CN109936840A (en) * 2019-01-02 2019-06-25 百度在线网络技术(北京)有限公司 Communication means, device and electronic equipment
CN110830551A (en) * 2019-09-30 2020-02-21 浙江口碑网络技术有限公司 Service request processing method, device and system
CN111586121A (en) * 2020-04-27 2020-08-25 安超云软件有限公司 Distributed cloud mobile phone application installation method, cloud platform, system and storage medium
CN112583910A (en) * 2020-12-07 2021-03-30 深圳市信锐网科技术有限公司 Equipment access method and device of Internet of things platform, electronic equipment and storage medium
CN112988381A (en) * 2021-02-26 2021-06-18 北京百度网讯科技有限公司 Method and device for generating optimization information for cloud resources and electronic equipment
CN113037851A (en) * 2021-03-19 2021-06-25 深圳市瑞驰信息技术有限公司 Method for achieving cloud mobile phone system overdivision based on storage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604233A (en) * 2022-12-12 2023-01-13 河北振创电子科技有限公司(Cn) Method and device for actively registering address of modbus protocol equipment

Also Published As

Publication number Publication date
CN113726881B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN110839084B (en) Session management method, device, equipment and medium
CN113849312B (en) Data processing task allocation method and device, electronic equipment and storage medium
CN114697391B (en) Data processing method, device, equipment and storage medium
CN113726881B (en) Communication connection establishment method, related device and computer readable storage medium
CN115514718B (en) Data interaction method, control layer and equipment based on data transmission system
CN113612643B (en) Network configuration method, device and equipment of cloud mobile phone and storage medium
CN115567602A (en) CDN node back-to-source method, device and computer readable storage medium
CN113691937B (en) Method for determining position information, cloud mobile phone and terminal equipment
CN113726883B (en) Cloud data processing method, related device and computer program product
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN113420275A (en) Data connection processing method, related device and computer program product
CN113438301A (en) Network load balancer, request message distribution method, program product and system
CN115002749B (en) IP address allocation method and device, storage medium and electronic equipment
CN112714420A (en) Network access method and device of wifi hotspot providing equipment and electronic equipment
CN113014656B (en) Private cloud information synchronization method and device
CN115664842B (en) Communication link setting method, device, equipment and storage medium
CN115242754B (en) Information return method, request response method, message sending method and device
CN115277534B (en) Link construction method, electronic device and computer-readable storage medium
CN114827055B (en) Data mirroring method and device, electronic equipment and switch cluster
US20240036939A1 (en) Deterministic execution of background jobs in a load-balanced system
CN117478764A (en) Service grid configuration method and device, electronic equipment and storage medium
CN115103019A (en) Access request forwarding method and device, electronic equipment and readable storage medium
CN118764477A (en) File transmission method, device, electronic equipment and storage medium
CN118300994A (en) Virtual network management method, device, equipment and storage medium based on cloud mobile phone
CN113660323A (en) Method, apparatus, and computer-readable storage medium for communication between devices

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