CN109842693A - The direct-connected method, apparatus of IP, computer readable storage medium and system - Google Patents

The direct-connected method, apparatus of IP, computer readable storage medium and system Download PDF

Info

Publication number
CN109842693A
CN109842693A CN201910210601.8A CN201910210601A CN109842693A CN 109842693 A CN109842693 A CN 109842693A CN 201910210601 A CN201910210601 A CN 201910210601A CN 109842693 A CN109842693 A CN 109842693A
Authority
CN
China
Prior art keywords
access
target
direct
configuration information
address
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.)
Pending
Application number
CN201910210601.8A
Other languages
Chinese (zh)
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software 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 Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201910210601.8A priority Critical patent/CN109842693A/en
Publication of CN109842693A publication Critical patent/CN109842693A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of direct-connected methods of IP, comprising: receives access request, determines target access address according to the access request;The preset configuration information of the target access address is obtained, and chooses Target IP in the preset configuration information got;With the Target IP access target access address chosen.The invention also discloses a kind of IP direct connection device, computer readable storage medium and systems.The present invention passes through the configuration information of Configuration network access address, it include network operator, access equipment mark and corresponding IP in its configuration information, therefore, corresponding IP is selected in configuration information by the network operator of initiating terminal and carries out address access, realizes the beneficial effect for improving access efficiency.

Description

The direct-connected method, apparatus of IP, computer readable storage medium and system
Technical field
The present invention relates to network access field more particularly to a kind of direct-connected method, apparatus of IP, computer readable storage medium And system.
Background technique
The prior art typically carries out network address access by routing when accessing network address, is passing through routing When accessing network address, due to network address distribution, bandwidth and the problem of server-capabilities, it is likely to result in access delay Problem.In addition, network address access in, also need carry out dns resolution, if but in the access dns resolution overlong time when, can The case where DNS is seized on both sides by the arms can be will cause, access failure is so will cause, influence user experience.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of direct-connected methods of IP, it is intended to solve the prior art by routing access When network address, the low technical problem of access efficiency when causing network address to access due to the problem of network application.
To achieve the above object, the present invention provides a kind of direct-connected method of IP, including the following contents:
Access request is received, target access address is determined according to the access request;
The preset configuration information of the target access address is obtained, and is chosen in the preset configuration information got Target IP;
With the Target IP access target access address chosen.
Preferably, the preset configuration information for obtaining the target access address, and in the pre- establishing got The step of choosing Target IP in confidence breath, further includes:
Obtain the access time of each IP in the preset configuration information;
Confirmation access time shortest IP is Target IP.
Preferably, described the step of obtaining the access time of each IP in the preset configuration information, further includes:
Access request is initiated with the IP registered in the preset configuration information;
After receiving the access information returned based on the access request, the access that the IP initiates access request is counted Time.
Preferably, the step of confirmation access time shortest IP is Target IP, further includes:
It is confirmed whether there is identical IP of multiple access times;
When confirmation has identical IP of multiple access times, Target IP is chosen with the predetermined manner set.
Preferably, it is described with choose Target IP access target access address the step of, comprising:
The access link of the target access address is generated according to the Target IP;
With generated access links and accesses target access address.
Preferably, the direct-connected method of the IP, further includes:
According to current requirements for access, the corresponding target access address of the requirements for access is obtained;
With preset format for the target access address creation configuration information, in the configuration information comprising access address, Operator, computer room information and IP.
In addition, to achieve the above object, the present invention also provides a kind of IP direct connection device, the IP direct connection device includes: to deposit Reservoir, processor and it is stored in the computer program that can be run on the memory and on the processor, the computer Program realizes the step of IP as described above direct-connected method when being executed by the processor.
It is straight that IP is stored with the present invention also provides a kind of computer readable storage medium, on the computer readable storage medium The step of even application program, the IP direct-connected application program realizes IP as described above direct-connected method when being executed by processor.
The present invention also provides a kind of direct-connected system of IP, the direct-connected system of IP realizes the direct-connected side of IP as described above when being executed The step of method.
A kind of direct-connected method of IP that the embodiment of the present invention proposes receives access request, determines mesh according to the access request Mark access address;The preset configuration information of the target access address is obtained, and in the preset configuration information got Choose Target IP;With the Target IP access target access address chosen.By the configuration information of Configuration network access address, It include therefore network operator, access equipment mark and corresponding IP are transported by the network of initiating terminal in configuration information Battalion quotient selectes corresponding IP in configuration information and carries out address access, realizes the beneficial effect for improving access efficiency.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of the direct-connected method first embodiment of IP of the present invention;
Fig. 3 is the flow diagram of the direct-connected method second embodiment of IP of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: receiving access request, determine that target is visited according to the access request Ask address;The preset configuration information of the target access address is obtained, and is chosen in the preset configuration information got Target IP;With the Target IP access target access address chosen.
Since the prior art is when through routing access network address, due to network address distribution, bandwidth and server The problem of ability, the problem of being likely to result in access delay.In addition, also need to carry out dns resolution in network address access, but If in the access when dns resolution overlong time, being likely to result in the case where DNS is seized on both sides by the arms, it so will cause access failure, influence User experience.
The present invention provides a solution, by the configuration information of Configuration network access address, wraps in configuration information Containing network operator, access equipment mark and corresponding IP, therefore, the network operator by initiating terminal is matching confidence Corresponding IP is selected in breath and carries out address access, realizes the beneficial effect for improving access efficiency.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, portable The mobile or irremovable formula terminal device of computer etc..
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and the direct-connected application program of IP.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the direct-connected application program of the IP stored in memory 1005, and execute following operation:
Access request is received, target access address is determined according to the access request;
The preset configuration information of the target access address is obtained, and is chosen in the preset configuration information got Target IP;
With the Target IP access target access address chosen.
Further, processor 1001 can call the direct-connected application program of the IP stored in memory 1005, also execute with Lower operation:
Obtain the access time of each IP in the preset configuration information;
Confirmation access time shortest IP is Target IP.
Further, processor 1001 can call the direct-connected application program of the IP stored in memory 1005, also execute with Lower operation:
Access request is initiated with the IP registered in the preset configuration information;
After receiving the access information returned based on the access request, the access that the IP initiates access request is counted Time.
Further, processor 1001 can call the direct-connected application program of the IP stored in memory 1005, also execute with Lower operation:
It is confirmed whether there is identical IP of multiple access times;
When confirmation has identical IP of multiple access times, Target IP is chosen with the predetermined manner set.
Further, processor 1001 can call the direct-connected application program of the IP stored in memory 1005, also execute with Lower operation:
The access link of the target access address is generated according to the Target IP;
With generated access links and accesses target access address.
Further, processor 1001 can call the direct-connected application program of the IP stored in memory 1005, also execute with Lower operation:
According to current requirements for access, the corresponding target access address of the requirements for access is obtained;
With preset format for the target access address creation configuration information, in the configuration information comprising access address, Operator, computer room information and IP.
It is the flow diagram of the direct-connected method first embodiment of IP of the present invention, the direct-connected method packet of IP referring to Fig. 2, Fig. 2 It includes:
Step S10 receives access request, determines target access address according to the access request;
Step S20 obtains the preset configuration information of the target access address, and in the preset configuration letter got Target IP is chosen in breath;
The preset configuration information for obtaining the target access address, and in the preset configuration information got The step of choosing Target IP, further includes:
Obtain the access time of each IP in the preset configuration information;
Confirmation access time shortest IP is Target IP.
Described the step of obtaining the access time of each IP in the preset configuration information, further includes:
Access request is initiated with the IP registered in the preset configuration information;
After receiving the access information returned based on the access request, the access that the IP initiates access request is counted Time.
The step of confirmation access time shortest IP is Target IP, further includes:
It is confirmed whether there is identical IP of multiple access times;
When confirmation has identical IP of multiple access times, Target IP is chosen with the predetermined manner set.
Step S30, with the Target IP access target access address chosen.
It is described with choose Target IP access target access address the step of, comprising:
The access link of the target access address is generated according to the Target IP;
With generated access links and accesses target access address.
In the present embodiment,
Further, it is the second embodiment flow diagram of the direct-connected method of IP of the present invention referring to Fig. 3, Fig. 3, is based on Fig. 2 Shown in first embodiment, the direct-connected method of IP, further includes:
Step S40 obtains the corresponding target access address of the requirements for access according to current requirements for access;
Step S50, with preset format for the target access address creation configuration information, comprising visiting in the configuration information Ask address, operator, computer room information and IP.
In the present embodiment,
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with the direct-connected application program of IP, following operation is realized when the direct-connected application program of IP is executed by processor:
Access request is received, target access address is determined according to the access request;
The preset configuration information of the target access address is obtained, and is chosen in the preset configuration information got Target IP;
With the Target IP access target access address chosen.
Further, following operation is also realized when the direct-connected application program of the IP is executed by processor:
Obtain the access time of each IP in the preset configuration information;
Confirmation access time shortest IP is Target IP.
Further, following operation is also realized when the direct-connected application program of the IP is executed by processor:
Access request is initiated with the IP registered in the preset configuration information;
After receiving the access information returned based on the access request, the access that the IP initiates access request is counted Time.
Further, following operation is also realized when the direct-connected application program of the IP is executed by processor:
It is confirmed whether there is identical IP of multiple access times;
When confirmation has identical IP of multiple access times, Target IP is chosen with the predetermined manner set.
Further, following operation is also realized when the direct-connected application program of the IP is executed by processor:
The access link of the target access address is generated according to the Target IP;
With generated access links and accesses target access address.
Further, following operation is also realized when the direct-connected application program of the IP is executed by processor:
According to current requirements for access, the corresponding target access address of the requirements for access is obtained;
With preset format for the target access address creation configuration information, in the configuration information comprising access address, Operator, computer room information and IP.
The present invention also provides a kind of direct-connected system of IP, the direct-connected system of IP realizes the direct-connected side of IP as described above when being executed The content of method embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of direct-connected method of IP, which is characterized in that the direct-connected method of IP the following steps are included:
Access request is received, target access address is determined according to the access request;
The preset configuration information of the target access address is obtained, and chooses target in the preset configuration information got IP;
With the Target IP access target access address chosen.
2. the direct-connected method of IP as described in claim 1, which is characterized in that the preset configuration for obtaining the target access address Information, and in the preset configuration information got the step of selection Target IP, further includes:
Obtain the access time of each IP in the preset configuration information;
Confirmation access time shortest IP is Target IP.
3. the direct-connected method of IP as claimed in claim 2, which is characterized in that described to obtain each IP in the preset configuration information The step of access time, further includes:
Access request is initiated with the IP registered in the preset configuration information;
After receiving the access information returned based on the access request, when counting the access of the IP initiation access request Between.
4. the direct-connected method of IP as claimed in claim 2, which is characterized in that the confirmation access time shortest IP is Target IP Step, further includes:
It is confirmed whether there is identical IP of multiple access times;
When confirmation has identical IP of multiple access times, Target IP is chosen with the predetermined manner set.
5. the direct-connected method of IP as described in claim 1, which is characterized in that the Target IP access target access to choose The step of location, comprising:
The access link of the target access address is generated according to the Target IP;
With generated access links and accesses target access address.
6. the direct-connected method of the IP as described in any one of claim 1 to 5, which is characterized in that the direct-connected method of IP, further includes:
According to current requirements for access, the corresponding target access address of the requirements for access is obtained;
With preset format for the target access address creation configuration information, access address, operation are included in the configuration information Quotient, computer room information and IP.
7. a kind of IP direct connection device, which is characterized in that the IP direct connection device includes: memory, processor and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of direct-connected method of the IP as described in any one of claims 1 to 6.
8. a kind of computer readable storage medium, which is characterized in that it is direct-connected to be stored with IP on the computer readable storage medium Application program realizes that the IP as described in any one of claims 1 to 6 is direct-connected when the direct-connected application program of IP is executed by processor The step of method.
9. a kind of direct-connected system of IP, which is characterized in that the direct-connected system of IP is realized when being executed as appointed in claim 1 to 6 The step of one IP direct-connected method.
CN201910210601.8A 2019-03-19 2019-03-19 The direct-connected method, apparatus of IP, computer readable storage medium and system Pending CN109842693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910210601.8A CN109842693A (en) 2019-03-19 2019-03-19 The direct-connected method, apparatus of IP, computer readable storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910210601.8A CN109842693A (en) 2019-03-19 2019-03-19 The direct-connected method, apparatus of IP, computer readable storage medium and system

Publications (1)

Publication Number Publication Date
CN109842693A true CN109842693A (en) 2019-06-04

Family

ID=66886062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910210601.8A Pending CN109842693A (en) 2019-03-19 2019-03-19 The direct-connected method, apparatus of IP, computer readable storage medium and system

Country Status (1)

Country Link
CN (1) CN109842693A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610222A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Client-based server selection method and device
US20140115188A1 (en) * 2011-09-27 2014-04-24 Matthew Browning Prince Incompatible network gateway provisioned through dns
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610222A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Client-based server selection method and device
US20140115188A1 (en) * 2011-09-27 2014-04-24 Matthew Browning Prince Incompatible network gateway provisioned through dns
CN107395683A (en) * 2017-06-26 2017-11-24 网宿科技股份有限公司 The system of selection of a kind of time source path and server

Similar Documents

Publication Publication Date Title
US10387856B2 (en) Online payment method, system, and apparatus
CN107577537A (en) Resource allocation method and Related product
US20160210632A1 (en) Secured payment method and relevant device and system
CN103440574A (en) Method, client terminal and system for processing game payment
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN105404620A (en) Form verification method and apparatus
CN109995877A (en) Information-pushing method and device
CN109639636A (en) Business datum forwarding, business data processing method, device and electronic equipment
CN107589998A (en) Resource allocation method and Related product
CN109150904A (en) Interface service call method and terminal device
CN107577622A (en) Back end interface analogy method, equipment and storage medium
CN109597643A (en) Using gray scale dissemination method, device, electronic equipment and storage medium
CN106851779A (en) A kind of method and mobile terminal for recognizing access point and focus
CN110191186A (en) CDN server dispatching method, equipment and computer readable storage medium
CN106605231A (en) Accounts control
CN114095567A (en) Data access request processing method and device, computer equipment and medium
CN106161793A (en) Originating method based on contact person's packet and device
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN110321122A (en) The development approach and relevant device of browser application
CN104506616B (en) Browser client sends the method, apparatus and system of information
CA2930262C (en) Techniques to rate-adjust data usage with a virtual private network
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN104468635A (en) Upgrading authentication method and system for user permission in network platform
CN109842693A (en) The direct-connected method, apparatus of IP, computer readable storage medium and system
CN110351345A (en) Method and device for service request processing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190604