CN110515631A - Using the generation method of installation data packet, server and computer storage medium - Google Patents

Using the generation method of installation data packet, server and computer storage medium Download PDF

Info

Publication number
CN110515631A
CN110515631A CN201910786791.8A CN201910786791A CN110515631A CN 110515631 A CN110515631 A CN 110515631A CN 201910786791 A CN201910786791 A CN 201910786791A CN 110515631 A CN110515631 A CN 110515631A
Authority
CN
China
Prior art keywords
page
access operation
application
secret value
environment
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
CN201910786791.8A
Other languages
Chinese (zh)
Other versions
CN110515631B (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.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue Technology Co 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201910786791.8A priority Critical patent/CN110515631B/en
Publication of CN110515631A publication Critical patent/CN110515631A/en
Application granted granted Critical
Publication of CN110515631B publication Critical patent/CN110515631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of using the generation method of installation data packet, server and computer storage medium, wherein this method comprises: simulation is in the environment of having network connection to the access operation of multiple pages of application;The page presentation data returned for each access operation, acquisition server;And computations are carried out to the page URL of access operation request, obtain secret value;The secret value and page presentation data correlation are stored into the locally stored file of the application;The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.Through the above scheme, generation has the secret value of page URL and the locally stored file of page presentation book comprising associated storage using in installation data packet, and then the page presentation having under net environment can be simulated in the environment of no network connection.

Description

Using the generation method of installation data packet, server and computer storage medium
Technical field
The present invention relates to field of computer technology, and in particular to a kind of generation method using installation data packet, server And computer storage medium.
Background technique
With popularizing for terminal device, the mode that user's using terminal equipment obtains network data is more and more common therewith, Wherein, more typically come by the application installed in terminal to corresponding server request network data, for example, logical Reading application reading is crossed, video etc. is seen by video player.At the same time, this mode for obtaining network data, usually Dependent on network connection, if cannot achieve the page presentation dependent on network data in the case where no network connection.
It in the prior art, can be by locally downloading by Internet resources such as books, videos, in the environment of no network connection Under carry out using for example, then downloading and being put into bookshelf by books in the environment of having net, in nothing in reading application Then it can realize that books are read by the books in access bookshelf in the environment of net.But this mode in the prior art makes The use of application is extremely limited, and a small amount of offline resources downloaded in application can only be checked by limited entrance.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State problem using the generation method of installation data packet, server and computer storage medium.
According to an aspect of the invention, there is provided a kind of generation method using installation data packet, comprising:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
According to another aspect of the present invention, a kind of application page methods of exhibiting is provided, comprising:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
According to another aspect of the invention, a kind of server is provided, comprising: processor, memory, communication interface and logical Believe bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor Using the corresponding operation of the generation method of installation data packet.
In accordance with a further aspect of the present invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor The corresponding operation of application page methods of exhibiting.
In accordance with a further aspect of the present invention, provide a kind of computer storage medium, be stored in the storage medium to A few executable instruction, the executable instruction execute processor as the above-mentioned generation method using installation data packet is corresponding Operation.
In accordance with a further aspect of the present invention, a kind of computer storage medium is provided, comprising: processor, memory, communication Interface and communication bus, the processor, the memory and the communication interface are completed mutual by the communication bus Communication;
For the memory for storing an at least executable instruction, it is above-mentioned that the executable instruction executes the processor The corresponding operation of application page methods of exhibiting.
Generation method, server and the computer storage medium of application according to the present invention installation data packet, simulation are having To the access operation of multiple pages of application in the environment of network connection, and page presentation data are carried out for each access operation Acquisition and the encryption of page URL then obtain corresponding to the visit after secret value and page presentation data are associated storage One group of request-response data for asking request is conducive to inquire and responded according to request;Wherein, page URL is encrypted After store, the problem of accurately inquiring corresponding page presentation data can be led to not according to being destroyed to avoid factor;With And be packaged the installation file of application and its locally stored file, it generates and applies installation data packet, then can be used for making terminal Still simulation has the page presentation under net environment in the environment of no network connection, and is no longer confined to obtain from specific entrance Take offline resources;Also, it, can be only by carrying out analog access and data acquisition to existing application, adding in the development phase Be applied installation data packet after close, without the application for the use exploitation new version under no network connection environment.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the generation method using installation data packet of one embodiment of the invention;
Fig. 2 shows the flow charts of the generation method using installation data packet of another embodiment of the present invention;
Fig. 3 shows the flow chart of the application page methods of exhibiting of one embodiment of the invention;
Fig. 4 shows the structural schematic diagram of server example of the present invention;
Fig. 5 shows the structural schematic diagram that the present invention calculates apparatus embodiments.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow chart of the generation method using installation data packet of one embodiment of the invention.This method is used Obtain to carry out the application installation data packet of page presentation in the environment of no network connection in exploitation.As shown in Figure 1, this method The following steps are included:
Step S110: it simulates in the environment of having network connection to the access operation of multiple pages of application.
The present invention program is executed by server, which can be the background server of application, and specially backstage takes A functional module being engaged in device, or to be exclusively used in the particular server of the generation method using installation data packet, the spy Determining server can be communicated with application, to the access operation simulated of application, and, the particular server can with answer Background server is communicated, to acquire page presentation data.
Wherein, multiple pages can be all pages of application, in the case of this kind, in finally obtained locally stored file Then respective stored has the page presentation data of all pages of application, and then can show in the environment of no network connection all Application page;Alternatively, the page is preset in the part that multiple pages may be application, for example, being the higher page of part frequency of use Face, in the case of this kind, the page for the page that then respective stored has the part frequency of use high in finally obtained locally stored file Face display data, and then a large amount of access operation can be responded in the environment of no network connection.
Specifically, simulate have network connection in the environment of access operation refer to simulation in the environment of having network connection Access operation of the user to application page, wherein can by enter each page access entrance access operation come into Row analog access, for example, by clicking the control for accessing homepage come analog access homepage.Wherein, access operation can basis The access mode of each access entrance determines, for example, then access operation is to click behaviour for the entrance for clicking or double-clicking access Work or double click operation, and it is possible to which modeling event substitutes true Access Events as access operation, to fast implement to more The analog access of a page.
Step S120: each access operation, the page presentation data that acquisition server returns are directed to;And the access is grasped Make the page URL requested and carry out computations, obtains secret value;Secret value and page presentation data correlation are stored to application Locally stored file in.
Wherein, page presentation data refer to display data associated by the page accessed with access operation.Optionally, should Associated display data can for show the page needed for data, or for show the page and its association the page needed for number According to.
Specifically, analog access in the environment of having network connection to application page, is equivalent in practice from user terminal To the corresponding page data of server request, it is based on this, the page exhibition returned for each access operation, acquisition server Registration evidence, which refers to the background server for providing and applying data, also, the page presentation data include page layout number Accordingly and page content data.And for the access operation, computations are carried out to the page URL of request, it is unique right to obtain Should page URL secret value, it is ensured that the safety of url data.Then, for the access operation, by secret value and page exhibition Registration carries out inquiry displaying according to when being associated storage, and then can be convenient in the environment of no network connection using the application.
Step S130: the installation file of application and locally stored file are packaged, and are generated and are applied installation data packet.
Specifically, can be used for carrying out at the terminal using installation using the installation file in installation data packet, and, it is local Storage file can be used for alternative server and as the source for obtaining page presentation data.Any terminal is getting application installation After data packet, it can be no longer limited by networking situation, and also can be carried out the page presentation of application in the environment of no network connection.
According to the generation method using installation data packet of the present embodiment, simulation is in the environment of having network connection to application Multiple pages access operation, and for each access operation carry out page presentation data acquisition and page URL plus It is close, after secret value and page presentation data are associated storage, then obtain one group of request-response for corresponding to the access request Data are conducive to inquire and responded according to request;Wherein, it is stored after being encrypted to page URL, it can be to avoid factor evidence It is destroyed and leads to not the problem of accurately inquiring corresponding page presentation data;And by the installation file of application and Its locally stored file is packaged, and is generated and is applied installation data packet, then can be used for making terminal in the environment of no network connection Still simulation has the page presentation under net environment, and is no longer confined to obtain offline resources from specific entrance;Also, it is opening It the hair stage, can be only by being to be applied to install number after carrying out analog access and data acquisition, encryption to existing application According to packet, without the application for the use exploitation new version under no network connection environment.
Fig. 2 shows the flow charts of the generation method using installation data packet of another embodiment of the present invention.Such as Fig. 2 institute Show, method includes the following steps:
Step S210: it simulates in the environment of having network connection to the access operation of multiple default pages of application.
In practice, it can determine that multiple default pages optionally analyze each page of application from application according to use demand The access data in face, obtain the amount of access of each page, are ranked up from high to low according to amount of access and therefrom choose sequence and lean on Multiple specific webpages of preceding preset quantity;Each specific webpage is traversed, by the specific webpage and accesses the specific webpage The page for including in path is added as the default page, and then can be for the page for including in each specific webpage and its access path The access simulation of operation of face meets a large amount of can smoothly to access the higher specific webpage of these amount of access when in use The use demand of user.Alternatively, the page in specific access depth can be determined as to the default page, which can lead to It crosses and counts obtaining using the average access depth of user for the application, for example, user's average access depth is to execute 5 times downwards Access then will be determined as the default page for the accessibility page of access operation within 5 times of application, then can satisfy user Average requirements for access.By determining the default page, then simulate in the environment of having network connection to the multiple default of application The access operation of the page targetedly can be simulated and be stored, and be conducive to improve simulation precision, reduce amount of storage, and Efficiency when inquiry is further increased, and meets the use demand of user.
Step S220: each access operation, the page presentation data that acquisition server returns are directed to;And the access is grasped Make the page URL requested and carry out computations, obtains secret value.
Wherein, the specific algorithm encrypted is not limited, optionally, computations use MD5 algorithm for encryption.
Wherein, page presentation data include page layout data and page content data.
Specifically, display data needed for acquisition shows the page that access operation is accessed.For example, for access application master The operation of page, then the homepage topology data and homepage content data of acquisition applications homepage.In this way, it can acquire every time Obtain display data needed for showing a certain page.
In addition, having the resource data of a certain resource entirety in some applications in some optional embodiments of the invention It needs continuously to be shown in multiple pages, for example, successively showing same books in multiple reading pages by page turning During analog access operation, same resource is continuously shown for these in these optional embodiments for book contents Resource data multiple association pages, only simulate the access operation to wherein first page;And for the simulation to it In first page access operation, page exhibition needed for acquisition shows the page that is accessed of the access operation and its association page Registration evidence, wherein continuous resource data and multiple pass of the page content data of multiple association page for same resource The page layout data for joining the page is consistent, for example, the layout of multiple reading pages is identical.By this optional mode, can subtract The simulation workload of few access operation, and the globality of resource has been paid close attention in acquisition, and disposably obtain entire resource Data, are conducive to only to pass through when inquiry is shown that one query can be continuous whole is shown.
For the ease of the understanding to these optional embodiments, it is illustrated: reads so that application is reading application below The book contents of certain this books usually require successively show by multiple request in, for example, when entering certain After the details page of this book, page turning is then carried out by clicking to start to read, book contents could successively be shown, carried out When the simulation of access operation, simulate in the environment of having network connection to reading the resource start page of application (with above First page) access operation, wherein resource start page be obtain books resource start page, optionally, click Certain this books is selected, triggering starts to read, and/or triggering starts downloading and can start to obtain books resource, then operates these The page of request is determined as resource start page, when the operation to the resource data for obtaining books is simulated, only simulation pair The access operation of these resource start pages reduces the quantity of the access operation of simulation, for example, only simulation starts the access read Operation, without simulating the operation of page turning.Then, when acquiring page presentation data, for the access to resource start page Operation, the resource data for the whole books that acquisition server returns, for example, being grasped for simulation to the access for starting to read entrance Make, then collects the book contents of whole books.
And computations are carried out to the page URL of access operation request, secret value is obtained, is come with secret value unique The safety of request data (page URL) storage can be improved in identified page URL, when avoiding data from being destroyed and influencing to use Query result accuracy.It is in the alternative embodiment for reading application in above-mentioned application, then is the resource to access operation request Start page URL carries out computations, obtains secret value.
Step S230: secret value and page presentation data correlation are stored into the locally stored file of application.
Specifically, secret value and page presentation data are associated storage, each group of associated data is one group of request-sound Data are answered, it should be in application, the page can be carried out by inquiring the locally stored file when being used in the environment of no network connection It shows.It is in the alternative embodiment for reading application, when being associated storage, by secret value and whole books in above-mentioned application Resource data associated storage to read application locally stored file in.
Step S240: the installation file of application and locally stored file are packaged, and are generated and are applied installation data packet.
Wherein, can be used for carrying out at the terminal using installation using the installation file in installation data packet, and, locally deposit Storage file can be used for alternative server and as the source for obtaining page presentation data.
In some optional embodiments of the invention, after generating using installation data packet, which can be installed Data packet is updated, to adapt to the demand of variation.Optionally, when the version of application, the page or resource change, more The installation file of new opplication, and update locally stored file.Wherein, for renewal of the page the case where, is detected in multiple pages The page updated with the presence or absence of page presentation data, and if it exists, then show that the page need to be resurveyed for the update page Display data is then simulated for the access operation of the update page updated in the environment of having network connection, and is directed to The step of each access operation, the page presentation data that acquisition server returns and its subsequent step, ultimately produce updated Using installation data packet.It in these optional embodiments, is updated in time to using installation data packet, so as to user's benefit With this it is updated new application data are provided a user using installation data packet, avoid data outmoded and influence making for user With.
According to the generation method provided in this embodiment using installation data packet, simulation is right in the environment of having network connection The access operation of multiple default pages of application carries out acquisition and the page of page presentation data for each access operation The encryption of URL, and secret value and page presentation data correlation are stored to locally stored file, and then can be in no network connection It is inquired under environment and shows these default pages;Wherein, during analog access operates, for continuously showing same resource Resource data multiple association pages, only simulate the access operation to wherein first page, and primary when acquiring data Property acquire the resource data of entire resource, the simulation workload of access operation can be reduced, and paid close attention to resource in acquisition Globality, and disposably obtain entire resource data, being conducive to only to pass through one query when inquiry is shown can be continuous whole Be shown;In addition, after the generation is used for other terminals using installation data packet, to other terminals it is invasive compared with It is small.
Fig. 3 shows the flow chart of the application page methods of exhibiting of one embodiment of the invention.This method is used in no net The displaying of application page is carried out under network JA(junction ambient), it is more typical, during aircraft flight, answered in client terminal With the displaying of the page.As shown in figure 3, method includes the following steps:
Step S310: when detecting the access operation under no network connection environment to the page of application, to access operation The page URL of request carries out computations, obtains real-time encrypted value.
Wherein, which is executed by application, specifically can be by being exclusively used in application in no network connection The module of page presentation is carried out under environment to execute.
Specifically, when accessing under no network connection environment to the page of application, to the page of access operation request Face URL carries out computations, obtains real-time encrypted value, the Encryption Algorithm which uses, and deposits with hereinafter local is obtained The algorithm for storing up the secret value in file is identical.
Step S320: inquiring the secret value to match with real-time encrypted value in the locally stored file of application, and/or, The associated page presentation data of secret value inquired and matched.
Wherein, in the locally stored file associated storage have application page page URL secret value, and with the application The associated page presentation data of the page, the page presentation data include page layout data and page content data.
In the present embodiment, it does not limit to obtain the concrete mode of locally stored file, optionally, can each be answered by calculating With the secret value of the page URL of the page, and actively go from server to obtain page presentation data, and associated storage and obtain It arrives;Alternatively, can be by simulating the access operation to each application page, and the page URL of the application page is calculated, and acquisition The page presentation data returned by server, and associated storage obtains.
Specifically, the secret value to match with real-time encrypted value is inquired in locally stored file, then shows local deposit The page presentation data of the page of current request are stored in storage file, then further inquiry and the secret value to match are associated Page presentation data;It does not inquire the secret value to match with real-time encrypted value in locally stored file, then shows local deposit The page presentation data for storing up the not stored page for having current request in file, then do not continue to inquire.
Step S330: responding access operation according to page presentation data, shows page corresponding with access operation Face shows result.
Wherein, query result may include inquiring the secret value to match and associated page presentation data, Huo Zhewei Inquire the secret value to match.Specifically, if inquiring page presentation data, page exhibition is carried out according to page presentation data Show processing.Optionally, displayed page is obtained using complete page presentation data, then shows the displayed page in terminal On, the page exhibition in the case where data needed for this mode can be used for the page that page presentation data are displaying current request Show, for example, the case where current request is homepage, and page presentation data are data needed for showing homepage;And/or it can Parsing obtains the display data of the page of the part for showing current request from page presentation data, shows number using the part According to displayed page is obtained, the displayed page is then shown that this mode then can be used for page presentation data and be at the terminal Page presentation in the case where data needed for showing the page and its association page of current request, for example, current request is The case where first page of certain this books, page presentation data are data needed for the book contents of whole books are shown in whole book exhibition (this kind of situation can be found in the related description in the alternative embodiment hereinafter with regard to application to read application).
According to the application page methods of exhibiting of the present embodiment, associated storage has the page of application page in locally stored file The secret value of URL, and show and the associated page presentation data of the application page;It is right under no network connection environment when detecting When the access operation of the page of application, computations are carried out to the page URL of access operation request, obtain real-time encrypted value, and By inquiring locally stored file, can obtain showing required page presentation data, and then can realize the page under no network environment Face is shown.It can be seen that this embodiment scheme, it can be achieved that the displaying of application page in the environment of no network connection, rather than Offline resources are only shown to user by limited entrance.
In some alternative embodiments, the method for Fig. 3 embodiment further include: the user terminal of application can be used to obtain What the corresponding embodiment of Fig. 1 and/or Fig. 2 generated applies installation data packet, and runs this using the installation text in installation data packet The locally stored file is carried out storage processing by part, and in other words, in these optional embodiments, locally stored file passes through Corresponding steps in Fig. 1 and/or Fig. 2 obtain.
In some alternative embodiments, associated storage has multiple preset in the locally stored file in Fig. 3 embodiment The page presentation data of the secret value of the page URL of the page and multiple default page, only storage section in locally stored file The secret value and its page presentation data of the default page, wherein multiple default pages can be determined from application according to use demand, So that the data stored in locally stored file can satisfy the use under no network connection environment.Correspondingly, these can In the embodiment of choosing, if inquiring the secret value of the default page to match with real-time encrypted value, and inquire and phase The associated page presentation data of the secret value matched, it may be assumed that the page of access operation request is one of the page in multiple default pages, Can then inquire the page presentation data of the page of the request, and according to the page presentation data inquired to access operation into Row response, shows page presentation result corresponding with access operation;Alternatively, matching if not inquiring with real-time encrypted value The secret value of the one default page then shows that the page of access operation request not in multiple default pages, then shows page request The prompting message of failure.Pass through the secret value of the page URL of the multiple default pages of only associated storage and multiple default page Page presentation data subtract in locally stored file, and then while under meeting without network connection environment to the use of application Lack the data storage capacity in locally stored file and improves the efficiency that inquiry is shown.
In some alternative embodiments, the application in Fig. 3 embodiment is reads application, certain this book in reading application The book contents of nationality usually require successively show by multiple request, for example, when the details page into certain this book Afterwards, page turning is then carried out by clicking to start to read, book contents could be successively shown, in these optional embodiments In, associated storage has the secret value of resource start page and the resource data of whole books in locally stored file, is applying Locally stored file in the secret value that matches with real-time encrypted value of inquiry, and inquire associated with the secret value that matches After page presentation data, further includes: if inquiring the secret value to match with real-time encrypted value, determine the encryption to match Value whether be resource start page secret value, wherein can by locally stored file identify resource start page plus Close value, to carry out the determination of resource start page;If so, showing the content of pages number in the page presentation data inquired According to the resource data for whole books, then access operation is rung according to the resource data of the whole books inquired at this time It answers, shows corresponding with access operation page presentation as a result, optionally, for the access request, to the whole book inquired The resource data of nationality is disassembled, and therefrom obtains the display data of first page, and utilize the display data by the page of first page Show in the terminal, and it is subsequent continuously receive page turn over operation after, then no longer inquired, but successively from remaining number of resources The display data of corresponding page is obtained according to middle dismantling, and is shown in the terminal by page.In these optional embodiments, pass through judgement The secret value inquired whether be resource start page secret value, when for resource start page, it is determined that it is whole for inquiring The resource data of this books can then respond the displaying of subsequent multiple page turn over operation, without being directed to according to the resource data at this time It is inquired and is shown in each page turn over operation case locally stored file, reduced inquiry times, improve the efficiency of displaying.
In some alternative embodiments, it by adding page presentation switch in the application, can control use flexible in application In without the page presentation in the environment of being connected to the network or having network connection.Specifically, the signal value of detection page presentation switch, if Signal value is the first signal value, then shows that, using the environment for running on no network connection, the access operation detected at this time is then Without, to the access operation of the page of application, in this case, then being needed using application page of the invention under network connection environment Locally stored file is carried out page presentation as the acquisition source of page presentation data by methods of exhibiting;Alternatively, if signal value is Second signal value then shows that the access operation detected at this time is then to have network company using the environment for running on network connection It connects to the access operation of the page of application under environment, in this case, then can obtain page presentation data from server and come Carry out page presentation.Wherein, the signal value of page presentation switch can automatically switch according to the networked environment detected, for example, When detecting the environment for no network connection, then it is switched to 1, when detecting to there is the environment of network connection, is then switched to 0.It is logical The page presentation switch being arranged in these optional embodiments is crossed, same application can control to distinguish in the environment of having net and without net The difference of the mode of page presentation data is obtained, realizes page presentation.
The embodiment of the invention provides a kind of nonvolatile computer storage media, the computer storage medium is stored with An at least executable instruction, the computer executable instructions can be performed in above-mentioned any means embodiment and apply installation data packet Generation method.
Executable instruction specifically can be used for so that processor executes following operation:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
In a kind of optional embodiment, the multiple page is multiple default pages;Executable instruction specifically can be with It is further used for so that processor executes following operation: simulates in the environment of having network connection to the multiple default of the application The access operation of the page.
In a kind of optional embodiment, executable instruction can specifically be further used for so that processor execution is following Operation: the page updated in multiple pages with the presence or absence of page presentation data is detected, and if it exists, then simulation is having network company For the access operation of the update page updated in the environment of connecing, and repeat for each access operation, acquisition The step of page presentation data that server returns and its subsequent step, ultimately produce updated application installation data packet.
In a kind of optional embodiment, the application is to read application;Executable instruction specifically can be used further In making, processor execution is following to be operated: being simulated in the environment of having network connection to the resource start page of the reading application Access operation;
For the access operation to resource start page, the resource data for the whole books that acquisition server returns;And Computations are carried out to the resource start page URL of access operation request, obtain secret value;
Text is locally stored to the reading application in the resource data associated storage of the secret value and whole books In part.
Wherein, the computations use MD5 algorithm for encryption.
The embodiment of the invention provides a kind of nonvolatile computer storage media, the computer storage medium is stored with The application page displaying side in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions Method.
Executable instruction specifically can be used for so that processor executes following operation:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation:
It obtains and applies installation data packet according to what above-mentioned any generation method using installation data packet generated;
The installation file using in installation data packet is run, the locally stored file is subjected to storage processing.
In a kind of optional embodiment, associated storage has the page of multiple default pages in the locally stored file The page presentation data of the secret value of URL and multiple default page;
The executable instruction further makes the processor execute following operation: if inquiring and real-time encrypted value phase The secret value of the default page of one matched, and inquire and the associated page presentation data of the secret value to match, then root The page presentation data inquired according to this respond the access operation, show the page corresponding with the access operation Show result;Alternatively,
If not inquiring the secret value of the default page to match with real-time encrypted value, page request failure is shown Prompting message.
In a kind of optional embodiment, the application is to read application;Associated storage in the locally stored file There are the secret value of resource start page and the resource data of whole books;The executable instruction further makes the processor It executes following operation: if inquiring the secret value to match with real-time encrypted value, determining whether the secret value to match is money The secret value of source start page;
If the secret value of resource start page, then the access is grasped according to the resource data of the whole books inquired It is responded, shows page presentation result corresponding with the access operation.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation: The signal value of page presentation switch is detected, if the signal value is the first signal value, it is determined that the access operation detected is nothing To the access operation of the page of the application under network connection environment.
Fig. 4 shows the structural schematic diagram of server example of the present invention, and the specific embodiment of the invention is not to server Specific implementation limit.
As shown in figure 4, the server may include: processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein: processor 402, communication interface 404 and memory 406 complete mutual lead to by communication bus 408 Letter.Communication interface 404, for being communicated with the network element of other equipment such as client or other servers etc..Processor 402 is used In executing program 410, the correlation step in the above-mentioned generation method embodiment using installation data packet can be specifically executed.
Specifically, program 410 may include program code, which includes computer operation instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that server includes can be same type of processor, such as one or more CPU;It can also be with It is different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes following operation:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
In a kind of optional embodiment, the multiple page is multiple default pages;Program 410 specifically can be into one Step is used for so that processor 402 executes following operation: being simulated in the environment of having network connection to the multiple default of the application The access operation of the page.
In a kind of optional embodiment, program 410 can specifically be further used for so that processor 402 execute it is following Operation: the page updated in multiple pages with the presence or absence of page presentation data is detected, and if it exists, then simulation is having network company For the access operation of the update page updated in the environment of connecing, and repeat for each access operation, acquisition The step of page presentation data that server returns and its subsequent step, ultimately produce updated application installation data packet.
In a kind of optional embodiment, the application is to read application;Program 410 can specifically be further used for making It obtains processor 402 and executes following operation: simulating in the environment of having network connection to the resource start page for reading application Access operation;
For the access operation to resource start page, the resource data for the whole books that acquisition server returns;And Computations are carried out to the resource start page URL of access operation request, obtain secret value;
Text is locally stored to the reading application in the resource data associated storage of the secret value and whole books In part.
Wherein, the computations use MD5 algorithm for encryption.
Fig. 5 shows the structural schematic diagram that the present invention calculates apparatus embodiments, and the specific embodiment of the invention is not to calculating The specific implementation of equipment limits.
As shown in figure 5, the calculating equipment may include: processor (processor) 502, communication interface (Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein: processor 502, communication interface 504 and memory 506 complete mutual lead to by communication bus 508 Letter.Communication interface 504, for being communicated with the network element of other equipment such as client or other servers etc..Processor 502 is used In executing program 510, the correlation step in above-mentioned application page methods of exhibiting embodiment can be specifically executed.
Specifically, program 510 may include program code, which includes computer operation instruction.
Processor 502 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for storing program 510.Memory 506 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 executes following operation:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
In a kind of optional embodiment, program 510 can specifically be further used for so that processor 502 execute it is following Operation:
It obtains and applies installation data packet according to what above-mentioned any generation method using installation data packet generated;
The installation file using in installation data packet is run, the locally stored file is subjected to storage processing.
In a kind of optional embodiment, associated storage has the page of multiple default pages in the locally stored file The page presentation data of the secret value of URL and multiple default page;
Program 510 can specifically be further used for so that processor 502 executes following operation: if inquire with it is real-time encrypted The secret value for the default page that value matches, and inquire and the associated page presentation number of the secret value to match According to the page presentation data then inquired according to this respond the access operation, show opposite with the access operation The page presentation result answered;Alternatively,
If not inquiring the secret value of the default page to match with real-time encrypted value, page request failure is shown Prompting message.
In a kind of optional embodiment, the application is to read application;Associated storage in the locally stored file There are the secret value of resource start page and the resource data of whole books;Program 510 can specifically be further used for so that locating Reason device 502 executes following operation: if inquiring the secret value to match with real-time encrypted value, determining that the secret value to match is The no secret value for resource start page;
If the secret value of resource start page, then the access is grasped according to the resource data of the whole books inquired It is responded, shows page presentation result corresponding with the access operation.
In a kind of optional embodiment, program 510 can specifically be further used for so that processor 502 execute it is following Operation: the signal value of detection page presentation switch, if the signal value is the first signal value, it is determined that the access operation detected For under no network connection environment to the access operation of the page of the application.
Algorithm or display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the embodiment of the present invention is also not for any particular programming language.It should be understood that can benefit Summary of the invention described herein is realized with various programming languages, and the description done above to language-specific is to drape over one's shoulders Reveal preferred forms of the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the embodiment of the present invention is grouped together into individually sometimes In embodiment, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: being wanted Ask protection the present invention claims features more more than feature expressly recited in each claim.More precisely, such as As following claims reflect, inventive aspect is all features less than single embodiment disclosed above. Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right is wanted Ask itself all as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize some of some or all components according to an embodiment of the present invention Or repertoire.The present invention is also implemented as some or all equipment for executing method as described herein Or program of device (for example, computer program and computer program product).It is such to realize that program of the invention can store On a computer-readable medium, it or may be in the form of one or more signals.Such signal can be from internet Downloading obtains on website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.Step in above-described embodiment should not be construed as the restriction to execution sequence in addition to having specified otherwise.
The invention discloses: a kind of generation method using installation data packet of A1., comprising:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
A2. method according to a1, wherein the multiple page is multiple default pages;The simulation is having network To the access operation of multiple pages of application in the environment of connection specifically:
It simulates in the environment of having network connection to the access operation of multiple default pages of the application.
A3. method according to a1 or a2, wherein after described generate using installation data packet, the method is also Include:
Detect the page updated in multiple pages with the presence or absence of page presentation data, and if it exists, then simulation is having net For the access operation of the update page updated in the environment of network connection, and repeat for each access operation, The step of page presentation data that acquisition server returns and its subsequent step ultimately produce updated using installation data Packet.
A4. according to the described in any item methods of A1-A3, wherein the application is to read application;The simulation is having network Further comprise to the access operation of multiple pages of application in the environment of connection:
It simulates in the environment of having network connection to the access operation of the resource start page for reading application;
It is described to be directed to each access operation, the page presentation data that acquisition server returns;And the access operation is asked The page URL asked carries out computations, and obtaining secret value further comprises: for the access operation to resource start page, adopting Collect the resource data for the whole books that server returns;And the resource start page URL of access operation request is added Close calculating, obtains secret value;
It is described by the secret value and page presentation data correlation store into the locally stored file of the application into One step includes: that text is locally stored to the reading application in the resource data associated storage of the secret value and whole books In part.
A5. according to the described in any item methods of A1-A4, wherein the computations use MD5 algorithm for encryption.
The invention also discloses: a kind of application page methods of exhibiting of B6., comprising:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
B7. the method according to B6, wherein the method also includes:
It obtains and applies installation data packet according to what the described in any item methods of A1-A5 generated;
The installation file using in installation data packet is run, the locally stored file is subjected to storage processing.
B8. the method according to B6 or B7, wherein associated storage has multiple default pages in the locally stored file Page URL secret value and multiple default page page presentation data;
It is described that the access operation is responded according to the page presentation data, it shows opposite with the access operation The page presentation result answered further comprises:
If inquiring the secret value of the default page to match with real-time encrypted value, and inquires and match with described The associated page presentation data of secret value, then the page presentation data inquired according to this ring the access operation It answers, shows page presentation result corresponding with the access operation;Alternatively,
If not inquiring the secret value of the default page to match with real-time encrypted value, page request failure is shown Prompting message.
B9. according to the described in any item methods of B6-B8, wherein the application is to read application;The locally stored file Middle associated storage has the secret value of resource start page and the resource data of whole books;Text is locally stored in the application The secret value to match with real-time encrypted value, and inquiry and the associated page presentation of secret value to match are inquired in part After data, the method also includes:
If inquiring the secret value to match with real-time encrypted value, determine whether the secret value to match is resource starting The secret value of the page;
It is described that the access operation is responded according to the page presentation data, it shows opposite with the access operation The page presentation result answered further comprises: if the secret value of resource start page, then according to the whole books inquired Resource data responds the access operation, shows page presentation result corresponding with the access operation.
B10. according to the described in any item methods of B6-B9, wherein before the method, further includes: detection page presentation The signal value of switch, if the signal value is the first signal value, it is determined that the access operation detected is no network connection environment Under to the access operation of the page of the application.
The invention also discloses: a kind of server of C11., comprising: processor, memory, communication interface and communication bus, The processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is following that the executable instruction executes the processor Operation:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
C12. the server according to C11, wherein the multiple page is multiple default pages;The executable finger Order further makes the processor execute following operation:
It simulates in the environment of having network connection to the access operation of multiple default pages of the application.
C13. the server according to C11 or C12, wherein the executable instruction further holds the processor The following operation of row: the page updated in multiple pages with the presence or absence of page presentation data is detected, and if it exists, then simulation is having For the access operation of the update page updated in the environment of network connection, and repeats and grasped for each access The step of work, the page presentation data that acquisition server returns and its subsequent step ultimately produce updated application installation number According to packet.
C14. according to the described in any item servers of C11-C13, wherein the application is to read application;It is described executable Instruction further makes the processor execute following operation: simulating in the environment of having network connection to the money for reading application The access operation of source start page;
For the access operation to resource start page, the resource data for the whole books that acquisition server returns;And Computations are carried out to the resource start page URL of access operation request, obtain secret value;
Text is locally stored to the reading application in the resource data associated storage of the secret value and whole books In part.
C15. according to the described in any item servers of C11-C14, wherein the computations use MD5 algorithm for encryption.
The invention also discloses: a kind of calculating equipment of D16., including processor, memory, communication interface and communication bus, The processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is following that the executable instruction executes the processor Operation:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
D17. the calculating equipment according to D16, wherein the executable instruction further execute the processor with Lower operation:
It obtains and applies installation data packet according to what the described in any item methods of A1-A5 generated;
The installation file using in installation data packet is run, the locally stored file is subjected to storage processing.
D18. the calculating equipment according to D16 or D17, wherein there is multiple associated storage in the locally stored file The secret value of the page URL of the default page and the page presentation data of multiple default page;
The executable instruction further makes the processor execute following operation: if inquiring and real-time encrypted value phase The secret value of the default page of one matched, and inquire and the associated page presentation data of the secret value to match, then root The page presentation data inquired according to this respond the access operation, show the page corresponding with the access operation Show result;Alternatively,
If not inquiring the secret value of the default page to match with real-time encrypted value, page request failure is shown Prompting message.
D19. according to the described in any item calculating equipment of D16-D18, wherein the application is to read application;The local Associated storage has the secret value of resource start page and the resource data of whole books in storage file;The executable instruction So that the processor is executed following operation: if inquiring the secret value to match with real-time encrypted value, determining the phase The secret value matched whether be resource start page secret value;
If the secret value of resource start page, then the access is grasped according to the resource data of the whole books inquired It is responded, shows page presentation result corresponding with the access operation.
D20. according to the described in any item calculating equipment of D16-D19, wherein the executable instruction further makes the place It manages device and executes following operation: the signal value of detection page presentation switch, if the signal value is the first signal value, it is determined that detection The access operation arrived under no network connection environment to the access operation of the page of the application.
The invention also discloses a kind of computer storage medium of E21., being stored at least one in the storage medium can be held Row instruction, the executable instruction make processor execute following operation:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And to access operation request Page URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the application Locally stored file in;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
E22. the computer storage medium according to E21, wherein the multiple page is multiple default pages;It is described Executable instruction further makes the processor execute following operation:
It simulates in the environment of having network connection to the access operation of multiple default pages of the application.
E23. the computer storage medium according to E21 or E22, wherein the executable instruction further makes described Processor executes following operation: detecting the page updated in multiple pages with the presence or absence of page presentation data, and if it exists, then It simulates for the access operation of the update page updated in the environment of having network connection, and repeats for each The step of access operation, the page presentation data that acquisition server returns and its subsequent step, ultimately produce updated application Installation data packet.
E24. according to the described in any item computer storage mediums of E21-E23, wherein the application is to read application;Institute Stating executable instruction further makes the processor execute following operation: simulation is in the environment of having network connection to the reading The access operation of the resource start page of application;
For the access operation to resource start page, the resource data for the whole books that acquisition server returns;And Computations are carried out to the resource start page URL of access operation request, obtain secret value;
Text is locally stored to the reading application in the resource data associated storage of the secret value and whole books In part.
E25. according to the described in any item computer storage mediums of E21-E24, wherein the computations are calculated using MD5 Method encryption.
The invention also discloses a kind of computer storage medium of F26., being stored at least one in the storage medium can be held Row instruction, the executable instruction make processor execute following operation:
When detecting the access operation of the page under no network connection environment to the application, the access operation is asked The page URL asked carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and institute are inquired in the locally stored file of the application State the associated page presentation data of the secret value to match;
Access operation is responded according to the page presentation data, shows the page corresponding with the access operation Show result.
F27. the computer storage medium according to F26, wherein the executable instruction further makes the processor Execute following operation:
It obtains and applies installation data packet according to what the described in any item methods of A1-A5 generated;
The installation file using in installation data packet is run, the locally stored file is subjected to storage processing.
F28. the computer storage medium according to F26 or F27, wherein associated storage in the locally stored file There are the secret value of the page URL of multiple default pages and the page presentation data of multiple default page;
The executable instruction further makes the processor execute following operation: if inquiring and real-time encrypted value phase The secret value of the default page of one matched, and inquire and the associated page presentation data of the secret value to match, then root The page presentation data inquired according to this respond the access operation, show the page corresponding with the access operation Show result;Alternatively,
If not inquiring the secret value of the default page to match with real-time encrypted value, page request failure is shown Prompting message.
F29. according to the described in any item computer storage mediums of F26-F28, wherein the application is to read application;Institute Stating associated storage in locally stored file has the secret value of resource start page and the resource data of whole books;It is described to hold Row instruction further makes the processor execute following operation: if inquiring the secret value to match with real-time encrypted value, determining The secret value to match whether be resource start page secret value;
If the secret value of resource start page, then the access is grasped according to the resource data of the whole books inquired It is responded, shows page presentation result corresponding with the access operation.
F20. according to the described in any item computer storage mediums of F26-F29, wherein the executable instruction further makes The processor executes following operation: the signal value of detection page presentation switch, if the signal value is the first signal value, really The access operation that regular inspection measures under no network connection environment to the access operation of the page of the application.

Claims (10)

1. a kind of generation method using installation data packet, comprising:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And the page to access operation request URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the sheet of the application In ground storage file;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
2. according to the method described in claim 1, wherein, the multiple page is multiple default pages;The simulation is having net To the access operation of multiple pages of application in the environment of network connection specifically:
It simulates in the environment of having network connection to the access operation of multiple default pages of the application.
3. method according to claim 1 or 2, wherein after described generate using installation data packet, the method is also Include:
Detect the page updated in multiple pages with the presence or absence of page presentation data, and if it exists, then simulation is having network company For the access operation of the update page updated in the environment of connecing, and repeat for each access operation, acquisition The step of page presentation data that server returns and its subsequent step, ultimately produce updated application installation data packet.
4. method according to claim 1-3, wherein the application is to read application;The simulation is having net Further comprise to the access operation of multiple pages of application in the environment of network connection:
It simulates in the environment of having network connection to the access operation of the resource start page for reading application;
It is described to be directed to each access operation, the page presentation data that acquisition server returns;And to access operation request Page URL carries out computations, and obtaining secret value further comprises: for the access operation to resource start page, acquisition clothes The resource data for the whole books that business device returns;And encryption meter is carried out to the resource start page URL of access operation request It calculates, obtains secret value;
It is described to store the secret value and page presentation data correlation into the locally stored file of the application further It include: by the resource data associated storage of the secret value and whole books to the locally stored file for reading application In.
5. method according to claim 1-4, wherein the computations use MD5 algorithm for encryption.
6. a kind of application page methods of exhibiting, comprising:
When detecting the access operation of the page under no network connection environment to the application, to access operation request Page URL carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and the phase are inquired in the locally stored file of the application The matched associated page presentation data of secret value;
Access operation is responded according to the page presentation data, shows page presentation corresponding with the access operation As a result.
7. a kind of server, comprising: processor, memory, communication interface and communication bus, the processor, the memory Mutual communication is completed by the communication bus with the communication interface;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction Make:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And the page to access operation request URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the sheet of the application In ground storage file;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
8. a kind of calculating equipment, including processor, memory, communication interface and communication bus, the processor, the memory Mutual communication is completed by the communication bus with the communication interface;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction Make:
When detecting the access operation of the page under no network connection environment to the application, to access operation request Page URL carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and the phase are inquired in the locally stored file of the application The matched associated page presentation data of secret value;
Access operation is responded according to the page presentation data, shows page presentation corresponding with the access operation As a result.
9. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute following operation:
It simulates in the environment of having network connection to the access operation of multiple pages of application;
The page presentation data returned for each access operation, acquisition server;And the page to access operation request URL carries out computations, obtains secret value;The secret value and page presentation data correlation are stored to the sheet of the application In ground storage file;
The installation file of the application and the locally stored file are packaged, generates and applies installation data packet.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute following operation:
When detecting the access operation of the page under no network connection environment to the application, to access operation request Page URL carries out computations, obtains real-time encrypted value;
The secret value to match with real-time encrypted value, and inquiry and the phase are inquired in the locally stored file of the application The matched associated page presentation data of secret value;
Access operation is responded according to the page presentation data, shows page presentation corresponding with the access operation As a result.
CN201910786791.8A 2019-08-23 2019-08-23 Method for generating application installation data packet, server and computer storage medium Active CN110515631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910786791.8A CN110515631B (en) 2019-08-23 2019-08-23 Method for generating application installation data packet, server and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910786791.8A CN110515631B (en) 2019-08-23 2019-08-23 Method for generating application installation data packet, server and computer storage medium

Publications (2)

Publication Number Publication Date
CN110515631A true CN110515631A (en) 2019-11-29
CN110515631B CN110515631B (en) 2023-06-09

Family

ID=68626722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910786791.8A Active CN110515631B (en) 2019-08-23 2019-08-23 Method for generating application installation data packet, server and computer storage medium

Country Status (1)

Country Link
CN (1) CN110515631B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880767A (en) * 2020-06-11 2020-11-03 广州华多网络科技有限公司 Book reading application program configuration method and device and electronic equipment
CN112351103A (en) * 2020-11-10 2021-02-09 上海哔哩哔哩科技有限公司 Resource management method and device
CN113360195A (en) * 2021-06-07 2021-09-07 挂号网(杭州)科技有限公司 Protocol loading method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073076A1 (en) * 2000-12-11 2002-06-13 Yongjie Xu System and method for enabling off-line database functionality
CN105824909A (en) * 2016-03-15 2016-08-03 腾讯科技(深圳)有限公司 Page generation method and device
CN107959660A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 A kind of static file access method and device based on Nginx
CN108132814A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 Page loading method, device, computer equipment and the storage medium of application program
CN108287836A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of resource caching method and device
CN110008423A (en) * 2017-08-25 2019-07-12 腾讯科技(深圳)有限公司 Processed offline method, outlet terminal and the storage medium of the dynamic web page page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073076A1 (en) * 2000-12-11 2002-06-13 Yongjie Xu System and method for enabling off-line database functionality
CN105824909A (en) * 2016-03-15 2016-08-03 腾讯科技(深圳)有限公司 Page generation method and device
CN107959660A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 A kind of static file access method and device based on Nginx
CN108287836A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of resource caching method and device
CN110008423A (en) * 2017-08-25 2019-07-12 腾讯科技(深圳)有限公司 Processed offline method, outlet terminal and the storage medium of the dynamic web page page
CN108132814A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 Page loading method, device, computer equipment and the storage medium of application program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880767A (en) * 2020-06-11 2020-11-03 广州华多网络科技有限公司 Book reading application program configuration method and device and electronic equipment
CN112351103A (en) * 2020-11-10 2021-02-09 上海哔哩哔哩科技有限公司 Resource management method and device
CN112351103B (en) * 2020-11-10 2022-12-27 上海哔哩哔哩科技有限公司 Resource management method and device
CN113360195A (en) * 2021-06-07 2021-09-07 挂号网(杭州)科技有限公司 Protocol loading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110515631B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN110515631A (en) Using the generation method of installation data packet, server and computer storage medium
CN104572968B (en) A kind of method for updating pages and device
CN103617191B (en) Use the hardware-accelerated method and browser for realizing that browser renders
CN104427627B (en) Test data acquisition methods, client and server
CN107612727B (en) Distributed health examination method calculates equipment and computer storage medium
WO2013055313A1 (en) Methods and systems for planning execution of an application in a cloud computing system
CN107003877A (en) The context deep-link of application
KR20100072232A (en) Method and apparatus for bridging real-world web applications and 3d virtual worlds
CN106789432A (en) Test system based on autonomous controllable cloud platform technology
CN110083455A (en) Figure computation processing method, device, medium and electronic equipment
CN105208108B (en) File upload/method for down loading and system, server, client under Web environment
CN104935601B (en) Web log file safety analytical method based on cloud, apparatus and system
CN109150848A (en) A kind of realization method and system of the honey jar based on Nginx
CN108228816A (en) A kind of loading method and device of waterfall flow graph piece
CN108829588A (en) A kind of processing method of test application program, deployment system and device
CN108173839A (en) Right management method and system
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
US20050114836A1 (en) Block box testing in multi-tier application environments
US9396259B1 (en) Capture of web application state
CN105051714B (en) The system and method that network virtual media redirects
CN114048024A (en) Task deployment method, device, equipment, storage medium and product
CN106844219A (en) Using detection method and apply detection means
CN112953904A (en) Abnormality detection method, abnormality detection device, server, and storage medium
CN104699619A (en) Online testing method and device
CN104504330B (en) Virtualize safety detection method and system

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