CN109032382A - A kind of method and device of Ip and domain name input - Google Patents

A kind of method and device of Ip and domain name input Download PDF

Info

Publication number
CN109032382A
CN109032382A CN201810878580.2A CN201810878580A CN109032382A CN 109032382 A CN109032382 A CN 109032382A CN 201810878580 A CN201810878580 A CN 201810878580A CN 109032382 A CN109032382 A CN 109032382A
Authority
CN
China
Prior art keywords
input
domain name
sections
module
automatically
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
CN201810878580.2A
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 JN UNION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU JN UNION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU JN UNION TECHNOLOGY Co Ltd filed Critical GUANGZHOU JN UNION TECHNOLOGY Co Ltd
Priority to CN201810878580.2A priority Critical patent/CN109032382A/en
Publication of CN109032382A publication Critical patent/CN109032382A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Abstract

The invention discloses the method and apparatus that a kind of Ip and domain name are inputted, and realizing can allow user to carry out selection input to ip or domain name, if ip is inputted, then can be divided into four ip sections of inputs, and have verification to each ip sections of input;If domain name input, since Domain Name Form registering sites is indefinite, domain name can be done whether mandatory verification.Interface layout of the present invention is reasonable, easy to use, realizes the integral type input of IP address and domain name addresses, not only reduces cost, improves work efficiency and user experience, therefore, the present invention has very high practical value and promotional value.

Description

A kind of method and device of Ip and domain name input
Technical field
It is related to internet communication input technology field, the in particular to method and device of a kind of Ip and domain name input.
Background technique
When in General System, inputting ip if necessary, while supporting domain name again, it may appear that a problem, it can not be to this Input frame verifies.
Existing ip/ domain name input box is only a common input frame, and can not do input validation, because ip is inputted When, there are four ip sections of input formats respectively, different to have no idea to accomplish compatible ip and domain name simultaneously with domain name input Verification.And when front end page inputs needs while supporting ip and domain name, it can not accomplish both to have met the verification to ip input Meet the verification inputted to domain name again, therefore can not only often do input validation, this will lead to user during inputting ip, nothing Method knows whether the ip of oneself input meets the format of correct ip, reduces the Experience Degree of user.Original ip as shown in Figure 1 and domain Name input format, in an input frame, can not meet the verification of ip format and the verification of domain name, user experience is poor simultaneously.
Summary of the invention
The present invention aiming at the problems existing in the prior art, provides the method and device of a kind of Ip and domain name input, it is intended to It provides a kind of when front end page needs while supporting ip and domain name inputs, can not only accomplish the verification to ip input, but also can be with Accomplish the verification inputted to domain name.User can be allowed just to evade some unnecessary mistakes during input, improve user Experience Degree.
To achieve the above object, technical solution provided by the invention is as follows:
A kind of method of Ip and domain name input, which comprises the following steps:
Can real-time selection switching ip and domain name addresses input, and verified;
Wherein, when selecting ip input, it is divided into four ip sections of inputs, is transferred to next ip automatically after the completion of each ip sections of input Section input.
Further, when selecting ip input, when each ip section input is equal to 3, then be transferred to automatically next ip sections it is defeated Enter;When each ip sections input is less than 3, input " " can then jump to next ip sections of input.Each ip sections of input by agretope be 0~255.
Further, it is described be transferred to automatically it is next ip sections input be specially input mark focus on automatically next ip sections it is defeated Lairage.
Further, when selecting ip input, there is verification to each ip sections of input.
Further, select domain name input when, to domain name do whether mandatory verification.
A kind of device of Ip and domain name input, including input switching module, Ip input module and domain name input module;Its In,
The input switching module after obtaining focus, automatically switches corresponding input pattern outside input frame.
Further, the Ip input module generates input mark after switching to Ip input pattern and forms ip input lattice Formula, and verified after the completion of input.
Further, domain name input module generates that input is marked and to form domain name defeated after switching to domain name input pattern Entry format.
Compared with prior art, the invention has the following beneficial effects:
1) in the front end page for needing while supporting ip and domain name to input, corresponding content (such as ip or domain can be directed to Name) it is verified accordingly, evade unnecessary mistake, improves user experience.
2) input format of Ip realizes four ip section separately inputs, and each ip sections equal to 3 when or keyboard When key " ", next ip sections of input is jumped to automatically, improves user experience.
Detailed description of the invention
Fig. 1 is existing common original ip and domain name input box figure;
Fig. 2 is schematic structural diagram of the device of the invention;
Fig. 3 is the method for the present invention flow chart;
Fig. 4 is present invention selection ip input effect figure;
Fig. 5 is present invention selection domain name input effect figure.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
Embodiment 1:
As shown in Fig. 2, the device of a kind of Ip and domain name input, including input switching module, Ip input module and domain name are defeated Enter module;Wherein, the input switching module after obtaining focus, automatically switches corresponding input pattern outside input frame.
Further, the Ip input module generates input mark after switching to Ip input pattern and forms ip input lattice Formula, and verified after the completion of input.
Further, domain name input module generates that input is marked and to form domain name defeated after switching to domain name input pattern Entry format.
As shown in figure 3, a kind of Ip and domain name input method, which comprises the following steps: can real-time selection cut Ip and domain name addresses input are changed, and is verified;
A. it when selection ip input, is inputted when each ip sections and is equal to 3, be then transferred to next ip sections of input frame (mouse automatically Automatically next ip sections of input frame is focused on);When each ip sections input is less than 3, keyboard " " can then jump to next ip Section input frame;Each ip sections of input is 0~255 by agretope.
B. when the input of selection domain name, due to the uncertainty of Domain Name Form registering sites, so only doing whether school must be filled out to domain name input It tests.
In the present embodiment, two kinds of display effects are presented in ip and domain name input format respectively, select ip input effect such as Fig. 4 institute Show, selects domain name input effect as shown in Figure 5.

Claims (9)

1. the method for a kind of Ip and domain name input, which comprises the following steps:
Can real-time selection switching ip and domain name addresses input, and verified;
Wherein, select ip input when, be divided into four ip section input, it is each ip section input after the completion be transferred to automatically next ip sections it is defeated Enter.
2. the method for Ip as described in claim 1 and domain name input, it is characterised in that when selecting ip input, when ip sections each Input is equal to 3, then is transferred to next ip sections of input automatically;When each ip sections input is less than 3, input " " can then be jumped to Next ip sections of input.
3. the method for Ip as described in claim 1 and domain name input, when selecting ip input, it is characterised in that each ip sections defeated Entering by agretope is 0~255.
4. the method for Ip as claimed in claim 2 or claim 3 and domain name input, which is characterized in that described to be transferred to next ip automatically Section input is specially that input mark focuses on next ip sections of input field automatically.
5. the method for Ip as described in claim 1 and domain name input, which is characterized in that when selecting ip input, to each ip The input of section has verification.
6. the method for Ip as described in claim 1 and domain name input, which is characterized in that when selecting domain name input, to domain name Do whether mandatory verification.
7. the device of a kind of Ip and domain name input, including input switching module, Ip input module and domain name input module;Wherein,
The input switching module after obtaining focus, automatically switches corresponding input pattern outside input frame.
8. the device of Ip as claimed in claim 7 and domain name input, which is characterized in that the Ip input module is switching to Ip Input mark is generated after input pattern and forms ip input format, and is verified after the completion of input.
9. the device of Ip as claimed in claim 7 and domain name input, which is characterized in that domain name input module is switching to Input is generated after domain name input pattern to mark and form domain name input format.
CN201810878580.2A 2018-08-03 2018-08-03 A kind of method and device of Ip and domain name input Pending CN109032382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810878580.2A CN109032382A (en) 2018-08-03 2018-08-03 A kind of method and device of Ip and domain name input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810878580.2A CN109032382A (en) 2018-08-03 2018-08-03 A kind of method and device of Ip and domain name input

Publications (1)

Publication Number Publication Date
CN109032382A true CN109032382A (en) 2018-12-18

Family

ID=64649387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810878580.2A Pending CN109032382A (en) 2018-08-03 2018-08-03 A kind of method and device of Ip and domain name input

Country Status (1)

Country Link
CN (1) CN109032382A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596197A (en) * 2021-09-26 2021-11-02 武汉四通信息服务有限公司 Address switching method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873372A (en) * 2012-12-14 2014-06-18 华耀(中国)科技有限公司 Domain-name-based policy routing system and setting method
CN103973506A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Domain name verifying method, device and system
CN106648566A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Input content check method and apparatus
CN107979659A (en) * 2018-01-23 2018-05-01 深圳市天贝物联科技有限公司 Convenient access method, system, electronic equipment and storage medium based on domain name

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873372A (en) * 2012-12-14 2014-06-18 华耀(中国)科技有限公司 Domain-name-based policy routing system and setting method
CN103973506A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Domain name verifying method, device and system
CN106648566A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Input content check method and apparatus
CN107979659A (en) * 2018-01-23 2018-05-01 深圳市天贝物联科技有限公司 Convenient access method, system, electronic equipment and storage medium based on domain name

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WANGKE_KING: "组合控件——实现Ip地址的输入与校验", 《HTTPS://BLOG.CSDN.NET/QQ_19560943/ARTICLE/DETAILS/68063498》 *
张庆海 等: "《视频监控系统综合实训》", 31 January 2018, 西安电子科技大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596197A (en) * 2021-09-26 2021-11-02 武汉四通信息服务有限公司 Address switching method and device, electronic equipment and storage medium
CN113596197B (en) * 2021-09-26 2021-12-21 武汉四通信息服务有限公司 Address switching method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103092650B (en) Method and system is generated based on the virtual machine image of software pre-installation under cloud environment
KR101667946B1 (en) Determining additional information associated with geographic location information
CN102289473A (en) Device and method for paging query of a plurality of servers
CN104778239B (en) A kind of built-in browser focus querying method
US9292497B2 (en) Context-based translation
CN105138250A (en) Human-computer interaction operation guide method, human-computer interaction operation guide system, human-computer interaction device and server
CN105740417A (en) Webpage based target data search method and module, browser and terminal
CN109032382A (en) A kind of method and device of Ip and domain name input
US20170169126A1 (en) Method and device of displaying webpage
JP2009259230A (en) Information service providing method and server
RU2014125412A (en) METHOD FOR PROCESSING SEARCH REQUEST (OPTIONS) AND SERVER (OPTIONS)
US20150033107A1 (en) Method and device for adding fillable form field into pdf document static form
CN104936010B (en) TV remote controlling method, device and system based on input method
CN103455312B (en) Method, device and system for generating terminal menu
US20140347367A1 (en) Display processing apparatus, system and computer-readable storage medium for display processing program
CN102905194A (en) Method and device for moving focal points in digital television browser, and digital television
CN108984709A (en) A kind of data lead-in method, device and computer-readable medium
CN104636446B (en) A kind of legacy Web application mobile edition method for transformation based on cloud computing mode
CN103294788A (en) Universal background processing method and system for websites
CN105095217B (en) Data sending device and method
JP2014137654A (en) Translation system and translation method thereof
CN103309880A (en) Method and device for acquiring object issue information based on search results of answered questions
KR101449725B1 (en) Apparatus and method for converting pdf document
CN105677644A (en) Website editing system
CN104376530B (en) A kind of secondary multistage breviary cutting process method of image

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: 20181218