CN108989343B - VOIP network change and compatibility processing method, system, equipment and medium - Google Patents

VOIP network change and compatibility processing method, system, equipment and medium Download PDF

Info

Publication number
CN108989343B
CN108989343B CN201810973712.XA CN201810973712A CN108989343B CN 108989343 B CN108989343 B CN 108989343B CN 201810973712 A CN201810973712 A CN 201810973712A CN 108989343 B CN108989343 B CN 108989343B
Authority
CN
China
Prior art keywords
client
network
network change
change
request
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
CN201810973712.XA
Other languages
Chinese (zh)
Other versions
CN108989343A (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.)
Ctrip Travel Information Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Information Technology Shanghai 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 Ctrip Travel Information Technology Shanghai Co Ltd filed Critical Ctrip Travel Information Technology Shanghai Co Ltd
Priority to CN201810973712.XA priority Critical patent/CN108989343B/en
Publication of CN108989343A publication Critical patent/CN108989343A/en
Application granted granted Critical
Publication of CN108989343B publication Critical patent/CN108989343B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a VOIP network change and compatibility processing method, which comprises the following steps: receiving a network change request sent by a client; detecting whether the network change request is a background request, and if so, acquiring a network processing flag bit corresponding to the client; judging whether the value of the network processing flag bit is true, if so, acquiring the continuous background request times of the client in a historical time period; judging whether the number of continuous background requests is greater than a preset change threshold value or not; if the number of continuous background requests is less than or equal to the change threshold, performing network change processing; if the number of the continuous background requests is larger than the change threshold, obtaining the moving distance of the client according to the coordinates of the current position of the client and the coordinates of the historical position of the client, judging whether the moving distance is smaller than the movement threshold, if so, returning change refusing information to the client, and if not, performing network change processing.

Description

VOIP network change and compatibility processing method, system, equipment and medium
Technical Field
The present invention relates to a network change method, and more particularly, to a method, system, device, and medium for processing VOIP network change and compatibility.
Background
Voip (Voice over Internet protocol) is to digitize an analog signal (Voice) and transmit the digitized signal in a Data Packet (Data Packet) form over an IP Network (IP Network) in real time. The greatest advantage of VoIP is that it can widely adopt the Internet and global IP interconnection environment, providing more and better services than the traditional services. VoIP allows inexpensive delivery of voice, fax, video, and data services such as unified messaging services, virtual telephony, virtual voice/fax mail, directory services, Internet call centers, Internet call management, telephone video conferencing, electronic commerce, fax store-and-forward, and store-and-forward of various information over IP networks.
However, the client frequently switches the network, which causes an abnormal login state, and the frequent network switching occupies a large amount of resources of the server, thereby affecting the operating efficiency of the server.
Disclosure of Invention
The invention aims to provide a VOIP network change and compatibility processing method, system, equipment and medium, aiming at the problems in the prior art.
According to an aspect of the present invention, a method for processing VOIP network change and compatibility is provided, which includes:
receiving a network change request sent by a client, wherein the network change request comprises the coordinates of the current position of the client;
detecting whether the network change request is a background request, if so, acquiring a network processing flag bit corresponding to the client, wherein the network processing flag bit is of a Boolean type, and the background request is the network change request sent by the client during background operation;
judging whether the value of the network processing flag bit is true, if so, acquiring the continuous background request times of the client in a historical time period;
judging whether the continuous background request frequency is greater than a preset change threshold value or not;
if the number of the continuous background requests is less than or equal to the change threshold, network change processing is carried out;
if the number of the continuous background requests is larger than the change threshold, obtaining the moving distance of the client according to the coordinates of the current position of the client and the coordinates of the historical position of the client, judging whether the moving distance is smaller than a moving threshold, if the moving distance is smaller than the moving threshold, returning a piece of change refusing information to the client, and if the moving distance is larger than or equal to the moving threshold, performing network change processing.
Preferably, the VOIP network change and compatibility processing method further includes the following steps:
the client detects whether the IP address is changed;
if the IP address is changed, detecting whether the client operates in a background or not, and if the client operates in the background, generating a background identifier for indicating that the network change request is a background request;
and the client sends the network change request, wherein the network change request comprises the background identifier.
Preferably, after returning the change refusal information to the client, the method further includes setting the network processing flag to be false.
Preferably, whether the network change request is a background request is detected, if the network change request is not a background request, the network change process is performed, and the network process flag corresponding to the client is set to true.
Preferably, the performing of the network change process includes:
acquiring the current IP address of the current network of the client;
and updating an address list storing the IP address of the client according to the current IP address.
Preferably, the performing of the network change process includes:
acquiring the registration time length of the connection sent by the client;
and setting the effective duration of the connection according to the registration duration.
Preferably, the performing of the network change process includes:
acquiring a port number sent by the client;
and establishing communication connection with the client through a network according to the port number.
Preferably, after the network change process, a feedback identifier for indicating that the network change process is successful is sent to the client.
Preferably, before receiving the network change request sent by the client, the method further includes:
receiving user authentication information sent by the client, wherein the user authentication information comprises a user name, a user password and a server domain name;
matching the user password in the user authentication information with a user password corresponding to the user name prestored in a database according to the user name;
if the matching is successful, receiving the network change request sent by the client;
and if the matching is unsuccessful, sending verification failure information to the client.
According to an aspect of the present invention, there is provided a VOIP network change system, including:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a network change request sent by a client, and the network change request comprises the coordinates of the current position of the client;
the background detection module is used for detecting whether the network change request is a background request or not, if so, acquiring a network processing flag bit corresponding to the client, wherein the network processing flag bit is of a Boolean type, and the background request is the network change request sent by the client during background operation;
the flag bit detection module is used for judging whether the value of the network processing flag bit is true, and if so, acquiring the continuous background request times of the client in a historical period;
the request frequency judging module is used for judging whether the continuous background request frequency is greater than a preset change threshold value or not;
the feedback module is used for obtaining the moving distance of the client according to the coordinates of the current position of the client and the coordinates of the historical position of the client and judging whether the moving distance is smaller than a moving threshold value or not if the number of the continuous background requests is larger than the changing threshold value, returning change refusing information to the client if the moving distance is smaller than the moving threshold value, and carrying out network change processing if the moving distance is larger than or equal to the moving threshold value;
and the change module is used for carrying out network change processing if the continuous background request times are less than or equal to the change threshold.
According to an aspect of the present invention, there is provided a VOIP network changing apparatus, including:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to perform the steps of the VOIP network change and compatibility processing method described above.
According to an aspect of the present invention, there is provided a computer-readable storage medium for storing a program, which when executed, implements the steps of the above-described VOIP network change and compatibility processing method.
The beneficial effects of the above technical scheme are: the invention can judge whether to change the network according to the network change times of the client, and can effectively reduce the resources used by the server for processing the network change of the client, thereby improving the operation efficiency of the server.
Further features and advantages of the invention, as well as the structure and operation of various embodiments of the invention, are described in detail below with reference to the accompanying drawings. It should be noted that the present invention is not limited to the specific embodiments described herein. These examples are given herein for illustrative purposes only.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, with reference to the accompanying drawings.
Fig. 1 is a scenario of an implementation of a VOIP network change and compatibility processing method according to a preferred embodiment of the present invention;
fig. 2 is a flow chart of a VOIP network change and compatibility processing method according to a preferred embodiment of the present invention;
FIG. 3 is a flow chart illustrating a network change request from a client according to a preferred embodiment of the present invention;
fig. 4 is a block diagram of a VOIP network change system according to a preferred embodiment of the present invention;
fig. 5 is a schematic structural diagram of a VOIP network change device according to a preferred embodiment of the present invention;
FIG. 6 is a diagram illustrating a computer-readable storage medium according to a preferred embodiment of the present invention.
The features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Throughout the drawings, like reference numerals designate corresponding elements. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
Fig. 1 illustrates an implementation scenario of a VOIP network change and compatibility handling method in accordance with an aspect of the present invention. Under this scenario, the user 300 communicates with the server 200 through the client in the handset 100 to establish a network telephone communication.
Fig. 2 shows a flow chart of a VOIP network change and compatibility processing method. The VOIP network changing and compatibility processing method specifically includes step S101, step S102, step S103, step S104, step S105, step S106, step S107, step S108, step S109, and step S110. In step S101, the server 200 receives a network change request from a client, where the network change request includes coordinates of a current location of the client. In step S102, it is detected whether the network change request is a background request. In step S103, if the determination result is yes, a network processing flag bit corresponding to the client is acquired. The network processing flag bit is of a Boolean type, and the background request is a network change request sent by the client during background operation. In step S104, it is determined whether the value of the network processing flag bit is true. In step S105, the number of consecutive background requests of the client in a history period is obtained. In step S106, it is determined whether the number of consecutive background requests is greater than a preset change threshold. In step S107, if the number of consecutive background requests is greater than the change threshold, the moving distance of the client is obtained according to the coordinates of the current position of the client and the coordinates of the historical position of the client. In step S108, it is determined whether the movement distance is less than a movement threshold. In step S109, if the moving distance is smaller than the moving threshold, a change refusal message is returned to the client. In step S110, the server 200 performs a network change process.
Fig. 3 is a schematic flow chart of a network change request sent by a client. The step that the client sends out the network change request comprises the following steps: step S201, step S202, step S203, and step S204. In step S201, the client detects whether its IP address is changed. The client acquires the IP address of the network where the client is located in a fixed period, and detects whether the IP address is changed. After the IP address of the network where the client is located is changed, step S202 is performed. In step S202, it is detected whether the client is running in the background. The running state of the client is divided into foreground running and background running. When the client-side foreground runs, the client-side is in a state of direct interaction with the user. When the client runs in the background, the client occupies system resources and has no interface for directly interacting with the user. If the client is running in the background, step S203 is performed. In step S203, the client generates a background identifier for indicating that the network change request is a background request. In step S204, the client sends a network change request, where the network change request includes a background identifier. In step S202, if the client is not running in the background, the process goes directly to step S204, and at this time, when the client sends the network change request, the network change request does not include the background identifier.
Referring to fig. 2, in step S101, the server 200 receives a network change request issued by a client. The network change request received by the client also includes the coordinates of the current position of the client. The coordinates of the current location of the client (the mobile phone 100) are located by a location sensor in the mobile phone 100, for example, by a GPD sensor in the mobile phone 100, and the coordinates of the current location of the mobile phone 100, i.e., the client, are obtained.
Before step S101, that is, before the server 200 receives the network change request sent by the client, the server 200 further receives user authentication information sent by the client, where the user authentication information includes a user name, a user password, and a server domain name. The server 200 matches the user password in the user authentication information with the user password corresponding to the user name, which is prestored in a database, according to the user name, and authenticates the server domain name: if the matching is successful, receiving a network change request sent by the client; if the matching is unsuccessful, sending a verification failure message to the client.
In step S202, the server 200 needs to detect whether the client is running in the background. Whether the client operates in the background is detected, and it is only required to detect whether the network change request received by the server 200 includes the background identifier, and if the network change request includes the background identifier, the client in the mobile phone 100 operates in the background. If the network change request does not contain the background identifier, the client in the mobile phone 100 is in foreground operation, and then the process goes directly to step S110 to perform the network change.
In step S103, if the determination result is yes, that is, the server 200 needs to detect that the client is running in the background, the network processing flag bit corresponding to the client is obtained. Then, step S104 is performed to determine whether the value of the network processing flag bit is true. If the network processing flag is a boolean variable, the process goes to step S105 if the network processing flag is true, and goes to step S109 if the network processing flag is false, i.e., a change rejection message is returned to the client.
In step S105, the number of consecutive background requests of the client in a history period is obtained. The historical time period is a period of time before the time when the client sends the current network change request, the length of the historical time period is five times of the network change time length, and the network change time length is the time required by the server 200 to complete the network change processing after the network change request is sent by the network client. In step S106, it is determined whether the number of consecutive background requests is greater than a preset change threshold, where the change threshold is set to 5, and may be set to 4 or 6 in some other embodiments. When the number of consecutive background requests is greater than 5, performing step S107; if the number of consecutive background requests is less than or equal to 5, the process goes directly to step S110.
In step S107, the server 200 obtains the moving distance of the client from the coordinates of the current position of the client and the coordinates of the historical position of the client. The coordinates of the current location are present in the network change request sent by the client. Server 200 need only retrieve the coordinates of the historical location stored in server 200, i.e., the location in the network change request last sent by the client.
In step S108, it is determined whether the movement distance is less than a movement threshold. The moving threshold may be set to 200m or 300m, and when the moving distance is equal to or greater than the moving threshold, the process goes to step S110. When the moving distance is smaller than the moving threshold, step S109 is performed to return a change refusal message to the client. After the client returns a piece of change refusing information, the network processing flag position is set to be false. After the network change process, i.e., after the server 200 completes the network change process, a feedback identifier for indicating that the network change process is successful is sent to the client.
In step S110, the network change process includes the steps of: acquiring a current IP address of a current network of a client; and updating the address list storing the IP address of the client according to the current IP address. Further comprising the steps of: acquiring the registration time length of the connection sent by the client; and setting the effective duration of the connection according to the registration duration. Further comprising the steps of: acquiring a port number sent by a client; and establishing communication connection with the client through the network according to the port number.
Referring to fig. 4, according to an aspect of the present invention, there is provided a VOIP network change system 400, the VOIP network change system 400 including:
the receiving module 401 receives a network change request sent by a client, where the network change request includes a coordinate of a current location of the client;
the background detection module 402 detects whether the network change request is a background request, and if so, acquires a network processing flag bit corresponding to the client, wherein the network processing flag bit is of a boolean type, and the background request is a network change request sent by the client during background operation;
the flag bit detection module 403 is configured to determine whether the value of the network processing flag bit is true, and if true, obtain the number of consecutive background requests of the client in a historical time period;
a request frequency judging module 404, configured to judge whether the number of consecutive background requests is greater than a preset change threshold;
a feedback module 405, configured to, if the number of consecutive background requests is greater than a change threshold, obtain a moving distance of the client according to the coordinates of the current location of the client and the coordinates of the historical location of the client, and determine whether the moving distance is smaller than a movement threshold, if the moving distance is smaller than the movement threshold, return a change rejection message to the client, and if the moving distance is greater than or equal to the movement threshold, perform network change processing;
and the changing module 406 performs network change processing if the number of consecutive background requests is less than or equal to a change threshold.
According to an aspect of the present invention, there is provided a VOIP network change apparatus, including: a processor; a memory having stored therein executable instructions of the processor; the processor is configured to execute the steps of the VOIP network change and compatibility processing method through executing the executable instructions.
Referring to fig. 5, fig. 5 is a schematic view of the configuration of the incoming call distribution apparatus of the present invention. An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 5. The electronic device 600 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processor 610, at least one memory 620, a bus 630 connecting different platform components (including the memory 620 and the processor 610), a display unit 640, and the like.
Where the memory stores program code that may be executed by the processor 610 to cause the processor 610 to perform the steps according to various exemplary embodiments of the present invention described in the electronic prescription flow processing method section above in this specification. For example, the processor 610 may perform the steps as shown in fig. 2.
The memory 620 can include readable media in the form of volatile memory, such as Random Access Memory (RAM)6201 and/or cache memory 6202, and can further include Read Only Memory (ROM) 6203.
Memory 620 may also include program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any other type of bus structure.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
According to an aspect of the present invention, a computer-readable storage medium stores a program, which when executed, implements the steps of the above-described VOIP network change and compatibility processing method.
Fig. 6 is a schematic structural diagram of a computer-readable storage medium of the present invention. Referring to fig. 6, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In conclusion, the invention can judge whether to change the network according to the network change times of the client, and can effectively reduce the resources used by the server for processing the network change of the client, thereby improving the operation efficiency of the server.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A VOIP network change and compatibility processing method is characterized by comprising the following steps:
receiving a network change request sent by a client, wherein the network change request comprises the coordinates of the current position of the client;
detecting whether the network change request is a background request, if so, acquiring a network processing flag bit corresponding to the client, wherein the network processing flag bit is of a Boolean type, the background request is the network change request sent by the client during background operation, and if not, performing network change processing and setting the network processing flag bit corresponding to the client to be true;
judging whether the value of the network processing flag bit is true, if so, acquiring the continuous background request times of the client in a historical time period;
judging whether the continuous background request frequency is greater than a preset change threshold value or not;
if the number of the continuous background requests is less than or equal to the change threshold, network change processing is carried out;
if the number of the continuous background requests is larger than the change threshold, obtaining the moving distance of the client according to the coordinates of the current position of the client and the coordinates of the historical position of the client and judging whether the moving distance is smaller than a movement threshold, if the moving distance is smaller than the movement threshold, returning change refusing information to the client, and setting the network processing flag position to be false after returning the change refusing information; and if the moving distance is larger than or equal to the moving threshold, performing network change processing.
2. The method of claim 1, further comprising the steps of:
the client detects whether the IP address is changed;
if the IP address is changed, detecting whether the client operates in a background or not, and if the client operates in the background, generating a background identifier for indicating that the network change request is a background request;
and the client sends the network change request, wherein the network change request comprises the background identifier.
3. The method of claim 1, wherein before receiving the network change request from the client, the method further comprises:
receiving user authentication information sent by the client, wherein the user authentication information comprises a user name, a user password and a server domain name;
matching the user password in the user authentication information with a user password corresponding to the user name prestored in a database according to the user name;
if the matching is successful, receiving the network change request sent by the client;
and if the matching is unsuccessful, sending verification failure information to the client.
4. The method of claim 1, wherein the performing the network change process comprises:
acquiring the current IP address of the current network of the client;
and updating an address list storing the IP address of the client according to the current IP address.
5. The method of claim 1, wherein the performing the network change process comprises:
acquiring the registration time length of the connection sent by the client;
and setting the effective duration of the connection according to the registration duration.
6. The VOIP network change and compatibility handling method of claim 1, wherein said performing network change handling comprises the steps of:
acquiring a port number sent by the client;
and establishing communication connection with the client through a network according to the port number.
7. The VOIP network change and compatibility handling method of claim 1, wherein after the network change is processed, a feedback identifier indicating success of the network change is sent to the client.
8. A VOIP network change system, comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a network change request sent by a client, and the network change request comprises the coordinates of the current position of the client;
the background detection module is used for detecting whether the network change request is a background request or not, if so, acquiring a network processing flag bit corresponding to the client, wherein the network processing flag bit is of a Boolean type, the background request is the network change request sent by the client during background operation, and if the network change request is not the background request, performing network change processing and setting the network processing flag bit corresponding to the client to be true;
the flag bit detection module is used for judging whether the value of the network processing flag bit is true, and if so, acquiring the continuous background request times of the client in a historical period;
the request frequency judging module is used for judging whether the continuous background request frequency is greater than a preset change threshold value or not;
the feedback module is used for obtaining the moving distance of the client according to the coordinates of the current position of the client and the coordinates of the historical position of the client and judging whether the moving distance is smaller than a moving threshold value or not if the number of the continuous background requests is larger than the changing threshold value, returning change refusing information to the client if the moving distance is smaller than the moving threshold value, and setting the network processing flag position to be false after returning the change refusing information; if the moving distance is larger than or equal to the moving threshold, network change processing is carried out;
and the change module is used for carrying out network change processing if the continuous background request times are less than or equal to the change threshold.
9. A VOIP network change apparatus, comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to execute the steps of the VOIP network change and compatibility processing method of any of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium storing a program, wherein the program when executed implements the steps of the VOIP network change and compatibility processing method of any of claims 1-7.
CN201810973712.XA 2018-08-24 2018-08-24 VOIP network change and compatibility processing method, system, equipment and medium Active CN108989343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810973712.XA CN108989343B (en) 2018-08-24 2018-08-24 VOIP network change and compatibility processing method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810973712.XA CN108989343B (en) 2018-08-24 2018-08-24 VOIP network change and compatibility processing method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN108989343A CN108989343A (en) 2018-12-11
CN108989343B true CN108989343B (en) 2021-03-05

Family

ID=64547892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810973712.XA Active CN108989343B (en) 2018-08-24 2018-08-24 VOIP network change and compatibility processing method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN108989343B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587013B (en) * 2019-01-18 2022-08-19 深圳壹账通智能科技有限公司 APP network compatibility testing method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107251510A (en) * 2014-09-08 2017-10-13 沃兹艾普公司 Set up and keep VOIP to call

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5031352B2 (en) * 2006-12-13 2012-09-19 キヤノン株式会社 Information processing apparatus, information processing method, and program
US8712771B2 (en) * 2009-07-02 2014-04-29 Alon Konchitsky Automated difference recognition between speaking sounds and music
CN101808379B (en) * 2010-04-01 2012-11-21 上海交通大学 Network received signal intensity stability-based adaptive vertical handoff method
CN103067997B (en) * 2011-10-19 2015-11-25 中国电信股份有限公司 Judge the method and apparatus whether terminal switches between two kinds of wireless networks
CN106412985B (en) * 2015-07-31 2019-12-31 展讯通信(上海)有限公司 Mobile terminal cell switching control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107251510A (en) * 2014-09-08 2017-10-13 沃兹艾普公司 Set up and keep VOIP to call

Also Published As

Publication number Publication date
CN108989343A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US9158918B2 (en) Method and apparatus for determining malicious program
US8331268B2 (en) Methods, systems, and computer-readable media for providing an event alert
US20110082911A1 (en) Method and Device for Access to a Directory
CN109089231B (en) Method, device, server and medium for forwarding verification code short message
CN104253686A (en) Account number login method, equipment and system
US20140325628A1 (en) Login method, apparatus, and system
US20210035062A1 (en) Information prompt
CN113067859B (en) Communication method and device based on cloud mobile phone
WO2014139298A1 (en) Permission management method, device and system for cloud platform service
KR20110111439A (en) Context-based commmunication service
CN111447201A (en) Scanning behavior recognition method and device, electronic equipment and storage medium
CN106550056A (en) A kind of domain name analytic method and device
CN114466348A (en) Communication method, device and equipment
CN108989343B (en) VOIP network change and compatibility processing method, system, equipment and medium
CN114979295A (en) Gateway management method and device
US11271875B2 (en) System and method for contextually based fulfillment of communication requests via a telephony platform
EP3890287A1 (en) Method and device for managing incoming calls in a communication terminal
CN107770203B (en) Service request forwarding method, device and system
CN112800410A (en) Multi-product login management method, device, equipment and storage medium
US9058586B2 (en) Identification of a person located proximite to a contact identified in an electronic communication client
CN111262779A (en) Method, device, server and system for acquiring data in instant messaging
CN104796519A (en) Terminal
CN104767880A (en) Communication number management method
CN104580070A (en) Method, device and system for confirming network conversations
CN113761085A (en) Method and device for processing order data

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