CN109426530A - The page determines method, apparatus, server and storage medium - Google Patents
The page determines method, apparatus, server and storage medium Download PDFInfo
- Publication number
- CN109426530A CN109426530A CN201710708981.9A CN201710708981A CN109426530A CN 109426530 A CN109426530 A CN 109426530A CN 201710708981 A CN201710708981 A CN 201710708981A CN 109426530 A CN109426530 A CN 109426530A
- Authority
- CN
- China
- Prior art keywords
- document
- attribute
- parameter
- data
- attribute value
- 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.)
- Granted
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/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- 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/14—Session management
- H04L67/148—Migration or transfer of sessions
-
- 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/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/306—User profiles
Abstract
The embodiment of the present application provides a kind of page and determines method, apparatus, server and storage medium, easily to access document file page.The method includes: reception request of data;Document node and document parameter are determined according to the request of data;The page info that corresponding document is determined according to the document node and document parameter, returns to the page info.Based on the document node determination document to be accessed, the particular content of the document is determined by document parameter, so as to document needed for flexible, convenient and fast access.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of page determine method, a kind of page determining device,
A kind of server and a kind of storage medium.
Background technique
Cloud computing is a kind of mode paid by usage amount, and this mode provides available, convenient and fast, on-demand network and visits
It asks, into configurable computing resources shared pool (resource includes network, server, storage, application software, service etc.), these
Resource can be provided quickly, only need to put into seldom management work, or carry out seldom interaction with service supplier.
The service provider of cloud computing would generally provide some documents and function etc. is introduced, such as help document, Yong Huke
To check these documents on website.Document in current web is usually to be arranged according to language, such as Chinese website is exactly
Document, English website are exactly English document, and website setting is more not flexible.
Summary of the invention
The technical problem to be solved in the embodiments of the present application is that providing a kind of page determines method, easily to access document
The page.
Correspondingly, the embodiment of the present application also provides a kind of page determining device, a kind of server and a kind of storage medium,
To guarantee the implementation and application of the above method.
To solve the above-mentioned problems, this application discloses a kind of pages to determine method, comprising: receives request of data;Foundation
The request of data determines document node and document parameter;The page of corresponding document is determined according to the document node and document parameter
Face information returns to the page info.
Optionally, document node and document parameter are determined according to the request of data, comprising: true according to the request of data
Determine document node;Document parameter is determined according to the corresponding web portal information of the request of data.
Optionally, the document parameter includes: site parameter and language parameter;According to the corresponding website of the request of data
Access information determines document parameter, comprising: according to the corresponding web portal information of the request of data, determines website to be visited
Attribute and linguistic property to be visited;Site parameter is determined according to website attribute to be visited, and according to the language to be visited
Speech attribute determines language parameter.
Optionally, the page info of corresponding document is determined according to the document node and document parameter, comprising: according to website
Parameter, language parameter and document node determine corresponding document views, determine corresponding page info according to the document views.
Optionally, according to the corresponding web portal information of the request of data, website attribute to be visited is determined and wait visit
The linguistic property asked, comprising: according to the corresponding web portal information of the request of data and cookie information, determine to be visited
Website attribute;According to the corresponding web portal information of the request of data, linguistic property to be visited is determined.
Optionally, described to determine website attribute according to the corresponding web portal information of request of data and cookie information, it wraps
Include: the web portal information corresponds to the attribute of website attribute in the attribute value and the cookie information of website attribute
Whether identical it is worth;If attribute value is identical, the attribute value is determined as to the attribute value of website attribute to be visited;If attribute value
The attribute value of website attribute in cookie information is then determined as the attribute value of website attribute to be visited by difference.
Optionally, according to the corresponding web portal information of the request of data, linguistic property to be visited is determined, comprising:
The attribute value of corresponding linguistic property is determined according to the request of data;Judge whether the linguistic property of the web portal information props up
Hold the attribute value;If the linguistic property of the web portal information supports the attribute value, the attribute value is determined as
The attribute value of linguistic property to be visited;If the linguistic property of the web portal information does not support the attribute value, obtain
The web portal information corresponds to the default property value of linguistic property, and the default property value is determined linguistic property to be visited
Attribute value.
Optionally, the document node is the node of document tree, and the document tree is constructed according to each document provided.
Optionally, further includes: determine jump information according to site parameter, language parameter and document node, return to the jump
Transfering the letter breath is to guide user to access the page of corresponding document.
The embodiment of the present application also discloses a kind of page determining device, comprising: receiving module is requested for receiving data;
Parameter determination module, for determining document node and document parameter according to the request of data;Page determining module is used for foundation
The document node and document parameter determine the page info of corresponding document;Sending module, for returning to the page info.
Optionally, the parameter determination module, for determining document node according to the request of data;According to the data
Corresponding web portal information is requested to determine document parameter.
Optionally, the document parameter includes: site parameter and language parameter;The parameter determination module, comprising: attribute
Submodule is determined, for determining website attribute to be visited and wait visit according to the corresponding web portal information of the request of data
The linguistic property asked;Parameter determination submodule, for determining site parameter according to website attribute to be visited, and according to it is described to
The linguistic property of access determines language parameter.
Optionally, the page determining module, it is corresponding for being determined according to site parameter, language parameter and document node
Document views determine corresponding page info according to the document views.
Optionally, the attribute determines submodule, for according to the corresponding web portal information of the request of data and
Cookie information determines website attribute to be visited;According to the corresponding web portal information of the request of data, determine to be visited
Linguistic property.
Optionally, the attribute determines submodule, and the attribute of website attribute is corresponded to for the web portal information
Whether the attribute value of website attribute is identical in value and the cookie information;If attribute value is identical, the attribute value is determined
For the attribute value of website attribute to be visited;If attribute value is different, the attribute value of website attribute in cookie information is determined
For the attribute value of website attribute to be visited.
Optionally, the attribute determines submodule, for determining the attribute of corresponding linguistic property according to the request of data
Value;Judge whether the linguistic property of the web portal information supports the attribute value;If the language of the web portal information
Attribute supports the attribute value, then the attribute value is determined as to the attribute value of linguistic property to be visited;If the website enters
The linguistic property of message breath does not support the attribute value, then obtains the default property that the web portal information corresponds to linguistic property
The default property value, is determined the attribute value of linguistic property to be visited by value.
Optionally, the document node is the node of document tree, and the document tree is constructed according to each document provided.
Optionally, the page determining module is also used to jump according to site parameter, language parameter and document node determination
Information;The sending module is also used to return the jump information to guide user to access the page of corresponding document.
The embodiment of the present application also discloses a kind of server, comprising: one or more processors;It is instructed with being stored thereon with
One or more machine readable medias, when by one or more of processors execute when so that the server execute such as
Method described in one or more in the embodiment of the present application.
The embodiment of the present application also discloses one or more machine readable medias, is stored thereon with instruction, when by one or
When multiple processors execute, so that server executes the method as described in one or more in the embodiment of the present application.
Compared with prior art, the embodiment of the present application includes the following advantages:
In the embodiment of the present application, after receiving request of data, document node and document can be determined according to request of data
Then parameter determines the page info of corresponding document according to the document parameter and document node, returns to the page info, base
In the document that document node determination to be accessed, the particular content of the document is determined by document parameter, so as to flexible, convenient
Access needed for document.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of page access of the embodiment of the present application;
Fig. 2 is the step flow chart that a kind of page of the application determines embodiment of the method;
Fig. 3 is a kind of schematic diagram that document determines in the embodiment of the present application;
Fig. 4 is the step flow chart that the application another kind page determines embodiment of the method;
Fig. 5 is a kind of schematic diagram of system structure in the embodiment of the present application;
Fig. 6 is a kind of schematic diagram that document parameter determines in the embodiment of the present application;
Fig. 7 is a kind of structural block diagram of page determining device embodiment of the application;
Fig. 8 is the structural block diagram of the application another kind page determining device embodiment;
Fig. 9 is the structural schematic diagram for the device that one embodiment of the application provides.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
User can know the various letters of cloud computing and website when accessing cloud computing website by the document that website provides
Breath, such as pass through help document etc..Service provider would generally provide some documents and function etc. is introduced, and user can be on website
These documents are browsed, these documents may include the document of various language.Document needed for obtaining for the ease of user, the application are real
It applies example to be configured web site document, the view of document can be determined according to much information, ultimately generate the page info of the document.
Wherein, the page info of corresponding document can be determined according to document node and document parameter.
The corresponding nodal information of document node, that is, document, the embodiment of the present application carry out unification to document, redesign document
Structure constructs file structure using tree.Wherein, can the content in abstracting document construct document node (docnode), example
Such as using document data, file catalogue as document node, each document node can have major key id field i.e. node identification, use
In one document node of unique identification, document node also has type (type) field, to identify the affiliated type of node, such as word
Segment value may include data, catalogue etc..
Document parameter, that is, corresponding the parameter information of document, the parameter information are parameter relevant to website, such as language, institute
The various dimensions parameter such as the web-site at place.The page info that can determine corresponding document by document parameter and document node, that is, open up
Show to the document related data of user.
Referring to Fig.1, a kind of page access schematic diagram of the embodiment of the present application is shown.
To which user is can after needing to access the relevant documentation page by the application-browsings webpage such as browser, client
Request of data is issued, which can carry document related information, to determine corresponding document node according to request of data
With document parameter, then the page info for using document node and document parameter to determine corresponding document, the page info is returned
Page info is parsed in the application such as browser, client, the page of corresponding document is shown, so that user would know that corresponding document
Information.
Referring to Fig. 2, the step flow chart that a kind of page of the application determines embodiment of the method is shown.
Step 202, request of data is received.
Step 204, document node and document parameter are determined according to the request of data.
Step 206, the page info that corresponding document is determined according to the document node and document parameter, returns to the page
Information.
Server-side (such as server of cloud computing service provider) can receive request of data, and the request of data is for requesting
Document information is obtained, therefore the relevant information of document can be carried in the request of data, so as to determine text according to the request of data
Shelves node and document parameter, such as determine document node according to request of data, according to the corresponding web portal information of request of data,
Cookie etc. determines document parameter, the page info of corresponding document is then determined using document parameter and document node, by the page
Face information returns to the application program of request.
Wherein, it is constructed after the unified web site document of document node, i.e., the structure of unified web site document constructs corresponding text
Shelves are set, and each node is document node in the document tree, are associated with so that document each in website be established, according to the data issued
Request and document parameter determine the document file page of feedback.Wherein, content, structure extraction document node of the document tree according to document,
Can be using the data content under chapters and sections catalogue and each catalogue as document node, each document node can have major key id field to save
Point identification is used for one document node of unique identification, and document node also has type (type) field, to identify the affiliated class of node
Type, such as field value may include data, catalogue etc..Such as it can determine that corresponding document node is a certain of document by request of data
A chapters and sections can then show each sub- section name under the chapters and sections, if document node is a certain sub- chapters and sections, can show the correspondence
Data content, wherein each sub- section name, data content for being particularly shown etc. will also determine according to document parameter, such as aobvious
Language, composing structure for showing etc..
In the embodiment of the present application, after building document tree unifies the file structure of website, shown documentation page may further determine that
Other dimensions of face content, including website dimension and voice dimension, wherein website refers to providing service in website for user
Website node, such as monitoring station, services sites, Chinese website, language dimension are true according to the service voice that website can be provided
It is fixed, such as including Chinese, English, the various language of Japanese.As shown in figure 3, to according to dimensions such as document node, website, language,
The displaying view (docview) of document can be uniquely determined, docview is the content that user can see, that is, shows user's
The page info of corresponding document.
In the embodiment of the present application, a document possibly is present in one or more websites, each website, its corresponding branch
The language held.Thus, it is supposed that a document node can have up to the N number of language of M website, then the document node can correspond to M*N
A document views.Therefore can database configuration record have the data files of document views, such as configure the record of a document views
Table, the record of each document views have document node (docnode), website (website), language (language) three
Non-empty field, to ensure that the relationship between docnode and docview.The dimension Documents are also recorded in docview
Displaying title, show content etc..
For example, the document that a document node ID is 12345, under China station, Chinese dimension, it is that displaying is entitled
The data content of " what is Cloud Server XXX ";Under world station, Chinese dimension, it is also to show that entitled " what is cloud clothes
Be engaged in device XXX " data content;And under world station, English dimension, it is the data content of entitled<What is XXX>.Base
In above-mentioned file structure and dimension etc., this three is not conflicting from the background, i.e. title, and there is no do not rush content of document etc.
It is prominent, also, the document views of displaying corresponding with international station Chinese for China's station Chinese, since website is different therefore specific
There may be differences on document content.
To based on for request of data can determine the design parameter information of the dimensions such as document node, website, language, then
The displaying view (docview) for determining document, provides corresponding page info to user.
Referring to Fig. 4, the step flow chart that the application another kind page determines embodiment of the method is shown.
Step 402, request of data is received.
Step 404, document node is determined according to the request of data.
Server-side (such as server of cloud computing service provider) can receive request of data, and the request of data is for requesting
Obtain document information, such as carry document node mark, then document node can be determined according to the document node identification, then according to
Document parameter is determined according to the corresponding web portal information of the request of data.Wherein, each website correspondence possesses a document
Document display applies (Portal) entrance, that is, web portal, and the request of data of user would generally pass through gateway (Gateway), distribution
(Portal) is applied to different document displays, i.e., is distributed to the entrance of each website by gateway to access corresponding website.
The Portal can determine the language that current website attribute and the website can be supported.To can determine based on request of data
Corresponding web portal information, determines document parameter according to the web portal information, the document parameter includes: site parameter and language
Say parameter, site parameter corresponds to website dimension, language parameter corresponds to language dimension.Therefore, corresponding according to the request of data
Web portal information determines document parameter, includes the following steps 406-408.
Step 406, according to the corresponding web portal information of the request of data, website attribute to be visited is determined and wait visit
The linguistic property asked.
Step 408, site parameter is determined according to the website attribute to be visited, and according to the language category to be visited
Property determines language parameter.
The request of data of user would generally pass through gateway, be distributed to corresponding web portal and access, therefore can determine
The corresponding web portal information of the request of data out determines website attribute and linguistic property according to the web portal information, can
Site parameter is determined according to website attribute, the attribute value of website attribute is such as determined as to the parameter value of site parameter, and can be according to
Language parameter is determined according to the linguistic property, and the attribute value of linguistic property is such as determined as to the parameter value of language parameter.
In the embodiment of the present application, when determining site parameter and language parameter according to web portal information, a variety of sides can be passed through
Formula determines, such as direct basis web portal information determines site parameter and language parameter, for another example according to web portal information and
Corresponding cookie information of the request of data etc. determines site parameter and language parameter jointly.In conjunction with data such as cookie informations
Portal entrance can be supported to jump, to can accurately analyze user demand when user requests document, provide for it required
Document file page contents.Wherein, cookie information refers to the data being stored on user local terminal, such as user identity letter
Breath, access information etc., based on cookie information website can distinguish access user identity, conversate (session) tracking, should
Cookie is stored on user local terminal, and the server of corresponding website can be transferred to when accessing website.
In the embodiment of the present application, according to the corresponding web portal information of the request of data, website attribute and language are determined
Attribute, including following sub-step: it according to the corresponding web portal information of the request of data and cookie information, determines to be visited
Website attribute;According to the corresponding web portal information of the request of data, linguistic property to be visited is determined.I.e. according to data
Request determines corresponding web portal information, can also according to request of data to the browse request cookie information of counterpart terminal,
Website server determines corresponding website category after receiving cookie information, in combination with cookie information and web portal information
Property, and according to the corresponding web portal information of the request of data, determine linguistic property.If certain Website server has not been obtained
Website attribute can not be determined to cookie information, or according to cookie information, then can directly be determined according to web portal information
Website attribute.
Wherein, described to determine website attribute according to the corresponding web portal information of request of data and cookie information, including
Following sub-step: the web portal information corresponds to website category in the attribute value and the cookie information of website attribute
Whether the attribute value of property is identical;If attribute value is identical, the attribute value is determined as to the attribute value of website attribute to be visited;
If attribute value is different, the attribute value of website attribute in cookie information is determined as to the attribute value of website attribute to be visited.
The attribute value of website attribute can be corresponded to from web portal acquisition of information, and website category is obtained from cookie information
The corresponding attribute value of web portal information and the corresponding attribute value of cookie information, are then compared, sentence by the attribute value of property
Whether the attribute value of disconnected two website attributes is identical.If the attribute value of two website attributes is identical, that is, what is accessed is the same station
The attribute value can be then determined as the attribute value of website attribute to be visited, i.e., the website is determined as the station for needing to access by point
Point.If the attribute value of two website attributes is not identical, that is, what is accessed is not the same website, then can be by website in cookie information
The attribute value of attribute is determined as the attribute value of website attribute to be visited, the i.e. attribute value according to website attribute in cookie information
It determines the website for needing to access, accesses the corresponding website of the cookie information to can jump to.Another example of the application
In, for there are cookie information, and web portal information is corresponded to and is stood in the attribute value and the cookie information of website attribute
When the attribute value of point attribute is not identical, web portal information directly can also be corresponded into the attribute value of website attribute as to be visited
The attribute value of website attribute, i.e., the determination of the attribute value of website attribute to be visited is independent of cookie information.
In one alternative embodiment of the application, according to the corresponding web portal information of the request of data, language category is determined
Property, including following sub-step: determining the attribute value of corresponding linguistic property according to the request of data;Judge the web portal letter
Whether the linguistic property of breath supports the attribute value;If the linguistic property of the web portal information supports the attribute value,
The attribute value is determined as to the attribute value of linguistic property to be visited;If the linguistic property of the web portal information is not supported
The attribute value then obtains the default property value that the web portal information corresponds to linguistic property, and the default property value is true
The attribute value of fixed linguistic property to be visited.
The attribute value of linguistic property can be carried in the request of data, therefore corresponding linguistic property can be obtained from request of data
Attribute value, then judges whether the attribute information of web portal information supports the attribute value again, that is, judges whether the website props up
Hold the language of request, the linguistic property of the web portal information supports the attribute value, then by the attribute value be determined as to
The attribute value of the linguistic property of access obtains institute if the linguistic property of the web portal information does not support the attribute value
The default property value that web portal information corresponds to linguistic property is stated, the default property value is determined into linguistic property to be visited
Attribute value.
To can determine that the attribute value of linguistic property and the attribute value of website attribute by above steps, wherein
For the determination process of linguistic property and website attribute, the embodiment of the present application does not limit its determination sequence.Again according to described wait visit
The website attribute asked determines site parameter, and determines language parameter according to the linguistic property to be visited.
Step 410, corresponding document views are determined according to site parameter, language parameter and document node, according to the text
Shelves view determines corresponding page info.
Step 412, the page info is returned.
Above-mentioned steps determine site parameter, language parameter and document node, then can be according to site parameter, language parameter
Corresponding document views are determined with document node, obtain the page info that the document view corresponds to document, then back page is believed
It ceases to the terminal of corresponding requests, shows corresponding document file page on the terminal.
In the embodiment of the present application, the web station system framework for providing document services is as shown in Figure 5, comprising: gateway, document display
Using Portal, server, database, management equipment, internal network devices.Internal network devices can be accessed by management equipment
Server, server are connect with database, data service can be provided by database, such as provide document data.User's request
Document display application Portal is corresponded to by gateway accessing, document display application Portal is obtained from database by server
The data such as corresponding document.
Wherein, server can provide multiple functions, and can support extension, such as can maintain the connection and behaviour with database
Make, data can be also provided to different Portal, and relevant branch can be provided to back-stage management equipment, internal network devices
It holds.Corresponding document file page is accessed according to request of data to realize based on above structure.
In one example of the application, site parameter, language are determined based on request of data, cookie information and web portal information
It says parameter and document node, after request of data enters Portal application by gateway, can determine website by two layers of judgement
Parameter and language parameter, this example is for judging linguistic property after first judging website attribute.Process as shown in FIG. 6 is as follows:
Step 602, judge whether the request of data corresponds to cookie information.If so, executing step 604;If it is not, executing
Step 618.
Portal application can obtain cookie information according to the request of data of user, if having station in the cookie information
The attribute value of point attribute then confirms and judges that request of data is corresponding with cookie information, on the contrary then request of data does not correspond to Cookie
Information.
Step 604, the web portal information corresponds to stands in the attribute value and the cookie information of website attribute
Whether the attribute value of point attribute is identical.If so, executing step 606;If it is not, executing step 608.
Step 606, the attribute value is determined as to the attribute value of website attribute to be visited.
Step 608, the attribute value of website attribute in cookie information is determined as to the attribute value of website attribute to be visited.
Step 610, the attribute value of corresponding linguistic property is determined according to the request of data.
Step 612, judge whether the linguistic property of the web portal information supports the attribute value.If so, executing step
Rapid 614;If it is not, executing step 616.
Step 614, the attribute value is determined as to the attribute value of linguistic property to be visited.
Step 616, the default property value that the web portal information corresponds to linguistic property is obtained, by the default property value
Determine the attribute value of linguistic property to be visited.
Step 618, the attribute value that the web portal information is corresponded to website attribute is determined as website attribute to be visited
Attribute value.
If the request of data does not correspond to cookie information, web portal information can be corresponded to the attribute of website attribute
Value, is determined as the attribute value of website attribute to be visited.
Step 620, jump information is determined according to the site parameter, language parameter and document node, to jump to correspondence
The page of document.
Site parameter is determined according to the website attribute to be visited, and determines language according to the linguistic property to be visited
Say parameter.For website attribute and linguistic property that above-mentioned steps 608, step 616 are determined respectively, due to itself and request of data
Parameter it is not fully consistent, therefore also need by jumping the access realized to corresponding document file page, therefore can the website
Parameter, language parameter and document node determine jump information, which are fed back to terminal, to realize Webpage
It jumps.Such as the URL of corresponding document file page can be spliced into based on site parameter, language parameter and document node, to guide use
Family jumps to more particularly suitable document file page, realizes intelligent skip.
In one example, website attribute and the website of current Portal setting are inconsistent in cookie information in step 608,
It can return to one 302 response (i.e. jump information), website carries out the reading of document where guidance user to Cookie.Step
What user requested is the language that current site is not supported in 616, then can return to one 302 response, and guidance user goes to currently
The language of website default is read with guaranteeing to provide document to user.For example, an international station login user, the user's
Request of data is corresponding with cookie information, and the document links of China's station website are accidentally clicked in user's access process
(URL), the corresponding request of data for receiving access China station of server can be joined after handling through the above steps based on website
Number, language parameter and document node are spliced into the URL of corresponding document file page, then direct the user to international corresponding document of standing
On the page, to realize intelligent skip function.
Also can hence for having distinguishing document in different websites by jumping bootable user to required document
Enough prevent the difference due to document content from causing to mislead to user, without user it is artificial go query analysis difference.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig. 7, a kind of structural block diagram of page determining device embodiment of the application is shown, can specifically include as follows
Module:
Receiving module 702, is requested for receiving data.
Parameter determination module 704, for determining document node and document parameter according to the request of data.
Page determining module 706, for determining the page info of corresponding document according to the document node and document parameter.
Sending module 708, for returning to the page info.
To sum up, after receiving request of data, document node and document parameter can be determined according to request of data, then foundation
The document parameter and document node determine the page info of corresponding document, return to the page info, true based on document node
Surely the document to be accessed determines the particular content of the document by document parameter, so as to needed for flexible, convenient and fast access
Document.
Referring to Fig. 8, show the structural block diagram of the application another kind page determining device embodiment, can specifically include as
Lower module:
Wherein, the parameter determination module 704, for determining document node according to the request of data;According to the number
Document parameter is determined according to the corresponding web portal information of request.
The document parameter includes: site parameter and language parameter;The parameter determination module 704, comprising:
Node determines submodule 7042, for determining document node according to the request of data.
Attribute determines submodule 7044, for determining to be visited according to the corresponding web portal information of the request of data
Website attribute and linguistic property to be visited;
Parameter determination submodule 7046, for determining site parameter according to website attribute to be visited, and according to it is described to
The linguistic property of access determines language parameter.
The page determining module 706, for determining corresponding document according to site parameter, language parameter and document node
View determines corresponding page info according to the document views.
The attribute determines submodule 7044, for according to the corresponding web portal information of the request of data and Cookie
Information determines website attribute to be visited;According to the corresponding web portal information of the request of data, language to be visited is determined
Attribute.
The attribute determines submodule 7044, and the attribute value of website attribute is corresponded to for the web portal information,
It is whether identical with the attribute value of website attribute in the cookie information;If attribute value is identical, the attribute value is determined as
The attribute value of website attribute to be visited;If attribute value is different, the attribute value of website attribute in cookie information is determined as
The attribute value of website attribute to be visited.
The attribute determines submodule 7044, for determining the attribute value of corresponding linguistic property according to the request of data;
Judge whether the linguistic property of the web portal information supports the attribute value;If the linguistic property of the web portal information
It supports the attribute value, then the attribute value is determined as to the attribute value of linguistic property to be visited;If the web portal letter
The linguistic property of breath does not support the attribute value, then obtains the default property value that the web portal information corresponds to linguistic property,
The default property value is determined to the attribute value of linguistic property to be visited.
Wherein, the document node is the node of document tree, and the document tree is constructed according to each document provided.
The page determining module 706 is also used to jump letter according to site parameter, language parameter and document node determination
Breath;The sending module 708, is also used to return the jump information, to guide user to access the page of corresponding document.
Embodiment of the disclosure can be implemented as using any suitable hardware, firmware, software, or and any combination thereof into
The device of the desired configuration of row, which may include the electronic equipments such as server (cluster), terminal device.Fig. 9 schematically shows
The exemplary means 900 that can be used for realizing each embodiment described herein are gone out.
For one embodiment, Fig. 9 shows exemplary means 900, the device have one or more processors 902,
It is coupled to the control module (chipset) 904 of at least one of (one or more) processor 902, is coupled to control mould
The memory 906 of block 904, is coupled nonvolatile memory (the NVM)/storage equipment 908 for being coupled to control module 904
To one or more input-output apparatus 910 of control module 904, and it is coupled to the network interface of control module 906
912。
Processor 902 may include one or more single or multiple core processors, processor 902 may include general processor or
Any combination of application specific processor (such as graphics processor, application processor, Baseband processor etc.).In some embodiments,
Device 900 can be as equipment such as the servers at transcoding end described in the embodiment of the present application.
In some embodiments, device 900 may include one or more computer-readable medium (examples with instruction 914
Such as, memory 906 or NVM/ store equipment 908) and mutually merge with the one or more computer-readable medium and be configured as
Execute instruction 914 one or more processors 902 to realize module thereby executing movement described in the disclosure.
For one embodiment, control module 904 may include any suitable interface controller, with to (one or more)
At least one of processor 902 and/or any suitable equipment communicated with control module 904 or component provide any appropriate
Interface.
Control module 904 may include Memory Controller module, to provide interface to memory 906.Memory Controller
Module can be hardware module, software module and/or firmware module.
Memory 906 can be used for for example, load of device 900 and storing data and/or instruction 914.One is implemented
Example, memory 906 may include any suitable volatile memory, for example, DRAM appropriate.In some embodiments, it stores
Device 906 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, control module 904 may include one or more i/o controllers, to deposit to NVM/
It stores up equipment 908 and (one or more) input-output apparatus 910 provides interface.
For example, NVM/ storage equipment 908 can be used for storing data and/or instruction 914.NVM/ storage equipment 908 can wrap
It includes any suitable nonvolatile memory (for example, flash memory) and/or may include that any suitable (one or more) is non-volatile
Property storage equipment (for example, one or more hard disk drive (HDD), one or more CD (CD) drivers and/or one or
Multiple digital versatile disc (DVD) drivers).
NVM/ storage equipment 908 may include a part for the equipment being physically mounted on as device 900
Storage resource or its a part that the equipment can be not necessarily as by equipment access.For example, NVM/ storage equipment 908 can
It is accessed by network via (one or more) input-output apparatus 910.
(one or more) input-output apparatus 910 can be provided for device 900 interface with other any equipment appropriate
Communication, input-output apparatus 910 may include communication component, audio component, sensor module etc..Network interface 912 can be dress
900 offer interfaces are set with by one or more network communications, device 900 can according to one or more wireless network standards and/
Or arbitrary standards in agreement and/or agreement are carried out wireless communication with the one or more components of wireless network, such as are accessed
Wireless network based on communication standard, such as WiFi, 2G, 3G, 4G or their combination carry out wireless communication.
For one embodiment, at least one of (one or more) processor 902 can be with one of control module 904
Or the logic of multiple controllers (for example, Memory Controller module) is packaged together.For one embodiment, (one or more
It is a) at least one of processor 902 can be packaged together with the logic of one or more controllers of control module 904 with shape
At system in package (SiP).For one embodiment, at least one of (one or more) processor 902 can be with control mould
The logic of one or more controllers of block 904 is integrated on same mold.For one embodiment, (one or more) processing
At least one of device 902 can be integrated on same mold with the logic of one or more controllers of control module 904 with shape
At system on chip (SoC).
In various embodiments, device 900 can be, but not limited to be: server, desk-top calculating equipment or mobile computing are set
Terminal devices such as standby (for example, lap-top computing devices, handheld computing device, tablet computer, net books etc.).In each embodiment
In, device 900 can have more or fewer components and/or different frameworks.For example, in some embodiments, device 900 wraps
Include one or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), nonvolatile memory end
Mouth, mutiple antennas, graphic chips, specific integrated circuit (ASIC) and loudspeaker.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Method, a kind of page determining device, a kind of server and one are determined to a kind of page provided herein above
Kind of storage medium, is described in detail, and specific case used herein carries out the principle and embodiment of the application
It illustrates, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for this field
Those skilled in the art, according to the thought of the application, there will be changes in the specific implementation manner and application range, to sum up
Described, the contents of this specification should not be construed as limiting the present application.
Claims (20)
1. a kind of page determines method characterized by comprising
Receive request of data;
Document node and document parameter are determined according to the request of data;
The page info that corresponding document is determined according to the document node and document parameter, returns to the page info.
2. the method according to claim 1, wherein determining document node and document ginseng according to the request of data
Number, comprising:
Document node is determined according to the request of data;
Document parameter is determined according to the corresponding web portal information of the request of data.
3. according to the method described in claim 2, it is characterized in that, the document parameter includes: site parameter and language parameter;
Document parameter is determined according to the corresponding web portal information of the request of data, comprising:
According to the corresponding web portal information of the request of data, website attribute to be visited and language category to be visited are determined
Property;
Site parameter is determined according to website attribute to be visited, and determines language parameter according to the linguistic property to be visited.
4. according to the method described in claim 3, it is characterized in that, determining corresponding text according to the document node and document parameter
The page info of shelves, comprising:
Corresponding document views are determined according to site parameter, language parameter and document node, according to determining pair of the document views
The page info answered.
5. according to the method described in claim 3, it is characterized in that, according to the corresponding web portal information of the request of data,
Determine website attribute to be visited and linguistic property to be visited, comprising:
According to the corresponding web portal information of the request of data and cookie information, website attribute to be visited is determined;
According to the corresponding web portal information of the request of data, linguistic property to be visited is determined.
6. according to the method described in claim 5, it is characterized in that, it is described according to the corresponding web portal information of request of data and
Cookie information determines website attribute, comprising:
Compare the attribute that the web portal information corresponds to website attribute in the attribute value and the cookie information of website attribute
Whether identical it is worth;
If attribute value is identical, the attribute value is determined as to the attribute value of website attribute to be visited;
If attribute value is different, the attribute value of website attribute in cookie information is determined as to the attribute of website attribute to be visited
Value.
7. according to the method described in claim 5, it is characterized in that, according to the corresponding web portal information of the request of data,
Determine linguistic property to be visited, comprising:
The attribute value of corresponding linguistic property is determined according to the request of data;
Judge whether the linguistic property of the web portal information supports the attribute value;
If the linguistic property of the web portal information supports the attribute value, the attribute value is determined as to language to be visited
Say the attribute value of attribute;
If the linguistic property of the web portal information does not support the attribute value, obtains the web portal information and correspond to language
The default property value, is determined the attribute value of linguistic property to be visited by the default property value for saying attribute.
8. the method according to claim 1, wherein the document node is the node of document tree, the document
Tree is constructed according to each document provided.
9. method according to claim 6 or 7, which is characterized in that further include:
Jump information is determined according to site parameter, language parameter and document node, returns to the jump information to guide user to visit
Ask the page of corresponding document.
10. a kind of page determining device characterized by comprising
Receiving module is requested for receiving data;
Parameter determination module, for determining document node and document parameter according to the request of data;
Page determining module, for determining the page info of corresponding document according to the document node and document parameter;
Sending module, for returning to the page info.
11. device according to claim 10, which is characterized in that
The parameter determination module, for determining document node according to the request of data;It is corresponding according to the request of data
Web portal information determines document parameter.
12. device according to claim 11, which is characterized in that the document parameter includes: site parameter and language ginseng
Number;The parameter determination module, comprising:
Attribute determines submodule, for determining website category to be visited according to the corresponding web portal information of the request of data
Property and linguistic property to be visited;
Parameter determination submodule, for determining site parameter according to website attribute to be visited, and according to the language to be visited
Speech attribute determines language parameter.
13. device according to claim 12, which is characterized in that
The page determining module, for determining corresponding document views according to site parameter, language parameter and document node, according to
Corresponding page info is determined according to the document views.
14. device according to claim 13, which is characterized in that
The attribute determines submodule, is used for according to the corresponding web portal information of the request of data and cookie information, really
Fixed website attribute to be visited;According to the corresponding web portal information of the request of data, linguistic property to be visited is determined.
15. device according to claim 14, which is characterized in that
The attribute determines submodule, corresponds to the attribute value of website attribute and described for the web portal information
Whether the attribute value of website attribute is identical in cookie information;If attribute value is identical, the attribute value is determined as to be visited
Website attribute attribute value;If attribute value is different, the attribute value of website attribute in cookie information is determined as to be visited
Website attribute attribute value.
16. device according to claim 14, which is characterized in that
The attribute determines submodule, for determining the attribute value of corresponding linguistic property according to the request of data;Described in judgement
Whether the linguistic property of web portal information supports the attribute value;If described in the linguistic property of the web portal information is supported
The attribute value is then determined as the attribute value of linguistic property to be visited by attribute value;If the language of the web portal information
Attribute does not support the attribute value, then obtains the default property value that the web portal information corresponds to linguistic property, will be described silent
Recognize the attribute value that attribute value determines linguistic property to be visited.
17. device according to claim 10, which is characterized in that the document node is the node of document tree, the text
Shelves tree is according to each document building provided.
18. device according to claim 15 or 16, which is characterized in that
The page determining module is also used to determine jump information according to site parameter, language parameter and document node;
The sending module is also used to return the jump information to guide user to access the page of corresponding document.
19. a kind of server characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made
Obtain method of the server execution as described in one or more in claim 1-9.
20. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors, so that
Server executes the method as described in one or more in claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710708981.9A CN109426530B (en) | 2017-08-17 | 2017-08-17 | Page determination method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710708981.9A CN109426530B (en) | 2017-08-17 | 2017-08-17 | Page determination method, device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109426530A true CN109426530A (en) | 2019-03-05 |
CN109426530B CN109426530B (en) | 2022-04-05 |
Family
ID=65498681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710708981.9A Active CN109426530B (en) | 2017-08-17 | 2017-08-17 | Page determination method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109426530B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9926759D0 (en) * | 1999-11-11 | 2000-01-12 | Canon Kk | An information and a text translation system |
CN1321295A (en) * | 1998-10-02 | 2001-11-07 | 国际商业机器公司 | System for efficient voice navigation through generic hierarchical objects |
KR20020016988A (en) * | 2000-08-28 | 2002-03-07 | 오길록 | Offering System and Method for web site each language |
CN1745379A (en) * | 2003-01-28 | 2006-03-08 | 法国电信公司 | Method and system for supplying an automatic web content translation service |
CN201298231Y (en) * | 2008-01-30 | 2009-08-26 | 张新波 | Multilingual communication and application system capable of automatically identifying multilanguage |
CN101794217A (en) * | 2009-02-03 | 2010-08-04 | 北京书生国际信息技术有限公司 | Method and system for implementing interaction between application and extended module of document library system |
CN103914484A (en) * | 2013-01-07 | 2014-07-09 | 阿里巴巴集团控股有限公司 | Method and device for generating page contents |
CN105681476A (en) * | 2016-03-31 | 2016-06-15 | 郑州悉知信息科技股份有限公司 | Page skipping method, device and system |
US20160337380A1 (en) * | 2010-12-30 | 2016-11-17 | Verisign, Inc. | Systems and methods for malware detection and scanning |
-
2017
- 2017-08-17 CN CN201710708981.9A patent/CN109426530B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1321295A (en) * | 1998-10-02 | 2001-11-07 | 国际商业机器公司 | System for efficient voice navigation through generic hierarchical objects |
GB9926759D0 (en) * | 1999-11-11 | 2000-01-12 | Canon Kk | An information and a text translation system |
KR20020016988A (en) * | 2000-08-28 | 2002-03-07 | 오길록 | Offering System and Method for web site each language |
CN1745379A (en) * | 2003-01-28 | 2006-03-08 | 法国电信公司 | Method and system for supplying an automatic web content translation service |
CN201298231Y (en) * | 2008-01-30 | 2009-08-26 | 张新波 | Multilingual communication and application system capable of automatically identifying multilanguage |
CN101794217A (en) * | 2009-02-03 | 2010-08-04 | 北京书生国际信息技术有限公司 | Method and system for implementing interaction between application and extended module of document library system |
US20160337380A1 (en) * | 2010-12-30 | 2016-11-17 | Verisign, Inc. | Systems and methods for malware detection and scanning |
CN103914484A (en) * | 2013-01-07 | 2014-07-09 | 阿里巴巴集团控股有限公司 | Method and device for generating page contents |
CN105681476A (en) * | 2016-03-31 | 2016-06-15 | 郑州悉知信息科技股份有限公司 | Page skipping method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109426530B (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11175968B2 (en) | Embedding an interface of one application into an interface of another application | |
CN110110174B (en) | Data visualization page generation, monitoring and display method, browser and server | |
CN110968824B (en) | Page data processing method and device | |
US9483449B1 (en) | Optimizing page output through run-time reordering of page content | |
CN103701909B (en) | The rapid generation and system of Video Applications | |
CN106339414A (en) | Webpage rendering method and device | |
CN107301137A (en) | RSET interface realizing methods and device and electronic equipment and computer-readable recording medium | |
US10289747B2 (en) | Dynamic file concatenation | |
CN109145238A (en) | Card display method and device and mobile device | |
CN110968314B (en) | Page generation method and device | |
CN107124477A (en) | Processing method, terminal and the server of web site contents | |
CN110069734A (en) | A kind of page assembly shows method and apparatus | |
US20180011933A1 (en) | Method, apparatus, and server for generating hotspot content | |
JP6779307B2 (en) | Method and device for page display | |
TWI519980B (en) | Method and device for displaying web page and computer-readable storage medium | |
CN108520448A (en) | event management method and device | |
WO2014176955A1 (en) | Mobile terminal configuration method and device | |
CN107704464A (en) | Parse the method and device in the path of static resource | |
CN109426530A (en) | The page determines method, apparatus, server and storage medium | |
CN105956202A (en) | Web page display method and web page display apparatus in browser as well as terminal | |
CN116304403A (en) | Webpage access method and device, computer equipment and storage medium | |
CN108664191A (en) | system access method and device | |
CN114626332A (en) | Content display method and device and electronic equipment | |
CN103970513A (en) | Source data information access method and platform | |
Garofalakis et al. | Using RSS feeds for effective mobile web browsing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |