CN107085580A - The method and client of client displayed page - Google Patents

The method and client of client displayed page Download PDF

Info

Publication number
CN107085580A
CN107085580A CN201610087508.9A CN201610087508A CN107085580A CN 107085580 A CN107085580 A CN 107085580A CN 201610087508 A CN201610087508 A CN 201610087508A CN 107085580 A CN107085580 A CN 107085580A
Authority
CN
China
Prior art keywords
page
address
default
client
business datum
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
Application number
CN201610087508.9A
Other languages
Chinese (zh)
Other versions
CN107085580B (en
Inventor
叶斌
欧阳华
景光宇
赵锦江
施子捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610087508.9A priority Critical patent/CN107085580B/en
Publication of CN107085580A publication Critical patent/CN107085580A/en
Application granted granted Critical
Publication of CN107085580B publication Critical patent/CN107085580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application embodiment discloses a kind of method and client of client displayed page.Methods described includes:Receive default page access instruction;The default page has the first address;The first business datum corresponding with the default page is obtained from predetermined server according to first address;The default collapsing rule being locally configured according to first business datum and client, when judgement needs to degrade, obtains the second address;From the business datum of the second address acquisition second;Second business datum is subjected to page presentation.The method and client of the page presentation of the application embodiment, it is possible to reduce occur the development cost and workload when abnormal or guarantee normally runs the page what's new during page presentation in reply page loading procedure.

Description

The method and client of client displayed page
Technical field
The application is related to field of computer technology, more particularly to a kind of method and client of client displayed page.
Background technology
The fast development of internet such as mobile Internet makes data become abundant and various.Data in internet it is main with The mode of the page is shown, and data can come from server shown in the page.When client needs to access a certain page When, can be according to corresponding chained address to server acquisition request data.Server can return to correspondence according to the request Data, so as to which data are shown in the form of the page on the client.
In some cases, when data occur in page loading procedure it is abnormal, or, client needs the page accessed Increase other functions newly, generally can be using page drop in order to not influence the operation of main business function or what's new The mode of level.Specifically, can be judged whether to need to degrade by server.If necessary to degrade, then in server feedback Data in can include some specific fields mark for example can be " degrade:https://detail.m.tmall.com/”. Client can read specific fields mark therein after the data for including specific fields mark are obtained, so as to To start the page after Webview controls or Browser control exposures degradation.For example, mobile phone Taobao increases before double 11 The function of red packet can be obtained by accessing its homepage page, and increase the mobile phone Taobao client release of the function newly accordingly Not yet release, or, even if the mobile phone Taobao client release for having increased the function newly has been released, and user fails in time Redaction is updated, so that causing mobile phone Taobao can not operationally show includes the page of the newly-increased function.Then now The homepage page can be degraded, so that user can use the newly-increased function.
At present, most softwares using client and server interaction pattern, are carried out at substantial amounts of data in server end Reason.Server can store the business datum corresponding to most pages in client, to be visited in the page for receiving client , can be in time to client feedback associated traffic data when asking request.In this way, server exist it is many correspond to respectively without The business datum of the page.For some super APP, a software inhouse is integrated with multiple operation systems, often Also include many pages in individual operation system.
Under such a scenario, collapsing rule is set to bring huge workload on the server.Set in the server Collapsing rule, needs to be separately provided the decision logic of a set of degradation for each page, or at least need to be directed to mostly The interface of each page setup degradation program.In this way, in the case where the page is various, the substantial amounts of code programming just brought Work, wastes time and energy.
The content of the invention
The purpose of the application embodiment is to provide a kind of method and client of client displayed page, to reduce page drop Development cost of the level when abnormal conditions occur in tackling page loading procedure or normal operation page what's new is ensured and Workload.
To achieve the above object, the application embodiment provides a kind of method of client displayed page, and it includes:Receive Default page access instruction;The default page has the first address;Obtained according to first address from predetermined server The first business datum corresponding with the default page;According to presetting that first business datum and client are locally configured Collapsing rule, when judgement needs to degrade, obtains the second address;From the business datum of the second address acquisition second;By institute State the second business datum and carry out page presentation.
To achieve the above object, the application embodiment also provides a kind of client, and it includes:Receiving module, for connecing Receive default page access instruction;The default page has the first address;First acquisition module, according to first address The first business datum corresponding with the default page is obtained from predetermined server;Judge module, according to first business The default collapsing rule that data and client are locally configured, when judgement needs to degrade, obtains the second address;Second obtains mould Block, for from the business datum of the second address acquisition second;Page presentation module, for by second business datum Carry out page presentation.
By above technical scheme, the application judges whether to need to carry out by the default collapsing rule configured in client-side The page degrades, and sets multiple corresponding with business module independently of one another without ensureing normal operation page what's new Server-side module, tackles in page loading procedure without server-side module and occurs abnormal and store and specifically redirect page Data and code needed for face, realize unified configuration of the degradation schemes in client-side, so as to be tackled when reducing page presentation Development cost when abnormal or guarantee normally runs page what's new occurs in page loading procedure.Furthermore, preset and degrade Rule can be integrated in client, and realization can be judged for the different pages using unified collapsing rule, real Now reduce the workload of code maintenance.
Brief description of the drawings
In order to illustrate more clearly of the application embodiment or technical scheme of the prior art, below will to embodiment or The accompanying drawing used required in description of the prior art is briefly described, it should be apparent that, drawings in the following description are only It is some embodiments described in the application, for those of ordinary skill in the art, is not paying creative work Property on the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for the client displayed page of one embodiment of the application;
Fig. 2 is the module map of the client of one embodiment of the application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, implement below in conjunction with the application Accompanying drawing in mode, the technical scheme in the application embodiment is clearly and completely described, it is clear that described Embodiment be only a part of embodiment of the application, rather than whole embodiment.Based on the reality in the application Apply mode, the every other embodiment party that those of ordinary skill in the art are obtained under the premise of creative work is not made Formula, should all belong to the scope of the application protection.
Refer to Fig. 1.The method of the client displayed page of one embodiment of the application, it may include steps of.
Step S11:Receive default page access instruction;The default page has the first address.
In the present embodiment, client can receive default page access instruction, so as to according to the default page Access instruction is to the corresponding business datum of server acquisition request.The business number that the client is sent in acquisition by server According to rear, the business datum can be subjected to page presentation.
In the present embodiment, the client can carry out network data biography based on procotol and network communication module It is defeated.Procotol includes but is not limited to HTTP, TCP/IP or FTP etc..Client can be based on procotol and network Communication module accesses internet, it is possible to by the biography that network data is carried out between internet and server or other clients It is defeated.In a specific embodiment, client can be the terminal device based on procotol access to communication networks. Specifically, for example client can be intelligent movable phone, computer (including notebook computer, desktop computer), put down Plate electronic equipment, personal digital assistant (PDA) or intelligent wearable device etc..Certainly, client can also be energy In the software run in any above-mentioned listed equipment.Specifically, client can be installed in intelligent movable phone, flat board Application software on electronic equipment is such as can be Taobao, day cat store.
In the present embodiment, client receives default page access instruction, and may indicate that needs to obtain corresponding business number According to so as to which the business datum of acquisition progress page presentation is referred to for user.Default page access instruction in itself can be with For an electric signal input.Specifically, for example, client can be to run on to be configured with the terminal of touching-type monitor and set It is standby such as can be intelligent movable mobile phone, Flat electronic equipment on software, the touch of terminal device when running the software Formula display, which is triggered, can produce the electric signal.Or, client can also be run on be configured with non-touch show The terminal device for showing device can be for example the software on desktop computer, other inputs of operation terminal device when running the software Hardware unit for example can produce the electric signal for the click of mouse.
In the present embodiment, the default page can be to include the Webpage of business datum.The default page can be opened up Show and referred to for user, so that user can obtain corresponding information or resource, it is possible to be carried between user and terminal device For information exchange function.Specifically, be exemplified as, page when the default page can run for mobile phone Taobao, or, The associated button provided on page when can be the operation of mobile phone Taobao is such as can be a day cat, poly- to one's profit, public praise take-away Icon be triggered after the corresponding page that shows.
In the present embodiment, first address can be for that can link the network address of the default page, by visiting Ask that first address can obtain the corresponding related data of the default page, and then can realize that showing this on the client presets The page.
Step S13:The first business number corresponding with the default page is obtained from predetermined server according to first address According to.
In the present embodiment, the predetermined server can include it is any have can respond service data request and can be with To necessary software needed for the hardware device of client feedback business datum and driving hardware device work.Predetermined server Predetermined port can be provided with, business datum can be sent to client by the predetermined port.Specifically, for example presetting Server can carry out the transmission of data between client based on http protocol.
In the present embodiment, the default page can include framework, and default page can be obtained by accessing the first address The corresponding business datum in face, the framework is packed into by first business datum of acquisition, described default so as to be formed The page, and then can be shown the default page in client.
In the present embodiment, the first business datum can be stored in the database of predetermined server, and it can be information Specific manifestation form and carrier.Specifically, the first business datum can include but is not limited to symbol, word, numeral, Voice, image, video etc..First business datum can be that client is enabled after corresponding business function, by preset service Device is fed back according to corresponding first address.
Step S15:The default collapsing rule being locally configured according to first business datum and client, judgement needs drop During level, the second address is obtained.
In the present embodiment, the degradation can include:It is described to obtaining when client shows the default page Changed the address of the business datum of the default page.Specifically, can be the business being locally stored by the first address change The store path of data, can also to obtain the business datum after change from server for the first address of change.Specifically, For example degrade can be client access related pages occurs in loading procedure extremely and can not normal presentation, or, The related pages have increased other functions newly, and the content after it updates can not be shown, in order to not influence the use of what's new, And the related pages for having increased other functions newly are switched into simple version, allow it to the specified control in client Shown on (such as can be Webview controls or Browser controls).Specifically, being exemplified as:The increase of electric business platform The function of red packet can be obtained by accessing its homepage page, and the client release for having increased the function newly accordingly is not yet pushed away Go out, or, even if the client release for having increased the function newly has been released, and user fails to update to redaction, Include the page of the newly-increased function so as to cause the client of user's current version can not operationally show.Then now may be used With the version that can be extremely shown the homepage page layout switch that increased the function newly on user mobile phone, so that user is same Sample can use the newly-increased function.
In the present embodiment, can be pre-configured in client local for the default collapsing rule.Specifically, client Default collapsing rule memory module can be locally provided with advance, the default collapsing rule memory module can be used for storage Default collapsing rule.The default collapsing rule can be used for judging whether the default page needs to carry out degradation processing.According to The default collapsing rule that first business datum and client are locally configured can include:Client receives business service It is accompanied with the default instruction that degrades in first business datum of device feedback, or the first business datum for receiving of client and institute The data that stating the default page needs are not matched that.In the present embodiment, default collapsing rule is configured at the client Mode in end, can include realizing default collapsing rule by program code, and be stored in client, can also To realize the default collapsing rule by logic circuit, and it is integrated in the circuit of client.In the present embodiment, when When needing to be degraded, the second address is obtained.Second address can be that can link the network of the default page Location, can obtain the corresponding related data of the default page, and then can realize on the client by accessing second address Show the default page.Second address can be prestored in the client, it would however also be possible to employ preset algorithm is directed to the first ground Location carries out computing and obtained.
In the present embodiment, the default collapsing rule configured in client, can be the bottom code or interior of client A part for portion's circuit framework so that the default collapsing rule in client can uniformly be matched somebody with somebody for numerous pages Put, and can be without being separately configured for each page, realization saves time and manpower.Certainly, affiliated neck Field technique personnel can also make other changes, such as, and one of ordinary skill in the art realize default degradation in client Rule, it is the code that each page is configured with degradation.Under the enlightenment of present techniques marrow, art technology people Member is also possible to make other changes, but as long as its function of realizing and the effect reached, same as the present application or similar, It all should be covered by the application protection domain.
Step S17:From the business datum of the second address acquisition second.
In the present embodiment, the second business datum can be stored in the database of predetermined server, be stored in Client is local.Second business datum can be the specific manifestation form and carrier of information.Specifically, the second business datum Symbol, word, numeral, voice, image, video etc. can be included but is not limited to.Certainly, the second business datum also may be used With including complete web data.Second business datum can be that client is enabled after corresponding business function, by default clothes What business device or client were fed back according to corresponding second address.
Step S19:Second business datum is subjected to page presentation.
In the present embodiment, the second business datum is obtained, can be filled with corresponding page framework.Or The whole web data that directly the second business datum of displaying includes.Client can provide Environmental Support for page presentation. Such as data-interface, further program interaction etc..
The method of the client displayed page of the application embodiment, is sentenced by the default collapsing rule configured in client-side It is disconnected whether to need to carry out page degradation, without ensureing normal operation page what's new, multiple and industry is set independently of one another The corresponding server-side module of module of being engaged in, or stored up without occurring abnormal in server-side module reply page loading procedure The data and code needed for specific jump page are deposited, unified configuration of the degradation schemes in client-side are realized, so as to reduce Occurs development cost when abnormal or guarantee normally runs the page what's new during page presentation in reply page loading procedure. Furthermore, default collapsing rule can be integrated in client, and realizing can be advised for the different pages using unified degradation Then judged, realization reduces the workload of code maintenance.
In a specific application scenarios, user can access the mobile phone Taobao client run on intelligent movable phone The homepage page, Taobao's platform increased newly before double 11 access its homepage page can obtain the function of red packet.But mobile phone The version of Taobao's client is not yet upgraded, so that the function can not be used by a user in time.When user opens mobile phone Taobao When, mobile phone Taobao obtains its corresponding business datum of homepage page to server.Mobile phone Taobao client is according to the pre- of configuration If collapsing rule, judge that its homepage page has increased the data structure of above-mentioned functions, i.e. business datum and the homepage page not phase newly Match and can not show, demonstrate the need for degrading to the page.At this point it is possible to draw sensing according to the address of the homepage page Second address of server, so as to obtain the second business datum from server end according to the second address, it is possible to enable The Webview controls of intelligent movable phone carry out page presentation to the second business datum of acquisition, according to the second business datum The page being shown can realize above-mentioned functions.
In one embodiment, the default collapsing rule can include:It is accompanied with first business datum pre- If during degradation instruction, degrading to the page of current accessed.
In the present embodiment, presetting degradation instruction can be generated by predetermined server, and it can be with predetermined length Character string for example can be " degrade:https://detail.m.tmall.com/”.When client is received by predetermined server During the first business datum of feedback, the default instruction that degrades subsidiary in the first business datum can be identified, so as to To judge to need to degrade to the page of current accessed.The default mode for degrading instruction is accompanied with first business datum can With including:A default part of the instruction for the first business datum content that degrade;The default instruction that degrades is used as the first business datum Annex.
The application scenarios of present embodiment can include ensureing that normal operation page what's new carries out page degradation Situation.Specifically, being exemplified as, client accesses the corresponding page of certain business module and has increased other functions newly, and increases newly and be somebody's turn to do The client of function not yet more redaction, i.e. the Native codes of the business module of client do not update.And to should The predetermined server end module of business module, which can orient one, can show and realize the H5 pages of the what's new, and Can using the address of the H5 pages as the default instruction that degrades a part, wherein, the addresses of the H5 pages is made can be with For the second address.Specifically, server can be to increasing by the second address on the basis of the corresponding business datum in the first address.Or Second address can also be replaced the corresponding business datum in the first address and feed back to client by person, server.By the default drop Level instruction is subsidiary to be sent to client in the first business datum, and client identifies the H5 in the default instruction that degrades The address of the page, can access the H5 pages, so as to realize the degradation of the page.
Certainly, the second address can not be included in the default instruction that degrades, and an only single character string, than Such as " degrade ", such client can individually obtain the second address.
Present embodiment, it is possible to achieve, in software systems running, because business needs to carry out for some page Degrade processing when, only can increase a part of data in the business datum of corresponding page in the server, that is, increase described The default instruction that degrades.Just it can realize that client judges to have after the instruction, access the page degraded.
In one embodiment, the default collapsing rule can also include:In the data knot of first business datum When structure is not matched that with the default page, the page of current accessed is degraded.
In the present embodiment, the data structure of the first business datum is not matched that with the default page and can included:Default clothes Business device is that corresponding business module has increased other functions newly so that by pre-set business server feedback in the first industry of client Business data change.And the version of client does not update accordingly so that the corresponding default page of the business module in client The framework in face is no longer matched with the first business datum.Specifically, such as corresponding server of the mobile phone Taobao homepage page is double The access homepage page is added before 11 can obtain the function of red packet, and mobile phone Taobao client does not upgrade in time, leads The framework of the homepage page of mobile phone Taobao is caused to be unable to the business datum corresponding to the homepage page of match server feedback.Such as This, be can normal presentation increased the page of the function newly, it is necessary to degrade to current page.
In one embodiment, the default collapsing rule includes:Occur in the default page loading procedure abnormal When, the page of current accessed is degraded.
In the present embodiment, presetting generation exception in page loading procedure can include:The Native codes of the default page Occur exception in the process of running, or there is exception in loading or running in the first business datum.When generation above-mentioned two During the situation of kind, may indicate that needs to degrade to the page of current accessed.
In one embodiment, include the step of the second address is obtained:Read the storage address of local service data.
In the present embodiment, the corresponding business datum in the second address can be stored in locally.In this way, when according to default drop When level rule judgment needs to be degraded, local business datum can be stored according to the second address acquisition, it is described local Business datum is can be with the second business datum.Local service data can have one or more, one or more local industry Data of being engaged in can be respectively to that should have storage address, in order to obtain corresponding local service number according to the storage address According to.When judging to need to be degraded according to default collapsing rule, the storage address of the local service data of reading is can be with For second address.
In one embodiment, include the step of page presentation is carried out:Parse what is be locally stored using specified control Business datum.
In the present embodiment, specified control can parse business datum, so that the entering in the form of the page by business datum Row displaying.Specified control can include but is not limited to Webview controls, Browser controls.
In the present embodiment, read after the storage address of local service data, correspondence can be obtained according to the storage address Business datum.The business datum for specifying control parsing to obtain, so as to the progress by business datum in the form of the page Displaying.
In one embodiment, include the step of the second address is obtained:According to first address according to pre- imputation Method draws second address.Point to the predetermined server in second address.
In the present embodiment, predetermined server can be previously stored with the second address, so judge to need to be degraded When, the second address can be directly accessed to obtain the second business datum.Certainly, can not also be stored in predetermined server Double-address, and preset algorithm module is only provided with, the preset algorithm module can be according to the first address according to preset algorithm The second address is drawn, the memory space that the second address takes in predetermined server can be so reduced.
In the present embodiment, the second address can point to predetermined server.When judging to need to be degraded, client Can be sent to predetermined server in the second service data request, second service data request can be accompanied with the first ground Location.Then predetermined server can obtain the first wherein subsidiary address after the second service data request is received, and can To draw the second address according to preset algorithm, the second address acquisition can be drawn according to this obtains being stored in default clothes The second business datum being engaged in device.
In the present embodiment, the second address that preset algorithm is drawn according to the first address computation can be unique.In this way, One preset algorithm of setting that can be unified in client, when some page needs to degrade, is obtained according to the preset algorithm Go out the second address.And then the business datum after being degraded from the second address.In this way, just need not can be directed to each Collapsing rule is separately configured in the page, reduces time and the workload of code maintenance.Furthermore, due to each first address Correspond to unique second address, when some page is degraded, business datum can be uploaded onto the server and with Second address is to binding.So just realize the business datum after the page degradation display change of client.
In one embodiment, first address includes page iden-tity, and the page iden-tity can identify described default The page.Also the page iden-tity is included in second address.
In the present embodiment, page iden-tity can have predetermined content, and it being capable of one default page of unique mark. Specifically, page iden-tity can be numeral and/or alphabetic character string with predetermined length, for example, can be A1B2C3D4E5F6G7.First address includes page iden-tity, can be to regard page iden-tity as the first address contents A part, such as page iden-tity are the digital and/or alphabetic character string A1B2C3D4E5F6G7 with predetermined length, can So that the page iden-tity to be placed in the end or middle optional position of the first address.
In the present embodiment, page iden-tity is also included in the second address, can so be realized according to the second address acquisition The degradation page that second business datum is shown and the default page are to corresponding.
In the present embodiment, when drawing the second address according to preset algorithm according to the first address, page iden-tity can not join With computing.So obtain behind the second address, page iden-tity addition can be entered in the second address.Certainly, page iden-tity Computing can also be participated in.So obtain behind the second address, then page iden-tity addition is entered in the second address.
Refer to Fig. 2.The application is embodiment further provides a kind of client 100, and it can include:Receiving module 11, First acquisition module 13, judge module 15, the second acquisition module 17, page presentation module 19.
Receiving module 11 can be used for receiving default page access instruction;The default page has the first address.
In the present embodiment, client can receive default page access instruction, so as to according to the default page Access instruction is to the corresponding business datum of server acquisition request.The business number that the client is sent in acquisition by server According to rear, the business datum can be subjected to page presentation.
In the present embodiment, the client can carry out network data biography based on procotol and network communication module It is defeated.Procotol includes but is not limited to HTTP, TCP/IP or FTP etc..Client can be based on procotol and network Communication module accesses internet, it is possible to by the biography that network data is carried out between internet and server or other clients It is defeated.In a specific embodiment, client can be the terminal device based on procotol access to communication networks. Specifically, for example client can be intelligent movable phone, computer (including notebook computer, desktop computer), put down Plate electronic equipment, personal digital assistant (PDA) or intelligent wearable device etc..Certainly, client can also be energy In the software run in any above-mentioned listed equipment.Specifically, client can be installed in intelligent movable phone, flat board Application software on electronic equipment is such as can be Taobao, day cat store.
In the present embodiment, client receives default page access instruction, and may indicate that needs to obtain corresponding business number According to so as to which the business datum of acquisition progress page presentation is referred to for user.Default page access instruction in itself can be with For an electric signal input.Specifically, for example, client can be to run on to be configured with the terminal of touching-type monitor and set It is standby such as can be intelligent movable mobile phone, Flat electronic equipment on software, the touch of terminal device when running the software Formula display, which is triggered, can produce the electric signal.Or, client can also be run on be configured with non-touch show The terminal device for showing device can be for example the software on desktop computer, other inputs of operation terminal device when running the software Hardware unit for example can produce the electric signal for the click of mouse.
In the present embodiment, the default page can be to include the Webpage of business datum.The default page can be opened up Show and referred to for user, so that user can obtain corresponding information or resource, it is possible to be carried between user and terminal device For information exchange function.Specifically, be exemplified as, interface when the default page can run for mobile phone Taobao, or, The associated button provided on interface when can be the operation of mobile phone Taobao is such as can be a day cat, poly- to one's profit, public praise take-away Icon be triggered after the corresponding page that shows.
In the present embodiment, first address can be for that can link the network address of the default page, by visiting Ask that first address can obtain the corresponding related data of the default page, and then can realize that showing this on the client presets The page.
First acquisition module 13 can be used for being obtained and the default page pair from predetermined server according to first address The first business datum answered.
In the present embodiment, the predetermined server can include it is any have can respond service data request and can be with To necessary software needed for the hardware device of client feedback business datum and driving hardware device work.Predetermined server Predetermined port can be provided with, business datum can be sent to client by the predetermined port.Specifically, for example presetting Server can carry out the transmission of data between client based on http protocol.
In the present embodiment, the default page can include framework, and default page can be obtained by accessing the first address The corresponding business datum in face, the framework is packed into by first business datum of acquisition, described default so as to be formed The page, and then can be shown the default page in client.
In the present embodiment, the first business datum can be stored in the database of predetermined server, and it can be information Specific manifestation form and carrier.Specifically, the first business datum can include but is not limited to symbol, word, numeral, Voice, image, video etc..First business datum can be that client is enabled after corresponding business function, by preset service Device is fed back according to corresponding first address.
Judge module 15 can be used for the default collapsing rule being locally configured according to first business datum and client, When judgement needs to degrade, the second address is obtained.
In the present embodiment, the degradation can include:It is described to obtaining when client shows the default page Changed the address of the business datum of the default page.Specifically, can be the business being locally stored by the first address change The store path of data, can also to obtain the business datum after change from server for the first address of change.Specifically, For example degrade can be client access related pages occurs in loading procedure extremely and can not normal presentation, or, The related pages have increased other functions newly, and the content after it updates can not be shown, in order to not influence the use of what's new, And the related pages for having increased other functions newly are switched into simple version, allow it to the specified control in client Shown on (such as can be Webview controls or Browser controls).Specifically, being exemplified as:The increase of electric business platform The function of red packet can be obtained by accessing its homepage page, and the client release for having increased the function newly accordingly is not yet pushed away Go out, or, even if the client release for having increased the function newly has been released, and user fails to update to redaction, Include the page of the newly-increased function so as to cause the client of user's current version can not operationally show.Then now may be used With the version that can be extremely shown the homepage page layout switch that increased the function newly on user mobile phone, so that user is same Sample can use the newly-increased function.
In the present embodiment, can be pre-configured in client local for the default collapsing rule.Specifically, client Default collapsing rule memory module can be locally provided with advance, the default collapsing rule memory module can be used for storage Default collapsing rule.The default collapsing rule can be used for judging whether the default page needs to carry out degradation processing.According to The default collapsing rule that first business datum and client are locally configured can include:Client receives business service It is accompanied with the default instruction that degrades in first business datum of device feedback, or the first business datum for receiving of client and institute The data that stating the default page needs are not matched that.In the present embodiment, default collapsing rule is configured at the client Mode in end, can include realizing default collapsing rule by program code, and be stored in client, can also To realize the default collapsing rule by logic circuit, and it is integrated in the circuit of client.In the present embodiment, when When needing to be degraded, the second address is obtained.Second address can be that can link the network of the default page Location, can obtain the corresponding related data of the default page, and then can realize on the client by accessing second address Show the default page.Second address can be prestored in the client, it would however also be possible to employ preset algorithm is directed to the first ground Location carries out computing and obtained.
In the present embodiment, the default collapsing rule configured in client, can be the bottom code or interior of client A part for portion's circuit framework so that the default collapsing rule in client can uniformly be matched somebody with somebody for numerous pages Put, and can be without being separately configured for each page, realization saves time and manpower.Certainly, affiliated neck Field technique personnel can also make other changes, such as, and one of ordinary skill in the art realize default degradation in client Rule, it is the code that each page is configured with degradation.Under the enlightenment of present techniques marrow, art technology people Member is also possible to make other changes, but as long as its function of realizing and the effect reached, same as the present application or similar, It all should be covered by the application protection domain.Second acquisition module 17 can be used for from the industry of the second address acquisition second Business data.
In the present embodiment, the second business datum can be stored in the database of predetermined server, be stored in Client is local.Second business datum can be the specific manifestation form and carrier of information.Specifically, the second business datum Symbol, word, numeral, voice, image, video etc. can be included but is not limited to.Certainly, the second business datum also may be used With including complete web data.Second business datum can be that client is enabled after corresponding business function, by default clothes What business device or client were fed back according to corresponding second address.
Page presentation module 19 can be used for second business datum carrying out page presentation.
In the present embodiment, the second business datum is obtained, can be filled with corresponding page framework.Or The whole web data that directly the second business datum of displaying includes.Client can provide Environmental Support for page presentation. Such as data-interface, further program interaction etc..
The client of the application embodiment, judges whether to need to carry out by the default collapsing rule configured in client-side The page degrades, and sets multiple corresponding with business module independently of one another without ensureing normal operation page what's new Server-side module, or store without occurring abnormal in server-side module reply page loading procedure and specifically redirect page Data and code needed for face, realize unified configuration of the degradation schemes in client-side, so as to be tackled when reducing page presentation Development cost when abnormal or guarantee normally runs page what's new occurs in page loading procedure.Furthermore, preset and degrade Rule can be integrated in client, and realization can be judged for the different pages using unified collapsing rule, real Now reduce the workload of code maintenance.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow). However, with the development of technology, the improvement of current many method flows can be considered as the direct of hardware circuit Improve.Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit Structure.Therefore, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable Logical device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is by user to device Program to determine.By designer is voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without Chip maker is asked to design and make special IC chip 2.Moreover, nowadays, substitution manually makes IC chip, this programming also uses " logic compiler (logic compiler) " software instead to realize mostly, Software compiler used is similar when it writes with program development, and the source code before compiling is also handy specific Programming language is write, and this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but has many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、 Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language) etc., Most generally use VHDL (Very-High-Speed Integrated Circuit Hardware Description at present ) and Verilog2 Language.Those skilled in the art, which also will be apparent to the skilled artisan that, to be only needed to method flow with above-mentioned several Hardware description language slightly programming in logic and is programmed into integrated circuit, it is possible to is readily available and is realized the logical method stream The hardware circuit of journey.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can be borrowed Software is helped to add the mode of required general hardware platform to realize.Understood based on such, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, computer software production Product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause one Computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment of the application Or the method described in some parts of embodiment.
The application embodiment also provides a kind of client, and it includes display, network communication module, memory and processing Device.The display can be LCD display, LCD touch displays etc..The network communication module can be with base Enter row data communication in network communication protocol.For example, HTTP, ICP/IP protocol etc..The memory can be disk Memory or solid-state memory etc..The processor can be large scale integrated circuit, and possess operation processing function.Institute State processor and default page access instruction is received by the input equipment of client;The wherein described default page has the first ground Location.The input equipment can include physical keyboard or the equipment with touch sensible.In a detailed embodiment, Input equipment is integrated into touch display with display.The processor passes through the network service according to first address Module obtains the first business datum corresponding with the default page to predetermined server;Advised according to the default degradation of configuration Then, when judging to need to degrade, the second address is obtained;From the business datum of the second address acquisition second;Control is described aobvious Show that second business datum is carried out page presentation by device.
Each embodiment in this specification is described by the way of progressive, identical similar between each embodiment Part is mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially, For client implementation mode, because the work of its computing device is substantially similar to method embodiment, so retouching That states is fairly simple, and related part illustrates referring to the part of method embodiment.
The application can be used in numerous general or special purpose computing system environments or configuration.For example:Personal computer, clothes Business device computer, handheld device or portable set, laptop device, multicomputer system, based on microprocessor it is System, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including to take up an official post DCE of what system or equipment etc..
The application can be described in the general context of computer executable instructions, such as program mould Block.Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object, Component, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs In, perform task by the remote processing devices connected by communication network.In a distributed computing environment, program Module can be located at including in the local and remote computer-readable storage medium including storage device.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and Change is without departing from spirit herein, it is desirable to which appended claim includes these deformations and changed without departing from the application Spirit.

Claims (9)

1. a kind of method of client displayed page, it is characterised in that it includes:
Receive default page access instruction;The default page has the first address;
The first business datum corresponding with the default page is obtained from predetermined server according to first address;
The default collapsing rule being locally configured according to first business datum and client, when judgement needs to degrade, is obtained Second address;
From the business datum of the second address acquisition second;
Second business datum is subjected to page presentation.
2. the method as described in claim 1, it is characterised in that the default collapsing rule includes:Described first When default degradation instruction is accompanied with business datum, the page of current accessed is degraded.
3. the method as described in claim 1, it is characterised in that the default collapsing rule includes:Described first When the data structure of business datum is not matched that with the default page, the page of current accessed is degraded.
4. the method as described in claim 1, it is characterised in that the default collapsing rule also includes:Described pre- If occur abnormal in page loading procedure, the page of current accessed is degraded.
5. the method as described in claim 1, it is characterised in that include the step of the second address is obtained:Read The storage address of local service data.
6. method as claimed in claim 5, it is characterised in that include the step of page presentation is carried out:Using The business datum for specifying control parsing to be locally stored.
7. the method as described in claim 1, it is characterised in that include the step of the second address is obtained:According to First address draws second address according to preset algorithm;Point to the predetermined server in second address.
8. method as claimed in claim 7, it is characterised in that first address includes page iden-tity, described Page iden-tity can identify the default page;Also the page iden-tity is included in second address.
9. a kind of client, it is characterised in that it includes:
Receiving module, for receiving default page access instruction;The default page has the first address;
First acquisition module, the first industry corresponding with the default page is obtained according to first address from predetermined server Business data;
Judge module, the default collapsing rule being locally configured according to first business datum and client, judgement needs drop During level, the second address is obtained;
Second acquisition module, for from the business datum of the second address acquisition second;
Page presentation module, for second business datum to be carried out into page presentation.
CN201610087508.9A 2016-02-16 2016-02-16 Method for displaying page by client and client Active CN107085580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610087508.9A CN107085580B (en) 2016-02-16 2016-02-16 Method for displaying page by client and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610087508.9A CN107085580B (en) 2016-02-16 2016-02-16 Method for displaying page by client and client

Publications (2)

Publication Number Publication Date
CN107085580A true CN107085580A (en) 2017-08-22
CN107085580B CN107085580B (en) 2021-11-09

Family

ID=59614103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610087508.9A Active CN107085580B (en) 2016-02-16 2016-02-16 Method for displaying page by client and client

Country Status (1)

Country Link
CN (1) CN107085580B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427237A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment across application access target pages
CN110442406A (en) * 2018-05-02 2019-11-12 天津京东深拓机器人科技有限公司 The method and paging control, electronic equipment of paging control processing data
CN110851192A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Method and device for responding to configuration of degraded switch
CN111427703A (en) * 2020-03-12 2020-07-17 上海昊沧系统控制技术有限责任公司 Industrial data real-time display method and system
CN112114988A (en) * 2019-06-21 2020-12-22 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN112437148A (en) * 2020-11-20 2021-03-02 北京奇艺世纪科技有限公司 Service request processing method and device, service server and system
CN112732757A (en) * 2020-12-30 2021-04-30 北京奇艺世纪科技有限公司 Degraded data processing method, system, device, equipment and storage medium
CN112765511A (en) * 2021-01-28 2021-05-07 北京达佳互联信息技术有限公司 Business object display method, device, equipment, storage medium and program product
CN113220394A (en) * 2021-05-07 2021-08-06 苏州摩多多信息科技有限公司 Method, system and medium for mobile terminal page disaster tolerance
CN113760278A (en) * 2021-01-13 2021-12-07 北京沃东天骏信息技术有限公司 Page management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904947A (en) * 2012-09-29 2013-01-30 北京百度网讯科技有限公司 Application client presentation style updating and/or content expanding method and system
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN104111944A (en) * 2013-04-19 2014-10-22 阿里巴巴集团控股有限公司 Page processing method and device and page generating method and device
CN104239432A (en) * 2014-08-27 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for identifying responsive pages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904947A (en) * 2012-09-29 2013-01-30 北京百度网讯科技有限公司 Application client presentation style updating and/or content expanding method and system
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN104111944A (en) * 2013-04-19 2014-10-22 阿里巴巴集团控股有限公司 Page processing method and device and page generating method and device
CN104239432A (en) * 2014-08-27 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for identifying responsive pages

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442406A (en) * 2018-05-02 2019-11-12 天津京东深拓机器人科技有限公司 The method and paging control, electronic equipment of paging control processing data
CN110851192A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Method and device for responding to configuration of degraded switch
CN112114988A (en) * 2019-06-21 2020-12-22 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN112114988B (en) * 2019-06-21 2023-03-31 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN110427237A (en) * 2019-07-29 2019-11-08 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment across application access target pages
CN111427703A (en) * 2020-03-12 2020-07-17 上海昊沧系统控制技术有限责任公司 Industrial data real-time display method and system
CN112437148B (en) * 2020-11-20 2023-03-07 北京奇艺世纪科技有限公司 Service request processing method and device, service server and system
CN112437148A (en) * 2020-11-20 2021-03-02 北京奇艺世纪科技有限公司 Service request processing method and device, service server and system
CN112732757A (en) * 2020-12-30 2021-04-30 北京奇艺世纪科技有限公司 Degraded data processing method, system, device, equipment and storage medium
CN112732757B (en) * 2020-12-30 2023-07-25 北京奇艺世纪科技有限公司 Method, system, device, equipment and storage medium for processing degraded data
CN113760278A (en) * 2021-01-13 2021-12-07 北京沃东天骏信息技术有限公司 Page management method and device
CN112765511A (en) * 2021-01-28 2021-05-07 北京达佳互联信息技术有限公司 Business object display method, device, equipment, storage medium and program product
CN112765511B (en) * 2021-01-28 2024-04-23 北京达佳互联信息技术有限公司 Business object display method, device, equipment, storage medium and program product
CN113220394A (en) * 2021-05-07 2021-08-06 苏州摩多多信息科技有限公司 Method, system and medium for mobile terminal page disaster tolerance

Also Published As

Publication number Publication date
CN107085580B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN107085580A (en) The method and client of client displayed page
US20220086600A1 (en) Method for activating service based on user scenario perception, terminal device, and system
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN109408136B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN109388453A (en) Methods of exhibiting, device, storage medium and the electronic equipment of application page
JP6775013B2 (en) Self-describing a configuration with support for sharing data tables
US8856958B1 (en) Personalized content access prompt
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
CN108153778A (en) Webpage store method, webpage read method and device
CN105324753A (en) Invoking an application from a web page or other application
CN106445500A (en) Method, system and terminal equipment for providing user interface
CN104052769B (en) It is a kind of to mobile terminal apply comprising resource updates methods, devices and systems
CN107580013A (en) The method and device of cross-domain request data
EP3813326B1 (en) Method and apparatus for processing webpage, device, and storage medium
JP2021111403A (en) Landing page processing method, apparatus, device and medium
CN109040339B (en) Cross-domain request processing method, device and equipment based on AJAX
US11882154B2 (en) Template representation of security resources
CN107515903A (en) A kind of method and apparatus for loading displaying scene webpage
CN113268260A (en) Routing method and device for web front end
US10979582B2 (en) Extension of remote frame buffer (RFB) protocol
CN108563476B (en) Application program running method and device, storage medium and electronic equipment
CN106502714A (en) A kind of application management method, mobile terminal, server and system
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
EP4351117A1 (en) Information display method and apparatus, and electronic device
CN112764746A (en) Data processing method and device, electronic equipment and storage medium

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