CN108989343A - The change of VOIP network and compatible processing method, system, equipment and medium - Google Patents

The change of VOIP network and compatible processing method, system, equipment and medium Download PDF

Info

Publication number
CN108989343A
CN108989343A CN201810973712.XA CN201810973712A CN108989343A CN 108989343 A CN108989343 A CN 108989343A CN 201810973712 A CN201810973712 A CN 201810973712A CN 108989343 A CN108989343 A CN 108989343A
Authority
CN
China
Prior art keywords
client
network
request
change
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810973712.XA
Other languages
Chinese (zh)
Other versions
CN108989343B (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

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 kind of change of VOIP network and compatible processing methods, comprising: receives the network that client issues and changes request;It detects whether network change request is background request, if the determination result is YES, then obtains network processes flag bit corresponding with client;Whether the value for judging network processes flag bit is true, if so, obtaining continuous background request number of the client in a historical period;Judge whether continuous background request number is greater than a preset change threshold value;If continuous background request number is less than or equal to change threshold value, network exception processes are carried out;If continuous background request number is greater than change threshold value, the moving distance of client is then obtained according to the coordinate of the current location of client and the coordinate of the historical position of client and judges moving distance whether less than a mobile threshold value, if moving distance is less than mobile threshold value, then a refusal modification information is returned to client, if moving distance is more than or equal to mobile threshold value, network exception processes are carried out.

Description

The change of VOIP network and compatible processing method, system, equipment and medium
Technical field
The present invention relates to a kind of network variations, more specifically, being related to a kind of VOIP network change and compatible Property processing method, system, equipment and medium.
Background technique
VoIP (Voice over Internet Protocol) is exactly by analog signal (Voice) number in brief Change, does real-time delivery on IP network (IP Network) in the form of data packet (Data Packet).VoIP is maximum excellent Gesture is the environment that can be widely interconnected using Internet and global ip, provides more than traditional business, better service.VoIP Can business such as cheap transmission voice, fax, video and data on ip networks, as unified messaging service, virtual telephony, Virtual speech/fax mailbox, directory enquiry service, the call center Internet, Internet call manager, telephone video meeting, electricity Sub- commercial affairs, fax storage forwarding and the storage of various information forwarding etc..
But client frequently cuts net and causes Entered state abnormal, frequent switching network occupies a large amount of moneys of server Source affects the operational efficiency of server.
Summary of the invention
In view of the problems of the existing technology, the purpose of the present invention is to provide at a kind of change of VOIP network and compatibility Reason method, system, equipment and medium, the present invention can change number according to the network of client to determine whether carrying out network change More, the network change of server process client resource used can be effectively reduced, to improve the operation effect of server Rate.
According to an aspect of the present invention, a kind of VOIP network change and compatible processing method are provided, comprising:
It receives the network that client issues and changes request, include the present bit of the client in the network change request The coordinate set;
It detects whether the network change request is background request, if the determination result is YES, then obtains and the client Corresponding network processes flag bit, the network processes flag bit are Boolean type, and the background request is client on backstage The network change request issued when operation;
Whether the value for judging the network processes flag bit is very, if so, obtaining the client in a historical period In continuous background request number;
Judge whether the continuous background request number is greater than a preset change threshold value;
If the continuous background request number is less than or equal to the change threshold value, network exception processes are carried out;
If the continuous background request number is greater than the change threshold value, according to the current location of the client Coordinate and the coordinate of historical position of the client obtain the moving distance of the client, and judge the moving distance Whether less than a mobile threshold value, if the moving distance is less than the mobile threshold value, a refusal is returned to the client and is become More information carries out network exception processes if the moving distance is more than or equal to the mobile threshold value.
Preferably, the VOIP network change and compatible processing method are further comprising the steps of:
The client detects whether its IP address changes;
If the IP address changes, detect whether the client is running background, if after the client is Platform operation then generates one and is used to indicate the backstage identifier that the network change request is background request;
The client sends the network change request, includes the backstage identifier in the network change request.
Preferably, further include after the one refusal modification information to client return, by the network processes mark Will position is false.
Preferably, detect whether the network change request is background request, if network change request is not backstage Request, then carry out network exception processes, and be true by the corresponding network processes mark position of the client.
Preferably, the progress network exception processes the following steps are included:
Obtain the current IP address of the current network of the client;
The address list for storing the IP address of the client is updated according to the current IP address.
Preferably, the progress network exception processes the following steps are included:
Obtain the registration time length for this connection that the client issues;
The effective time of this connection is set according to the registration time length.
Preferably, the progress network exception processes the following steps are included:
Obtain the port numbering that the client issues;
It is established and is communicated to connect by network and the client according to the port numbering.
Preferably, after the network exception processes, to the client send one be used to indicate network exception processes at The feedback indicator of function accords with.
Preferably, before the network change request for receiving client sending, further includes:
The user authentication information that the client issues is received, includes user name, Yong Humi in the user authentication information Code and server domain name;
According to the user name by the user password in the user authentication information and be pre-stored in a database with institute The corresponding user password of user name is stated to be matched;
If successful match, the network change request that the client issues is received;
If matching is unsuccessful, an authentication failed information is issued to the client.
According to an aspect of the present invention, a kind of VOIP network altering system is provided, comprising:
Receiving module receives the network that client issues and changes request, includes the client in the network change request The coordinate of the current location at end;
Backstage detection module, detects whether the network change request is background request, if the determination result is YES, then obtains Network processes flag bit corresponding with the client, the network processes flag bit are Boolean type, and the background request is The network that client is issued in running background changes request;
Flag bit detection module judges whether the value of the network processes flag bit is very, if so, obtaining the client Hold the continuous background request number in a historical period;
Request number of times judgment module, judges whether the continuous background request number is greater than a preset change threshold value;
Feedback module, if the continuous background request number is greater than the change threshold value, according to the institute of the client The coordinate for stating the coordinate of current location and the historical position of the client obtains the moving distance of the client and judges institute State whether moving distance is returned if the moving distance is less than the mobile threshold value to the client less than a mobile threshold value It returns a refusal modification information and carries out network exception processes if the moving distance is more than or equal to the mobile threshold value;
Module is changed, if the continuous background request number is less than or equal to the change threshold value, is carried out at network change Reason.
According to an aspect of the present invention, a kind of VOIP network change equipment is provided, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute above-mentioned VOIP network change and simultaneous via the executable instruction is executed The step of capacitive processing method.
According to an aspect of the present invention, a kind of computer readable storage medium is provided, for storing program, described program It is performed the step of realizing above-mentioned VOIP network change and compatible processing method.
The beneficial effect of above-mentioned technical proposal is: the present invention can according to the network of client change number to determine whether Network change is carried out, the network change of server process client resource used can be effectively reduced, thus the service of improving The operational efficiency of device.
Other features and advantages of the present invention and various embodiments of the present invention structurally and operationally, will referring to Attached drawing is described in detail.It should be noted that the present invention is not limited to specific embodiments described hereins.It is given herein these The purpose that embodiment is merely to illustrate that.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 is the implementation field of a kind of VOIP network change and compatible processing method in preferred embodiment of the invention Scape;
Fig. 2 is the flow chart of a kind of VOIP network change and compatible processing method in preferred embodiment of the invention;
Fig. 3 is in preferred embodiment of the invention, and client issues the flow diagram of network change request;
Fig. 4 is a kind of structure chart of VOIP network altering system in preferred embodiment of the invention;
Fig. 5 is a kind of structural schematic diagram of VOIP network change equipment in preferred embodiment of the invention;
Fig. 6 is a kind of structural schematic diagram of computer readable storage medium in preferred embodiment of the invention.
From the detailed description below in conjunction with attached drawing, the features and advantages of the present invention will become more apparent.Through attached drawing, Identical attached drawing identifies respective element.In the accompanying drawings, same reference numerals be indicated generally at it is identical, functionally similar and/or Similar element in structure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
" first ", " second " used in the disclosure and similar word are not offered as any sequence, quantity or again The property wanted, and be used only to distinguish different component parts.The similar word such as " comprising " or "comprising" means before there is the word The element or object in face are covered the element for appearing in the word presented hereinafter or object and its are equal, and are not excluded for other elements Or object." connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but can be with It is either direct or indirect including electrical connection."upper", "lower", "left", "right" etc. are only used for indicating relative position Relationship, after the absolute position for being described object changes, then the relative positional relationship may also correspondingly change.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
Fig. 1 shows the VOIP network change of one aspect according to the present invention and the implement scene of compatible processing method. Under the scene, user 300 is communicated by the client in mobile phone 100 with server 200, and it is logical to establish the networking telephone News.
Fig. 2 shows a kind of change of VOIP network and the flow charts of compatible processing method.The change of VOIP network and compatibility Property processing method specifically includes step S101, step S102, step S103, step S104, step S105, step S106, step S107, step S108, step S109, step S110.In step s101, the network that server 200 receives that client issues becomes It more requests, includes the coordinate of the current location of client in network change request.In step s 102, detection network change request It whether is background request.In step s 103, if the determination result is YES, then network processes mark corresponding with client is obtained Position.Network processes flag bit is Boolean type, and background request is the network change request that client is issued in running background.? In step S104, judge whether the value of network processes flag bit is true.In step s105, client is obtained in a historical period In continuous background request number.In step s 106, judge whether continuous background request number is greater than a preset change threshold Value.In step s 107, if continuous background request number is greater than change threshold value, according to the coordinate of the current location of client with The coordinate of the historical position of client obtains the moving distance of client.In step S108, judge whether moving distance is less than One mobile threshold value.In step S109, if moving distance is less than mobile threshold value, a refusal modification information is returned to client. In step s 110, server 200 carries out network exception processes.
Fig. 3 is the flow diagram that client issues network change request.Client issues the step of network change request It include: step S201, step S202, step S203 and step S204.In step s 201, client, which detects its IP address, is No change.Client obtains the IP address of the network where it with a fixed period, while detecting whether IP address becomes More.After the IP address of network changes where client, step S202 is carried out.In step S202, detection client is No is running background.The operating status of client is divided into front stage operation and running background.When client front stage operation, at client In the state directly interacted with user.Client be running background when, client occupying system resources, not directly with use The interface that family interacts.Step S203 is carried out if client is running background.In step S203, client generates one and is used for Indicate that network change request is the backstage identifier of background request.In step S204, client sends network change request, network It include backstage identifier in change request.In step S202, when client is not running background, then step is passed directly to S204 does not include backstage identifier in network change request when client sends network change request at this time.
With reference to Fig. 2, in a step 101, server 200 receives the network that client issues and changes request.Client receives Network change request in further include the coordinate for having the current location of client.The seat of the current location of client (mobile phone 100) Mark is positioned by the position sensor in mobile phone 100, for example, being positioned by the GPD sensor in mobile phone 100, is obtained Obtain the coordinate that mobile phone 100 is the current location of client.
Before step S101, i.e., before the network change request that server 200 receives that client issues, further include, Server 200 receives the user authentication information that client issues, and includes user name, user password and clothes in user authentication information Business device domain name.Server 200 according to user name by the user password in user authentication information and be pre-stored in a database with The corresponding user password of user name is matched, and authentication server domain name: if successful match, receiving the net of client sending Network change request;If matching is unsuccessful, an authentication failed information is issued to client.
In step S202, server 200 needs to detect whether client is running background.Detection client whether be after Platform operation, it is only necessary to backstage identifier whether is contained in the network change request that detection service device 200 receives, if network becomes It more include client of the backstage identifier then in mobile phone 100 in request is running background.If after not contained in network change request Station identification symbol, then the client in mobile phone 100 is front stage operation, passes directly to step S110 at this time and carries out network change.
In step s 103, if the determination result is YES i.e. server 200, which needs to detect client, is then obtained for running background Take network processes flag bit corresponding with client.Later carry out step S104, judge network processes flag bit value whether be Very.Network processes flag bit is the variable of a Boolean type, and network processes flag bit then goes to step 105 when being true, at network Reason flag bit is that fictitious time then goes to step 109, i.e., returns to a refusal modification information to client.
In step s105, continuous background request number of the client in a historical period is obtained.Historical period, as Client issues a period of time before current network changes at the time of request, and the network that the length of historical period is five times becomes More duration, network are completed the secondary network to server 200 after a length of networking client sending network change request when changing and are become The required time more handled.In step s 106, judge whether continuous background request number is greater than a preset change threshold value, this In change threshold value be set as 5, may be set to be 4 or 6 in some other embodiment.When continuous background request number is greater than When 5, then step S107 is carried out;When continuous background request number is less than or equal to 5, then step S110 is passed directly to.
In step s 107, server 200 is according to the coordinate of the current location of client and the historical position of client The moving distance of coordinate acquisition client.The coordinate of current location is present in the network change request of client transmission.Service Device 200 need to transfer in the network change request that the historical position being stored in the server 200 i.e. client last time sends Position coordinate.
In step S108, judge moving distance whether less than a mobile threshold value.Mobile threshold value can be set to 200m or 300m then goes to step S110 when moving distance is more than or equal to mobile threshold value.When moving distance is less than mobile threshold value, then It carries out step S109 and returns to a refusal modification information to client.Client will be at network after returning to a refusal modification information Reason mark position is false.After i.e. server 200 completes network exception processes after network exception processes, one is sent to client It is used to indicate the successful feedback indicator symbol of network exception processes.
In step s 110, network exception processes are carried out the following steps are included: obtaining the current of the current network of client IP address;The address list for storing the IP address of client is updated according to current IP address.It is further comprising the steps of: to obtain visitor The registration time length for this connection that family end issues;The effective time of this connection is set according to registration time length.It further include following step It is rapid: to obtain the port numbering that client issues;It is established and is communicated to connect by network and client according to port numbering.
With reference to Fig. 4, according to an aspect of the present invention, a kind of VOIP network altering system 400, the change of VOIP network are provided System 400 includes:
Receiving module 401 receives the network that client issues and changes request, includes working as client in network change request The coordinate of front position;
Backstage detection module 402, whether detection network change request is background request, if the determination result is YES, is then obtained Network processes flag bit corresponding with client, network processes flag bit are Boolean type, and background request is client on backstage The network change request issued when operation;
Flag bit detection module 403 judges whether the value of network processes flag bit is true, if so, obtain client in Continuous background request number in one historical period;
Request number of times judgment module 404, judges whether continuous background request number is greater than a preset change threshold value;
Feedback module 405, if continuous background request number is greater than change threshold value, according to the seat of the current location of client Whether mark and the coordinate of the historical position of client obtain the moving distance of client and judge moving distance less than a mobile threshold Value returns to a refusal modification information to client, if moving distance is more than or equal to movement if moving distance is less than mobile threshold value Threshold value then carries out network exception processes;
Module 406 is changed, if continuous background request number is less than or equal to change threshold value, carries out network exception processes.
According to an aspect of the present invention, the present invention provides a kind of VOIP network change equipment, comprising: processor;Storage Device, wherein being stored with the executable instruction of processor;Wherein, processor is configured to above-mentioned to execute via executable instruction is executed The step of change of VOIP network and compatible processing method.
With reference to attached drawing 5, Fig. 5 is the structural schematic diagram of Inbound Calls distributing equipment of the invention.It is described referring to Fig. 5 The electronic equipment 600 of this embodiment according to the present invention.The electronic equipment 600 that Fig. 5 is shown is only an example, is not answered Any restrictions are brought to the function and use scope of the embodiment of the present invention.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part The step of mode.For example, processing unit 610 can execute step as shown in Figure 2.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage platform etc..
According to an aspect of the present invention, a kind of computer readable storage medium, for storing program, described program is held The step of above-mentioned VOIP network change and compatible processing method are realized when row.
Fig. 6 is the structural schematic diagram of computer readable storage medium of the invention.With reference to Fig. 6, describe according to the present invention Embodiment the program product 800 for realizing the above method, portable compact disc read only memory can be used (CD-ROM) it and including program code, and can be run on terminal device, such as PC.However, program of the invention Product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the program Execution system, device or device use or in connection can be commanded.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, programming language include object oriented program language-Java, C++ etc., further include conventional process Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
To sum up, the present invention can change number according to the network of client to determine whether carrying out network change, Ke Yiyou The network change of the reduction server process client of effect resource used, to improve the operational efficiency of server.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (12)

1. a kind of VOIP network change and compatible processing method characterized by comprising
It receives the network that client issues and changes request, include the current location of the client in the network change request Coordinate;
It detects whether the network change request is background request, if the determination result is YES, then obtains corresponding with the client Network processes flag bit, the network processes flag bit be Boolean type, the background request be client in running background When issue the network change request;
Whether the value for judging the network processes flag bit is very, if so, obtaining the client in a historical period Continuous background request number;
Judge whether the continuous background request number is greater than a preset change threshold value;
If the continuous background request number is less than or equal to the change threshold value, network exception processes are carried out;
If the continuous background request number is greater than the change threshold value, according to the seat of the current location of the client Mark and the coordinate of the historical position of the client obtain the moving distance of the client and whether judge the moving distance Less than a mobile threshold value, if the moving distance is less than the mobile threshold value, a refusal change letter is returned to the client Breath carries out network exception processes if the moving distance is more than or equal to the mobile threshold value.
2. VOIP network change according to claim 1 and compatible processing method, which is characterized in that the VOIP network Change and compatible processing method are further comprising the steps of:
The client detects whether its IP address changes;
If the IP address changes, detect whether the client is running background, if the client is that backstage is transported Row then generates one and is used to indicate the backstage identifier that the network change request is background request;
The client sends the network change request, includes the backstage identifier in the network change request.
3. VOIP network change according to claim 1 and compatible processing method, which is characterized in that in the reception visitor Before the network change request that family end issues, further includes:
Receive the user authentication information that the client issues, include in the user authentication information user name, user password with And server domain name;
According to the user name by the user password in the user authentication information and be pre-stored in a database with the use The corresponding user password of name in an account book is matched;
If successful match, the network change request that the client issues is received;
If matching is unsuccessful, an authentication failed information is issued to the client.
4. VOIP network change according to claim 1 and compatible processing method, which is characterized in that the client is returned Returning a refusal modification information is later false by the network processes mark position.
5. VOIP network change according to claim 1 and compatible processing method, which is characterized in that the VOIP network Change and compatible processing method further include: detect whether the network change request is background request, if the network changes Request is not background request, then carries out network exception processes, and by the corresponding network processes flag bit of the client It is set to true.
6. VOIP network change according to claim 1 and compatible processing method, which is characterized in that the carry out network Exception processes the following steps are included:
Obtain the current IP address of the current network of the client;
The address list for storing the IP address of the client is updated according to the current IP address.
7. VOIP network change according to claim 1 and compatible processing method, which is characterized in that the carry out network Exception processes the following steps are included:
Obtain the registration time length for this connection that the client issues;
The effective time of this connection is set according to the registration time length.
8. VOIP network change according to claim 1 and compatible processing method, the progress network exception processes packet Include following steps:
Obtain the port numbering that the client issues;
It is established and is communicated to connect by network and the client according to the port numbering.
9. VOIP network according to claim 1 changes and compatible processing method, after the network exception processes, to The client sends one and is used to indicate the successful feedback indicator symbol of network exception processes.
10. a kind of VOIP network altering system characterized by comprising
Receiving module receives the network that client issues and changes request, includes the client in the network change request The coordinate of current location;
Backstage detection module, detects whether network change request is background request, if the determination result is YES, then obtains and institute The corresponding network processes flag bit of client is stated, the network processes flag bit is Boolean type, and the background request is client Hold the network change request issued in running background;
Flag bit detection module judges whether the value of the network processes flag bit is true, if so, obtain the client in Continuous background request number in one historical period;
Request number of times judgment module, judges whether the continuous background request number is greater than a preset change threshold value;
Feedback module is worked as according to the client if the continuous background request number is greater than the change threshold value The coordinate of the historical position of the coordinate of front position and the client obtains the moving distance of the client and judges the shifting Whether dynamic distance if the moving distance be less than the mobile threshold value, to the client returns to one less than a mobile threshold value Refuse modification information, if the moving distance is more than or equal to the mobile threshold value, carries out network exception processes;
Module is changed, if the continuous background request number is less than or equal to the change threshold value, carries out network exception processes.
11. a kind of VOIP network changes equipment characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute the claim 1-9 any one via the executable instruction is executed The step of VOIP network change and compatible processing method.
12. a kind of computer readable storage medium, for storing program, which is characterized in that described program, which is performed, realizes institute The step of stating the change of VOIP network described in claim 1-9 any one and compatible processing method.
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 true CN108989343A (en) 2018-12-11
CN108989343B 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)

Cited By (1)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988682A2 (en) * 2006-12-13 2008-11-05 Canon Kabushiki Kaisha Information-processing apparatus, information-processing method, and program
CN101808379A (en) * 2010-04-01 2010-08-18 上海交通大学 Network received signal intensity stability-based adaptive vertical handoff method
CN103067997A (en) * 2011-10-19 2013-04-24 中国电信股份有限公司 Method and device capable of judging whether terminal is switched between two wireless networks
US20140058726A1 (en) * 2009-07-02 2014-02-27 Alon Konchitsky Automated difference recognition between speaking sounds and music
CN106412985A (en) * 2015-07-31 2017-02-15 展讯通信(上海)有限公司 Mobile terminal cell handover control method and apparatus
CN107251510A (en) * 2014-09-08 2017-10-13 沃兹艾普公司 Set up and keep VOIP to call

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988682A2 (en) * 2006-12-13 2008-11-05 Canon Kabushiki Kaisha Information-processing apparatus, information-processing method, and program
US20140058726A1 (en) * 2009-07-02 2014-02-27 Alon Konchitsky Automated difference recognition between speaking sounds and music
CN101808379A (en) * 2010-04-01 2010-08-18 上海交通大学 Network received signal intensity stability-based adaptive vertical handoff method
CN103067997A (en) * 2011-10-19 2013-04-24 中国电信股份有限公司 Method and device capable of judging whether terminal is switched between two wireless networks
CN107251510A (en) * 2014-09-08 2017-10-13 沃兹艾普公司 Set up and keep VOIP to call
CN106412985A (en) * 2015-07-31 2017-02-15 展讯通信(上海)有限公司 Mobile terminal cell handover control method and apparatus

Cited By (2)

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

Also Published As

Publication number Publication date
CN108989343B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US10097649B2 (en) Facilitating location of and interaction with a convenient communication device
CN106686070B (en) Database data migration method, device, terminal and system
CN104125208B (en) Data transmission method and device
CN103975320A (en) Contextual and location awareness for device interaction
CN103763443B (en) The mobile customer service system of a kind of many communication modes polymerization and method
CN104967557A (en) Communication message sending method and apparatus
CN113489636B (en) Location-based access control for manual dialog entities
CN110049503B (en) Method and equipment for acquiring data
WO2014187321A1 (en) Method and system for information push
CN104811371A (en) Brand-new instant messaging system
CN101551922A (en) A method and system for remotely fetching number
CN106713684B (en) The binding method and equipment of the number of Unified Communication client account and phone
CN104123313B (en) Obtain the method and server of guide to visitors information
EP2974159B1 (en) Method, device and system for voice communication
CN104581611A (en) M2M-based information processing method and M2M service platform
CN106302368B (en) Transaction methods and device
US20140108567A1 (en) Mobile device message enabled on-line community bulletin board
CN105306426A (en) Customer service method of cooperative communication and customer service system
EP2466854A1 (en) Mobile search method and system thereof
CN114613060A (en) Information pushing method and device, electronic equipment and computer readable medium
CN105790944B (en) A kind of method for network authorization and device based on wechat
CN106028311A (en) Terminal register method and device
CN108989343A (en) The change of VOIP network and compatible processing method, system, equipment and medium
CN102629919A (en) Method, client and system for adding contact persons in instant messaging (IM)
CN117336272A (en) Number processing method, device 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