CN107145552A - Page access method, equipment and computer-readable storage medium - Google Patents

Page access method, equipment and computer-readable storage medium Download PDF

Info

Publication number
CN107145552A
CN107145552A CN201710291921.1A CN201710291921A CN107145552A CN 107145552 A CN107145552 A CN 107145552A CN 201710291921 A CN201710291921 A CN 201710291921A CN 107145552 A CN107145552 A CN 107145552A
Authority
CN
China
Prior art keywords
customer parameter
account
page
keeps
terminal
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
CN201710291921.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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710291921.1A priority Critical patent/CN107145552A/en
Publication of CN107145552A publication Critical patent/CN107145552A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of page access method, equipment and computer-readable storage medium, wherein, this method includes:Terminal obtains the accessing page request for coming from application, and the accessing page request is used to ask to access the Web page being stored on WWW Web server;The accessing page request is responded, customer parameter request is sent to keeps, the customer parameter is asked for asking to access customer parameter required during the Web page;Receive the customer parameter for carrying the customer parameter response that the keeps are sent;The customer parameter is sent to the application, so that the application accesses the Web page according to the customer parameter.Technical scheme provided in an embodiment of the present invention can simplify the operation for checking Web page in the application, so as to improve the efficiency for checking operation.

Description

Page access method, equipment and computer-readable storage medium
Technical field
The present invention relates to field of terminal, more particularly to a kind of page access method, equipment and computer-readable storage medium.
Background technology
With the fast development of mobile communication and mobile Internet, substantial amounts of user is interconnected using mobile Internet The access process of network service.
User accesses Internet service on mobile terminals for convenience, and the provider of Internet service provides a user two The user interface of access service is planted, one kind is the Protozoic of the client offer of Mobile solution software (Application, APP) Face (View), another is WWW (Web) page based on H5 technologies.
When user hits the internet industry for needing to access by Web page mode at Internet service A primary interface midpoint During business B URL, because Internet service A APP can not obtain the body of the progress Internet service B under Web page access mode Accounts information needed for part certification, therefore, in the corresponding Web pages of opening Internet service B URL, user needs again Input account and password, thus these operations performed for user and bother very much, and cause to check the efficiency of Web page compared with It is low.
The content of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of page access method, equipment and computer-readable storage medium, energy It is enough to simplify the operation for checking Web page in the application, so as to improve the efficiency for checking operation.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
In a first aspect, the embodiment of the present invention provides a kind of page access method, terminal obtains the page visit for coming from application Request is asked, the accessing page request is used to ask to access the Web page being stored on WWW Web server;
The accessing page request is responded, customer parameter request is sent to keeps, the customer parameter request is used Required customer parameter when request accesses the Web page;
Receive the customer parameter for carrying the customer parameter response that the keeps are sent;
The customer parameter is sent to the application, so that the application accesses the Web page according to the customer parameter Face.
Second aspect, the embodiment of the present invention provides a kind of page access method, and methods described includes:
The customer parameter request that keeps receiving terminal is sent, the customer parameter asks to be used to ask to access ten thousand dimensions Required customer parameter during Web page on net Web server;
The keeps send the customer parameter response for carrying the customer parameter to the terminal.
The third aspect, the embodiment of the present invention provides a kind of page access method, and methods described includes:
What the application in WWW Web server receiving terminal was sent logs in session request, described to log in session request bag Include the customer parameter of the Web page for accessing the Web server, the customer parameter is the terminal from keeps Obtain;
The Web server sends to the application and logs in conversational response, and the conversational response that logs in includes the user Parameter is corresponding to log in session, so that the application logs in Web page described in session access according to.
Fourth aspect, the embodiment of the present invention provides a kind of terminal, and the terminal includes:
First transceiver module, the accessing page request of application is come from for obtaining, the accessing page request is used for please The Web page for asking access to be stored on WWW Web server;
Second transceiver module, for responding the accessing page request, customer parameter request, institute are sent to keeps Customer parameter is stated to ask for asking to access customer parameter required during the Web page;And, for receiving the account clothes The customer parameter for carrying the customer parameter response that business device is sent;
First transceiver module, is additionally operable to send the customer parameter to the application, so that the application is according to institute State customer parameter and access the Web page.
5th aspect, the embodiment of the present invention provides a kind of terminal, and the terminal includes:Memory, processor and it is stored in On the memory and the page access program that can run on the processor, the page access program is by the processor The step of page access method as described in first aspect is any is realized during execution.
A kind of 6th aspect, keeps of the embodiment of the present invention, the keeps include:Memory, processor And the page access program that can be run on the memory and on the processor is stored in, the page access program is by institute The step of page access method as described in second aspect being realized when stating computing device.
7th aspect, the embodiment of the present invention provides a kind of Web server, and the keeps include:Memory, Processor and the page access program that can be run on the memory and on the processor is stored in, the page access journey Sequence is realized the page access method as described in third aspect during computing device the step of.
Eighth aspect, the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium Be stored with page access program in matter, is realized when the page access program is executed by processor as first aspect is any, the Two aspect or the third aspect described in page access method the step of.
In the embodiment of the present invention, the accessing page request for coming from application, the accessing page request are obtained by terminal For asking to access the Web page being stored on WWW Web server;Customer parameter request, institute are sent to keeps Customer parameter is stated to ask for asking to access customer parameter required during the Web page;Receive the use for carrying customer parameter Family parameter response;The customer parameter is sent to the application, so that the application accesses the Web page according to customer parameter Face.So that user need not be manually entered password, it becomes possible to which being accessed in the primary View of application needs the Web page of certification, Improve operating efficiency when user checks Web page in the application.
Brief description of the drawings
Fig. 1 illustrates for the hardware configuration of the mobile terminal of realization each optional embodiment of the invention;
Fig. 2 is the user interface schematic diagram of the application scenarios of the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention one in page access method implementing procedure schematic diagram;
Fig. 4 A be the embodiment of the present invention two in page access method network structure schematic diagram;
Fig. 4 B be the embodiment of the present invention two in page access method user interface schematic diagram;
Fig. 4 C be the embodiment of the present invention two in page access method interaction flow schematic diagram;
Fig. 5 A be the embodiment of the present invention three in page access method interaction flow schematic diagram;
Fig. 5 B are data interaction and call relation schematic diagram in the page access method in the embodiment of the present invention three;
Fig. 6 A be the embodiment of the present invention four in page access method interaction flow schematic diagram;
Fig. 6 B are data interaction and call relation schematic diagram in the page access method in the embodiment of the present invention four;
Fig. 7 is the structural representation of terminal in the embodiment of the present invention five;
Fig. 8 is the structural representation of keeps in the embodiment of the present invention five;
Fig. 9 is the structural representation of Web server in the embodiment of the present invention five;
Figure 10 is the structural representation of page access system in the embodiment of the present invention six.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.
The mobile terminal of realization each embodiment of the invention is described referring now to accompanying drawing 1.In follow-up description, make With the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to the explanation of the present invention, its Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), tablet personal computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc. and such as fixation of numeral TV, desktop computer etc. Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving mesh Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 illustrates for the hardware configuration of the mobile terminal of realization each optional embodiment of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, audio/video (A/V) input block 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part, can alternatively implement more or less components, the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one in wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.It is wide that broadcast singal can include TV broadcast singals, radio signals, data Broadcast signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast Relevant information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication Module 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) The form of electronic program guides (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and deposit .Broadcasting reception module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcast reception Module 111 can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), number Word video broadcast-handheld (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting are integrated The digit broadcasting system for servicing (ISDB-T) etc. receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to carry For the various broadcast systems and above-mentioned digit broadcasting system of broadcast singal.The broadcast letter received via broadcasting reception module 111 Number and/or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can be logical including voice Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module 115 typical case is global positioning system (GPS).According to current technology, GPS location information module 115, which is calculated, to be come from The range information and correct time information of three or more satellites and for the Information application triangulation of calculating, so that Calculate according to longitude, latitude and highly accurately three-dimensional current location information.Currently, for calculating the side of position and temporal information Position and the error of temporal information that method is calculated using three satellites and by using other satellite correction.This Outside, GPS location information module 115 can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 122, the static images that 121 pairs of camera is obtained in video acquisition mode or image capture mode by image capture apparatus Or the view data of video is handled.Picture frame after processing may be displayed on display unit 151.Handled through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (voice data) is received via microphone 122 in record pattern, speech recognition mode etc. operational mode, and can be by this The acoustic processing of sample is voice data.Audio (voice) data after processing can be converted in the case of telephone calling model The form output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can be implemented various types of Noise eliminate (or suppress) algorithm with eliminate noise that (or suppression) produce during receiving and sending audio signal or Interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the position of mobile terminal 1 00, user is for the presence or absence of contact (that is, touch input) of mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which can include proximity transducer 141, to be combined below This is described touch-screen.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses each of mobile terminal 1 00 Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 may be used as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or may be used as allowing passing through it from the various command signals that base is inputted It is transferred to the path of mobile terminal.The various command signals or electric power inputted from base may be used as being used to recognize that mobile terminal is The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 1 00.For example, when mobile terminal 1 00 is in During telephone calling model, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia are literary Part is downloaded etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling mould When formula or image capture mode, display unit 151 can show the image of capture and/or the image of reception, video is shown or UI or GUI of image and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 1 00.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibration Output is provided.Alarm unit 153 can also provide the generation of notification event via display unit 151 or dio Output Modules 152 Output.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke Temporarily to store the data that has exported or will export.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory, random access storage device (RAM), static random-access memory (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD etc..Moreover, mobile terminal 1 00 can with by network connection perform memory 160 store function network Storage device cooperates.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control Device 180 is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system that the mobile terminal of the present invention can be operated can use different air interfaces and/or physical layer. For example, the air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA And UMTS (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc. (CDMA) Deng.As non-limiting example, description below is related to cdma communication system, but such teaching is equally applicable to other classes The system of type.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
Illustrated so that Internet service A APP is instant chat application as an example, Fig. 2 is the application of the embodiment of the present invention The user interface schematic diagram of scene, as shown in Figure 2, user click on instant chat application APP1 icon (referring to the A in Fig. 2 Figure), to open instant chat application APP1 primary interface, and chatted with the good friend Xiao Ming of oneself.Xiao Ming sends out to user The URL that a piece of news is Internet service B is sent, user can hit at APP1 primary interface midpoint to be needed by Web page mode The Internet service B of access URL (scheming referring to the B in Fig. 2);But, because APP1 can not be obtained in Web page access side The accounts information needed for Internet service B authentication is carried out under formula, therefore, user needs to re-enter account and password (scheming referring to the C in Fig. 2);After logon information is inputted, APP1 open Internet service B the corresponding Web pages of URL (referring to D figures in Fig. 2).Input account is needed when user opens Internet service B URL corresponding Web pages in correlation technique and close Code, after the method for the embodiment of the present invention, can jump directly to Fig. 2 D figures, without user from Fig. 2 B figures Account and password are inputted, and then improves user and checks the less efficient of Web page.
Embodiment one
The executive agent of the embodiment of the present invention is terminal.Fig. 3 be the embodiment of the present invention one in page access method reality The schematic diagram of flow is applied, as shown in figure 3, this method includes:
S101:The accessing page request for coming from application is obtained, the accessing page request is used to ask access to be stored in ten thousand Tie up the Web page on net Web server.
In embodiments of the present invention, the application (Application, APP) can be located in the terminal, can also position In on the other-end outside the terminal.For example, APP can be pre-installed in terminal by application program installation kit On.In the terminal of Android operation system is provided with, APP can be by Android installation kit (Andriod Package, Apk) it is arranged in terminal.Exemplarily, the APP can be wechat, QQ, browser etc., and the embodiment of the present invention is not done to this Limitation.
In embodiments of the present invention, refer to B in Fig. 2 to scheme, accessing page request can be the behaviour in APP by user Make triggering or by the associated instructions triggering in APP.In embodiments of the present invention, terminal obtains page access and asked The mode asked, can be by APP collect accessing page request after be sent to terminal or terminal pass through operate system Unite what the associated instructions for detecting user's operation or detecting in APP were obtained.The embodiment of the present invention is without limitation.
In embodiments of the present invention, Web page can be the webpage (Web realized based on HTML HTML page).Exemplarily, Web page can be the Web page for the information contents such as news content, photographic content to be presented.At this In inventive embodiments, Web page can be based on H1-H5 (HTML standard of HTML first time to the 5th material alteration) What technology was realized.Exemplarily, the APP of network view (WebView) can supported based on the Web page that H5 technologies are realized It is middle to present.
In embodiments of the present invention, APP, can be to Web server request of loading after accessing page request is detected The Web page, Web server can be according to storing and the Web server or the use related with the Web page in APP Family parameter, Web page corresponding with customer parameter is returned to APP.
In embodiments of the present invention, customer parameter can be user's mark (user identity, uid), user name and close At least one of claim.In embodiments of the present invention, customer parameter can be stored in the APP corresponding account systems of WebView In.Exemplarily, the corresponding account systems of APP WebView can be stored in the form of cookie (cookie) In APP, read when Web page is loaded in WebView for APP, and asked according to the customer parameter to Web server Load Web page.
It should be noted that the consideration based on account number safety, APP corresponding account systems of primary View and APP's The corresponding account systems of WebView can be mutually isolated.So that the APP is APP1 as an example, even if APP1 primary View Account system in stored the relevant customer parameter of Web page accessed with request, APP1 can not still load the Web The customer parameter stored in APP1 primary View account system is used during the page.Similarly, equally based on account number safety Consideration, what the account system between different APP can also be mutually isolated.Equally so that the APP is APP1 as an example, i.e., Make APP2 primary View account system in store the relevant customer parameter of Web page accessed with request, APP1 is also same Sample can not when loading the Web page using APP2 in the customer parameter that stores.
It therefore, it can after S101, judging not being stored with APP1 cookie accesses the Web server On Web page need customer parameter when perform S102, with needed for avoiding user from needing to be manually entered logging in the Web page The information such as username and password check the content in the Web page for needing certification.In embodiments of the present invention, terminal can also S102 is performed after the web access requests from APP1 are got every time, the embodiment of the present invention is without limitation.
S102:Customer parameter request is sent to keeps, the customer parameter asks to be used to ask to access the Web page Required customer parameter during face.
S103:Receive the customer parameter for the carrying customer parameter response that keeps are sent.
In embodiments of the present invention, it is necessary to which explanation, customer parameter can be keeps in advance from Web service What device was obtained, or, customer parameter can be generation of the keeps according to the customer parameter consulted in advance with Web server Rule generation, so as to ensure APP1 according to the customer parameter received from keeps, being able to access that on Web server needs The Web page of certification.
In embodiments of the present invention, terminal can send customer parameter according to default account information to keeps Request, correspondingly, keeps can generate the corresponding use of account information according to account information and customer parameter create-rule Family parameter.Or, terminal can also be sent out according to the account certification authority (token) of default account information to keeps Customer parameter is sent to ask, correspondingly, keeps can generate account according to account certification authority and customer parameter create-rule Number corresponding customer parameter of information.It should be noted that terminal can send account certification before S102 to keeps Default account information is carried in request, account certification request, keeps can be verified to account information, if verification Success, then keeps can be to the corresponding account certification authority of terminal transmission account information.
In other embodiments of the present invention, terminal can carry the account information or account certification authority by encryption Keeps are sent in customer parameter request.Exemplarily, AES can use Advanced Encryption Standard The symmetric encipherment algorithm of (Advanced Encryption Standard, AES).The embodiment of the present invention is not limited AES System.Correspondingly, what terminal can be needed to use with the encryption such as the advance consulted encryption algorithm of keeps and key matches somebody with somebody Put parameter.
In embodiments of the present invention, account information can be the mark of terminal, or, account information can include one group of use Name in an account book and password.
In embodiments of the present invention, account information can be stored in advance in before S101 on terminal or APP1.
In one example, the default account information can be the user stored in APP1 primary View account system Name and password.In other embodiments of the present invention, before S102, terminal can be from APP1 primary View account system Middle acquisition account information.Opened it should be noted that can be embedded in APP1 installation kit for providing the terminal with the software of account Kit (Software Development Kit, the SDK) instrument of hair, account SDK instruments can be used for APP1 and be carried to terminal The interface of customer parameter is provided to APP1 for interaction account information, and terminal.Exemplarily, SDK instruments can be taken by account The provider of business device provides.
Using it is this from APP1 primary View account system extract account information by the way of, when Web servers with During APP1 correspondence identical service providers, it is possible to use the account information stored in APP1 primary View account system, To obtain the customer parameter for accessing Web page.
In another example, the default account information can be the account letter stored in the default account APP in terminal Breath.In embodiments of the present invention, keeps can be service end corresponding with account APP, namely account APP takes with account Business device can correspond to identical service provider, then the account data storehouse that keeps can be stored according to itself is to account The account information stored in APP is authenticated verification.
Using this by the way of account APP obtains account information, when Web server is carried from the corresponding different business of APP1 During for business, it is possible to use the account information stored in account APP, to obtain the customer parameter for accessing the Web pages.
S104:Customer parameter is sent to application, so as to access the Web page using according to customer parameter.
In embodiments of the present invention, terminal is got after customer parameter from keeps, and customer parameter is sent to APP1.Then after S104, customer parameter can be stored in cookie by APP1, so as to add by APP1 WebView During carrying Web page, the user profile relevant with Web server for carrying and being stored in cookie is sent to Web server Accessing page request.Wherein, APP1 WebView can be communicated with Web server based on uc.php interfaces.
In embodiments of the present invention, after S104, APP1 can also join user according to the network address that logs in of Web server Number is sent to Web server and logs in session to obtain, and this, which logs in session and may be used to indicate Web servers, allows to access Web service Web page on device.Then, APP1 will can be logged in session write-in cookie, so that during Web page is loaded, The accessing page request for carrying the user profile relevant with Web server stored in cookie is sent to Web server.
APP can use the either type in above two mode to access Web page, and the present invention is without limitation.This Only need to ensure in inventive embodiments, customer parameter is given birth to by keeps according to the customer parameter in advance consulted with Web server Into rule generation.
It should be noted that the step in the S101-S104 that terminal is performed in the embodiment of the present invention can be by account APP The program of offer realizes correspondingly handling process.Exemplarily, account APP is after customer parameter is got, it is possible to use Account SDK instruments in APP1 transmit customer parameter to APP1.
In the embodiment of the present invention, the accessing page request for coming from application, the accessing page request are obtained by terminal For asking to access the Web page being stored on WWW Web server;Customer parameter request, institute are sent to keeps Customer parameter is stated to ask for asking to access customer parameter required during the Web page;Receive the use for carrying customer parameter Family parameter response;The customer parameter is sent to the application, so that the application accesses the Web page according to customer parameter Face.So that user need not be manually entered password, it becomes possible to which being accessed in the primary View of application needs the Web page of certification, Improve operating efficiency when user checks Web page in the application.
Embodiment two
Page access method provided in an embodiment of the present invention is illustrated using the embodiment of interaction below.
A kind of interactive page access method provided in an embodiment of the present invention, before this method is introduced, first provides one Kind of the network architecture, Fig. 4 A are the schematic diagram of the network architecture of the page access method in the embodiment of the present invention two.Referring to Fig. 4 A institutes Show, the network architecture includes:Web server 41, APP1 42, the account APP 43 in terminal, account APP servers 44 and account Number synchronous certificate server 45, during realization, the network architecture shown in Fig. 4 A is framework in logic, and non-physical frame Structure, for example, user interface schematic diagrames of Fig. 4 B for the page access method in the embodiment of the present invention two, as shown in Figure 4 B, account APP 43 and APP1 42 can realize that and for example, account APP servers 44 and the synchronous certificate server 45 of account can in terminal On same server entity, can also be located on different server entities.
Based on the network architecture shown in Fig. 4 A, the interactive page access method of the embodiment of the present invention is set forth below, schemes 4C be the embodiment of the present invention two in page access method interaction flow schematic diagram.Referring to shown in Fig. 4 C, this method includes: Account certification, customer parameter are obtained, and the step of Web page access three phases.Wherein, customer parameter is obtained in the present embodiment The step of taking the stage can be used for realizing the S101 to S104 shown in Fig. 3.The step of account authentication phase in the present embodiment, can For obtaining the account certification authority needed for S102.The step of Web page dial-tone stage in the present embodiment, can be used for Realize after S104, APP1 accesses the process of the Web page on Web server according to customer parameter.
Fig. 4 C are referred to, can be included in embodiments of the present invention, the step of account authentication phase:
S401:Account APP sends certification request to keeps, and certification request carries account information.
Wherein, in the interaction flow for the page access method that the present embodiment is provided, default account information can be pre- It is first stored in account APP.Account APP can be pre-installed in by application program installation kit in the terminal. Account information can include username and password.Account APP can use AES encryption algorithm for encryption account information.
S402:Keeps verify account information, if verification unsuccessfully performs S403, if verification successful execution S404.
Wherein, keeps the account information by encryption can be decrypted using the key consulted in advance, then Verified according to account information.If verification passes through, keeps can obtain the corresponding uid of user name.In the present invention In embodiment, the corresponding uid of user name can also be user name in itself.
S403:Keeps send authentication failure message to account APP.
It should be noted that S403 is not the step of embodiment of the present invention has to carry out.
S404:Keeps generate account certification authority according to uid and AES.
Wherein, keeps can use AES encryption algorithm, and account certification is generated according to random number, timestamp and uid Authority (token).In embodiments of the present invention, the random number can be the random number produced according to uid.
S405:Keeps send the authentication response for carrying account certification authority to account APP.
It should be noted that the step of account authentication phase can be performed before S406, it can also be held after S406 OK, but need ensure before S408 perform.
Using it is this obtain customer parameter using the account information that is stored in account APP by the way of, manufacturer terminal can be with Account APP is pre-installed in terminal, and provides keeps to provide the supporting authentication service of acquisition customer parameter, due to this Mode can help user more efficiently to access Web page, so that the provider of Web servers has a mind to and terminal factory Business is coordinated, it is allowed to which the account of direct using terminal manufacturer accesses the Web page on Web server, also, when account is synchronous When certificate server can provide supporting authentication service for more Web servers, manufacturer terminal provide account information can Application is bigger, and then consumer can be promoted more to have a mind to the terminal that purchase and using terminal manufacturer provide.Meanwhile, may be used also To promote more different APP1 to embed the account SDK instruments that manufacturer terminal is provided.
Fig. 4 C are referred to, in embodiments of the present invention, the step of customer parameter obtains the stage can include:
S406:APP1 sends web access requests to account APP, carries the first URL.
Wherein, APP1 can detect user clicks the Web page for pointing to Web server in primary View the After one URL, web access requests are sent to account APP.Exemplarily, the first URL can be " www.163.com/ topnews.html”.In embodiments of the present invention, APP1 can pass through the built-in one SDK work issued by account APP providers Tool, realizes the communication with account APP.
S407:Account APP is obtained according to the first URL and is logged in interface URL.
Wherein, for example, what account APP can be previously stored with least one Web server logs in interface URL, should Logging in interface URL can realize that user logs in Web server with customer parameter cooperation.Exemplarily, account APP can be by " www.163.com/login.html " is defined as corresponding with the first URL " www.163.com/1.html " logging in interface URL.Above-mentioned to log in that interface URL is merely illustrative, the embodiment of the present invention is not limited to the specific network address for logging in interface URL.At this In inventive embodiments, the interface URL that logs in of at least one Web server prestored on account APP can be account APP Obtained in advance from each Web server at least one described Web server.
S408:Account APP sends customer parameter request to keeps, carries account certification authority and logs in interface URL。
Wherein, account certification authority token can be obtained in S405.
S409:Keeps verify account certification authority, if verifying successfully, and parsing account certification authority obtains uid.
S410:Keeps obtain customer parameter according to uid, and customer parameter is added to and logged in interface URL, is obtained To the 2nd URL.
Wherein, customer parameter is such as can be user name and the pet name.Account synchronization certificate server can be according to user Parameter create-rule and uid generation customer parameters.For example, the synchronous certificate server of account can be generated according to customer parameter Rule, customer parameter is added to and logs in interface URL, to construct the 2nd URL.2nd URL logs in the Web for acquisition Server logs in session.It should be noted that account synchronization certificate server can obtain user's ginseng from Web server in advance Number create-rule, so that Web server can be according to customer parameter when getting and carrying in the 2nd URL customer parameter Create-rule reverse resolution obtains the corresponding uid of terminal.
S411:Keeps send customer parameter response to account APP, carry the 2nd URL.
S412:Account APP sends the 2nd URL for including customer parameter to APP1.
Wherein, in embodiments of the present invention, the communication that account APP can be provided by using APP1 built-in SDK instruments Interface sends the 2nd URL to APP1.The synchronization that APP1 can be provided using the SDK instruments logs in interface, calls account APP to obtain Take twoth URL that logs in synchronous in realization.
In embodiments of the present invention, for the corresponding account system in primary View ends of the APP1 in the operating system of terminal The problem of background synchronization is logged in can not be realized with the account system at the WebView ends based on the H5 pages, use will be used for realization and step on 2nd URL of land Web server carry the mode of customer parameter there is provided a kind of primary View ends for realizing APP1 with The solution that the account at WebView ends is synchronously logged in.That is APP1 need to only access the account that WebView ends can be achieved in the 2nd URL Number log in.So as to avoid user from being manually entered the operation of username and password, the operating efficiency for checking Web page is improved.
Also, the synchronization that the SDK instruments provided using this built-in provider by account APP in APP1 are realized is logged in Mode, realize APP1 primary View ends and WebView ends account synchronously log in, it is not necessary to change existing primary View's The storage mode and access privilege control mode of account system and WebView account system, you can quickly realize APP1 and account Number APP docking, and then realize synchronous login function.This mode is realized simply for APP1, it is easier to by APP1's Provider receives.
In addition, being sent to account clothes in customer parameter request with interface URL carryings are logged in using by account certification authority Business device, is used to realize the 2nd URL for logging in Web server, wherein the 2nd URL carries the mode of customer parameter, also can to obtain Newly-increased message interface, i.e. APP1 between APP1 and Web server is enough avoided to only need to directly access the 2nd URL, you can by user Parameter is sent to Web server, without the newly-increased message dedicated for sending customer parameter.
Fig. 4 C are referred to, can be included in embodiments of the present invention, the step of Web page dial-tone stage:
S413:APP1 accesses the 2nd URL.
Wherein, the customer parameter of encryption can be carried through in the 2nd URL.For example, APP1 can be in background access The 2nd URL of Web server is pointed to, what the 2nd URL can point to Web server logs in interface network address.2nd URL is used In obtain log in the Web server log in session.
S414:Web server parses the customer parameter in the 2nd URL, and uid, user name and close are obtained according to customer parameter Claim, generation logs in session.
Wherein, log in session session can be Web server generation allow access Web server on Web page Log in authority.
S415:Web server sends to APP1 and logs in session.
S416:APP1 will log in session deposit cookie.
Wherein, this can be logged in session and is stored in cookie corresponding with the Web server by APP1.
S417:APP1 accesses the first URL according to cookie.
Wherein, APP1 can load the corresponding Web pages of the first URL in the WebView of itself.
To be logged in by the way of session is stored in APP1 cookie using this, APP1 can using itself The corresponding cookies of WebView, access the Web page on identical Web server, without getting every time During web access requests customer parameter is asked to the synchronous certificate server of account.
In embodiments of the present invention, account APP servers can set it is synchronous logs in interface, available for from the account in terminal Number APP is obtained for asking the customer parameter of customer parameter to be asked.Account synchronization certificate server can set an account certification Interface is encrypted, for sending customer parameter response according to the customer parameter request obtained from account APP servers.Can be with APP1 Integrated account SDK instruments, then APP1 can be by calling account SDK each message interface to interact various letters with account APP Breath.
In other embodiments of the present invention, as a kind of S406 alternative, APP1 can also be visited getting request After the web access requests for asking the first URL, interface URL is logged according to the first URL acquisition Web servers are corresponding, and will carry Account APP is sent to by the web access requests for logging in interface URL.In this way, account APP can be without prestoring Each Web server is corresponding to log in URL, only needs directly according to account certification authority and logs in interface URL generation customer parameters Request.
In other embodiments of the present invention, as a kind of S407 alternative, account APP directly can recognize according to account Card authority and the first URL generation customer parameter requests are sent to keeps.By keeps according to stepping on for obtaining in advance Land interface URL and customer parameter generate the 2nd URL.It should be noted that keeps can take from least one Web in advance Business device acquisition is corresponding to log in interface URL.In this way, APP1 and account APP can need not prestore each Web server is corresponding to log in URL.
The other technologies solution details and technique effect of the embodiment of the present invention are similar with method shown in Fig. 3.
Embodiment three
Fig. 5 A be the embodiment of the present invention three in page access method interaction flow schematic diagram.With side shown in Fig. 4 C Unlike method, as shown in Figure 5A, the synchronous certificate server of account APP servers and account in the present embodiment can be used for holding The step performed by keeps in row Fig. 4 C illustrated embodiments two, wherein, S501 to S505 in the present embodiment can be with As a kind of alternative the step of account authentication phase shown in S401 to S405 in Fig. 4 C, the S507 in the present embodiment is extremely S512 can obtain a kind of alternatives of S408 to S411 in stage as the customer parameter in Fig. 4 C.
Fig. 5 A are referred to, can be included in embodiments of the present invention, the step of account authentication phase:
S501:Account APP sends to account APP servers and carries account information certification request.
Wherein, account information can include username and password.Account APP can use AES encryption algorithm for encryption account Information.Data interactions and call relation schematic diagram of Fig. 5 B for the page access method in the embodiment of the present invention three, refer to figure D501 in 5B.
S502:Account APP servers are verified to account information, if verification unsuccessfully performs S503, are successfully held if verifying Row S504.
Wherein, account APP servers the account information by encryption can be decrypted using the key consulted in advance, Verified further according to account information.If verification passes through, account APP servers can obtain the corresponding uid of user name.Example Property, the corresponding uid of user name can also be user name in itself.
S503:Account APP servers send authentication failure message to account APP.
It should be noted that S503 is not the step of embodiment of the present invention has to carry out.
S504:Account APP servers generate account certification authority according to uid and AES.
Wherein, account APP servers can use AES encryption algorithm, and account is generated according to random number, timestamp and uid Certification authority token.For example, the random number can be the random number produced according to uid.
S505:Account APP servers send the authentication response for carrying account certification authority to account APP.
Wherein, the D502 in Fig. 5 B is referred to.
It should be noted that the step of account authentication phase can be performed before S506, it can also be held after S506 OK, but need ensure before S508 perform.
Fig. 5 A are referred to, in embodiments of the present invention, the step of customer parameter obtains the stage can include:
S506:APP1 sends web access requests to account APP, carries the first URL.
Wherein, APP1 can point to the Web page of Web server detecting user and clicking in primary View After first URL, synchronous log on request is sent to account APP.Exemplarily, the first URL can be " www.163.com/ 1.html”.For example, APP1 can be realized and account by the built-in one SDK instrument issued by account APP providers APP communication.Refer to the D505 in Fig. 5 B.
S507:Account APP is obtained according to the first URL and is logged in interface URL.
Wherein, for example, what account APP can be previously stored with least one Web server logs in interface URL, should Logging in interface URL can realize that user logs in Web server with customer parameter cooperation.Exemplarily, account APP can be by " www.163.com/login.html " is defined as corresponding with the first URL " www.163.com/1.html " logging in interface URL.Above-mentioned to log in that interface URL is merely illustrative, the embodiment of the present invention is not limited to the specific network address for logging in interface URL.Citing For, the interface URL that logs in of at least one Web server prestored on account APP can be account APP advance from described What each Web server at least one Web server was obtained.
S508:Account APP sends customer parameter request to account APP servers, carries account certification authority and logging in and connects Mouth URL.
Wherein, account certification authority token can be obtained in S505.
S509:Account APP servers verify account certification authority, if verifying successfully, and parsing account certification authority is obtained uid。
S510:Account APP sends customer parameter request to the synchronous certificate server of account, carries uid and logs in interface URL。
S511:Account synchronization certificate server verification uid, if uid is verified successfully, obtains customer parameter according to uid, will use Family parameter, which is added to, to be logged in interface URL, obtains the 2nd URL.
Wherein, customer parameter is such as can be user name and the pet name.Account synchronization certificate server can be according to user Parameter create-rule and uid generation customer parameters.For example, the synchronous certificate server of account can be generated according to customer parameter Rule, customer parameter is added to and logs in interface URL, to construct the 2nd URL.It should be noted that account synchronization authentication service Device can obtain customer parameter create-rule from Web server in advance, so that Web server is getting carrying second Terminal corresponding uid can be obtained during URL customer parameter according to customer parameter create-rule reverse resolution.Refer in Fig. 5 B D503 and D504.
S512:Account synchronization certificate server sends customer parameter response to account APP, carries the 2nd URL.
Wherein, the synchronous certificate server of account can send customer parameter to account APP by account APP servers and ring Should.
S513:Account APP sends the 2nd URL for including customer parameter to APP1.
Wherein, the communication interface that account APP can be provided by using APP1 built-in SDK instruments sends the to APP1 Two URL.
Fig. 5 A are referred to, can be included in embodiments of the present invention, the step of Web page dial-tone stage:
S514:APP1 accesses the 2nd URL.
S515:Web server parses the customer parameter in the 2nd URL, and uid, user name and close are obtained according to customer parameter Claim, generation logs in session.
S516:Web server sends to APP1 and logs in session.
S517:APP1 will log in session deposit cookie.
S518:APP1 accesses the first URL according to cookie.
The step of Web page stage is accessed in the embodiment of the present invention and the step class that the Web page stage is accessed shown in Fig. 4 C Seemingly.
Use the separately positioned mode for account APP servers and the synchronous certificate server of account of keeps, energy It is enough to complete to need to consult the information such as customer parameter create-rule in advance with outside Web server by the synchronous certificate server of account The step of, it is to avoid the account APP servers for preserving substantial amounts of account information data are communicated with outside Web server, from And protect the safe and reliable of account data on account APP servers.It can be seen that, the embodiment of the present invention is taken by increasing connection Web The synchronous certificate server of account of business device and account APP servers realizes solution that account is synchronously logged in, ensure that Complete uniformity of the account data in Web servers and account APP servers.
Refer to also be embedded with a WebView modules in diagram, APP1, can be used for APP1 and Web server communications, It can also be used to preserve cookie cookie data.Between the application that S501 to S518 shown in Fig. 5 A is related to and module, answer Diagram is referred to between application, using data interaction between server and call relation.
The other technologies solution details and technique effect of the embodiment of the present invention are similar with method shown in Fig. 3 to Fig. 4 C.
Example IV
Fig. 6 A be the embodiment of the present invention four in page access method interaction flow schematic diagram.
From unlike method shown in Fig. 5 A, default account information can be the account information that stores in APP1.Then such as Shown in Fig. 6 A, the S600 to S606 in the present embodiment can be used as the account authentication phase shown in S501 to S505 in Fig. 5 A A kind of S606 substituted in implementation, the present embodiment of step can obtain the S506 in stage as the customer parameter in Fig. 5 A A kind of substitute implementation.
Fig. 6 A are referred to, can be specifically included in embodiments of the present invention, the step of account authentication phase:
S600:APP1 sends the certification request for carrying account information to account APP.
Wherein, account information can include username and password.Account APP can use AES encryption algorithm for encryption account Information.For example, APP1 can be realized and account APP by the built-in one SDK instrument issued by account APP providers Communication.
S601:Account APP sends the certification request for carrying account information to account APP servers.
S602:Account APP servers are verified to account information, if verification successful execution S603.
Wherein, account APP servers the account information by encryption can be decrypted using the key consulted in advance, Verified further according to account information.If verification passes through, account APP servers can obtain the corresponding uid of user name.Citing For, the corresponding uid of user name can also be user name in itself.
S603:Account APP servers generate account certification authority according to uid and AES.
Wherein, account APP servers can use AES encryption algorithm, and account is generated according to random number, timestamp and uid Certification authority token.For example, the random number can be the random number produced according to uid.
S604:Account APP servers send the authentication response for carrying account certification authority to account APP.
S605:Account APP sends the authentication response for carrying account certification authority to APP1.
Fig. 6 A are referred to, in embodiments of the present invention, the step of customer parameter obtains the stage can specifically include:
S606:APP1 sends web access requests to account APP, carries the first URL and account certification authority.
Wherein, APP1 can point to the Web page of Web server detecting user and clicking in primary View After first URL, synchronous log on request is sent to account APP.Exemplarily, the first URL can be " www.163.com/ 1.html”。
S607:Account APP is obtained according to the first URL and is logged in interface URL.
Wherein, for example, what account APP can be previously stored with least one Web server logs in interface URL, should Logging in interface URL can realize that user logs in Web server with customer parameter cooperation.Exemplarily, account APP can be by " www.163.com/login.html " is defined as corresponding with the first URL " www.163.com/1.html " logging in interface URL.Above-mentioned to log in that interface URL is merely illustrative, the embodiment of the present invention is not limited to the specific network address for logging in interface URL.Citing For, the interface URL that logs in of at least one Web server prestored on account APP can be account APP advance from described What each Web server at least one Web server was obtained.
S608:Account APP sends customer parameter request to account APP servers, carries account certification authority and logging in and connects Mouth URL.
S609:Account APP servers verify account certification authority, if verifying successfully, and parsing account certification authority is obtained uid。
S610:Account APP sends customer parameter request to the synchronous certificate server of account, carries uid and logs in interface URL。
S611:Account synchronization certificate server verification uid, if uid is verified successfully, obtains customer parameter according to uid, will use Family parameter, which is added to, to be logged in interface URL, obtains the 2nd URL.
Wherein, customer parameter is such as can be user name and the pet name.Account synchronization certificate server can be according to user Parameter create-rule and uid generation customer parameters.For example, the synchronous certificate server of account can be generated according to customer parameter Rule, customer parameter is added to and logs in interface URL, to construct the 2nd URL.It should be noted that account synchronization authentication service Device can obtain customer parameter create-rule from Web server in advance, so that Web server is getting carrying second Terminal corresponding uid can be obtained during URL customer parameter according to customer parameter create-rule reverse resolution.Fig. 6 B are the present invention Data interaction and call relation schematic diagram in page access method in example IV.The acquisition approach of customer parameter create-rule Refer to shown in the D607 and D608 in Fig. 6 B.
S612:Account synchronization certificate server sends customer parameter response to account APP, carries the 2nd URL.
Wherein, the synchronous certificate server of account can send customer parameter to account APP by account APP servers and ring Should.
S613:Account APP sends the 2nd URL for including customer parameter to APP1.
Wherein, the communication interface that account APP can be provided by using APP1 built-in SDK instruments sends the to APP1 Two URL.
Fig. 6 A are referred to, can be specifically included in embodiments of the present invention, the step of Web page dial-tone stage:
S614:APP1 accesses the 2nd URL.
S615:Web server parses the customer parameter in the 2nd URL, and uid, user name and close are obtained according to customer parameter Claim, generation logs in session.
S616:Web server sends to APP1 and logs in session.
S617:APP1 will log in session deposit cookie.
S618:APP1 accesses the first URL according to cookie.
When account information is default account information in APP1, answering in the page access method that present embodiment is provided Referred to between module, using between application, using the interaction flow between server shown in Fig. 6 A.This embodiment party The other technologies solution details of formula are similar with the other technologies solution details and technique effect of the embodiment of the present invention.
The other technologies solution details and technique effect of the embodiment of the present invention are similar with method shown in Fig. 3 to Fig. 5 B.
Embodiment five
Fig. 7 is the structural representation of terminal in the embodiment of the present invention five.As shown in fig. 7, the terminal 70 of the embodiment of the present invention It can include:
Memory 701, processor 702 and it is stored in the page that can be run on the memory 701 and on processor 702 Access program (not shown in Fig. 7), the page access program realizes appointing shown in Fig. 3 to Fig. 6 B when being performed by processor 702 The step of terminal is performed in a kind of page access method.
The terminal of the embodiment of the present invention can be used for performing page access method any shown in Fig. 3 to Fig. 6 B, this hair The other technologies solution details of bright embodiment refer to the description of Fig. 3 to Fig. 6 B illustrated embodiments.
Fig. 8 is the structural representation of keeps in the embodiment of the present invention five.As shown in figure 8, the embodiment of the present invention Keeps 80 can include:
Memory 801, processor 802 and it is stored in the page that can be run on the memory 801 and on processor 802 Access program (not shown in Fig. 8), the page access program realizes any shown in Fig. 3 to Fig. 6 when being performed by processor 802 In kind of page access method keeps perform the step of.
The keeps of the embodiment of the present invention can be used for performing page access side any shown in Fig. 3 to Fig. 6 B Method, the other technologies solution details of the embodiment of the present invention refer to the description of Fig. 3 to Fig. 6 B illustrated embodiments.
Fig. 9 is the structural representation of Web server in the embodiment of the present invention five.As shown in figure 9, the embodiment of the present invention Web server 90 can include:
Memory 901, processor 902 and it is stored in the page that can be run on the memory 901 and on processor 902 Access program (not shown in Fig. 9), the page access program realizes any shown in Fig. 3 to Fig. 6 when being performed by processor 902 Plant the step of Web server is performed in page access method.
The Web server of the embodiment of the present invention can be used for performing page access side any shown in Fig. 3 to Fig. 6 B Method, the other technologies solution details of the embodiment of the present invention refer to the description of Fig. 3 to Fig. 6 B illustrated embodiments.
Embodiment six
Figure 10 is the structural representation of page access system in the embodiment of the present invention six.
As shown in Figure 10, the terminal 70 of the embodiment of the present invention can include being used to perform the of account APP programmed instruction One transceiver module 711 and the second transceiver module 712.Keeps 80 can include:First receiving module 811 and first is sent Module 812.Web server can include:Second receiving module 911 and the second sending module 912.
In embodiments of the present invention, the first transceiver module 711, APP1 accessing page request, institute are come from for obtaining State accessing page request be used for ask access be stored in the Web pages on WWW Web server 90.Second transceiver module 712, for responding the accessing page request, customer parameter request is sent to the first receiving module 811 of keeps 80, The customer parameter is asked for asking to access customer parameter required during the Web pages;And, for receiving account clothes The customer parameter for carrying the customer parameter response that first sending module 812 of business device 80 is sent.First transceiver module 711, it is additionally operable to send the customer parameter to APP1, so that the application accesses the Web page according to the customer parameter Face.
It should be noted that can also include being used to perform the primary View modules of APP1 programmed instruction in terminal 70 721st, account SDK modules 722 and WebView modules 723.
In embodiments of the present invention, the first transceiver module 711 can be set up between account SDK modules 722 communication link Connect, being set up between the second transceiver module 712 and keeps 80 has communication connection.WebView modules 723 can take with Web Being set up between business device 90 has communication connection.Then in such scheme, primary View modules 721 can be used for obtaining page access Request, and accessing page request is sent to the first transceiver module 711 by account SDK modules 722.Correspondingly, the second transmitting-receiving Module 712 to WebView modules 723 can send the customer parameter especially by account SDK modules 722.
In embodiments of the present invention, WebView modules 723 can be used for logging in session request to the second receiving module 911, The session request that logs in includes being used to access the customer parameter of the Web page of Web server 90, and the customer parameter is The terminal is obtained from keeps.Second sending module 912, session sound is logged in for being sent to WebView modules 723 Should, the conversational response that logs in includes that the customer parameter is corresponding logs in session, so that WebView modules 723 are according to described Log in the Web pages described in session access.
In such scheme, the second transceiver module 712, can specifically in terminal 70 to the of keeps 80 One receiving module 811 is sent before the first request, is carried to the first receiving module 811 transmission of keeps 80 default Account information account certification request;And for receiving the account that the first receiving module 811 of keeps 80 is sent Authentication response, the account authentication response includes the account information corresponding account certification authority on keeps 80.
In such scheme, the first unified resource that the accessing page request can include pointing to the Web page is determined Position symbol URL, then the second transceiver module 712 can be also used for according to default account information and the first URL to account service First receiving module 811 of device 80 sends the customer parameter request;And, first for receiving keeps 80 sends Customer parameter in the customer parameter for carrying the 2nd URL response of the transmission of module 811, the 2nd URL is according to the account Number information acquisition, the 2nd URL be used to obtaining log in Web server 90 log in session.
The terminal 70 of the embodiment of the present invention can be used for performing page access method any shown in Fig. 3 to Fig. 6 B.This The keeps of inventive embodiments can be used for performing page access method any shown in Fig. 3 to Fig. 6 B.It is of the invention real The Web server for applying example can be used for performing page access method any shown in Fig. 3 to Fig. 6 B.The embodiment of the present invention Other technologies solution details refer to the descriptions of Fig. 3 to Fig. 6 B illustrated embodiments.
The embodiment of the present invention is also provided and stored on a kind of computer-readable recording medium, the computer-readable recording medium There is page access program, the page that the terminal as shown in Fig. 3 to Fig. 6 B is performed is realized when the page access program is executed by processor The step of face access method.
The embodiment of the present invention is also provided and stored on a kind of computer-readable recording medium, the computer-readable recording medium There is page access program, realize that the keeps as shown in Fig. 3 to Fig. 6 B are held when the page access program is executed by processor The step of capable page access method.
The embodiment of the present invention is also provided and stored on a kind of computer-readable recording medium, the computer-readable recording medium There is page access program, the Web server as shown in Fig. 3 to Fig. 6 B is realized when the page access program is executed by processor The step of page access method of execution.
Optionally, the terminal in above-mentioned various embodiments can include such as mobile phone, smart phone, notebook electricity Brain, digit broadcasting receiver, personal digital assistant (PDA), tablet personal computer (PAD), portable media player (PMP), lead The mobile terminal and such as fixed terminal of numeral TV, desktop computer etc. of boat device etc..The embodiment of the present invention is to this It is not limited.If the terminal have operating system, the operating system can for Unix, Linux, Windows, Mac OS X, Android (Android), Windows Phone etc..Application software (Application, APP) is the third party of intelligent terminal Application program, user can be handled official business by various application software, entertain, obtain information etc., and its form includes Such as ipa, pxl, deb, apk form.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) perform method described by each embodiment of the invention.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of page access method, it is characterised in that methods described includes:
Terminal obtains the accessing page request for coming from application, and the accessing page request is used to ask access to be stored in WWW Web page on Web server;
The accessing page request is responded, customer parameter request is sent to keeps, the customer parameter asks to be used to ask Seek customer parameter required when accessing the Web page;
Receive the customer parameter for carrying the customer parameter response that the keeps are sent;
The customer parameter is sent to the application, so that the application accesses the Web page according to the customer parameter.
2. according to the method described in claim 1, it is characterised in that sending customer parameter to keeps in the terminal please Before asking, including:
The terminal sends the account certification request for carrying default account information to the keeps;
The terminal receives the account authentication response that the keeps are sent, and the account authentication response includes the account Information corresponding account certification authority on the keeps.
3. according to the method described in claim 1, it is characterised in that the accessing page request includes pointing to the Web page The first uniform resource position mark URL, then the terminal to keeps send customer parameter request, including:The terminal The customer parameter is sent according to default account information and the first URL to the keeps to ask;
The terminal receives the customer parameter for carrying the customer parameter response that the keeps are sent, including:Institute Terminal is stated to receive the customer parameter in the customer parameter response for carrying the 2nd URL, the 2nd URL according to the account to be believed What breath was obtained, the 2nd URL be used to obtaining log in the Web server log in session.
4. a kind of page access method, it is characterised in that methods described includes:
The customer parameter request that keeps receiving terminal is sent, the customer parameter asks to be used to ask to access WWW Required customer parameter during Web page on Web server;
The keeps send the customer parameter response for carrying the customer parameter to the terminal.
5. a kind of page access method, it is characterised in that methods described includes:
What the application in WWW Web server receiving terminal was sent logs in session request, and the session request that logs in includes use In the customer parameter for the Web page for accessing the Web server, the customer parameter is that the terminal is obtained from keeps 's;
The Web server sends to the application and logs in conversational response, and the conversational response that logs in includes the customer parameter It is corresponding to log in session, so that the application logs in Web page described in session access according to.
6. a kind of terminal, it is characterised in that the terminal includes:
First transceiver module, the accessing page request of application is come from for obtaining, and the accessing page request is used to ask to visit Ask the Web page being stored on WWW Web server;
Second transceiver module, for responding the accessing page request, customer parameter request is sent to keeps, described to use Family parameter request is used to ask to access customer parameter required during the Web page;And, for receiving the keeps The customer parameter for carrying the customer parameter response sent;
First transceiver module, is additionally operable to send the customer parameter to the application, so that the application is used according to described Web page described in the parameter access of family.
7. a kind of terminal, it is characterised in that the terminal includes:Memory, processor and it is stored on the memory and can The page access program run on the processor, the page access program is realized such as right during the computing device It is required that the step of page access method any one of 1 to 3.
8. a kind of keeps, it is characterised in that the keeps include:Memory, processor and it is stored in described On memory and the page access program that can run on the processor, the page access program is by the computing device The step of Shi Shixian page access methods as claimed in claim 4.
9. a kind of Web server, it is characterised in that the keeps include:Memory, processor and it is stored in institute The page access program that can be run on memory and on the processor is stated, the page access program is held by the processor The step of page access method as claimed in claim 5 is realized during row.
10. a kind of computer-readable recording medium, it is characterised in that the page that is stored with the computer-readable recording medium is visited Program is asked, is realized when the page access program is executed by processor such as any one of claims 1 to 3, claim 4 or power The step of profit requires the page access method described in 5.
CN201710291921.1A 2017-04-28 2017-04-28 Page access method, equipment and computer-readable storage medium Pending CN107145552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710291921.1A CN107145552A (en) 2017-04-28 2017-04-28 Page access method, equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710291921.1A CN107145552A (en) 2017-04-28 2017-04-28 Page access method, equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN107145552A true CN107145552A (en) 2017-09-08

Family

ID=59773903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710291921.1A Pending CN107145552A (en) 2017-04-28 2017-04-28 Page access method, equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107145552A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491560A (en) * 2017-09-20 2017-12-19 广东欧珀移动通信有限公司 Page pictures display methods, device, storage medium, server and mobile terminal
CN107729551A (en) * 2017-11-03 2018-02-23 郑州云海信息技术有限公司 Request responding method and computer-readable recording medium in sea of clouds data
CN108196904A (en) * 2017-12-27 2018-06-22 广州品唯软件有限公司 Calculate the method, apparatus and computer storage media of page response duration
CN109831432A (en) * 2019-01-30 2019-05-31 重庆农村商业银行股份有限公司 Third party's safety access method of service provider H5 application form
CN109981664A (en) * 2019-03-29 2019-07-05 北京致远互联软件股份有限公司 Website logging method, device and the realization device of page end
CN110048850A (en) * 2019-03-26 2019-07-23 重庆邮电大学 A kind of car networking data security transmission technology based on improvement SSL/TLS agreement
CN110213321A (en) * 2019-01-17 2019-09-06 腾讯云计算(北京)有限责任公司 The method, apparatus and electronic equipment of third party's service are provided in Internet application
CN110717128A (en) * 2019-10-18 2020-01-21 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for processing in-application webpage
CN111159614A (en) * 2019-12-30 2020-05-15 北京金堤科技有限公司 Webpage resource acquisition method and device
CN112507253A (en) * 2020-11-19 2021-03-16 北京联众国际通信有限公司 H5-based windows-like system and login method
CN113282859A (en) * 2021-04-30 2021-08-20 北京仁科互动网络技术有限公司 Method and device for obtaining visitor identity information, electronic equipment and storage medium
CN109842616B (en) * 2018-12-29 2021-09-17 卓米私人有限公司 Account binding method and device and server
CN115687827A (en) * 2022-11-15 2023-02-03 中电金信软件有限公司 Method, device, equipment and medium for communicating native page and H5 page path

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086670A1 (en) * 2011-10-04 2013-04-04 Salesforce.Com, Inc. Providing third party authentication in an on-demand service environment
CN104243433A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Logging-in method, device and system based on browser client-side account
CN105610810A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Data processing method, client and servers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086670A1 (en) * 2011-10-04 2013-04-04 Salesforce.Com, Inc. Providing third party authentication in an on-demand service environment
CN104243433A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Logging-in method, device and system based on browser client-side account
CN105610810A (en) * 2015-12-23 2016-05-25 北京奇虎科技有限公司 Data processing method, client and servers

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491560B (en) * 2017-09-20 2020-07-31 Oppo广东移动通信有限公司 Page picture display method and device, storage medium, server and mobile terminal
CN107491560A (en) * 2017-09-20 2017-12-19 广东欧珀移动通信有限公司 Page pictures display methods, device, storage medium, server and mobile terminal
CN107729551A (en) * 2017-11-03 2018-02-23 郑州云海信息技术有限公司 Request responding method and computer-readable recording medium in sea of clouds data
CN108196904A (en) * 2017-12-27 2018-06-22 广州品唯软件有限公司 Calculate the method, apparatus and computer storage media of page response duration
CN109842616B (en) * 2018-12-29 2021-09-17 卓米私人有限公司 Account binding method and device and server
CN110213321A (en) * 2019-01-17 2019-09-06 腾讯云计算(北京)有限责任公司 The method, apparatus and electronic equipment of third party's service are provided in Internet application
CN109831432A (en) * 2019-01-30 2019-05-31 重庆农村商业银行股份有限公司 Third party's safety access method of service provider H5 application form
CN109831432B (en) * 2019-01-30 2021-06-01 重庆农村商业银行股份有限公司 Third-party secure access method in application form of service provider H5
CN110048850A (en) * 2019-03-26 2019-07-23 重庆邮电大学 A kind of car networking data security transmission technology based on improvement SSL/TLS agreement
CN109981664A (en) * 2019-03-29 2019-07-05 北京致远互联软件股份有限公司 Website logging method, device and the realization device of page end
CN110717128A (en) * 2019-10-18 2020-01-21 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for processing in-application webpage
CN111159614B (en) * 2019-12-30 2021-02-02 北京金堤科技有限公司 Webpage resource acquisition method and device
CN111159614A (en) * 2019-12-30 2020-05-15 北京金堤科技有限公司 Webpage resource acquisition method and device
CN112507253A (en) * 2020-11-19 2021-03-16 北京联众国际通信有限公司 H5-based windows-like system and login method
CN113282859A (en) * 2021-04-30 2021-08-20 北京仁科互动网络技术有限公司 Method and device for obtaining visitor identity information, electronic equipment and storage medium
CN115687827A (en) * 2022-11-15 2023-02-03 中电金信软件有限公司 Method, device, equipment and medium for communicating native page and H5 page path
CN115687827B (en) * 2022-11-15 2023-08-25 中电金信软件有限公司 Method, device, equipment and medium for communicating native page and H5 page path

Similar Documents

Publication Publication Date Title
CN107145552A (en) Page access method, equipment and computer-readable storage medium
US10686602B2 (en) Portable device interface methods and systems
US9898594B2 (en) Methods and systems for data entry
US20150271164A1 (en) Methods and systems for data entry
CN105100415B (en) Login method, mobile terminal
CN106453372B (en) A kind of terminal, server and account logon method
CN104915119B (en) Terminal desktop icon method of adjustment and device
CN106341817A (en) Access control system, access control method, mobile terminals and access server
CN104980429A (en) Method, device and system for unified account login based on virtual user identification card
CN105373402A (en) Device and method for software upgrading gated launch
CN105208011A (en) Verification system and method
CN105208082B (en) A kind of method and device for instructing user's using terminal, terminal
CN105095790A (en) Hidden object view method and device
CN105094532A (en) Method and device for data access
CN106778514A (en) A kind of method and device for identifying object
CN104731508B (en) Audio frequency playing method and device
CN107135069A (en) Remote assistance control method and system
CN110474864A (en) A kind of method and electronic equipment registered, log in mobile applications
CN104809406A (en) Method and device for safe file sharing
CN106791195A (en) A kind of operation processing method and device
CN106886713A (en) A kind of risk checking method of terminal, server and installation software
CN106778212A (en) A kind of mobile terminal and control method
CN106411580A (en) Device management client and server, and device management methods
CN105095705A (en) Information processing method and apparatus
CN106790126A (en) A kind of method of the account mandate of application program, device and terminal

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

Application publication date: 20170908

RJ01 Rejection of invention patent application after publication