CN113726881B - Communication connection establishment method, related device and computer readable storage medium - Google Patents

Communication connection establishment method, related device and computer readable storage medium Download PDF

Info

Publication number
CN113726881B
CN113726881B CN202111003138.3A CN202111003138A CN113726881B CN 113726881 B CN113726881 B CN 113726881B CN 202111003138 A CN202111003138 A CN 202111003138A CN 113726881 B CN113726881 B CN 113726881B
Authority
CN
China
Prior art keywords
address
mobile phone
cloud mobile
phone user
target
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.)
Active
Application number
CN202111003138.3A
Other languages
Chinese (zh)
Other versions
CN113726881A (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

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

Abstract

The disclosure provides a communication connection establishment method, a communication connection establishment device, electronic equipment, computer readable storage media and computer program products, and relates to the cloud computing fields of cloud services, cloud mobile phones, intelligent clouds and the like. One embodiment of the method comprises the following steps: and 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, 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 utilizing the configuration route, so that the communication address allocation is more reasonably completed, and the communication quality is improved.

Description

Communication connection establishment method, related device and computer readable storage medium
Technical Field
The disclosure relates to the technical field of computers, in particular to the cloud computing field of cloud services, cloud mobile phones, intelligent clouds and the like, and particularly relates to a communication connection establishment method, a device, electronic equipment, a computer readable storage medium and a computer program product.
Background
A Cloud Phone (Cloud Phone), which is a technology of applying a Cloud computing technology to network terminal services and realizing Cloud services through a Cloud server. The smart phone is a smart phone which is deeply combined with network services, and the smart phone can realize a plurality of functions through a network by virtue of a self-contained system and a network terminal erected by a manufacturer.
The cloud mobile phone has the value of fully utilizing the mobile broadband network brought by 3G, the always-on characteristic of the mobile phone and the characteristic of the cloud technology, and the mobile phone is connected with the whole network system.
Disclosure of Invention
The embodiment of the disclosure provides a communication connection establishment method, a communication connection establishment device, an electronic device, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a method for establishing a communication connection, including: responding to a connection request sent by a cloud mobile phone user, and 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; the configuration route is controlled to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy, and the configuration route is controlled 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 proposes a communication connection establishment apparatus, including: a connection request sending unit configured to send a connection request sent by a cloud mobile phone user to a configuration route in response to receiving the connection request, 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 establishment 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 to enable the at least one processor to implement a communication connection establishment method as described in any one of the implementations of the first aspect when executed.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement a communication connection establishment method as described in any one of the implementations of the first aspect when executed.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, is capable of implementing a communication connection establishment method as described in any of the implementations of the first aspect.
The communication connection establishment method, the device, the electronic equipment, the computer readable storage medium and the computer program product provided by the embodiment of the disclosure respond after receiving 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, then the configuration route is controlled to determine a target address corresponding to the cloud mobile phone user according to a preset address distribution strategy, the configuration route is controlled to return to the target address, and finally, communication connection with the cloud mobile phone user is established according to the target address.
The method and the device can utilize the configuration route to configure the communication address of the cloud mobile phone user requesting the cloud resource, so that the address for communication with the cloud mobile phone user can be conveniently distributed according to the address distribution strategy preset in the configuration route, and the purposes of more reasonably completing communication address distribution and improving communication quality are achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture in which the present disclosure may be applied;
fig. 2 is a flowchart of a communication connection establishment method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart of another communication connection establishment method provided in an embodiment of the present disclosure;
fig. 4 is a flowchart of a communication connection establishment method under an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a communication connection establishment apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to perform a communication connection establishment method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
In addition, in the technical scheme related to the disclosure, the related processes of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the user all conform to the regulations of related laws and regulations and do not violate the popular regulations of the public order.
Fig. 1 illustrates an exemplary system architecture 100 in 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, configured routes 103, networks 104, and servers 105 used by cloud handset users. The network 104 is a medium used to provide communication links between the terminal devices 101, 102, the configuration route 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 105 via the network 104 using the terminal devices 101, 102 to receive or send messages or the like. Various cloud applications for implementing information communication between the terminal devices 101, 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.
The terminal devices 101 and 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 display screens, including but not limited to smartphones, tablets, laptop and desktop computers, and the like; when the terminal devices 101, 102 are software, they may be installed in the above-listed electronic devices, and they 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 particularly limited herein. When the configuration route is hardware, it refers to a hardware device that can be implemented as a process of determining the network scope of an end-to-end path when a packet is from a source to a destination, including but not limited to a router, a mobile network card, etc., and when the configuration route 103 is software, it can be installed in the above-listed electronic device, which can be implemented as a plurality of software or software modules, or as a single software or software module, which is not specifically limited herein. When the server 105 is hardware, it may be implemented as a distributed server cluster formed by a plurality of 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 particularly limited herein.
The server 105 can provide various services through various built-in applications, for example, cloud computing applications that can provide cloud computing for terminal devices used by users to form cloud mobile phone services, and when the server 105 runs the cloud computing applications, the following effects can be achieved: firstly, responding to a connection request sent from terminal equipment 101, 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 establishment method provided in the following embodiments of the present disclosure is generally performed by the server 105 having stronger computing power and more computing resources, and accordingly, the communication connection establishment device is also generally disposed in the server 105. However, it should be noted that, when the terminal devices 101 and 102 also have the required computing capability and computing resources, the terminal devices 101 and 102 may also provide the other terminal devices with the operations performed by the server 105 through the cloud computing application installed thereon, and further output the same results as the server 105. Particularly, in the case where a plurality of terminal devices having different computing capabilities exist at the same time, when the cloud computing application determines that the terminal device has a stronger computing capability and more computing resources remain, the terminal device can execute the above computation, so that the computing pressure of the server 105 is properly reduced.
It should be understood that the number of terminal devices, networks, configuration routes, and servers in fig. 1 are merely illustrative. There may be any number of terminal devices, networks, configuration routes, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a communication connection establishment method according to an embodiment of the disclosure, wherein a flow 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 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 body through a network, so as to complete tasks such as sending a connection request, and identity verification through the temporary communication connection.
The configuration route is used for distributing addresses for establishing communication connection with the cloud mobile phone user, and 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 subject so as to facilitate address configuration according to the back-end address pool, wherein the addresses in the back-end address pool can be generated based on fixed addresses used for communication with the execution subject, or can be generated based on random address generation logic used for communication with the execution subject, and at the moment, the back-end address pool can be automatically and randomly configured through the existing generation logic.
Step 202, the control configuration route determines a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy, and the control configuration route returns the target address.
In this embodiment, after the connection request is sent to the configuration route based on the step 201, the executing body controls the configuration route to determine a target address for the executing 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 executing body.
The preset address allocation policy may be set based on actual use requirements, and in an exemplary implementation, when the purpose of balancing loads of each address is achieved, the address allocation policy may be configured to allocate an unused address that is not currently in communication connection with other cloud mobile phones to the cloud mobile phone user of the current request by the configuration route, so as to avoid address conflicts caused by using the address by other cloud mobile phone users.
And 203, establishing communication connection with the cloud mobile phone user according to the target address.
In this embodiment, after the target address returned by the configuration route in step 202 is obtained, the communication connection with the cloud mobile phone user is established based on the target address, so as to complete the establishment of the communication connection.
According to the communication connection establishment method provided by the embodiment of the disclosure, the configuration route can be utilized to configure 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 distributed according to the address distribution strategy preset in the configuration route, and the purposes of more reasonably completing the communication address distribution 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; determining a target version in which the protocol version is virtually producible in response to the protocol version being lower than a default protocol version of the configuration route; 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 is divided into an internet protocol 4 th edition (Internet Protocol Version, abbreviated as IPV 4) and an internet protocol 6 th edition (Internet Protocol Version, abbreviated as IPV 6), and the corresponding protocol versions can be set based on different network environments, application scenarios and the like, which are 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 executing body can perform virtual configuration, reduce the protocol version to the target version of the protocol version, determine the target version capable of virtually generating the protocol version, 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, and after the target address is obtained, when a communication connection is subsequently established with the cloud mobile phone user, the target address is virtually set to the protocol version requested in the connection request, so as to complete the establishment of the communication connection, and compatibility of different protocol versions is improved when the executing body establishes the communication connection.
Referring to fig. 3, fig. 3 is a flowchart of another communication connection establishment method provided in an embodiment of the disclosure in response to an address allocation policy being a first allocation policy, where the flowchart 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.
In step 302, control configures the route to extract an unused address from the backend address pool and determine the unused address as a target address.
In this embodiment, the control configuration route extracts an unused address from the backend address pool, and selects a target address from the extracted unused address.
In response to the presence of a plurality of unused addresses, in some alternative implementations of the present embodiment, further comprising: 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 an appropriate unused address according to own requirements, the selected used address is fed back 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, the configuration is performed according to the selection of the user, and the user experience is improved.
In response to the presence of a plurality of unused addresses, in some alternative implementations of the present embodiment, further comprising: and acquiring the communication rate when the unused addresses are used to establish connection with 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 the presence of a plurality of unused addresses, in some alternative implementations of the present embodiment, further comprising: and acquiring a history address which establishes communication connection with the cloud mobile phone user in response to the back-end route returning a plurality of unused addresses, and determining the matching address as the target address in response to the matching address which exists in the unused address and is the same as the history address.
Specifically, when there are a plurality of unused addresses, a history address used when the execution body establishes a connection with the cloud mobile phone user is obtained, if the unused address exists in the same address as the history address, the address is determined to be a matching address, and then the matching address is determined to be a target address, so that the execution body establishes a communication connection with the relevant configuration when the cloud mobile phone user is established by using the history, 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 step 303, establishing communication connection with the cloud mobile phone user according to the target address.
The steps 301 and 303 are consistent with the steps 201 and 203 shown in fig. 2, and the same parts are referred to the corresponding parts of the previous embodiment, which will not be described again herein, and the control configuration route further performs the address configuration of establishing the communication connection between the execution body and the cloud mobile phone user based on the unused address in the back-end address pool, so that the load between the addresses is more balanced, and the load conflict caused when different cloud mobile phone users use the same address for communication is prevented.
In some optional embodiments, in response to the address allocation policy being the 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 number of current 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 returning the use information; and determining the address with the least number of users connected with the current cloud mobile phone as a target address based on the use information.
Specifically, when the address allocation policy is the second policy, the configuration route is controlled to obtain the number of current cloud mobile phone users connected with each address in the back-end address pool, and the configuration route is controlled to generate use information corresponding to each address, and then the configuration route is returned, and the address with the least number of connected current cloud mobile phone users is determined to be a target address based on the use information, so that when the availability of the address is emphasized, the availability of the address is verified in a manner of whether the address has established communication connection with other cloud mobile phone users, and the reliability of the system is balanced on the basis of improving the communication quality.
For further understanding, the disclosure further provides a specific implementation scheme in combination with a specific application scenario, see fig. 4, including a cloud mobile phone user a, a server B, and a configuration route C, where a flow 400 of the communication connection establishment method may specifically be as follows:
in step 401, a cloud mobile phone user a sends a connection request to the server B.
In step 402, after receiving the connection request, the server B sends the connection request to the configuration route C.
In step 403, the control configures the route C to determine an unused address corresponding to the cloud mobile phone user a according to the first policy, and returns the unused address to the server B.
Specifically, the control configuration route C extracts the unused addresses from the backend routing pool according to the first policy, where 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 history address where a communication connection was established with the cloud mobile phone user a.
Specifically, the server B determines, based on the history access list, that the history address that was used to establish the communication connection with the cloud mobile phone user a is "191.126.3.255", and determines the address as the target address.
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 method shown in the foregoing figures, the present disclosure provides an embodiment of a communication connection establishment apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus is particularly applicable to various electronic devices.
As shown in fig. 5, the communication connection establishment apparatus 500 of the present embodiment may include: a connection request transmitting 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 send a connection request sent by a cloud mobile phone user to a configuration route in response to receiving the connection request, wherein the configuration route is used for distributing an address for establishing 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 establishment unit 503 is configured to establish a communication connection with the cloud mobile phone user according to the target address.
In the present embodiment, in the communication connection establishment apparatus 500: the specific processing and technical effects of the connection request sending unit 501, the destination address configuration control unit 502, and the communication connection establishing unit 503 may refer to the relevant descriptions of steps 201 to 203 in the corresponding embodiment of fig. 2, and are not repeated herein.
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 is further configured to control the configuration route to extract an unused address from the backend address pool, and determine the unused address as the target address, where the unused address is not currently used to establish a communication connection with other cloud mobile phone users.
In some optional implementations of the present embodiment, in response to extracting the plurality of unused addresses, the communication connection establishment apparatus 500 further includes: an unused address feedback unit configured to acquire a plurality of the 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 the desired address selected by the unused address selection information as the target address.
In some optional implementations of the present embodiment, in response to extracting the plurality of unused addresses, the communication connection establishment apparatus 500 further includes: a communication rate acquisition unit configured to acquire a communication rate when a connection is established between the cloud mobile phone user and each of the unused addresses; accordingly, the target address configuration control unit 502 is further configured to determine the preferred address with the highest communication speed as the target address.
In some optional implementations of the present embodiment, in response to extracting the plurality of unused addresses, the communication connection establishment apparatus 500 further includes: a history address acquisition unit configured to acquire a history address in which a communication connection has been established with the cloud mobile phone user in response to the back-end route returning a plurality of the unused addresses; accordingly, the target address configuration control unit 502 is further configured to determine a matching address as the target address in response to the matching address existing in the history address being the same 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 use information return control subunit is configured to control the configuration route to acquire the number of current cloud mobile phone users connected with each address in the back-end address pool, and control the generation of the use information corresponding to each address and return the use information; and the target address determining subunit is configured to determine the address with the least number of users connected with the current cloud mobile phone as a target address based on the use information.
In some optional implementations of this embodiment, the communication connection establishment 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 is virtually generatable in response to the protocol version being lower than a default protocol version of the configuration route; accordingly, 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 embodiment exists as an embodiment of the device corresponding to the embodiment of the method, and the communication connection establishment device provided by the embodiment can utilize the configuration route to configure 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 more reasonably completing the allocation of the communication address and improving the communication quality are achieved.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary 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 that 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 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; 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 computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, such as a communication connection establishment method. For example, in some embodiments, the communication connection establishment method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the 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 circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code 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 code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. 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. The 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 pointing device (e.g., a mouse or 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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 a client and a server. The client and server are typically 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 can be a cloud server, 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 large management difficulty and weak service expansibility in the traditional physical host and virtual private server (VPS, virtual Private Server) service. Servers may also be divided into servers of a distributed system or servers that incorporate blockchains.
According to the technical scheme of the embodiment of the disclosure, the configuration route can be utilized to configure 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 distributed according to the address distribution strategy preset in the configuration route, and the purposes of more reasonably completing the communication address distribution and improving the communication quality are achieved.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (14)

1. A method of communication connection establishment, comprising:
responding to a connection request sent by a cloud mobile phone user, and 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;
the configuration route is controlled to determine a target address corresponding to the cloud mobile phone user according to a preset address allocation strategy, and the configuration route is controlled to return to the target address;
establishing communication connection with the cloud mobile phone user according to the target address;
acquiring a protocol version requested in the connection request; determining a target version generated by reducing the protocol version to the protocol version in a virtual configuration mode in response to the protocol version being lower than a default protocol version of the configuration route; correspondingly, the controlling the configuration route to determine the target address corresponding to the cloud mobile phone user according to a preset address allocation policy comprises the following steps: controlling the configuration route to determine a target address supporting the target version according to a preset address allocation strategy; correspondingly, the establishing the communication connection with the cloud mobile phone user according to the target address comprises the following steps: and virtualizing the target address to a protocol version requested in the connection request, and establishing communication connection with the cloud mobile phone user according to an actual address from the virtual address to the protocol version.
2. The method of claim 1, in response to the address allocation policy being the 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, including:
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 currently used for establishing communication connection with other cloud mobile phone users.
3. The method of claim 2, further comprising, in response to extracting a plurality of the unused addresses:
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 includes:
and determining the expected address selected by the unused address selection information as the target address.
4. The method of claim 2, further comprising, in response to extracting a plurality of the unused addresses:
acquiring communication rates when connection is established between the unused addresses and the cloud mobile phone users;
accordingly, the determining the unused address as the target address includes:
and determining the preferred address with the highest communication rate as the target address.
5. The method of claim 2, further comprising:
responding to the configuration route to extract a plurality of unused addresses from the back-end address pool, and acquiring a historical address which establishes communication connection with the cloud mobile phone user;
accordingly, the determining the unused address as the target address includes:
and determining a matching address as the target address in response to the matching address being the same as the history address in the unused address.
6. The method of claim 1, 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, including:
controlling the configuration route to acquire the number of current 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 returning the use information;
and determining the address with the least number of users connected with the current cloud mobile phone as a target address based on the use information.
7. A communication connection establishment apparatus comprising:
a connection request sending unit configured to send a connection request sent by a cloud mobile phone user to a configuration route in response to receiving the connection request, 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;
a communication connection establishment unit configured to establish a communication connection with the cloud mobile phone user according to the target address;
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 generated by dropping a protocol version to the protocol version in a virtual configuration manner in response to the protocol version being lower than a default protocol version of the configuration route;
the target address configuration control unit is further configured to: controlling the configuration route to determine a target address supporting the target version according to a preset address allocation strategy, and controlling the configuration route to return to the target address;
the communication connection establishment unit is further configured to: and virtualizing the target address to a protocol version requested in the connection request, and establishing communication connection with the cloud mobile phone user according to an actual address from the virtual address to the protocol version.
8. The apparatus of claim 7, wherein 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 a communication connection with other cloud handset users.
9. The apparatus of claim 8, further comprising, in response to extracting a plurality of the unused addresses:
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.
10. The apparatus of claim 8, further comprising, in response to extracting a plurality of the unused addresses:
a communication rate acquisition unit configured to acquire a communication rate when a connection is established between the cloud mobile phone user and each of the unused addresses;
accordingly, the target address configuration control unit is further configured to determine the preferred address with the highest communication rate as the target address.
11. The apparatus of claim 8, further comprising:
a history address obtaining unit configured to obtain a history address where a communication connection is established with the cloud mobile phone user in response to the configuration route extracting a plurality of the unused addresses from the back-end address pool;
accordingly, the target address configuration control unit is further configured to determine a matching address as the target address in response to a matching address that exists in the same history address among the unused addresses.
12. The apparatus of claim 7, the target address configuration control unit, in response to the address allocation policy being a second policy, comprising:
the use information return control subunit is configured to control the number of current cloud mobile phone users connected with each address in the back-end address pool obtained by the configuration route, and control the generation of the use information corresponding to each address and return the use information;
and the target address determining subunit is configured to determine the address with the least number of users connected with the current cloud mobile phone as a target address based on the use information.
13. 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-6.
14. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the communication connection establishment method of any one of claims 1-6.
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 CN113726881A (en) 2021-11-30
CN113726881B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN113726881A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN113849312B (en) Data processing task allocation method and device, electronic equipment and storage medium
CN113377520A (en) Resource scheduling method, device, equipment and storage medium
CN114697391B (en) Data processing method, device, equipment and storage medium
CN114157701A (en) Task testing method, device, equipment and storage medium
CN113726881B (en) Communication connection establishment method, related device and computer readable storage medium
CN113641388A (en) Cloud mobile phone updating method, related device and computer program product
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
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN113420275B (en) Data connection processing method, related device and computer program product
CN115567602A (en) CDN node back-to-source method, device and computer readable storage medium
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN113691937B (en) Method for determining position information, cloud mobile phone and terminal equipment
EP3376711A1 (en) Management method and device for managing instruction transmission and automatic vnf scaling function
CN113419865A (en) Cloud resource processing method, related device and computer program product
CN113726883A (en) Cloud data processing method, related device and computer program product
CN113014656B (en) Private cloud information synchronization method and device
CN115037803B (en) Service calling method, electronic equipment and storage medium
CN115955437B (en) Data transmission method, device, equipment and medium
CN114793234B (en) Message processing method, device, equipment and storage medium
CN114006902B (en) Cloud mobile phone restarting method, device, equipment and storage medium
CN113992729B (en) Cloud mobile phone control method, related device and computer program product
CN115277534B (en) Link construction method, electronic device and computer-readable storage medium
CN117478764A (en) Service grid configuration method and device, electronic equipment and storage medium
CN114025037B (en) Cloud mobile phone overhaul method and device, electronic equipment and storage medium

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