CN107590397A - A kind of method and apparatus for showing embedded webpage - Google Patents

A kind of method and apparatus for showing embedded webpage Download PDF

Info

Publication number
CN107590397A
CN107590397A CN201710845777.1A CN201710845777A CN107590397A CN 107590397 A CN107590397 A CN 107590397A CN 201710845777 A CN201710845777 A CN 201710845777A CN 107590397 A CN107590397 A CN 107590397A
Authority
CN
China
Prior art keywords
web page
page files
webpage
embedded
embedded webpage
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
Application number
CN201710845777.1A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201710845777.1A priority Critical patent/CN107590397A/en
Publication of CN107590397A publication Critical patent/CN107590397A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of method and apparatus for showing embedded webpage, belong to electronic technology field.Methods described includes:Sent to background server and request is obtained to the web page files of each embedded webpage in destination application;Receive the web page files after being encrypted corresponding to each embedded webpage that background server is sent;According to default decipherment algorithm, processing is decrypted to the web page files after the encryption, obtains the web page files after being decrypted corresponding to each embedded webpage;Whenever the idsplay order to the first webpage in each embedded webpage is received, in the web page files after decryption corresponding to each embedded webpage, the web page files after being decrypted corresponding to first webpage are obtained;Show the first webpage corresponding to the web page files got.Using the present invention, security can be improved.

Description

A kind of method and apparatus for showing embedded webpage
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and apparatus for showing embedded webpage.
Background technology
With the development of electronic technology and Internet technology, the terminal such as mobile phone, computer is widely used, accordingly Terminal on application program species is more and more, function is increasingly abundanter.Wherein, often embedded in many application programs There is webpage.In such cases, can be to the webpage when terminal receives the idsplay order to certain webpage of application program Web page server obtains the webpage, and it is shown.
During the present invention is realized, inventor has found that prior art at least has problems with:
Based on above-mentioned processing mode, terminal to the web page server of each embedded webpage when obtaining webpage, easily by net The network equipment on transmission link between network terminal and web page server is kidnapped, and data are tampered, so as to, cause security compared with It is low.
The content of the invention
In order to solve the problems, such as that security present in correlation technique is relatively low, the embodiments of the invention provide in one kind display The method and apparatus of embedding webpage.The technical scheme is as follows:
First aspect, there is provided a kind of method for showing embedded webpage, methods described include:
Sent to background server and request is obtained to the web page files of each embedded webpage in destination application;
Receive the web page files after being encrypted corresponding to each embedded webpage that background server is sent;
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption, obtained described each embedded Web page files after being decrypted corresponding to webpage;
Whenever the idsplay order to the first webpage in each embedded webpage is received, corresponding to each embedded webpage In web page files after decryption, the web page files after being decrypted corresponding to first webpage are obtained;
Show the first webpage corresponding to the web page files got.
Optionally, methods described also includes:
Web page files after encryption corresponding to each embedded webpage that the background server received is sent, add It is downloaded in internal memory;
It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each Web page files after being decrypted corresponding to embedded webpage, including:
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtains institute The web page files after being decrypted corresponding to each embedded webpage are stated, and the web page files after decryption corresponding to each embedded webpage are deposited Store up in internal memory.
Optionally, the web page files acquisition sent to background server to each embedded webpage in destination application please Ask, including:
Often reach the default acquisition cycle, the webpage to each embedded webpage in destination application is sent to background server File acquisition is asked.
Optionally, the web page files acquisition sent to background server to each embedded webpage in destination application please Ask, including:
When receiving the web page files update notification of background server transmission, sent to background server to intended application The web page files of each embedded webpage obtain request in program.
Optionally, the web page files after being encrypted corresponding to each embedded webpage are signed and added corresponding to each embedded webpage Web page files after close;
It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each Web page files after being decrypted corresponding to embedded webpage, including:
Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
If the web page files after encryption according to default decipherment algorithm, are decrypted processing, obtained by sign test success Web page files after being decrypted corresponding to each embedded webpage.
Second aspect, there is provided a kind of device for showing embedded webpage, described device include:
Sending module, the web page files of each embedded webpage in destination application are obtained for being sent to background server Request;
Receiving module, for receiving the webpage text after being encrypted corresponding to each embedded webpage of background server transmission Part;
Deciphering module, for according to default decipherment algorithm, processing being decrypted to the web page files after the encryption, obtains Web page files to after decryption corresponding to each embedded webpage;
Acquisition module, for whenever the idsplay order to the first webpage in each embedded webpage is received, described each In web page files after being decrypted corresponding to embedded webpage, the web page files after being decrypted corresponding to first webpage are obtained;
Display module, for showing the first webpage corresponding to the web page files got.
Optionally, described device also includes:
Load-on module, after encryption corresponding to each embedded webpage for sending the background server received Web page files, be loaded into internal memory;
The deciphering module, is used for:
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtains institute The web page files after being decrypted corresponding to each embedded webpage are stated, and the web page files after decryption corresponding to each embedded webpage are deposited Store up in internal memory.
Optionally, the sending module, is used for:
Often reach the default acquisition cycle, the webpage to each embedded webpage in destination application is sent to background server File acquisition is asked.
Optionally, the sending module, is used for:
When receiving the web page files update notification of background server transmission, sent to background server to intended application The web page files of each embedded webpage obtain request in program.
Optionally, the web page files after being encrypted corresponding to each embedded webpage are signed and added corresponding to each embedded webpage Web page files after close;
The deciphering module, is used for:
Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
If the web page files after encryption according to default decipherment algorithm, are decrypted processing, obtained by sign test success Web page files after being decrypted corresponding to each embedded webpage.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, it can be previously stored with the background server of destination application in destination application Web page files after being encrypted corresponding to each embedded webpage.Terminal can be sent to background server to each interior in destination application The web page files of embedding webpage obtain request, after background server receives web page files acquisition request, can be sent to terminal each Web page files after being encrypted corresponding to embedded webpage.Accordingly, terminal can receive each embedded webpage of background server transmission Web page files after corresponding encryption, and then, the web page files after encryption can be decrypted according to default decipherment algorithm Processing, obtain the web page files after being decrypted corresponding to each embedded webpage.During the use of terminal, whenever receiving to each interior During the idsplay order of the first webpage in embedding webpage, terminal can corresponding to each embedded webpage decryption after web page files in, The web page files after being decrypted corresponding to the first webpage are obtained, and then, the first net corresponding to the web page files got can be shown Page.So, what terminal to server was got is the web page files after encryption, and the network equipment on transmission link can not be got The data of transmission, the data of transmission can not be distorted, it is thus possible to improve security.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method flow diagram for showing embedded webpage provided in an embodiment of the present invention;
Fig. 2 is a kind of system framework schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram for showing embedded webpage provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram for showing embedded webpage provided in an embodiment of the present invention;
Fig. 5 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
The embodiments of the invention provide a kind of method for showing embedded webpage, the executive agent of this method is terminal.Wherein, The terminal can be provided with the terminal of the application program comprising embedded webpage, for example can be that mobile phone, tablet personal computer etc. are mobile Terminal.The terminal can include the parts such as processor, memory, screen, transceiver.Processor can be CPU (Central Processing Unit, CPU) etc., it is determined for the web page files after being decrypted corresponding to each embedded webpage Relevant treatment.Memory can be RAM (Random Access Memory, random access memory), Flash (flash memory) Deng can be used for data, the data needed for processing procedure that storage receives, the data generated in processing procedure etc., such as target Web page files after being decrypted corresponding to each embedded webpage that application program includes etc..Screen can be touch screen, can be used for showing Show each embedded webpage, can be also used for detection touching signal etc..Transceiver can be used for carrying out data transmission with miscellaneous equipment, example Such as, the web page files after being encrypted corresponding to each embedded webpage that background server is sent are received.
Below in conjunction with embodiment, the handling process shown in Fig. 1 is described in detail, content can be as Under:
Step 101, sent to background server and request is obtained to the web page files of each embedded webpage in destination application.
Wherein, destination application can be that to be installed in terminal include any application program of embedded webpage.
In force, web page files corresponding to each embedded webpage in destination application can be previously stored with terminal to obtain Trigger event is taken, whenever detecting that web page files obtain trigger event generation, terminal can be to the backstage of destination application Server is sent obtains request to the web page files of each embedded webpage, wherein, web page files, which are obtained in request, can carry end End mark, terminal iidentification can be IMEI (International Mobile Equipment Identity, the world of terminal Mobile equipment identity code) or terminal in current logon account account identification, as shown in Figure 2.
Optionally, trigger event difference is obtained based on above-mentioned web page files, the processing mode of step 101 can be with a variety of more Sample, it following present several feasible processing modes:
Mode one, often reach the default acquisition cycle, sent to background server to each embedded net in destination application The web page files of page obtain request.
In force, it can preset to be provided with terminal and obtain the cycle, wherein, it can be pre- by technical staff to obtain the cycle First set.When often reaching the default acquisition cycle, terminal can send webpage text to the background server of destination application Part obtains request.Wherein, the default acquisition cycle can be less numerical value, and so, the web page files that webpage is embedded when certain enter After row renewal, terminal can get the web page files of each embedded webpage after renewal in time.
Mode two, when receiving the web page files update notification of background server transmission, to background server transmission pair The web page files of each embedded webpage obtain request in destination application.
In force, after the web page files of the embedded webpage of certain stored in background server are updated, backstage takes Being engaged in device can be to terminal transmission web page files update notification, and accordingly, terminal can receive the webpage text of background server transmission Part update notification, and then, it can be sent to background server and the web page files of each embedded webpage in destination application are obtained Request.
Step 102, the web page files after being encrypted corresponding to each embedded webpage that background server is sent are received.
In force, technical staff can trigger exploitation terminal acquisition mesh in development goal application program by operating The web page files for each embedded webpage that mark application program includes, wherein, web page files can include html (hypertext markup languages Speech) file, JS (literal translation formula script) file, a kind of swf (wherein, swf is file name) file etc..Get each embedded After the web page files of webpage, a file bag can be wrapped into, and then, after packing that can be to including each web page files File bag be encrypted (the info web in each web page files is encrypted, such as, exploitation terminal can be with The file bag after packing is encrypted using the key prestored), the file bag after being encrypted (can be described as making by oneself Adopted file bag), that is, obtain the web page files after being encrypted corresponding to each embedded webpage., can be with after web page files after being encrypted The background server of destination application is sent it to, accordingly, background server can receive adding for exploitation terminal transmission Web page files after close, and stored.
After terminal sends the web page files acquisition request to each embedded webpage of destination application to background server, after The web page files that platform server can be sent with receiving terminal obtain request, and then, background server can obtain what is prestored Web page files after being encrypted in destination application corresponding to each embedded webpage (can obtain and include each embedded net after encryption The file bag of the web page files of page), and then, the web page files after the encryption got can be sent to terminal.
In addition, after exploitation terminal obtains user-defined file bag, signature processing can also be carried out to it, oneself after sign File bag is defined, and then, the user-defined file bag after signature can be sent to background server.For such a situation, backstage takes After business device receives the web page files acquisition request of terminal transmission, the user-defined file bag after signature can be sent to terminal, i.e., Signature corresponding to each embedded webpage and the web page files after encryption are sent to terminal, accordingly, terminal can receive background service Signature corresponding to each embedded webpage that device is sent and the web page files after encryption.
Step 103, according to default decipherment algorithm, processing is decrypted to the web page files after encryption, obtained each embedded Web page files after being decrypted corresponding to webpage.
In force, the decipherment algorithm of corresponding AES can be previously stored with terminal, wherein, AES can be with It is the algorithm for the web page files of each embedded webpage to be encrypted.Terminal receives the encryption of background server transmission After web page files afterwards, default decipherment algorithm can be based on, processing is decrypted to the web page files after encryption, obtained in each Web page files after being decrypted corresponding to embedding webpage.For example, key can be previously stored with terminal, when receiving background server After web page files after the encryption of transmission, it can utilize the web page files after the key pair encryption prestored that place is decrypted Reason, obtain the web page files after being decrypted corresponding to each embedded webpage.
The situation of web page files after signing and encrypt corresponding to each embedded webpage for the data that terminal receives, eventually End can carry out sign test processing to the web page files after signature and encryption first, if sign test success, terminal can be further Processing is decrypted to the web page files after encryption, obtains the web page files after being decrypted corresponding to each embedded webpage.
Optionally, after terminal receives the web page files after encryption, can be loaded into internal memory, accordingly, terminal It can also be handled as follows:Webpage text after encryption corresponding to each embedded webpage that the background server received is sent Part, it is loaded into internal memory.Accordingly, the processing procedure of step 103 can be as follows:According to default decipherment algorithm, in internal memory Encryption after web page files processing is decrypted, obtain the web page files after decrypting corresponding to each embedded webpage, and will be each interior Web page files after being decrypted corresponding to embedding webpage are stored into internal memory.
In force, for prevent corresponding to each embedded webpage the web page files after decryption terminal local be held as a hostage or by Distort, after terminal receives the web page files after the encryption of background server transmission, the web page files after encryption can be loaded Into internal memory, and can also be by the web page files storage after encryption into the disk of local, so that destination application is next During startup, the web page files after the encryption that will can be stored in the disk of local are loaded into internal memory.Terminal is by the net after encryption After page file is loaded into internal memory, processing can be decrypted to the web page files after the encryption in internal memory in terminal, obtain in each Web page files after being decrypted corresponding to embedding webpage, and then, the web page files after decryption corresponding to each embedded webpage can be stored Into internal memory.
In addition, terminal decrypted after web page files after, when each web page files are stored in internal memory, terminal can obtain The file identification (for example can be file name) of each web page files, and then, file identification can be based on, to each after decryption Web page files are ranked up and stored.For example, file identification is Arabic numerals, then terminal can according to file identification by Small or ascending order is arrived greatly, and the web page files after each decryption are ranked up.In another example file identification is English words Mother, then terminal can be according to the order of file identification from front to back or from back to front, to the web page files progress after each decryption Sequence.
Step 104, whenever the idsplay order to the first webpage in each embedded webpage is received, in each embedded webpage pair In web page files after the decryption answered, the web page files after being decrypted corresponding to the first webpage are obtained.
In force, during user's using terminal, when user wants to check certain embedded webpage, behaviour can be passed through Make, triggering terminal receives the idsplay order that webpage (can be described as the first webpage) is embedded to this, and now, terminal can solve in advance In web page files after being decrypted corresponding to close obtained each embedded webpage, the webpage text after being decrypted corresponding to the first webpage is obtained Part.
Step 105, the first webpage corresponding to the web page files got is shown.
In force, browser kernel can also be embedded with destination application.When terminal gets the first webpage After web page files, the web page files of the first webpage, the first webpage corresponding to display can be read by embedded browser kernel.
In the embodiment of the present invention, it can be previously stored with the background server of destination application in destination application Web page files after being encrypted corresponding to each embedded webpage.Terminal can be sent to background server to each interior in destination application The web page files of embedding webpage obtain request, after background server receives web page files acquisition request, can be sent to terminal each Web page files after being encrypted corresponding to embedded webpage.Accordingly, terminal can receive each embedded webpage of background server transmission Web page files after corresponding encryption, and then, the web page files after encryption can be decrypted according to default decipherment algorithm Processing, obtain the web page files after being decrypted corresponding to each embedded webpage.During the use of terminal, whenever receiving to each interior During the idsplay order of the first webpage in embedding webpage, terminal can corresponding to each embedded webpage decryption after web page files in, The web page files after being decrypted corresponding to the first webpage are obtained, and then, the first net corresponding to the web page files got can be shown Page.So, what terminal to server was got is the web page files after encryption, and the network equipment on transmission link can not be got The data of transmission, the data of transmission can not be distorted, it is thus possible to improve security.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of device for showing embedded webpage, such as Fig. 3 institutes Show, the device includes:
Sending module 310, for sending the web page files to each embedded webpage in destination application to background server Obtain request;
Receiving module 320, for receiving the webpage after being encrypted corresponding to each embedded webpage of background server transmission File;
Deciphering module 330, for according to default decipherment algorithm, place to be decrypted to the web page files after the encryption Reason, obtain the web page files after being decrypted corresponding to each embedded webpage;
Acquisition module 340, for whenever the idsplay order to the first webpage in each embedded webpage is received, described In web page files after being decrypted corresponding to each embedded webpage, the web page files after being decrypted corresponding to first webpage are obtained;
Display module 350, for showing the first webpage corresponding to the web page files got.
Optionally, as shown in figure 4, described device also includes:
Load-on module 360, for corresponding to each embedded webpage for sending the background server received plus Web page files after close, are loaded into internal memory;
The deciphering module 330, is used for:
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtains institute The web page files after being decrypted corresponding to each embedded webpage are stated, and the web page files after decryption corresponding to each embedded webpage are deposited Store up in internal memory.
Optionally, the sending module 310, is used for:
Often reach the default acquisition cycle, the webpage to each embedded webpage in destination application is sent to background server File acquisition is asked.
Optionally, the sending module 310, is used for:
When receiving the web page files update notification of background server transmission, sent to background server to intended application The web page files of each embedded webpage obtain request in program.
Optionally, the web page files after being encrypted corresponding to each embedded webpage are signed and added corresponding to each embedded webpage Web page files after close;
The deciphering module 330, is used for:
Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
If the web page files after encryption according to default decipherment algorithm, are decrypted processing, obtained by sign test success Web page files after being decrypted corresponding to each embedded webpage.
In the embodiment of the present invention, it can be previously stored with the background server of destination application in destination application Web page files after being encrypted corresponding to each embedded webpage.Terminal can be sent to background server to each interior in destination application The web page files of embedding webpage obtain request, after background server receives web page files acquisition request, can be sent to terminal each Web page files after being encrypted corresponding to embedded webpage.Accordingly, terminal can receive each embedded webpage of background server transmission Web page files after corresponding encryption, and then, the web page files after encryption can be decrypted according to default decipherment algorithm Processing, obtain the web page files after being decrypted corresponding to each embedded webpage.During the use of terminal, whenever receiving to each interior During the idsplay order of the first webpage in embedding webpage, terminal can corresponding to each embedded webpage decryption after web page files in, The web page files after being decrypted corresponding to the first webpage are obtained, and then, the first net corresponding to the web page files got can be shown Page.So, what terminal to server was got is the web page files after encryption, and the network equipment on transmission link can not be got The data of transmission, the data of transmission can not be distorted, it is thus possible to improve security.
It should be noted that:The device for the embedded webpage of display that above-described embodiment provides in the embedded webpage of display, only with The division progress of above-mentioned each functional module, can be as needed and by above-mentioned function distribution by not for example, in practical application Same functional module is completed, i.e., the internal structure of terminal is divided into different functional modules, to complete whole described above Or partial function.In addition, the method for the device and the embedded webpage of display for the embedded webpage of display that above-described embodiment provides is implemented Example belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 5 is refer to, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, the terminal can be used for The method of the embedded webpage of display provided in above-described embodiment is provided.Specifically:
Terminal 500 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters The memory 120 of calculation machine readable storage medium storing program for executing, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include one or the processing of more than one processing core The part such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 5 is not formed pair The restriction of terminal, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 110 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also be communicated by radio communication with network and other equipment.The radio communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation Software program and module, so as to perform various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function) etc.;Storage data field can store uses created number according to terminal 500 According to (such as voice data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120 access.
Input block 130 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use Family on or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can reception processing device 180 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.Except touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user's input or be supplied to the information and terminal 500 of user Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on or near it After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event Corresponding visual output is provided on display panel 141.Although in Figure 5, touch sensitive surface 131 and display panel 141 are conducts Two independent parts come realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 with display Panel 141 is integrated and realizes input and output function.
Terminal 500 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity transducer can close display when terminal 500 is moved in one's ear Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely The other sensors such as the gyroscope that can also configure in terminal 500, barometer, hygrometer, thermometer, infrared ray sensor, herein Repeat no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal 500.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 161, sound is converted to by loudspeaker 161 by circuit 160 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Voice data is converted to, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to such as another end End, or voice data is exported to memory 120 further to handle.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 500.
WiFi belongs to short range wireless transmission technology, and terminal 500 can help user's transceiver electronicses by WiFi module 170 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 is shown WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 500, can exist as needed completely Do not change in the essential scope of invention and omit.
Processor 180 is the control centre of terminal 500, utilizes various interfaces and each portion of connection whole mobile phone Point, by running or performing the software program and/or module that are stored in memory 120, and call and be stored in memory 120 Interior data, the various functions and processing data of terminal 500 are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 500 also includes the power supply 190 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 500 can also include camera, bluetooth module etc., will not be repeated here.Specifically in this reality Apply in example, the display unit of terminal 500 is touch-screen display, and terminal 500 also includes memory, and one or one More than program, one of them or more than one program storage in memory, and be configured to by one or one with Upper computing device states one or more than one program bag contains the instruction for being used for being operated below:
Sent to background server and request is obtained to the web page files of each embedded webpage in destination application;
Receive the web page files after being encrypted corresponding to each embedded webpage that background server is sent;
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption, obtained described each embedded Web page files after being decrypted corresponding to webpage;
Whenever the idsplay order to the first webpage in each embedded webpage is received, corresponding to each embedded webpage In web page files after decryption, the web page files after being decrypted corresponding to first webpage are obtained;
Show the first webpage corresponding to the web page files got.
Optionally, methods described also includes:
Web page files after encryption corresponding to each embedded webpage that the background server received is sent, add It is downloaded in internal memory;
It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each Web page files after being decrypted corresponding to embedded webpage, including:
According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtains institute The web page files after being decrypted corresponding to each embedded webpage are stated, and the web page files after decryption corresponding to each embedded webpage are deposited Store up in internal memory.
Optionally, the web page files acquisition sent to background server to each embedded webpage in destination application please Ask, including:
Often reach the default acquisition cycle, the webpage to each embedded webpage in destination application is sent to background server File acquisition is asked.
Optionally, the web page files acquisition sent to background server to each embedded webpage in destination application please Ask, including:
When receiving the web page files update notification of background server transmission, sent to background server to intended application The web page files of each embedded webpage obtain request in program.
Optionally, the web page files after being encrypted corresponding to each embedded webpage are signed and added corresponding to each embedded webpage Web page files after close;
It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each Web page files after being decrypted corresponding to embedded webpage, including:
Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
If the web page files after encryption according to default decipherment algorithm, are decrypted processing, obtained by sign test success Web page files after being decrypted corresponding to each embedded webpage.
In the embodiment of the present invention, it can be previously stored with the background server of destination application in destination application Web page files after being encrypted corresponding to each embedded webpage.Terminal can be sent to background server to each interior in destination application The web page files of embedding webpage obtain request, after background server receives web page files acquisition request, can be sent to terminal each Web page files after being encrypted corresponding to embedded webpage.Accordingly, terminal can receive each embedded webpage of background server transmission Web page files after corresponding encryption, and then, the web page files after encryption can be decrypted according to default decipherment algorithm Processing, obtain the web page files after being decrypted corresponding to each embedded webpage.During the use of terminal, whenever receiving to each interior During the idsplay order of the first webpage in embedding webpage, terminal can corresponding to each embedded webpage decryption after web page files in, The web page files after being decrypted corresponding to the first webpage are obtained, and then, the first net corresponding to the web page files got can be shown Page.So, what terminal to server was got is the web page files after encryption, and the network equipment on transmission link can not be got The data of transmission, the data of transmission can not be distorted, it is thus possible to improve security.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. method for showing embedded webpage, it is characterised in that methods described includes:
    Sent to background server and request is obtained to the web page files of each embedded webpage in destination application;
    Receive the web page files after being encrypted corresponding to each embedded webpage that background server is sent;
    According to default decipherment algorithm, processing is decrypted to the web page files after the encryption, obtains each embedded webpage Web page files after corresponding decryption;
    Whenever the idsplay order to the first webpage in each embedded webpage is received, in decryption corresponding to each embedded webpage In web page files afterwards, the web page files after being decrypted corresponding to first webpage are obtained;
    Show the first webpage corresponding to the web page files got.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Web page files after encryption corresponding to each embedded webpage that the background server received is sent, are loaded into In internal memory;
    It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each embedded Web page files after being decrypted corresponding to webpage, including:
    According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtained described each Web page files after being decrypted corresponding to embedded webpage, and the web page files storage after decryption corresponding to each embedded webpage is arrived In internal memory.
  3. 3. according to the method for claim 1, it is characterised in that described to be sent to background server in destination application The web page files of each embedded webpage obtain request, including:
    Often reach the default acquisition cycle, the web page files to each embedded webpage in destination application are sent to background server Obtain request.
  4. 4. according to the method for claim 1, it is characterised in that described to be sent to background server in destination application The web page files of each embedded webpage obtain request, including:
    When receiving the web page files update notification of background server transmission, sent to background server to destination application In each embedded webpage web page files obtain request.
  5. 5. according to the method described in claim 1-4 any one, it is characterised in that after being encrypted corresponding to each embedded webpage Web page files be signature corresponding to each embedded webpage and the web page files after encryption;
    It is described that processing is decrypted to the web page files after the encryption according to default decipherment algorithm, obtain described each embedded Web page files after being decrypted corresponding to webpage, including:
    Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
    If according to default decipherment algorithm, processing is decrypted in the web page files after encryption by sign test success, obtain described Web page files after being decrypted corresponding to each embedded webpage.
  6. 6. a kind of device for showing embedded webpage, it is characterised in that described device includes:
    Sending module, asked for sending to obtain the web page files of each embedded webpage in destination application to background server Ask;
    Receiving module, for receiving the web page files after being encrypted corresponding to each embedded webpage of background server transmission;
    Deciphering module, for according to default decipherment algorithm, processing being decrypted to the web page files after the encryption, obtains institute State the web page files after being decrypted corresponding to each embedded webpage;
    Acquisition module, for whenever the idsplay order to the first webpage in each embedded webpage is received, described each embedded In web page files after being decrypted corresponding to webpage, the web page files after being decrypted corresponding to first webpage are obtained;
    Display module, for showing the first webpage corresponding to the web page files got.
  7. 7. device according to claim 6, it is characterised in that described device also includes:
    Load-on module, for the net after encryption corresponding to each embedded webpage for sending the background server received Page file, it is loaded into internal memory;
    The deciphering module, is used for:
    According to default decipherment algorithm, processing is decrypted to the web page files after the encryption in internal memory, obtained described each Web page files after being decrypted corresponding to embedded webpage, and the web page files storage after decryption corresponding to each embedded webpage is arrived In internal memory.
  8. 8. device according to claim 6, it is characterised in that the sending module, be used for:
    Often reach the default acquisition cycle, the web page files to each embedded webpage in destination application are sent to background server Obtain request.
  9. 9. device according to claim 6, it is characterised in that the sending module, be used for:
    When receiving the web page files update notification of background server transmission, sent to background server to destination application In each embedded webpage web page files obtain request.
  10. 10. according to the device described in claim 6-9 any one, it is characterised in that encrypted corresponding to each embedded webpage Web page files afterwards are signature corresponding to each embedded webpage and the web page files after encryption;
    The deciphering module, is used for:
    Sign test processing is carried out to the web page files after signing and encrypting corresponding to each embedded webpage;
    If according to default decipherment algorithm, processing is decrypted in the web page files after encryption by sign test success, obtain described Web page files after being decrypted corresponding to each embedded webpage.
CN201710845777.1A 2017-09-19 2017-09-19 A kind of method and apparatus for showing embedded webpage Pending CN107590397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710845777.1A CN107590397A (en) 2017-09-19 2017-09-19 A kind of method and apparatus for showing embedded webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710845777.1A CN107590397A (en) 2017-09-19 2017-09-19 A kind of method and apparatus for showing embedded webpage

Publications (1)

Publication Number Publication Date
CN107590397A true CN107590397A (en) 2018-01-16

Family

ID=61048101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710845777.1A Pending CN107590397A (en) 2017-09-19 2017-09-19 A kind of method and apparatus for showing embedded webpage

Country Status (1)

Country Link
CN (1) CN107590397A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418797A (en) * 2018-01-31 2018-08-17 金蝶蝶金云计算有限公司 Web access method, device, computer equipment and storage medium
CN109785222A (en) * 2019-01-17 2019-05-21 杭州基尔区块链科技有限公司 A method of the information for webpage is quickly embedded in and extracts
CN110086814A (en) * 2019-04-30 2019-08-02 广州酷狗计算机科技有限公司 A kind of method, apparatus and storage medium of data acquisition
CN110390065A (en) * 2019-07-31 2019-10-29 腾讯科技(深圳)有限公司 Webpage acquisition methods, apparatus and system
WO2019223049A1 (en) * 2018-05-24 2019-11-28 网宿科技股份有限公司 Method and apparatus for sending form request
CN110851754A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Webpage access method and system, computer system and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026746A (en) * 2006-02-22 2007-08-29 中国软件与技术服务股份有限公司 Method for real-time inserting signature and verifying signature for digital television programme flow
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage
CN102412966A (en) * 2011-09-14 2012-04-11 福建伊时代信息科技股份有限公司 Data management apparatus and method, and data delivery system and method
CN102685108A (en) * 2012-03-31 2012-09-19 奇智软件(北京)有限公司 Method and device for adding and deciphering webpage enciphered data
CN106372465A (en) * 2016-08-30 2017-02-01 北京深思数盾科技股份有限公司 Safety management method and system for dynamic link library and electronic equipment
CN106411880A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Security encryption and decryption methods and devices for game data
CN106686002A (en) * 2017-02-28 2017-05-17 北京潘达互娱科技有限公司 Data transmission and reception methods and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026746A (en) * 2006-02-22 2007-08-29 中国软件与技术服务股份有限公司 Method for real-time inserting signature and verifying signature for digital television programme flow
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage
CN102412966A (en) * 2011-09-14 2012-04-11 福建伊时代信息科技股份有限公司 Data management apparatus and method, and data delivery system and method
CN102685108A (en) * 2012-03-31 2012-09-19 奇智软件(北京)有限公司 Method and device for adding and deciphering webpage enciphered data
CN106372465A (en) * 2016-08-30 2017-02-01 北京深思数盾科技股份有限公司 Safety management method and system for dynamic link library and electronic equipment
CN106411880A (en) * 2016-09-27 2017-02-15 北京奇虎科技有限公司 Security encryption and decryption methods and devices for game data
CN106686002A (en) * 2017-02-28 2017-05-17 北京潘达互娱科技有限公司 Data transmission and reception methods and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418797A (en) * 2018-01-31 2018-08-17 金蝶蝶金云计算有限公司 Web access method, device, computer equipment and storage medium
CN108418797B (en) * 2018-01-31 2020-10-23 金蝶蝶金云计算有限公司 Webpage access method and device, computer equipment and storage medium
WO2019223049A1 (en) * 2018-05-24 2019-11-28 网宿科技股份有限公司 Method and apparatus for sending form request
CN110851754A (en) * 2018-07-27 2020-02-28 北京京东尚科信息技术有限公司 Webpage access method and system, computer system and computer readable storage medium
CN109785222A (en) * 2019-01-17 2019-05-21 杭州基尔区块链科技有限公司 A method of the information for webpage is quickly embedded in and extracts
CN110086814A (en) * 2019-04-30 2019-08-02 广州酷狗计算机科技有限公司 A kind of method, apparatus and storage medium of data acquisition
CN110086814B (en) * 2019-04-30 2021-11-02 广州酷狗计算机科技有限公司 Data acquisition method and device and storage medium
CN110390065A (en) * 2019-07-31 2019-10-29 腾讯科技(深圳)有限公司 Webpage acquisition methods, apparatus and system
CN110390065B (en) * 2019-07-31 2024-02-06 腾讯科技(深圳)有限公司 Webpage acquisition method, device and system

Similar Documents

Publication Publication Date Title
CN103616981B (en) application processing method, device and mobile terminal
CN105704123B (en) A kind of methods, devices and systems for carrying out business processing
CN104639672B (en) The method and apparatus for carrying out domain name mapping
CN107590397A (en) A kind of method and apparatus for showing embedded webpage
CN104519485B (en) Communication means, device and system between a kind of terminal
CN104767863B (en) The unlocking method and terminal of terminal screen
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN105681032B (en) Method for storing cipher key, key management method and device
CN103390034B (en) Method, device, terminal and the server of picture presentation
CN106598584A (en) Resource file processing method, apparatus and system
CN104850406B (en) A kind of method and apparatus for switching the page
CN104978115A (en) Content display method and device
CN104699501B (en) A kind of method and device for running application program
CN107040609A (en) A kind of network request treating method and apparatus
CN106709282B (en) resource file decryption method and device
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN104852885A (en) Method, device and system for verifying verification code
CN104104656B (en) Give the method and device of account number for change
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN107171740A (en) Radio frequency interference processing method, device, storage medium and terminal
CN104753672B (en) The method, apparatus and terminal of account authorization
CN105488433B (en) Terminal key generation method and device
CN107465646A (en) One kind applies method for down loading, system and relevant device
CN104166899B (en) The method and terminal of voice interface
CN106708555A (en) Method and device for loading plug-ins

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180116