CN109522060A - The restoring method and terminal device of business scenario - Google Patents
The restoring method and terminal device of business scenario Download PDFInfo
- Publication number
- CN109522060A CN109522060A CN201811204223.4A CN201811204223A CN109522060A CN 109522060 A CN109522060 A CN 109522060A CN 201811204223 A CN201811204223 A CN 201811204223A CN 109522060 A CN109522060 A CN 109522060A
- Authority
- CN
- China
- Prior art keywords
- application program
- program identification
- download path
- data base
- encrypted characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention is suitable for technical field of data processing, provides the restoring method and terminal device of a kind of business scenario, by generating scenario parameters, and encrypt to scenario parameters after the download instruction for receiving browser page acquisition, generates encrypted characters string;By application program identification, encrypted characters string and the corresponding relationship of switching time are stored in local data base, and the corresponding relationship of application program identification and encrypted characters string is sent to server, to receive the installation kit of the corresponding relationship comprising application program identification and encrypted characters string in filename, when being initially opened the corresponding application program of installation kit, according to local data base or the filename of installation kit, extract the corresponding encrypted characters string of application program identification, and application program is controlled by the corresponding scenario parameters of encrypted characters string and shows corresponding application scenarios, so that user is without carrying out duplicate business operation after transforming to application program from browser, save user time, improve user experience.
Description
Technical field
The invention belongs to technical field of data processing more particularly to the restoring method and terminal device of a kind of business scenario.
Background technique
Currently, a certain business operation is executed when a user passes through webpage in a browser, and enters a certain business scenario
When, it is prompted often due to the supplier of business pop up in the limitation or browser of certain functions to browser interface
The reasons such as the corresponding application program of the business are downloaded, user can click the link of downloading application program on browser interface, and
After being installed the application program, the business is operated by the application program.
However, generally require to re-operate certain business after user is initially opened the application program newly installed,
And can not be had progressed in browser page before business scenario on the basis of continue to execute subsequent business operation, so
There is a problem of that operating efficiency is low.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of restoring method of business scenario and terminal device, it is existing to solve
Have and needs to need the problem of carrying out duplicate business operation after application program is installed for the first time existing for technology.
The first aspect of the embodiment of the present invention provides a kind of restoring method of business scenario, comprising:
If receiving the download instruction of user's input by browser page, scenario parameters are generated, the scene is joined
Number is encrypted, and generates encrypted characters string, the scenario parameters are for describing the business field that the browser page is being shown
Scape includes application program identification in the download instruction;By the application program identification and the correspondence of the encrypted characters string
Relationship is stored in preset local data base, and is sent to server;Receive the installation kit that the server returns, the peace
Fill the corresponding relationship in the filename of packet including the application program identification and encrypted characters string;It is being initially opened the installation kit
When corresponding application program, according to the local data base or the filename of the installation kit, the application program identification is extracted
Corresponding encrypted characters string;The encrypted characters string is decrypted, generates scenario parameters, and control the application program and show
The corresponding application scenarios of the scenario parameters.
The second aspect of the embodiment of the present invention provides a kind of terminal device, including memory and processor, described to deposit
The computer program that can be run on the processor is stored in reservoir, when the processor executes the computer program,
Realize following steps:
If receiving the download instruction of user's input by browser page, scenario parameters are generated, the scene is joined
Number is encrypted, and generates encrypted characters string, the scenario parameters are for describing the business field that the browser page is being shown
Scape includes application program identification in the download instruction;By the application program identification and the correspondence of the encrypted characters string
Relationship is stored in preset local data base, and is sent to server;Receive the installation kit that the server returns, the peace
Fill the corresponding relationship in the filename of packet including the application program identification and encrypted characters string;It is being initially opened the installation kit
When corresponding application program, according to the local data base or the filename of the installation kit, the application program identification is extracted
Corresponding encrypted characters string;The encrypted characters string is decrypted, generates scenario parameters, and control the application program and show
The corresponding application scenarios of the scenario parameters.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes following steps when being executed by processor:
If receiving the download instruction of user's input by browser page, scenario parameters are generated, the scene is joined
Number is encrypted, and generates encrypted characters string, the scenario parameters are for describing the business field that the browser page is being shown
Scape includes application program identification in the download instruction;By the application program identification and the correspondence of the encrypted characters string
Relationship is stored in preset local data base, and is sent to server;Receive the installation kit that the server returns, the peace
Fill the corresponding relationship in the filename of packet including the application program identification and encrypted characters string;It is being initially opened the installation kit
When corresponding application program, according to the local data base or the filename of the installation kit, the application program identification is extracted
Corresponding encrypted characters string;The encrypted characters string is decrypted, generates scenario parameters, and control the application program and show
The corresponding application scenarios of the scenario parameters.
In embodiments of the present invention, by generating scenario parameters after the download instruction for receiving browser page acquisition,
And scenario parameters are encrypted, generate encrypted characters string;By application program identification, encrypted characters string and switching time three
Corresponding relationship be stored in preset local data base, and the corresponding relationship of application program identification and encrypted characters string is sent
To server, so that the installation kit of the corresponding relationship comprising application program identification and encrypted characters string in filename is received, in head
It is secondary when opening the corresponding application program of the installation kit, according to local data base or the filename of installation kit, extract application program
Corresponding encrypted characters string is identified, and controls application program by the corresponding scenario parameters of encrypted characters string and shows corresponding application
Scene, so that user saves user time, mention without carrying out duplicate business operation after transforming to application program from browser
High user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the restoring method of business scenario provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of the restoring method S104 of business scenario provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of the restoring method S1042 of business scenario provided in an embodiment of the present invention;
Fig. 4 is the structural block diagram of the reduction apparatus of business scenario provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the restoring method of business scenario provided in an embodiment of the present invention, this method process packet
Include step S101 to S105.The specific implementation principle of each step is as follows.
S101 generates scenario parameters, to the field if receiving the download instruction of user's input by browser page
Scape parameter is encrypted, and generates encrypted characters string, the scenario parameters are for describing the industry that the browser page is being shown
It is engaged in scene, includes application program identification in the download instruction.
In embodiments of the present invention, when user carries out certain business operation in the H5 page that browser provides, the industry
The provider of business may show " please download customer end A " on the H5 page, and show the link for downloading the customer end A.
At this point, user can assign download instruction to terminal device by way of clicking the link, the browser page on terminal device
Face can prepare to start to download after receiving download instruction.
Illustratively, it is assumed that there is a user to wish to buy certain finance product, then the user may be in a browser
" finance product "-" fund "-" achievement arrangement "-" fund A introduction " is selected into the official website of some financial institution, and one by one, and
After the business scenario for entering " fund A introduction ", the download link of the APP of the financial institution is clicked, browser page will receive
Movement to user clicks on links is considered as and receives download instruction, and terminal device can prepare the APP for starting to download financial institution.
In embodiments of the present invention, terminal device can pass through browser page according to present after receiving download instruction
The business scenario accessed generates a scenario parameters.It is to be appreciated that the scenario parameters are for uniquely determining a business
Scene.For example, after business scenario of the user in entrance " fund A introduction ", a representative " base can be generated in example above
The scenario parameters of golden A introduction ".
Optionally, in embodiments of the present invention, the business that a provider provides can be divided into multiple operation layers, each business
Layer has its corresponding layer number, and every business in each operation layer has its unique business number in the operation layer.This hair
Bright embodiment is numbered by layer and business number one unique business scenario of locking.
Illustratively, the corresponding multinomial business number of the layer number 1 of a financial institution, such as the corresponding " financing of business number 1
Product ";Business number 2 is corresponding " credit card business ";Business number 3 is corresponding " remittance of transferring accounts ", when user selects " finance product "
Afterwards, the corresponding multinomial business of layer number 2 can be entered, such as in layer number 2, business number 1 is corresponding " fund ", business number 2
Corresponding " national debt ", business number 3 corresponding " fixed deposit " etc..Understandably, it is assumed that a user has selected " fund ", then leads to
Cross scenario parameters: " layer number 1: business number 1, layer number 2: business number 1 " can the unique lock business scenario.
Optionally, by RSA cryptographic algorithms or Advanced Encryption Standard (Advanced Encryption Standard,
AES) algorithm encrypts scenario parameters, generates encrypted characters string.
It is to be appreciated that being encrypted to scenario parameters, is conducive to the operation secret for protecting user, avoids that third party is allowed to visit
Know which business operation user did.
In embodiments of the present invention, the application program identification for including in download instruction is for uniquely determining one using journey
Sequence, for example, can determine the APP of the financial institution mentioned in a example above by an application program identification.
The corresponding relationship of the application program identification and the encrypted characters string is stored in preset local number by S102
According in library, and it is sent to server.
In the embodiment of the present invention, available application program identification and the encrypted characters according to the method described above
The corresponding relationship of string, and on the one hand the corresponding relationship is stored in local data base, in the next steps to encrypted characters
String is called, and the corresponding relationship is on the other hand sent to server in a manner of message request, to download from server
Corresponding application program.
S103 receives the installation kit that the server returns, and includes the application program in the filename of the installation kit
The corresponding relationship of mark and encrypted characters string.
In embodiments of the present invention, server is after the message request for receiving terminal device transmission, according to message request
In include application program identification, transfer the corresponding installation kit of the application program identification, and the installation kit is sent to terminal and is set
It is standby, so that terminal device completes the downloading to corresponding application program.
Notably, after server transfers out the corresponding installation kit of application program identification, it can be according in message request
The corresponding relationship of the application program identification for including and encrypted characters string is that the installation kit is named, so that the file of the installation kit
It simultaneously include application program identification and encrypted characters string in name.
According to above description it is found that the filename for the installation kit sent by server that terminal device receives includes described
The corresponding relationship of application program identification and encrypted characters string.
S104, when being initially opened the corresponding application program of the installation kit, according to the local data base or the peace
The filename for filling packet, extracts the corresponding encrypted characters string of the application program identification.
In embodiments of the present invention, after completing to install to the corresponding installation kit of application program identification, terminal device can be with
The corresponding application program of installation kit is voluntarily opened according to the setting of user before, it can also be only in the open command for receiving user
The application program is just opened afterwards.
It is to be appreciated that the browser page of terminal device receives the time of download instruction, installation kit completes installation
Time and open between time (current time) of the application program that all there is the time differences.Due to the local number of terminal device
It might not stablize according to the data stored in library, there are the reasons such as deletion, modification or database corruption, so when receiving downloading
Time interval between the time of instruction and the time for opening application program is greater than time interval threshold value, then not according to local data
The data stored in library, but according to the filename of installation kit, extract the corresponding encrypted characters string of application program identification.
The encrypted characters string is decrypted in S105, generates scenario parameters, and controls described in the application program load
The corresponding application scenarios of scenario parameters.
As described above, a unique application scenarios can be locked by scenario parameters, therefore worked as from encrypted characters string
In decrypt scenario parameters after, application scenarios directly can be loaded by application program, and then pass through browsing device net page before
Related service is continued to execute on the basis of the application scenarios gone to.
It is to be appreciated that in embodiments of the present invention, by giving birth to after the download instruction for receiving browser page acquisition
It is encrypted at scenario parameters, and to scenario parameters, generates encrypted characters string;By application program identification, encrypted characters string and
The corresponding relationship of switching time three is stored in preset local data base, and by application program identification and encrypted characters string
Corresponding relationship is sent to server, to receive the corresponding relationship comprising application program identification and encrypted characters string in filename
Installation kit, according to local data base or the filename of installation kit, is mentioned when being initially opened the corresponding application program of the installation kit
The corresponding encrypted characters string of application program identification is taken, and controls application program by the corresponding scenario parameters of encrypted characters string and shows
Corresponding application scenarios, so that user saves without carrying out duplicate business operation after transforming to application program from browser
User time improves user experience.
As an embodiment of the present invention, as shown in Fig. 2, above-mentioned S104 includes:
S1041 detects in the local data base whether contain the application program identification.
As described in foregoing embodiments, the data in the local data base of terminal device are not sufficiently stable.For example, of the invention
In embodiment, local data base is the corresponding database of clipbook of terminal device, which inherently has certain update
Probability, so while being stored with the application journey in the download instruction included after receiving download instruction, in local data base
The corresponding relationship of sequence mark and encrypted characters string, but the corresponding application program of the application program identification is opened in terminal device
When, it whether there is the application program identification in local data base, it is also necessary to further detection.
Optionally, detect whether that there are application programs into preset local data base by the SELECT statement in SQL
Mark.
S1042, if the application program identification is not contained in the local data base, according to the file of the installation kit
Name, extracts the corresponding encrypted characters string of the application program identification.
It is to be appreciated that installation kit can't be deleted directly after finishing the installation in embodiments of the present invention, and right
In the storage of installation kit be more stable, and since as described in foregoing embodiments, the filename of installation kit includes one and answers
With program identification and an encrypted characters string, it is possible in the case where having extracted application program identification, according to installation kit
Filename lock a unique installation kit, and the encrypted characters string for including in the filename of the installation kit is extracted.
As an embodiment of the present invention, as shown in figure 3, above-mentioned S1042 includes:
S10421 transfers the default download path table for being stored in terminal device, includes institute in the default download path table
State the corresponding relationship of application program identification and download path.
The embodiment of the present invention is when user opens an application program, in order to quickly preparatively find application program identification pair
The installation kit answered can refer to a default download path table, which is server generation, and is transmitted in advance
In terminal device.Default download path table is when generating by specialist works personnel according to the default downloading mode of mainstream applications program
And determine, so including the corresponding relationship of application program identification and download path in default download path table.
It is to be appreciated that since the corresponding relationship of application program identification and download path is likely to occur variation, so default
Download path table can also update once at regular intervals, in order to distinguish different default download path tables, the embodiment of the present invention
Each default download path table Dou Youyige version number.
S10422 is stored in the version number of the default download path table of terminal device described in extraction, the version number is added
Checking request is added, and the checking request is sent to the server.
It is to be appreciated that needing to determine first currently stored in order to which the corresponding installation kit of application program identification is accurately positioned
Whether the default download path table in terminal device is latest edition.
S10423 receives the answer message returned from the server.
It, will be under the version number in checking request and the default being newly generated after receiving checking request in server end
The version number for carrying routing table compares, if unanimously, addition represents the mark of " consistent " in replying message, if different
It causes, then the default download path table being newly generated is added to and is replied in message.After replying message and generating, message will be replied
It is sent to terminal device.
S10424, if comprising default download path table in the answer message, it is silent by include in the answer message
Recognize the default download path table that terminal device is stored in described in the replacement of download path table, and include from the answer message writes from memory
Recognize in download path table and extract the corresponding download path of the application program identification, as the target download path.
S10425 is stored in terminal device described in judgement if not including default download path table in the answer message
Default download path table version number be latest edition number, mentioned from the default download path table for being stored in terminal device
The corresponding download path of the application program identification is taken, as target download path.
S10426, in the file for retrieving terminal device corresponding to the target download path, filename includes described
The file of application program identification extracts the encrypted characters string in the filename of the file destination as file destination.
S1043 judges in the local data base if containing the application program identification in the local data base
Whether the time interval of the application program identification corresponding switching time and current time is greater than preset time threshold.
The application program identification corresponding switching time is that the browser page is received comprising the application program mark
The time of the download instruction of knowledge.
It in embodiments of the present invention, not only can be default after browser page receives the download instruction of user's input
Local data base in store the corresponding relationship of application program identification and encrypted characters string, also will record and receive download instruction
Time as switching time, and by the corresponding relationship of application program identification, encrypted characters string and switching time three store
Into local data base.
It is bigger with the time interval of current time between upon handover, due to be likely to occur in local data base data update and
The phenomenon that data exception, so the possibility that the corresponding relationship stored in the local data base and current true situation have differences
Property is also bigger.
S1044, if the corresponding switching time of the application program identification described in the local data base and it is current when
Between time interval be not more than preset time threshold, then it is corresponding described to extract application program identification described in local data base
Encrypted characters string.
S1045, if the corresponding switching time of the application program identification described in the local data base and it is current when
Between time interval be greater than preset time threshold and then according to the filename of the installation kit extract the application program identification
Corresponding encrypted characters string.
Wherein, according to the filename of the installation kit, the side of the corresponding encrypted characters string of the application program identification is extracted
Method is as detailed above.
Optionally, it if according to the local data base or the filename of the installation kit, does not extract described using journey
Sequence identifies corresponding encrypted characters string, then the application program display reduction failure page is controlled, to notify user to re-start
Service selection.
It is to be appreciated that due to directly extracting the corresponding encrypted word of application program identification from preset local data base
Faster, difficulty of implementation is lower for symbol string speed, so in the case where other conditions all meet, preferentially from preset local data base
Middle extraction encrypted characters string, however in the incongruent situation of correlated condition, since the filename of installation kit and installation kit is stablized
Property it is high, it is possible under the premise of taking a long time with more computing resource, from the filename of installation kit extract plus
Close character string.
Corresponding to the restoring method of business scenario described in foregoing embodiments, Fig. 4 shows provided in an embodiment of the present invention
The structural block diagram of the reduction apparatus of business scenario, for ease of description, only parts related to embodiments of the present invention are shown.
Referring to Fig. 4, which includes:
Generation module 401 generates scene ginseng if the download instruction for receiving user's input by browser page
Number, encrypts the scenario parameters, generates encrypted characters string, the scenario parameters are for describing the browser page just
It include application program identification in the business scenario of displaying, the download instruction;
Sending module 402, for the corresponding relationship of the application program identification and the encrypted characters string to be stored in
In preset local data base, and it is sent to server;
Receiving module 403 includes institute in the filename of the installation kit for receiving the installation kit of the server return
State the corresponding relationship of application program identification Yu encrypted characters string;
Extraction module 404, for when being initially opened the corresponding application program of the installation kit, according to the local data
The filename of library or the installation kit extracts the corresponding encrypted characters string of the application program identification;
Control module 405 generates scenario parameters, and control the application for the encrypted characters string to be decrypted
Program loads the corresponding application scenarios of the scenario parameters.
Optionally, described according to the local data base or the filename of the installation kit, extract the application program mark
Know corresponding encrypted characters string, comprising:
It detects in the local data base and whether contains the application program identification;
If being mentioned without containing the application program identification according to the filename of the installation kit in the local data base
Take the corresponding encrypted characters string of the application program identification;
If containing the application program identification in the local data base, judge to answer described in the local data base
Whether it is greater than preset time threshold with the time interval of program identification corresponding switching time and current time, it is described to apply journey
Sequence identifies the time for corresponding switching time the download instruction comprising the application program identification being received for the browser page;
If the corresponding switching time of the application program identification described in the local data base and current time when
Between interval be not more than preset time threshold, then extract the corresponding encrypted word of application program identification described in local data base
Symbol string;
If the corresponding switching time of the application program identification described in the local data base and current time when
Between interval be greater than preset time threshold and then according to the filename of the installation kit it is corresponding to extract the application program identification
Encrypted characters string.
Optionally, the filename according to the installation kit extracts the corresponding encrypted characters of the application program identification
String, comprising:
The default download path table for being stored in terminal device is transferred, includes described in the default download path table using journey
The corresponding relationship of sequence mark and download path;
If the version number of the default download path table for being stored in terminal device is latest edition number, from the storage
The corresponding download path of the application program identification is extracted in the default download path table of terminal device, downloads road as target
Diameter;
In the file for retrieving terminal device corresponding to the target download path, filename includes the application program
The file of mark extracts the encrypted characters string in the filename of the file destination as file destination.
Optionally, the device further include:
It is stored in the version number of the default download path table of terminal device described in extraction, the version number is added to verifying
Request, and the checking request is sent to the server;
Receive the answer message returned from the server;
If not including default download path table in the answer message, it is stored under the default of terminal device described in judgement
The version number for carrying routing table is latest edition number;
If the default for including in the answer message is downloaded road comprising default download path table in the answer message
The default download path table of terminal device is stored in described in the replacement of diameter table, and the default for including from the answer message downloads road
The corresponding download path of the application program identification is extracted in diameter table, as the target download path.
Optionally, the device further include:
If not extracting the application program identification pair according to the local data base or the filename of the installation kit
The encrypted characters string answered controls the application program display reduction failure page, then to notify user to re-start service selection.
The embodiment of the present invention is by generating scenario parameters, and right after the download instruction for receiving browser page acquisition
Scenario parameters are encrypted, and encrypted characters string is generated;Corresponding by application program identification, encrypted characters string and switching time is closed
It is stored in local data base, and the corresponding relationship of application program identification and encrypted characters string is sent to server, thus
The installation kit for receiving the corresponding relationship comprising application program identification and encrypted characters string in filename, is being initially opened installation kit pair
When the application program answered, according to local data base or the filename of installation kit, the corresponding encrypted characters of application program identification are extracted
String, and control application program by the corresponding scenario parameters of encrypted characters string and show corresponding application scenarios, so that user is not necessarily to
Duplicate business operation is carried out after transforming to application program from browser, saves user time, improves user experience.
Fig. 5 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 5, the terminal of the embodiment is set
Standby 5 include: processor 50, memory 51 and are stored in the meter that can be run in the memory 51 and on the processor 50
Calculation machine program 52, such as the reducing program of business scenario.The processor 50 is realized above-mentioned when executing the computer program 52
Step in the restoring method embodiment of each business scenario, such as step 101 shown in FIG. 1 is to 105.Alternatively, the processing
Device 50 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 52, such as shown in Fig. 4
The function of unit 401 to 405.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the terminal device 5 is described.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud terminal device and set
It is standby.The terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of terminal device 5 does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5
It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of restoring method of business scenario characterized by comprising
If by browser page receive user input download instruction, generate scenario parameters, to the scenario parameters into
Row encryption generates encrypted characters string, and the scenario parameters are for describing the business scenario that the browser page is being shown, institute
It states in download instruction comprising application program identification;
The corresponding relationship of the application program identification and the encrypted characters string is stored in preset local data base, and
It is sent to server;
The installation kit that the server returns is received, includes the application program identification and encryption in the filename of the installation kit
The corresponding relationship of character string;
When being initially opened the corresponding application program of the installation kit, according to the local data base or the file of the installation kit
Name, extracts the corresponding encrypted characters string of the application program identification;
The encrypted characters string is decrypted, scenario parameters are generated, and controls the application program and loads the scenario parameters
Corresponding application scenarios.
2. the restoring method of business scenario as described in claim 1, which is characterized in that it is described according to the local data base or
The filename of the installation kit extracts the corresponding encrypted characters string of the application program identification, comprising:
It detects in the local data base and whether contains the application program identification;
If not containing the application program identification in the local data base, according to the filename of the installation kit, institute is extracted
State the corresponding encrypted characters string of application program identification;
If containing the application program identification in the local data base, judge described in the local data base using journey
Sequence identifies corresponding switching time and whether the time interval of current time is greater than preset time threshold, the application program mark
Knowing corresponding switching time is the time that the browser page receives the download instruction comprising the application program identification;
If between the corresponding switching time of the application program identification described in the local data base and the time of current time
Every being not more than preset time threshold, then the corresponding encrypted characters of application program identification described in local data base are extracted
String;
If between the corresponding switching time of the application program identification described in the local data base and the time of current time
The corresponding encryption of the application program identification is extracted then according to the filename of the installation kit every being greater than preset time threshold
Character string.
3. the restoring method of business scenario as claimed in claim 2, which is characterized in that the file according to the installation kit
Name, extracts the corresponding encrypted characters string of the application program identification, comprising:
The default download path table for being stored in terminal device is transferred, includes the application program mark in the default download path table
Know the corresponding relationship with download path;
If the version number of the default download path table for being stored in terminal device is latest edition number, end is stored in from described
The corresponding download path of the application program identification is extracted in the default download path table of end equipment, as target download path;
In the file for retrieving terminal device corresponding to the target download path, filename includes the application program identification
File extract the encrypted characters string in the filename of the file destination as file destination.
4. the restoring method of business scenario as claimed in claim 3, which is characterized in that further include:
It is stored in the version number of the default download path table of terminal device described in extraction, the version number is added to verifying and is asked
It asks, and the checking request is sent to the server;
Receive the answer message returned from the server;
If not including default download path table in the answer message, the default downloading road of terminal device is stored in described in judgement
The version number of diameter table is latest edition number;
If comprising default download path table in the answer message, the default download path table that will include in the answer message
The default download path table of terminal device, and the default download path table for including from the answer message are stored in described in replacement
It is middle to extract the corresponding download path of the application program identification, as the target download path.
5. the restoring method of business scenario as described in claim 1, which is characterized in that further include:
If it is corresponding not extract the application program identification according to the local data base or the filename of the installation kit
Encrypted characters string controls the application program display reduction failure page, then to notify user to re-start service selection.
6. a kind of terminal device, including memory and processor, it is stored with and can transports on the processor in the memory
Capable computer program, which is characterized in that when the processor executes the computer program, realize following steps:
If by browser page receive user input download instruction, generate scenario parameters, to the scenario parameters into
Row encryption generates encrypted characters string, and the scenario parameters are for describing the business scenario that the browser page is being shown, institute
It states in download instruction comprising application program identification;
The corresponding relationship of the application program identification and the encrypted characters string is stored in preset local data base, and
It is sent to server;
The installation kit that the server returns is received, includes the application program identification and encryption in the filename of the installation kit
The corresponding relationship of character string;
When being initially opened the corresponding application program of the installation kit, according to the local data base or the file of the installation kit
Name, extracts the corresponding encrypted characters string of the application program identification;
The encrypted characters string is decrypted, scenario parameters are generated, and controls the application program and loads the scenario parameters
Corresponding application scenarios.
7. terminal device as claimed in claim 6, which is characterized in that described according to the local data base or the installation kit
Filename, extract the corresponding encrypted characters string of the application program identification, comprising:
It detects in the local data base and whether contains the application program identification;
If not containing the application program identification in the local data base, according to the filename of the installation kit, institute is extracted
State the corresponding encrypted characters string of application program identification;
If containing the application program identification in the local data base, judge described in the local data base using journey
Sequence identifies corresponding switching time and whether the time interval of current time is greater than preset time threshold, the application program mark
Knowing corresponding switching time is the time that the browser page receives the download instruction comprising the application program identification;
If between the corresponding switching time of the application program identification described in the local data base and the time of current time
Every being not more than preset time threshold, then the corresponding encrypted characters of application program identification described in local data base are extracted
String;
If between the corresponding switching time of the application program identification described in the local data base and the time of current time
The corresponding encryption of the application program identification is extracted then according to the filename of the installation kit every being greater than preset time threshold
Character string.
8. terminal device as claimed in claim 7, which is characterized in that the filename according to the installation kit extracts institute
State the corresponding encrypted characters string of application program identification, comprising:
The default download path table for being stored in terminal device is transferred, includes the application program mark in the default download path table
Know the corresponding relationship with download path;
If the version number of the default download path table for being stored in terminal device is latest edition number, end is stored in from described
The corresponding download path of the application program identification is extracted in the default download path table of end equipment, as target download path;
In the file for retrieving terminal device corresponding to the target download path, filename includes the application program identification
File extract the encrypted characters string in the filename of the file destination as file destination.
9. terminal device as claimed in claim 8, which is characterized in that further include:
It is stored in the version number of the default download path table of terminal device described in extraction, the version number is added to verifying and is asked
It asks, and the checking request is sent to the server;
Receive the answer message returned from the server;
If not including default download path table in the answer message, the default downloading road of terminal device is stored in described in judgement
The version number of diameter table is latest edition number;
If comprising default download path table in the answer message, the default download path table that will include in the answer message
The default download path table of terminal device, and the default download path table for including from the answer message are stored in described in replacement
It is middle to extract the corresponding download path of the application program identification, as the target download path.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811204223.4A CN109522060A (en) | 2018-10-16 | 2018-10-16 | The restoring method and terminal device of business scenario |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811204223.4A CN109522060A (en) | 2018-10-16 | 2018-10-16 | The restoring method and terminal device of business scenario |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109522060A true CN109522060A (en) | 2019-03-26 |
Family
ID=65772343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811204223.4A Pending CN109522060A (en) | 2018-10-16 | 2018-10-16 | The restoring method and terminal device of business scenario |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522060A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061407A (en) * | 2019-12-25 | 2020-04-24 | 维沃移动通信有限公司 | Video program operation control method, electronic device, and storage medium |
CN112579264A (en) * | 2019-09-30 | 2021-03-30 | 上海游昆信息技术有限公司 | Application program jumping method, terminal and computer storage medium |
CN114091027A (en) * | 2021-12-01 | 2022-02-25 | 海光信息技术股份有限公司 | Information configuration method, data access method, related device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882974A (en) * | 2012-10-15 | 2013-01-16 | 焦点科技股份有限公司 | Method for saving website access resource by website identification version number |
CN106304040A (en) * | 2015-05-25 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The management method of Mobile solution, device |
US20180101678A1 (en) * | 2016-10-10 | 2018-04-12 | Stephen Rosa | Method and System for Countering Ransomware |
WO2018090642A1 (en) * | 2016-11-15 | 2018-05-24 | 平安科技(深圳)有限公司 | Application program upgrade method, user terminal and storage medium |
-
2018
- 2018-10-16 CN CN201811204223.4A patent/CN109522060A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882974A (en) * | 2012-10-15 | 2013-01-16 | 焦点科技股份有限公司 | Method for saving website access resource by website identification version number |
CN106304040A (en) * | 2015-05-25 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The management method of Mobile solution, device |
US20180101678A1 (en) * | 2016-10-10 | 2018-04-12 | Stephen Rosa | Method and System for Countering Ransomware |
WO2018090642A1 (en) * | 2016-11-15 | 2018-05-24 | 平安科技(深圳)有限公司 | Application program upgrade method, user terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
孙翌博;邰淳亮;宫婧;: "Android重包装应用程序静态分析系统的设计", 科技资讯, no. 29 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579264A (en) * | 2019-09-30 | 2021-03-30 | 上海游昆信息技术有限公司 | Application program jumping method, terminal and computer storage medium |
CN112579264B (en) * | 2019-09-30 | 2023-03-10 | 上海游昆信息技术有限公司 | Application program jumping method, terminal and computer storage medium |
CN111061407A (en) * | 2019-12-25 | 2020-04-24 | 维沃移动通信有限公司 | Video program operation control method, electronic device, and storage medium |
CN114091027A (en) * | 2021-12-01 | 2022-02-25 | 海光信息技术股份有限公司 | Information configuration method, data access method, related device and equipment |
CN114091027B (en) * | 2021-12-01 | 2023-08-29 | 海光信息技术股份有限公司 | Information configuration method, data access method, related device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3627759A1 (en) | Method and apparatus for encrypting data, method and apparatus for training machine learning model, and electronic device | |
US10956596B2 (en) | System and method for automatically securing sensitive data in public cloud using a serverless architecture | |
CN107018125A (en) | A kind of block catenary system, date storage method and device | |
CN107395665A (en) | A kind of block chain service handling and business common recognition method and device | |
US20190317888A1 (en) | Application testing for security vulnerabilities | |
CN110458559B (en) | Transaction data processing method, device, server and storage medium | |
CN108694238A (en) | Business data processing method, device based on block chain and storage medium | |
CN109522060A (en) | The restoring method and terminal device of business scenario | |
US20160048703A1 (en) | Securing integrity and consistency of a cloud storage service with efficient client operations | |
CN108073429B (en) | Payment mode configuration method, device, equipment and storage medium | |
US11500992B2 (en) | Trusted execution environment-based model training methods and apparatuses | |
CN110222775A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
US20180159724A1 (en) | Automatic task tracking | |
US20220261894A1 (en) | Method and apparatus for issuing smart contract | |
CN111598575A (en) | Business process control method and device, electronic equipment and readable storage medium | |
US20210406004A1 (en) | System and method for implementing a code audit tool | |
CN111967035A (en) | Model training method and device and electronic equipment | |
CN109902493A (en) | The delivery method and server of script | |
CN105320711A (en) | Mass data access method and system using the same | |
CN112507323A (en) | Model training method and device based on unidirectional network and computing equipment | |
CN116015840B (en) | Data operation auditing method, system, equipment and storage medium | |
CN116126380A (en) | Firmware upgrading method and device, electronic equipment and storage medium | |
CN110334906A (en) | Business data processing method, device, computer equipment and storage medium | |
CN114398678A (en) | Registration verification method and device for preventing electronic file from being tampered, electronic equipment and medium | |
CN113095806B (en) | Work order processing method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1262760 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |