CN106131236A - The acquisition methods of data, server, client and system - Google Patents
The acquisition methods of data, server, client and system Download PDFInfo
- Publication number
- CN106131236A CN106131236A CN201610500416.9A CN201610500416A CN106131236A CN 106131236 A CN106131236 A CN 106131236A CN 201610500416 A CN201610500416 A CN 201610500416A CN 106131236 A CN106131236 A CN 106131236A
- Authority
- CN
- China
- Prior art keywords
- information
- data acquisition
- url
- acquisition request
- current state
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (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 present invention provides the acquisition methods of a kind of data, server, client and system, relate to Internet technical field, in order to solve in prior art due to the preset resolution rules difference of country variant region and language, cause server when responding same browser homepage content recommendation, it is required for performing identical operation, considerably increases the defect of the load pressure of server.Technical scheme includes: server receives the data acquisition request information that client sends;Wherein, described data acquisition request information comprises the uniform resource position mark URL that data are corresponding, described URL comprises the current state information of client;Obtain described current state information;According to described current state information, described data acquisition request information is sent to domain name analysis system dns server corresponding for described URL, in order to described data acquisition request information is responded by described dns server.
Description
Technical field
The present invention relates to Internet technical field, particularly relate to the acquisition methods of a kind of data, server, client and be
System.
Background technology
Along with the fast development of Internet technology, the content that terminal unit obtains data based on the Internet gets more and more,
When terminal unit obtains data from the Internet, usually through browser based on URL (Uniform Resource
Locator, URL) obtain the content of its correspondence, wherein, each file on the Internet have a unique URL, URL be from
The storage position of the data obtained on the Internet or storage address.
Inventor, in realizing process of the present invention, finds in prior art to distinguish country variant region and language, no
With national region and browser homepage content recommendation URL corresponding to language different;And recommend for identical browser homepage
Content, different national regions and the most corresponding different URL of language.In actual applications, when user opens browser homepage,
Need to send the data acquisition request information obtaining browser homepage content recommendation to server, when server receives browser
After the data acquisition request information comprising URL sent, need according to preset resolution rules, data acquisition solicited message to be entered
Row resolves, and obtains URL therein, and responds data acquisition solicited message based on this URL, and country variant region and language
Preset resolution rules is different, causes server when responding same browser homepage content recommendation, is required for performing identical behaviour
Make, considerably increase the load pressure of server;Particularly, browse when multiple browsers send acquisition to same server simultaneously
During the data acquisition request information of device homepage content recommendation, may result in the collapse of server.
Summary of the invention
The present invention provides the acquisition methods of a kind of data, server, client and system, in order to solve in prior art by
Different in the preset resolution rules of country variant region and language, cause server at response same browser homepage content recommendation
Time, it is required for performing identical operation, considerably increases the defect of the load pressure of server.
First aspect, the present invention provides the acquisition methods of a kind of data, including:
Server receives the data acquisition request information that client sends;Wherein, described data acquisition request information is wrapped
Containing the uniform resource position mark URL that data are corresponding, described URL comprises the current state information of client;
Obtain described current state information;
According to described current state information, described data acquisition request information is sent to domain name solution corresponding for described URL
Analysis system dns server, in order to described data acquisition request information is responded by described dns server.
Second aspect, the present invention provides the acquisition methods of a kind of data, including:
Client obtains its current state information;
Described current state information is configured to the parameter of uniform resource position mark URL corresponding to data to be obtained;
Data acquisition request information is sent to server;Wherein, described data acquisition request information comprises configuration parameter
After URL, in order to described server according to the described current state information in the URL after configuration parameter by described data acquisition please
Information is asked to be forwarded to domain name analysis system dns server.
The third aspect, the present invention provides a kind of server, including:
Receive unit, for receiving the data acquisition request information that client sends;Wherein, described data acquisition request letter
Breath comprises the uniform resource position mark URL that data are corresponding, described URL comprises the current state information of client;
Acquiring unit, comprises in the data acquisition request information that the client received for obtaining described reception unit sends
Described current state information;
Transmitting element, for the described current state information obtained according to described acquiring unit, please by described data acquisition
Information is asked to send to domain name analysis system dns server corresponding for described URL, in order to described data are obtained by described dns server
Take solicited message to respond.
Fourth aspect, the present invention provides a kind of client, including:
Acquiring unit, is used for obtaining its current state information;
Dispensing unit, it is corresponding that the described current state information for being obtained by described acquiring unit is configured to data to be obtained
The parameter of uniform resource position mark URL;
Transmitting element, for sending data acquisition request information to server;Wherein, in described data acquisition request information
Comprise the URL after configuration parameter, in order to described server according to the described current state information in the URL after configuration parameter by institute
State data acquisition request information and be forwarded to domain name analysis system dns server.
5th aspect, the present invention provides the acquisition system of a kind of data, including: client, server and domain name mapping system
System dns server;Wherein,
Described client obtains its current state information, described current state information is configured to data to be obtained corresponding
The parameter of uniform resource position mark URL, and send data acquisition request information, wherein, described data acquisition to described server
Solicited message comprises the URL after configuring based on described current state information;
Described server receives the data acquisition request information that described client sends, and obtains described current state information,
According to described current state information, described data acquisition request information is sent to described dns server corresponding for described URL;
Described dns server receives the data acquisition request information that described server sends, and please to described data acquisition
Information is asked to respond.
The acquisition methods of data, server, client and the system that the present invention provides, server receives client and sends
Data acquisition request information, and obtain the current state information of client in this data acquisition request information, current according to this
Data acquisition request information is sent to domain name analysis system dns server corresponding to uniform resource position mark URL by status information,
So that data acquisition solicited message is responded by this dns server, the national region different from prior art and language pair
The browser homepage content recommendation URL difference answered is compared, and in the embodiment of the present invention, identical browser homepage content recommendation is corresponding
URL identical, the client current state information that carries in the URL that server sends according to client, this current state information
For identifying different regional informations and linguistic information, based on dns server, data acquisition solicited message is responded, service
Device uses identical preset resolution rules for identical URL, and has dns server to ring data acquisition solicited message
Should, greatly reduce the load pressure of server.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 shows the flow chart of the acquisition methods of a kind of data that the embodiment of the present invention provides;
Fig. 2 shows the flow chart of the acquisition methods of the another kind of data that the embodiment of the present invention provides;
Fig. 3 shows the composition frame chart of a kind of server that the embodiment of the present invention provides;
Fig. 4 shows the composition frame chart of the another kind of server that the embodiment of the present invention provides;
Fig. 5 shows the composition frame chart of a kind of client that the embodiment of the present invention provides;
Fig. 6 shows the composition frame chart of the another kind of client that the embodiment of the present invention provides;
Fig. 7 shows the composition frame chart of the acquisition system of a kind of data that the embodiment of the present invention provides;
Fig. 8 shows the structural representation of a kind of server that the embodiment of the present invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides the acquisition methods of a kind of data, and the method is applied to server side, as it is shown in figure 1, institute
The method of stating includes:
101, server receives the data acquisition request information that client sends.
When user opens client, saying from user level, user can watch the recommendation of display in client homepage
The information such as content;Saying from client aspect, when client terminal start-up, this client can send data acquisition request letter to server
Breath, the content recommendation of acquisition request client homepage.Wherein, data acquisition request information comprises the unified resource that data are corresponding
Finger URL URL, comprises the current state information of client in described URL.In actual applications, this client usually video is broadcast
Putting client, web page browsing client etc., it is mountable in intelligent television, it is possible to be installed on PC, notebook computer,
In panel computer, Smartphone device, the particular type of embodiment of the present invention client and the installation kind of carrier of client are not
Specifically limit.
102, server obtains described current state information.
Due in prior art, in order to distinguish different regional informations and linguistic information, data pair identical in client
Answering different URL, this URL, when sending URL to server, can be carried in data acquisition request information by client, service
Device obtains URL after to this data acquisition request information analysis, and responds data acquisition solicited message based on this URL,
If each client is all to the data that the same webpage of server request is corresponding, server needs successively to each data acquisition request
Information resolves, and adds the load that server is unnecessary.
In the embodiment of the present invention, whether identical use regardless of regional information and linguistic information, for same web page data, its
URL is the most identical, distinguishes different regional informations and linguistic information by the current state information in URL, wherein, described currently
Status information at least includes regional information and linguistic information.When server receives the data acquisition request that step 101 receives
During information, by preset resolution rules, this data acquisition request information is resolved, obtain the current state information in URL i.e.
Can.
103, server is according to described current state information, sends described data acquisition request information to described URL pair
The domain name analysis system dns server answered.
So that described data acquisition request information is responded by described dns server.
In actual applications, described server is a global server, it is possible to receive the number that whole world different geographical sends
According to obtaining solicited message, global server has multiple dns server, and those dns servers can be according to different regions
Information and the storage address data acquisition request information that sends client corresponding to linguistic information respond, and by different
Regional information and data content corresponding to linguistic information send to client.
The acquisition methods of the data that the embodiment of the present invention provides, server receives the data acquisition request that client sends
Information, and obtain the current state information of client in this data acquisition request information, according to this current state information by data
Obtain solicited message to send to domain name analysis system dns server corresponding to uniform resource position mark URL, in order to this DNS service
Data acquisition solicited message is responded by device, the national region different from prior art and browser homepage corresponding to language
Content recommendation URL difference is compared, and in the embodiment of the present invention, the URL that identical browser homepage content recommendation is corresponding is identical, service
The client current state information carried in the URL that device sends according to client, this current state information is different for identifying
Regional information and linguistic information, respond data acquisition solicited message based on dns server, and server is for identical
URL uses identical preset resolution rules, and has dns server to respond data acquisition solicited message, greatly reduces
The load pressure of server.
Further, the dns server quantity divided into due to global server is relatively big, and in each dns server respectively
The data content corresponding to different geographical information and linguistic information, server can be by mapping tables of data to regional information and language
Mapping relations between information and dns server are managed collectively.Therefore, at server according to current state information by data
Obtain solicited message to send to dns server corresponding for URL, specifically include: obtaining and map tables of data, this mapping tables of data is used for
Mapping storage relation between record regional information and linguistic information and dns server, according to regional information and the language of client
Speech information determines the dns server of its correspondence in mapping tables of data, and data acquisition request information is forwarded to dns server.
Exemplary, as shown in table 1, table 1 shows the mapping tables of data that the embodiment of the present invention provides, and needs explanation
It is, the exemplary only citing of table 1 that concrete, the content mapped in tables of data is not defined by the embodiment of the present invention.
Table 1
Further, current state information is as the parameter of URL, and this URL is carried in data acquisition request information, because of
This, is when server obtains current state information, including: data acquisition solicited message is resolved, obtains URL;To this URL
Resolve, and obtain regional information and linguistic information.For the ease of to the current state information carried in URL: regional information
And linguistic information understands in more detail, below will illustrate in exemplary fashion;Exemplary, it is assumed that data acquisition
The URL comprised in solicited message is: www.abc.com/a=China&b=chinese, and wherein, URL is being carried out by server
During parsing, domain information is a=China definitely, and linguistic information is b=chinese, and server obtains the regional information of client
And linguistic information.The embodiment of the present invention is to regional information and linguistic information existence form in URL, different geographical, language
The contents such as representation the most specifically limit.
Further, the embodiment of the present invention also provides for the acquisition methods of another kind of data, and the method is applied to client-side,
As in figure 2 it is shown, described method includes:
201, client obtains its current state information.
Client, when starting first, obtains the current state information of himself, and described current state information at least includes:
Regional information and linguistic information.In actual applications, client starts first and includes two kinds of situations, and the first situation is: client
Hold and install first on installation carrier, and start first;The second situation is: client has been installed on installation carrier, but
It is, startup optimization first on this installation carrier.When the embodiment of the present invention obtains its current state information concrete to client
Machine is not defined.
202, described current state information is configured to uniform resource position mark URL corresponding to data to be obtained by client
Parameter.
Before user end to server sends data acquisition request information, learn that data to be obtained exist by preset protocol
URL in the Internet stores address, is currently located regional information and linguistic information to distinguish different clients, client to
Before server sends data acquisition request information, the current state information of client is configured to the parameter of URL, continues executing with
Step 203.
203, user end to server sends data acquisition request information.
Wherein, described data acquisition request information comprises the URL after configuration parameter, in order to described server is according to configuration
Described data acquisition request information is forwarded to domain name analysis system DNS clothes by the described current state information in the URL after parameter
Business device.
The acquisition methods of the data that the present invention provides, server receives the data acquisition request information that client sends,
And obtain the current state information of client in this data acquisition request information, please by data acquisition according to this current state information
Information is asked to send to domain name analysis system dns server corresponding to uniform resource position mark URL, in order to this dns server logarithm
Respond according to obtaining solicited message, in the national region different from prior art and browser homepage corresponding to language are recommended
Hold URL difference compare, in the embodiment of the present invention, the URL that identical browser homepage content recommendation is corresponding is identical, server according to
The client current state information carried in the URL that client sends, this current state information is for identifying different region letters
Breath and linguistic information, respond data acquisition solicited message based on dns server, and server uses for identical URL
Identical preset resolution rules, and have dns server that data acquisition solicited message is responded, greatly reduce server
Load pressure.
Further, after user end to server sends data acquisition request information, receive what dns server sent
Response message to this data acquisition request information, and web page contents corresponding for URL is shown.In actual applications, URL
Corresponding web page contents generally comprises the content recommendation of video homepage.
Further, when client obtains its current state information, can carry out including but not limited to following mode,
Such as:
Mode one: call preset interface, obtains described regional information and linguistic information by described preset interface.
In the specific implementation, described preset interface is can be currently located the interface of geographical location information by location client end,
Client obtains after it is currently located geographical location information by preset interface, determines that region is believed based on this geographical location information
Breath and linguistic information.
Mode two: obtain described regional information and linguistic information from preset memory space.
Before client obtains regional information and linguistic information based on mode two, client receives default selection key and sends out
The regional information sent and selection instruction corresponding to linguistic information, according to selecting instruction by the regional information of its correspondence and linguistic information
It is stored in preset memory space.Exemplary, if client is installed in intelligent television, the most described default selection key be with
Intelligent television coupling remote controller selection key and confirm button, by selection key and confirm button send regional information and
The selection instruction that linguistic information is corresponding;If client is installed in computer, then presetting selection key is that mouse determines button, passes through
Mouse confirm button send regional information and linguistic information corresponding selection instruction.
Described preset memory space is configurable memory space, and it can be a storage under client installation path
Space;For client, certain memory space in carrier can also be installed.Concrete, the embodiment of the present invention is to preset memory space
Store path and the content such as storage size be not defined.
Further, when current state information is configured to the parameter of URL corresponding to data to be obtained by client executing,
Obtain current zone information and the linguistic information of client, current zone information and linguistic information are spliced with URL, will
Current zone information and linguistic information are spliced to the end of URL.
Further, as to the realization of method shown in above-mentioned Fig. 1, another embodiment of the present invention additionally provides a kind of service
Device.This device embodiment is corresponding with preceding method embodiment, and for ease of reading, preceding method is no longer implemented by this device embodiment
Detail content in example repeats one by one, it should be understood that the device in the present embodiment correspondence can realize preceding method in fact
Execute the full content in example.
The embodiment of the present invention provides a kind of server, as it is shown on figure 3, this server includes:
Receive unit 31, for receiving the data acquisition request information that client sends;Wherein, described data acquisition request
Information comprises the uniform resource position mark URL that data are corresponding, described URL comprises the current state information of client;
Acquiring unit 32, in the data acquisition request information that the client received for obtaining described reception unit 31 sends
The described current state information comprised;
Described data, for the described current state information obtained according to described acquiring unit 32, are obtained by transmitting element 33
Take solicited message to send to domain name analysis system dns server corresponding for described URL, in order to described dns server is to described number
Respond according to obtaining solicited message.
Further, described current state information includes: regional information that client is currently located and linguistic information.
Further, as shown in Figure 4, described transmitting element 33 includes:
Acquisition module 331, is used for obtaining mapping tables of data;Described mapping tables of data is used for recording described regional information and language
Mapping storage relation between speech information and dns server;
Determine module 332, described in obtaining at described acquisition module 331 according to described regional information and linguistic information
Map the described dns server determining its correspondence in tables of data;
Forwarding module 333, for described data acquisition request information is forwarded to described determine that module 332 determines described in
Dns server.
Further, as shown in Figure 4, described acquiring unit 32 includes:
First parsing module 321, for resolving described data acquisition request information;
First acquisition module 322, for solving described data acquisition request information at described first parsing module 321
During analysis, obtain described URL;
Second parsing module 323, for resolving at the described URL obtaining described first acquisition module 322;
Second acquisition module 324, for carrying out obtaining in resolving to described URL at described second parsing module 323
Described regional information and linguistic information.
Further, the embodiment of the present invention also provides for a kind of client, as it is shown in figure 5, this client includes:
Acquiring unit 51, is used for obtaining its current state information;
Dispensing unit 52, for being configured to data to be obtained by the described current state information that described acquiring unit 51 obtains
The parameter of corresponding uniform resource position mark URL;
Transmitting element 53, for sending data acquisition request information to server;Wherein, described data acquisition request information
In comprise the URL after configuration parameter, in order to described server will according to the described current state information in the URL after configuration parameter
Described data acquisition request information is forwarded to domain name analysis system dns server.
Further, described current state information includes: regional information that client is currently located and linguistic information.
Further, as shown in Figure 6, described client also includes:
Receive unit 54, be used for, at described transmitting element 53 after server sends data acquisition request information, receiving
The response message to described data acquisition request information that described dns server sends.
Further, as shown in Figure 6, described acquiring unit 51 includes:
First acquisition module 511, is used for calling preset interface, obtains described regional information and language by described preset interface
Speech information;
Second acquisition module 512, for obtaining described regional information and linguistic information from preset memory space.
Further, as shown in Figure 6, described acquiring unit also includes:
Receiver module 513, for obtaining described regional information at described second acquisition module 512 from preset memory space
And before linguistic information, receive the regional information of default selection key transmission and the selection instruction that linguistic information is corresponding;
Memory module 514, believes the region of its correspondence for the described selection instruction received according to described receiver module 513
Breath and linguistic information are stored in preset memory space.
Further, described dispensing unit 52, it is additionally operable to enter described regional information and described linguistic information with described URL
Row splicing.
Further, the embodiment of the present invention also provides for the acquisition system of a kind of data, as it is shown in fig. 7, comprises: client
71, server 72 and domain name analysis system dns server 73;Wherein,
Described client 71 obtains its current state information, described current state information is configured to data to be obtained corresponding
The parameter of uniform resource position mark URL, and send data acquisition request information, wherein, described data to described server 72
Obtain and solicited message comprises the URL after configuring based on described current state information;
Described server 72 receives the data acquisition request information that described client 71 sends, and obtains described current state letter
Breath, according to described current state information, sends described data acquisition request information to described DNS service corresponding for described URL
Device 73;
Described dns server 73 receives the data acquisition request information that described server 72 sends, and obtains described data
Take solicited message to respond.
The acquisition system of server, client and data that the embodiment of the present invention provides, server receives client and sends out
The data acquisition request information sent, and obtain the current state information of client in this data acquisition request information, according to deserving
Front status information is by domain name analysis system DNS service corresponding for data acquisition request information transmission to uniform resource position mark URL
Device, in order to data acquisition solicited message is responded by this dns server, the national region different from prior art and language
Corresponding browser homepage content recommendation URL difference is compared, in the embodiment of the present invention, and identical browser homepage content recommendation pair
The URL answered is identical, the client current state information carried in the URL that server sends according to client, and this current state is believed
Data acquisition solicited message, for identifying different regional informations and linguistic information, is responded by breath based on dns server, clothes
Business device uses identical preset resolution rules for identical URL, and has dns server to ring data acquisition solicited message
Should, greatly reduce the load pressure of server.
It should be noted that for above-mentioned server, the unit module used in every embodiment of the present invention
Function can be passed through hardware processor (hardware processor) and realize.
Exemplary, as shown in Figure 8, Fig. 8 shows the structural representation of a kind of server that the embodiment of the present invention provides,
This server may include that processor (processor) 81, communication interface (Communications Interface) 82, deposits
Reservoir (memory) 83 and bus 84, wherein, processor 81, communication interface 82, memorizer 83 are completed by bus 84 each other
Communication.Communication interface 82 may be used for the information transmission between server and client.Processor 81 can call memorizer
Logical order in 83, to perform following method: server receives the data acquisition request information that client sends;Wherein, institute
State and data acquisition request information comprises the uniform resource position mark URL that data are corresponding, described URL comprises the current of client
Status information;Obtain described current state information;According to described current state information, described data acquisition request information is sent
To domain name analysis system dns server corresponding for described URL, in order to described dns server is to described data acquisition request information
Respond.
Additionally, the logical order in above-mentioned memorizer 83 can be realized by the form of SFU software functional unit and as solely
When vertical production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, this
Part or the part of this technical scheme that prior art is contributed by bright technical scheme the most in other words can be with soft
The form of part product embodies, and this computer software product is stored in a storage medium, including some instructions in order to make
Obtain a computer equipment (can be personal computer, server, or the network equipment etc.) and perform each embodiment of the present invention
All or part of step of described method.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various
The medium of program code can be stored.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (21)
1. the acquisition methods of data, it is characterised in that including:
Server receives the data acquisition request information that client sends;Wherein, described data acquisition request information comprises number
According to corresponding uniform resource position mark URL, described URL comprises the current state information of client;
Obtain described current state information;
According to described current state information, described data acquisition request information is sent to domain name mapping system corresponding for described URL
System dns server, in order to described data acquisition request information is responded by described dns server.
Method the most according to claim 1, described current state information includes: regional information that client is currently located and
Linguistic information.
Method the most according to claim 2, it is characterised in that according to described current state information, by described data acquisition
Solicited message sends domain name analysis system dns server the most corresponding for described URL and includes:
Obtain and map tables of data;Described mapping tables of data be used for recording described regional information and linguistic information and dns server it
Between mapping storage relation;
In described mapping tables of data, the described dns server of its correspondence is determined according to described regional information and linguistic information;
Described data acquisition request information is forwarded to described dns server.
Method the most according to claim 3, it is characterised in that obtain described current state information and include:
Described data acquisition request information is resolved, obtains described URL;
Described URL is resolved, obtains described regional information and linguistic information.
5. the acquisition methods of data, it is characterised in that including:
Client obtains its current state information;
Described current state information is configured to the parameter of uniform resource position mark URL corresponding to data to be obtained;
Data acquisition request information is sent to server;Wherein, after described data acquisition request information comprising configuration parameter
URL, in order to described data acquisition request is believed by described server according to the described current state information in the URL after configuration parameter
Breath is forwarded to domain name analysis system dns server.
Method the most according to claim 5, it is characterised in that described current state information includes: client is currently located
Regional information and linguistic information.
Method the most according to claim 5, it is characterised in that after sending data acquisition request information to server,
Described method also includes:
Receive the response message to described data acquisition request information that described dns server sends.
Method the most according to claim 7, it is characterised in that client obtains its current state information and includes:
Call preset interface, obtain described regional information and linguistic information by described preset interface;
Or, from preset memory space, obtain described regional information and linguistic information.
Method the most according to claim 8, it is characterised in that obtain from preset memory space described regional information and
Before linguistic information, described method includes:
Receive the regional information of default selection key transmission and the selection instruction that linguistic information is corresponding;
Select instruction that regional information and the linguistic information of its correspondence are stored in preset memory space according to described.
Method the most according to claim 7, it is characterised in that described current state information is configured to data to be obtained
The parameter of corresponding uniform resource position mark URL includes:
Described regional information and described linguistic information are spliced with described URL.
11. 1 kinds of servers, it is characterised in that including:
Receive unit, for receiving the data acquisition request information that client sends;Wherein, in described data acquisition request information
Comprise the uniform resource position mark URL that data are corresponding, described URL comprises the current state information of client;
Acquiring unit, the institute comprised in the data acquisition request information that the client received for obtaining described reception unit sends
State current state information;
Transmitting element, for the described current state information obtained according to described acquiring unit, believes described data acquisition request
Breath sends to domain name analysis system dns server corresponding for described URL, in order to described dns server please to described data acquisition
Information is asked to respond.
12. servers according to claim 11, described current state information includes: the region letter that client is currently located
Breath and linguistic information.
13. servers according to claim 12, it is characterised in that described transmitting element includes:
Acquisition module, is used for obtaining mapping tables of data;Described mapping tables of data is used for recording described regional information and linguistic information
And the mapping storage relation between dns server;
Determine module, for the described mapping tables of data obtained at described acquisition module according to described regional information and linguistic information
The middle described dns server determining its correspondence;
Forwarding module, for being forwarded to the described described dns server determining that module determines by described data acquisition request information.
14. servers according to claim 13, it is characterised in that described acquiring unit includes:
First parsing module, for resolving described data acquisition request information;
First acquisition module, for described data acquisition request information being carried out in resolving at described first parsing module,
Obtain described URL;
Second parsing module, for resolving at the described URL obtaining described first acquisition module;
Second acquisition module, for carrying out obtaining described region letter in resolving to described URL at described second parsing module
Breath and linguistic information.
15. 1 kinds of clients, it is characterised in that including:
Acquiring unit, is used for obtaining its current state information;
Dispensing unit, is configured to, for the described current state information obtained by described acquiring unit, the system that data to be obtained are corresponding
The parameter of one URLs URL;
Transmitting element, for sending data acquisition request information to server;Wherein, described data acquisition request information comprises
URL after configuration parameter, in order to described server according to the described current state information in the URL after configuration parameter by described number
It is forwarded to domain name analysis system dns server according to obtaining solicited message.
16. clients according to claim 15, it is characterised in that described current state information includes: client is current
The regional information at place and linguistic information.
17. clients according to claim 15, it is characterised in that described client also includes:
Receive unit, be used at described transmitting element after server sends data acquisition request information, receive described DNS clothes
The response message to described data acquisition request information that business device sends.
18. clients according to claim 17, it is characterised in that described acquiring unit includes:
First acquisition module, is used for calling preset interface, obtains described regional information and linguistic information by described preset interface;
Second acquisition module, for obtaining described regional information and linguistic information from preset memory space.
19. clients according to claim 18, it is characterised in that described acquiring unit also includes:
Receiver module, for obtaining described regional information and linguistic information at described second acquisition module from preset memory space
Before, the regional information of default selection key transmission and the selection instruction that linguistic information is corresponding are received;
Memory module, believes regional information and the language of its correspondence for the described selection instruction received according to described receiver module
Breath is stored in preset memory space.
20. clients according to claim 17, it is characterised in that described dispensing unit, are additionally operable to believe described region
Breath and described linguistic information splice with described URL.
The acquisition system of 21. 1 kinds of data, it is characterised in that including: client, server and domain name analysis system DNS service
Device;Wherein,
Described client obtains its current state information, and described current state information is configured to the unification that data to be obtained are corresponding
The parameter of URLs URL, and send data acquisition request information, wherein, described data acquisition request to described server
Information comprises the URL after configuring based on described current state information;
Described server receives the data acquisition request information that described client sends, and obtains described current state information, according to
Described current state information, sends described data acquisition request information to described dns server corresponding for described URL;
Described dns server receives the data acquisition request information that described server sends, and believes described data acquisition request
Breath responds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500416.9A CN106131236A (en) | 2016-06-29 | 2016-06-29 | The acquisition methods of data, server, client and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610500416.9A CN106131236A (en) | 2016-06-29 | 2016-06-29 | The acquisition methods of data, server, client and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131236A true CN106131236A (en) | 2016-11-16 |
Family
ID=57285430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610500416.9A Pending CN106131236A (en) | 2016-06-29 | 2016-06-29 | The acquisition methods of data, server, client and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131236A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878330A (en) * | 2016-12-08 | 2017-06-20 | 环球智达科技(北京)有限公司 | A kind of kinsfolk based on intelligent television shares and communication system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965310A (en) * | 2004-06-04 | 2007-05-16 | 拿丕.Com有限公司 | Native language internet address system |
-
2016
- 2016-06-29 CN CN201610500416.9A patent/CN106131236A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1965310A (en) * | 2004-06-04 | 2007-05-16 | 拿丕.Com有限公司 | Native language internet address system |
Non-Patent Citations (2)
Title |
---|
PHILLIPS & DAVIS: "Tags for identfying languages", 《BCP47协议》 * |
百度: "《如何根据http请求信息区分访问用户的国家、语言信息》", 《百度技术博客》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878330A (en) * | 2016-12-08 | 2017-06-20 | 环球智达科技(北京)有限公司 | A kind of kinsfolk based on intelligent television shares and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3002927B1 (en) | Page redirection method, routing device, terminal device and system | |
CN104065632B (en) | The processing method of sharing contents, server, client and system | |
US8527862B2 (en) | Methods for making ajax web applications bookmarkable and crawlable and devices thereof | |
CN104102537B (en) | A kind of application call method and user terminal | |
CN106331149A (en) | Webpage code adapting method applicable to client environment | |
CN103678307A (en) | Page display method and client-side | |
CN102904765B (en) | The method and apparatus that data report | |
CN101937428A (en) | Method and system for rearranging pictures with literal contents for mobile terminal equipment | |
US20140280482A1 (en) | Determining appropriate browsing applications for selected network resources | |
CN109600458B (en) | Website access method and device | |
US20150046562A1 (en) | Web browser orchestration | |
CN104978358A (en) | Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying | |
CN103237088A (en) | Corresponding relation library-based browsing method and system and cloud server | |
CN106547769A (en) | A kind of DOI display packings and device | |
CN102801814A (en) | Internet access method, device and system | |
RU2665240C2 (en) | Method and device for page insertion | |
CN103678706A (en) | Picture recognition method, system, equipment and device based on screenshot information | |
CN109255082B (en) | Page label display method and device | |
EP3435253A1 (en) | Method and device for page display | |
CN109446445B (en) | Resource acquisition method and device | |
CN106131236A (en) | The acquisition methods of data, server, client and system | |
CN107894906A (en) | Picture loading method, device and the terminal device and server of the page | |
CN103793459B (en) | Webpage opening method and device | |
CN102970212A (en) | System used for sending information in closed subscriber group | |
CN105939367A (en) | Method and device for pushing Web page |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |