CN107436915A - The Webpage display process of mobile terminal and its browser, storage device - Google Patents
The Webpage display process of mobile terminal and its browser, storage device Download PDFInfo
- Publication number
- CN107436915A CN107436915A CN201710444108.3A CN201710444108A CN107436915A CN 107436915 A CN107436915 A CN 107436915A CN 201710444108 A CN201710444108 A CN 201710444108A CN 107436915 A CN107436915 A CN 107436915A
- Authority
- CN
- China
- Prior art keywords
- country
- mobile terminal
- currently located
- website information
- code
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
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)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides the Webpage display process of a kind of mobile terminal and its browser, storage device, this method includes the country that detection mobile terminal is currently located;Obtain the conventional website information associated with the country being currently located;The corresponding web page contents of conventional website information are shown with the conventional language of mobile terminal.By this method so that the conventional website information of country variant can be obtained by a kind of browser to obtain the resource information of country variant, improve the versatility of browser, reduce the management using country variant browser software and maintenance cost in the prior art, and user is reduce further in browsed web content, due to browsing inconvenience caused by aphasis.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to the web displaying side of a kind of mobile terminal and its browser
Method, storage device.
Background technology
The browser of mobile terminal has many effects for user, for example user can get friendship by browser
The resource informations such as logical, weather, news, usual browser all can more preset conventional web site bookmark it is user-friendly, but by
It is different in the conventional web site bookmark of country variant, and language is also different used in web page contents, then for trip to foreign country
People for, many inconvenience have been resulted in, for example Chinese user is gone on business to Japan, if user can not get Japan
In the case of commonly using web site bookmark and being unfamiliar with Japanese, then be very unfavorable for obtaining local resource information.
In the prior art, typically by using the browser of country variant, and then obtained in the browser of country variant
Corresponding preset conventional web site bookmark, present inventor have found that this method can greatly improve clear in long-term research
Look at device software management and maintenance cost.
The content of the invention
The present invention is mainly to provide a kind of Webpage display process, the storage device of mobile terminal and its browser, it is intended to solves
Certainly in order to obtain the conventional website information of country variant and the management of browser software caused by using country variant browser and
Maintenance cost is higher and the problem of the aphasis of country variant causes to browse inconvenience.
In order to solve the above technical problems, one aspect of the present invention is:A kind of browser of mobile terminal is provided
Webpage display process, methods described includes:The country that detection mobile terminal is currently located;Obtain and the state being currently located
The conventional website information of family's association;Shown with the conventional language of the mobile terminal in the corresponding webpage of conventional website information
Hold.
Wherein, methods described further comprises:The code conventional net corresponding with the country variant of country variant is set
The incidence relation of location information and conventional language.
Wherein, the country that the detection mobile terminal is currently located includes:Detect the mobile terminal present position
Latitude and longitude information, and the code that the mobile terminal is currently located country is obtained according to the latitude and longitude information.
Wherein, the acquisition includes with the conventional website information that the country being currently located associates:Judge described current
Whether the country code commonly used in the code and historical record of the country one belongs to is identical;If differing, in the incidence relation
The conventional website information of the associated codes of country is currently located described in lookup.
Wherein, the conventional website information of the associated codes for being currently located country described in lookup in the incidence relation
Including:Judge whether to have the code for being currently located country in the incidence relation and be currently located national generation with described
The conventional website information of code association;If so, the conventional website information that the associated codes of country are then currently located described in loading is corresponding
Webpage.
Wherein, the conventional language with the mobile terminal shows the corresponding web page contents bag of conventional website information
Include:The web page contents of the loading are shown with the conventional language with the associated codes for being currently located country;It will work as with described
The conventional language of the associated codes of preceding the country one belongs to is translated as the conventional language of the mobile terminal;With the normal of the mobile terminal
The web page contents are shown with language.
Wherein, the conventional language of the mobile terminal is the common-use words for the country code association commonly used in the historical record
The default language that speech or the mobile terminal are set.
Wherein, it is described judgement be currently located country code and historical record in country code it is whether identical laggard one
Step includes:If identical, obtained in the historical record and commonly use national generation with the code identical for being currently located country
The conventional website information of code association.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of mobile terminal is provided, it is described
Mobile terminal includes processor and the display electrically connected with the processor;The processor is current for detecting mobile terminal
The country at place simultaneously obtains the conventional website information associated with the country being currently located;The display is used for the shifting
The conventional language of dynamic terminal shows the corresponding web page contents of conventional website information.
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of storage device is provided, stored
There is data program, the data program can be performed to realize above-mentioned method.
The beneficial effects of the invention are as follows:It is different from prior art, the state that the present invention is currently located by detecting mobile terminal
Family;A kind of method for obtaining the conventional website information associated with the country being currently located so that can be obtained not by browser
Conventional website information with country improves the versatility of browser, reduced existing to obtain the resource information of country variant
Management using country variant browser software and maintenance cost in technology, and further shown with the conventional language of mobile terminal
The corresponding web page contents of conventional website information of country variant, reduce user in browsed web content, due to aphasis
It is caused to browse inconvenience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the Webpage display process embodiment of browser of mobile terminal provided by the invention;
Fig. 2 is the idiographic flow schematic diagram of step S13 in Fig. 1;
Fig. 3 is the idiographic flow schematic diagram of step S132 in Fig. 2;
Fig. 4 is the idiographic flow schematic diagram of step S14 in Fig. 1;
Fig. 5 is the schematic block diagram of mobile terminal embodiment provided by the invention;
Embodiment
To make those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and it is embodied
Mode is done further in detail to Webpage display process, the storage device of a kind of mobile terminal provided by the present invention and its browser
Description.
Refering to Fig. 1, the Webpage display process embodiment of browser of mobile terminal provided by the invention includes:
S11:The code conventional website information corresponding with country variant of country variant and the association of conventional language is set to close
System;
Specifically, set the code of country variant corresponding with country variant in the application program of browser of mobile terminal
The incidence relation of conventional website information and conventional language, and store in the terminal, the incidence relation can be with the shape of form
Formula is stored, such as:
Further, the conventional website information in the incidence relation can according to actual conditions carry out real-time update, so as to
Family obtains newest conventional website information.
S12:The country that detection mobile terminal is currently located;
Specifically, the latitude and longitude information of mobile terminal present position is detected, and is obtained and moved according to latitude and longitude information
Terminal is currently located the code of country.
Such as:Then it can be parsed by the GPS location function of mobile terminal by base station, the webserver, satellite etc.
The latitude and longitude information of mobile terminal present position is (116 ° of E, 40 ° of N), then current position is obtained according to the latitude and longitude information
Confidence breath is BeiJing, China, and the code of the corresponding country in current location is CN.
S13:Obtain the conventional website information associated with the country being currently located;
Refering to Fig. 2, the step may particularly include:
S131:Whether judgement is currently located the country code commonly used in the code and historical record of country identical;
Specifically, the country code commonly used in judging the historical record that the code for being currently located country uses with browser is
It is no identical, if differing, step S132 is performed, if identical, performs step S133.
Optionally, the country code commonly used in historical record can be the national generation that access times are most in historical record
Code or the last country code used, can also be the specific country code that user is independently set.
In an application scenarios, the country that user's detection is currently located is Japanese, code JP, and customer mobile terminal
The country code commonly used in historical record is CN, then both differ.
S132:The conventional website information for the associated codes for being currently located country is searched in incidence relation.
Refering to Fig. 3, step S132 may particularly include:
S1321:Judge whether there is the code for being currently located country and the code with being currently located country in incidence relation
The conventional website information of association;
Specifically, when the country code commonly used in the code and historical record for being currently located country differs, in inquiry
The incidence relation set in step S11 is stated, and judges whether to have in the incidence relation and is currently located national code and with working as
The conventional website information of the associated codes of preceding the country one belongs to, if so, then performing step S1322, if not having, perform step
S1323。
For example it is JP that customer mobile terminal, which is currently located national code, then judges whether have in above-mentioned incidence relation
Code JP and the conventional website information associated with code JP.
S1322:Loading is currently located the corresponding webpage of conventional website information of the associated codes of country;
Such as have code JP and the conventional website information associated with code JP in incidence relation, then loading and code
The conventional website information of JP associations, the conventional website information can have one or more, when there is one, it is conventional to load this automatically
Website information, when having multiple, then conventional website information is loaded according to the selection of user.
S1323:Load the conventional website information of mobile terminal acquiescence.
Optionally, the conventional website information of mobile terminal acquiescence can be by frequency of use highest website information, also may be used
To be conventional website information that user is independently set.
S133:Obtain in historical record and often commonly used with the code identical for being currently located country with what country code associated
Website information.
Specifically, it is identical with the country code commonly used in the historical record that browser uses in the code for being currently located country
When, it can obtain directly in historical record and often be commonly used with the code identical for being currently located country with what country code associated
Website information, and load the corresponding webpage of the website information.
S14:The corresponding web page contents of conventional website information are shown with the conventional language of mobile terminal.
Refering to Fig. 4, step S14 may particularly include:
S141:With the web page contents of the conventional language display loading of the associated codes with being currently located country;
For example it is JP to be currently located national code, then the webpage of loading is shown with the Japanese associated with code JP first
Content.
S142:The conventional language of associated codes with being currently located country is translated as to the conventional language of mobile terminal;
Optionally, the conventional language of mobile terminal is conventional language or the shifting for the country code association commonly used in historical record
The default language that dynamic terminal is set.
For example the conventional language of mobile terminal is Chinese, then can lead to above-mentioned translator of Japanese into Chinese, the method for translation
Cross and inquire about the language resource locally used or translated by way of network translation on line.
S143:Web page contents are shown with the conventional language of mobile terminal.
Specifically, after the translation is complete, the web page contents are shown with the language after translation.
Refering to Fig. 5, mobile terminal embodiment provided by the invention includes processor 21 and electrically connected with processor 21 aobvious
Show device 22, processor 21 is electrically connected by bus with display 22.
Processor 21 controls the operation of mobile terminal, and processor 21 can also be referred to as CPU (Central Processing
Unit, CPU).Processor 21 is probably a kind of IC chip, has the disposal ability of signal.Processor 21
It can also be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array
(FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.General processor
It can be microprocessor or the processor can also be any conventional processor, but be not limited only to this.
Processor 21 be used to detecting the country that mobile terminal is currently located and obtain be currently located it is national associate it is normal
Use website information.
Display 22 is used to show the corresponding web page contents of conventional website information with the conventional language of mobile terminal.
Storage device embodiment provided by the invention is stored with data program, and the data program can be performed with realization
The Webpage display process for the browser of mobile terminal stated.
Optionally, storage device can be portable storage medium, such as USB flash disk or CD or for storing
Server.
It is different from prior art, the country that the present invention is currently located by detecting mobile terminal;Obtain and be currently located
A kind of method of the conventional website information of country's association so that the conventional website information of country variant can be obtained by browser
To obtain the resource information of country variant, the versatility of browser is improved, is reduced clear using country variant in the prior art
Look at device software management and maintenance cost, and the conventional network address for further showing country variant with the conventional language of mobile terminal is believed
Corresponding web page contents are ceased, user are reduced in browsed web content, due to browsing inconvenience caused by aphasis.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of Webpage display process of browser of mobile terminal, it is characterised in that methods described includes:
The country that detection mobile terminal is currently located;
Obtain the conventional website information associated with the country being currently located;
The corresponding web page contents of conventional website information are shown with the conventional language of the mobile terminal.
2. according to the method for claim 1, it is characterised in that methods described further comprises:
The code conventional website information corresponding with the country variant of country variant and the incidence relation of conventional language are set.
3. according to the method for claim 2, it is characterised in that the country that the detection mobile terminal is currently located includes:
The latitude and longitude information of the mobile terminal present position is detected, and the movement is obtained according to the latitude and longitude information
Terminal is currently located the code of country.
4. according to the method for claim 3, it is characterised in that the acquisition associates normal with the country being currently located
Included with website information:
It is whether identical that the country code commonly used in the code and historical record of country is currently located described in judgement;
If differing, the conventional website information of the associated codes of country is currently located described in lookup in the incidence relation.
5. according to the method for claim 4, it is characterised in that described to be currently located in the incidence relation described in lookup
The conventional website information of the associated codes of country includes:
Judge whether to have the code for being currently located country in the incidence relation and be currently located national generation with described
The conventional website information of code association;
If so, the corresponding webpage of conventional website information of the associated codes of country is then currently located described in loading.
6. according to the method for claim 5, it is characterised in that described in the conventional language with the mobile terminal is shown
The conventional corresponding web page contents of website information include:
The web page contents of the loading are shown with the conventional language with the associated codes for being currently located country;
Conventional language with the associated codes for being currently located country is translated as to the conventional language of the mobile terminal;
The web page contents are shown with the conventional language of the mobile terminal.
7. according to the method for claim 6, it is characterised in that the conventional language of the mobile terminal is the historical record
In commonly use country code association conventional language or the mobile terminal set default language.
8. according to the method for claim 4, it is characterised in that the judgement is currently located the code and historical record of country
In country code it is whether identical after further comprise:
If identical, obtain in the historical record and often closed with the code identical for being currently located country with country code
The conventional website information of connection.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor and electrically connected with the processor aobvious
Show device;
The processor is used to detect the country that mobile terminal is currently located and obtains what is associated with the country being currently located
Conventional website information;
The display is used to show the corresponding web page contents of conventional website information with the conventional language of the mobile terminal.
10. a kind of storage device, it is characterised in that be stored with data program, the data program can be performed to realize such as
Method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710444108.3A CN107436915A (en) | 2017-06-13 | 2017-06-13 | The Webpage display process of mobile terminal and its browser, storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710444108.3A CN107436915A (en) | 2017-06-13 | 2017-06-13 | The Webpage display process of mobile terminal and its browser, storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107436915A true CN107436915A (en) | 2017-12-05 |
Family
ID=60459034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710444108.3A Pending CN107436915A (en) | 2017-06-13 | 2017-06-13 | The Webpage display process of mobile terminal and its browser, storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107436915A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021253288A1 (en) * | 2020-06-17 | 2021-12-23 | Arris Enterprises Llc | Automatic selection of language for graphical user interface of electronic device based on wifi country code |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346678A (en) * | 2010-08-05 | 2012-02-08 | 鸿富锦精密工业(深圳)有限公司 | Customer premises equipment and configuration method thereof |
CN102651750A (en) * | 2011-02-24 | 2012-08-29 | 阿里巴巴集团控股有限公司 | Method, system and device for providing Web page information |
CN104166495A (en) * | 2013-05-17 | 2014-11-26 | 北京百度网讯科技有限公司 | Webpage loading method and webpage loading device |
-
2017
- 2017-06-13 CN CN201710444108.3A patent/CN107436915A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346678A (en) * | 2010-08-05 | 2012-02-08 | 鸿富锦精密工业(深圳)有限公司 | Customer premises equipment and configuration method thereof |
CN102651750A (en) * | 2011-02-24 | 2012-08-29 | 阿里巴巴集团控股有限公司 | Method, system and device for providing Web page information |
CN104166495A (en) * | 2013-05-17 | 2014-11-26 | 北京百度网讯科技有限公司 | Webpage loading method and webpage loading device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021253288A1 (en) * | 2020-06-17 | 2021-12-23 | Arris Enterprises Llc | Automatic selection of language for graphical user interface of electronic device based on wifi country code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070136318A1 (en) | Document-based information and uniform resource locator (URL) management | |
JP2010524084A (en) | Technology for sharing information between application programs | |
CN103037091B (en) | SMS processing, device and terminal equipment | |
WO2017012234A1 (en) | Information acquiring method and apparatus, device, and computer storage medium | |
CN105760546A (en) | Automatic generating method and device for Internet headlines | |
CN103246746A (en) | Method, device and system for searching information | |
WO2015081848A1 (en) | Socialized extended search method and corresponding device and system | |
WO2017000613A1 (en) | Method and device for generating indication information in search result page | |
CN104182429A (en) | Web page processing method and terminal | |
US9465814B2 (en) | Annotating search results with images | |
CN106033433B (en) | Information searching method and device | |
CN107436915A (en) | The Webpage display process of mobile terminal and its browser, storage device | |
CN105740242A (en) | Information search device and method based on two-dimension code, and mobile terminal | |
WO2009058622A2 (en) | Federated search data normalization for rich presentation | |
WO2016008412A1 (en) | Information displaying method, client, and electronic device | |
US9207829B2 (en) | Smartly navigating hierarchical structure strings | |
US9977621B2 (en) | Multimedia data backup method, user terminal and synchronizer | |
US20130230248A1 (en) | Ensuring validity of the bookmark reference in a collaborative bookmarking system | |
US9563675B2 (en) | Identifying search matches and altered search results | |
CN104411001A (en) | Information processing method and electronic equipment | |
CN109858993A (en) | A kind of car insurance order generation method, server and system | |
US20130198162A1 (en) | Methods for searching one or more business entities utilizing a web service and a browser plug-in application | |
CN104182446A (en) | Method for searching data and method for planning itinerary | |
CN108763601B (en) | Control method and control device for automatic switching in dual-kernel browser | |
CN104142925A (en) | Association method and device for input contents in address bar of browser |
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: 20171205 |