CN104899294B - A kind of numeral and the method and device of letter shown on the mobile apparatus in network address - Google Patents
A kind of numeral and the method and device of letter shown on the mobile apparatus in network address Download PDFInfo
- Publication number
- CN104899294B CN104899294B CN201510308153.7A CN201510308153A CN104899294B CN 104899294 B CN104899294 B CN 104899294B CN 201510308153 A CN201510308153 A CN 201510308153A CN 104899294 B CN104899294 B CN 104899294B
- Authority
- CN
- China
- Prior art keywords
- network address
- color
- numeral
- different
- letter
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及在移动设备上显示文字的方法,具体涉及一种在移动设备上显示网址中的数字与字母的方法及装置。The invention relates to a method for displaying characters on a mobile device, in particular to a method and a device for displaying numbers and letters in a website on a mobile device.
背景技术Background technique
目前,在移动设备上显示具体的网址时,为了便于用户区分识别和打开网址,会对网址进行高亮度的超链接的显示,但不会对网址中的数字和字母进行区分。当网址中存在着比较相近的数字和字母时,很容易使用户在视觉上产生错误理解,如数字“0”与英文字母“O”,数字“1”与英文字母L的小写字母“l”或者英文字母中的“I”,这些字母都很容易让用户产生混淆。而不少不法分子,往往利用相近的数字或字母来伪装成一些与之相似的网址来骗取用户的信任,从而达到获取用户的相关信息或者财产的目的。因此,有必要提供一种可区分网址中数字与字母的技术方案,使用户能方便地区分网址中的数字与字母。At present, when displaying a specific URL on a mobile device, in order to facilitate users to distinguish, identify and open the URL, the URL will be displayed as a highlighted hyperlink, but the numbers and letters in the URL will not be distinguished. When there are relatively similar numbers and letters in the website, it is easy for users to misunderstand visually, such as the number "0" and the English letter "O", the number "1" and the lowercase letter "l" of the English letter L Or the "I" in the English alphabet, these letters are easy to confuse users. And many criminals often use similar numbers or letters to disguise as some similar URLs to deceive users' trust, so as to achieve the purpose of obtaining relevant information or property of users. Therefore, it is necessary to provide a technical solution that can distinguish numbers and letters in the website, so that users can easily distinguish the numbers and letters in the website.
发明内容Contents of the invention
为了克服现有技术中的不足,本发明提供一种在移动设备上显示网址中的数字与字母的方法及装置,以便于用户方便地区分识别出网址中的数字与字母。In order to overcome the deficiencies in the prior art, the present invention provides a method and device for displaying numbers and letters in a website on a mobile device, so that users can easily distinguish and identify the numbers and letters in the website.
本发明是通过以下技术方案实现的:一种在移动设备上显示网址中的数字与字母的方法,所述方法包括:The present invention is achieved through the following technical solutions: a method for displaying numbers and letters in a website on a mobile device, the method comprising:
S1、识别所述移动设备上显示的文字中是否包含网址;S1. Identify whether the text displayed on the mobile device contains a URL;
S2、当识别出所述文字包含网址时,判断该网址中是否包含有数字;S2. When it is recognized that the text contains a URL, determine whether the URL contains numbers;
S3、当判断出所述网址包含有数字时,将所述数字显示的颜色设置为区别于所述网址中字母的颜色。S3. When it is determined that the website contains numbers, the color of the numbers displayed is set to a color different from that of letters in the website.
较佳地,所述步骤S3具体包括:Preferably, the step S3 specifically includes:
S301、当判断出所述网址包含有数字时,则获取所述网址中的数字与字母当前显示的颜色;S301. When it is determined that the URL contains numbers, obtain the currently displayed colors of the numbers and letters in the URL;
S302、将所述网址中的数字显示的颜色设置为区别于所述字母当前显示的颜色。S302. Set the color displayed by the number in the website to be different from the color currently displayed by the letter.
优选地,所述网址中的数字显示的颜色相同;所述移动设备为智能手机或平板电脑。Preferably, the numbers in the website are displayed in the same color; the mobile device is a smart phone or a tablet computer.
基于上述发明构思,本发明还提供了一种在移动设备上显示网址中的数字与字母的装置,所述装置包括:Based on the above inventive concept, the present invention also provides a device for displaying numbers and letters in a website on a mobile device, the device comprising:
识别单元,用于识别所述移动设备上显示的文字中是否包含网址;an identification unit, configured to identify whether the text displayed on the mobile device contains a URL;
判断单元,用于当识别出所述文字包含网址时,判断该网址中是否包含有数字;a judging unit, configured to judge whether the web address contains numbers when it is recognized that the text contains a web address;
颜色设置单元,用于当判断出所述网址包含有数字时,将所述数字显示的颜色设置为区别于所述网址中字母的颜色。The color setting unit is used for setting the color displayed by the numbers to a color different from that of letters in the website when it is determined that the website contains numbers.
利用本发明提供的在移动设备上显示网址中的数字与字母的方法及装置,用户可方便直观地区分网址中的数字与字母,从而可使用户有效地识别出正确的网址,避免进入一些诈骗网站。Using the method and device for displaying the numbers and letters in the website on the mobile device provided by the present invention, the user can conveniently and intuitively distinguish the numbers and letters in the website, so that the user can effectively identify the correct website and avoid entering some fraudulent websites. website.
附图说明Description of drawings
附图1为本发明实施例中所述方法的方法流程示意图;Accompanying drawing 1 is the method flow diagram of the method described in the embodiment of the present invention;
附图2为本发明另一实施例中所述装置的结构模块示意图。Figure 2 is a schematic diagram of the structural modules of the device in another embodiment of the present invention.
具体实施方式Detailed ways
为了便于本领域技术人员的理解,下面结合附图对本发明作进一步的描述。In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings.
如附图1所示,一种在移动设备上显示网址中的数字与字母的方法,所述方法包括:As shown in Figure 1, a method for displaying numbers and letters in a website on a mobile device, the method includes:
S1、识别所述移动设备上显示的文字中是否包含网址;S1. Identify whether the text displayed on the mobile device contains a URL;
S2、当识别出所述文字包含网址时,判断该网址中是否包含有数字;S2. When it is recognized that the text contains a URL, determine whether the URL contains numbers;
S3、当判断出所述网址包含有数字时,将所述数字显示的颜色设置为区别于所述网址中字母的颜色。S3. When it is determined that the website contains numbers, the color of the numbers displayed is set to a color different from that of letters in the website.
其中,识别文字中否包含网址及判断网址中是否包含有数字,现有技术中可以实现,在此不再对其进行详述。由于网址主要由英文字母、符合及阿拉伯数字组成,因此本发明中的字母是指英文字母,数字是指阿拉伯数字。Among them, identifying whether the text contains a URL and judging whether the URL contains a number can be realized in the prior art, and will not be described in detail here. Since the website is mainly composed of English letters, symbols and Arabic numerals, the letters in the present invention refer to English letters, and the numbers refer to Arabic numerals.
具体地,所述步骤S3可包括:Specifically, the step S3 may include:
S301、当判断出所述网址包含有数字时,则获取所述网址中的数字与字母当前显示的颜色;S301. When it is determined that the URL contains numbers, obtain the currently displayed colors of the numbers and letters in the URL;
S302、将所述网址中的数字显示的颜色设置为区别于所述字母当前显示的颜色。S302. Set the color displayed by the number in the website to be different from the color currently displayed by the letter.
其中,在将所述数字显示的颜色设置为区别于所述网址中字母的颜色时,所述网址中的数字显示的颜色可以相同,也可以不同,只要使网址中的数字显示的颜色与字母显示的颜色不同即可,以使用户能方便快捷地区分网址中的数字与字母。如网址中字母的显示颜色为黑色,则网址中的数字显示的颜色可以全部为相同的蓝色;如网址中字母的显示颜色为蓝色,则网址中的数字显示的颜色可以全部为相同的红色,或者网址中的数字显示的颜色可以部分为红色,部分为紫色,只要数字显示的颜色与字母显示的颜色(蓝色)不同即可。在本实施例中,所述网址中的数字显示的颜色优选为相同,另外,还可以将网址中的数字的背景颜色与数字的背景颜色不同。Wherein, when the color displayed by the number is set to be different from the color of the letter in the website, the color displayed by the number in the website can be the same or different, as long as the color displayed by the number in the website is different from that of the letter The displayed colors only need to be different, so that users can easily and quickly distinguish the numbers and letters in the URL. If the display color of the letters in the URL is black, then the numbers in the URL can all be displayed in the same blue color; if the display color of the letters in the URL is blue, then the numbers in the URL can all be displayed in the same color Red, or numbers in URLs can be partially red and partially purple, as long as the numbers are displayed in a different color than the letters (blue). In this embodiment, the numbers in the website are preferably displayed in the same color. In addition, the background color of the numbers in the website can also be different from the background color of the numbers.
利用本实施例提供的在移动设备上显示网址中的数字与字母的方法,用户可方便直观地区分网址中的数字与字母,使得用户有效地识别出正确的网址,避免进入一些诈骗网站或钓鱼网站,从而避免了不必要的损失。其中,所述移动设备可以为智能手机或平板电脑,本实施例中优选为智能手机。Using the method for displaying the numbers and letters in the website on the mobile device provided by this embodiment, the user can easily and intuitively distinguish the numbers and letters in the website, so that the user can effectively identify the correct website and avoid entering some fraudulent websites or phishing website, thereby avoiding unnecessary losses. Wherein, the mobile device may be a smart phone or a tablet computer, preferably a smart phone in this embodiment.
基于上述实施例的方法的发明构思,本发明实施例还提供一种在移动设备上显示网址中的数字与字母的装置,如附图2所示,所述装置包括:Based on the inventive concept of the method of the above-mentioned embodiment, the embodiment of the present invention also provides a device for displaying numbers and letters in a website address on a mobile device, as shown in Figure 2, the device includes:
识别单元,用于识别所述移动设备上显示的文字中是否包含网址;an identification unit, configured to identify whether the text displayed on the mobile device contains a URL;
判断单元,用于当识别出所述文字包含网址时,判断该网址中是否包含有数字;a judging unit, configured to judge whether the web address contains numbers when it is recognized that the text contains a web address;
颜色设置单元,用于当判断出所述网址包含有数字时,将所述数字显示的颜色设置为区别于所述网址中字母的颜色。The color setting unit is configured to set the color displayed by the numbers to a color different from that of letters in the website when it is determined that the website contains numbers.
其中,所述移动设备为智能手机或平板电脑;所述网址中的数字显示的颜色在区别于网址中的字母的显示颜色时,数字显示的颜色可以相同,也可以不同。Wherein, the mobile device is a smart phone or a tablet computer; when the displayed color of the numbers in the website is different from the displayed color of the letters in the website, the displayed colors of the numbers may be the same or different.
本实施例中所述的装置与上一实施例所述的方法的工作过程或原理相同,在此不再赘述。The working process or principle of the device described in this embodiment is the same as that of the method described in the previous embodiment, and will not be repeated here.
上述实施例中提到的内容为本发明较佳的实施方式,并非是对本发明的限定,在不脱离本发明构思的前提下,任何显而易见的替换均在本发明的保护范围之内。The content mentioned in the above examples is the preferred implementation mode of the present invention, and is not a limitation of the present invention. Without departing from the concept of the present invention, any obvious replacements are within the protection scope of the present invention.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510308153.7A CN104899294B (en) | 2015-06-08 | 2015-06-08 | A kind of numeral and the method and device of letter shown on the mobile apparatus in network address |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510308153.7A CN104899294B (en) | 2015-06-08 | 2015-06-08 | A kind of numeral and the method and device of letter shown on the mobile apparatus in network address |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104899294A CN104899294A (en) | 2015-09-09 |
| CN104899294B true CN104899294B (en) | 2018-01-19 |
Family
ID=54031956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510308153.7A Expired - Fee Related CN104899294B (en) | 2015-06-08 | 2015-06-08 | A kind of numeral and the method and device of letter shown on the mobile apparatus in network address |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104899294B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1760872A (en) * | 2004-10-13 | 2006-04-19 | 国际商业机器公司 | Method and system for processing destination addresses |
| CN1941767A (en) * | 2005-09-27 | 2007-04-04 | 腾讯科技(深圳)有限公司 | Method and system for processing instant telecommunication information |
| CN103024148A (en) * | 2012-11-26 | 2013-04-03 | 广东欧珀移动通信有限公司 | Information identification method and system of mobile terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130117644A1 (en) * | 2007-03-17 | 2013-05-09 | Anmol Dhawan | Generating and printing target page numbers over links while printing documents or web pages |
-
2015
- 2015-06-08 CN CN201510308153.7A patent/CN104899294B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1760872A (en) * | 2004-10-13 | 2006-04-19 | 国际商业机器公司 | Method and system for processing destination addresses |
| CN1941767A (en) * | 2005-09-27 | 2007-04-04 | 腾讯科技(深圳)有限公司 | Method and system for processing instant telecommunication information |
| CN103024148A (en) * | 2012-11-26 | 2013-04-03 | 广东欧珀移动通信有限公司 | Information identification method and system of mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104899294A (en) | 2015-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101504673B (en) | Method and system for recognizing doubtful fake website | |
| CN104462509A (en) | Review spam detection method and device | |
| CN105468253A (en) | Mobile terminal interface content display method and apparatus and terminal | |
| CN103064922A (en) | Method for starting web page search in mobile phone | |
| US20160078115A1 (en) | Interactive System and Method for Processing On-Screen Items of Textual Interest | |
| CN104184653B (en) | A kind of method and apparatus of message screening | |
| CN103869948A (en) | Voice command processing method and electronic device | |
| CN105959811B (en) | Method and device for merging barrage of video websites | |
| CN105227431B (en) | The method and apparatus that good friend or group are fast added in instant messaging | |
| CN104135467A (en) | Method and device for identifying a malicious website | |
| CN105812417A (en) | Remote server, router and bad webpage information filtering method | |
| CN104640116A (en) | Phishing short message protection method and communication terminal | |
| CN105138273B (en) | A kind of method to make marks and electronic equipment | |
| CN102750464A (en) | Verification code method based on user identification | |
| CN103092989A (en) | Image display method and device adaptable to terminal screen | |
| CN109871685B (en) | RTF file analysis method and device | |
| CN104809102B (en) | A kind of method and apparatus of the display candidate word based on input | |
| CN104899294B (en) | A kind of numeral and the method and device of letter shown on the mobile apparatus in network address | |
| CN104618558B (en) | A kind of terminal | |
| CN104301300B (en) | A kind of method, client and the system of detection phishing scam risk | |
| CN107332968A (en) | Display methods, device and terminal device based on suspended window | |
| CN106231056A (en) | A kind of search the method for contact person, device and terminal | |
| CN104850536A (en) | Paragraph composition display method and device | |
| CN104660807B (en) | A kind of processing method of contacts list | |
| TWI595373B (en) | Method and system for identifying suspected phishing websites |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180119 |