Nothing Special   »   [go: up one dir, main page]

CN111897613A - Page access method and related equipment - Google Patents

Page access method and related equipment Download PDF

Info

Publication number
CN111897613A
CN111897613A CN202010760685.5A CN202010760685A CN111897613A CN 111897613 A CN111897613 A CN 111897613A CN 202010760685 A CN202010760685 A CN 202010760685A CN 111897613 A CN111897613 A CN 111897613A
Authority
CN
China
Prior art keywords
page
terminal
native
access
access information
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
CN202010760685.5A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202010760685.5A priority Critical patent/CN111897613A/en
Publication of CN111897613A publication Critical patent/CN111897613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • G06F21/1078Logging; Metering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a page access method and related equipment. The page access method comprises the following steps: the native terminal of the application program requests the server for login according to the login information of the user; acquiring access information, and updating a page configuration table from the server through the access information; the primary terminal acquires a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table; when the native terminal judges that a terminal accessing the first target page is a webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal; and the webpage end accesses the first target page according to the access information. The invention accesses the page through the native end and the webpage end of the application program, and increases the scene adaptability of page access.

Description

Page access method and related equipment
Technical Field
The invention relates to the technical field of computers, in particular to a page access method, a page access device, computer equipment and a computer readable storage medium.
Background
With the development of computer technology, various application programs providing different functions for users have come to be delivered, so as to meet the diversified requirements of the users.
Application program products generally need to be audited by an application market platform, and once the audits are not passed timely, the latest product contents are affected on line in time. How to reduce the version update of the APP on the application market platform is a problem to be solved currently, in which a page including the latest content is accessed through a NATIVE side (i.e., a NATIVE side) and a WEB side (i.e., a WEB side) of an application program.
Disclosure of Invention
In view of the foregoing, there is a need for a page access method, device, computer device and computer readable storage medium, which can increase the scene adaptability of page access by accessing pages through native side and web side of an application program.
A first aspect of the present application provides a page access method, where the page access method includes:
the native terminal of the application program requests the server for login according to the login information of the user;
when the native terminal determines that the user successfully logs in, acquiring access information, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
the primary terminal acquires a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table;
when the native terminal judges that a terminal accessing the first target page is a webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal;
and the webpage end accesses the first target page according to the access information.
In another possible implementation manner, the requesting, by the native terminal of the application program, a login from the server according to the login information of the user includes:
generating a random signature identification;
receiving a login request of a user;
combining the random signature with the user name and the user password in the login request to obtain the login information;
encrypting the login information by using a preset public key to obtain encrypted login information;
submitting the encrypted login information to the server;
when the unique login identification sent by the server is received within the preset time, the login success is determined;
and when the unique login identification sent by the server is not received or the login failure identification is received within the preset time, determining that the login fails.
In another possible implementation manner, before the native terminal of the application requests a server to log in according to the login information of the user, the page access method further includes:
the native terminal judges whether the access information exists locally;
when the native terminal judges that the access information does not exist locally, the native terminal requests a server for login according to the login information;
and when the native terminal judges that the access information exists locally and is effective, updating a page configuration table from the server according to the access information.
In another possible implementation manner, the determining, according to the page configuration table, a terminal that accesses the first target page includes:
inquiring a terminal for accessing the first target page from the page configuration table;
when the query result is the identifier of the native terminal, determining the native terminal as a terminal for accessing the first target page;
and when the query result is the identification of the webpage end, determining the webpage end as a terminal for accessing the first target page.
In another possible implementation manner, the switching from the native terminal to the web page terminal, and transmitting the access information to the web page terminal includes:
and switching from the native terminal to the webpage terminal by using an openURL method, and transmitting the access information to the webpage terminal by using the access information as a parameter of the openURL method.
In another possible implementation manner, before the web page accesses the first target page according to the access information, the page access method further includes:
the webpage side sends the access information to the server, so that the server checks the access information based on digital authentication;
and when the verification is successful, the webpage end accesses the first target page according to the access information.
In another possible implementation manner, after the web page accesses the first target page according to the access information, the page access method further includes:
the webpage side updates the page configuration table from the server;
the webpage side obtains a page jump request for accessing a second target page, and judges a terminal for accessing the second target page according to the page configuration table;
when the terminal accessing the second target page is judged to be the native terminal according to the page configuration table, switching from the webpage terminal to the native terminal, and transmitting the access information to the native terminal;
and the native terminal accesses the second target page according to the access information.
A second aspect of the present application provides a page access apparatus, including:
the request module is used for requesting the server to log in by the native terminal of the application program according to the login information of the user;
the updating module is used for acquiring access information when the native terminal determines that the user logs in successfully, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
the judging module is used for acquiring a page jump request for accessing a first target page by the primary terminal and judging a terminal for accessing the first target page according to the page configuration table;
the switching module is used for switching from the native terminal to the webpage terminal and transmitting the access information to the webpage terminal when the native terminal judges that the terminal accessing the first target page is the webpage terminal of the application program according to the page configuration table;
and the access module is used for the webpage end to access the first target page according to the access information.
A third aspect of the application provides a computer device comprising a processor for implementing the page access method when executing computer readable instructions stored in a memory.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor, implement the page access method.
The terminal accessing the first target page is judged through the page configuration table, and the first target page is accessed through different terminals of an application program, so that the function corresponding to the first target page is realized. The application program can access the page through the interaction of the native side and the webpage side. The separation of the service flow and the function realization can be realized through the page configuration table, so that the native terminal is more focused on the function realization (such as calling a GPS, a camera and the like); making the web page heavier than the business process. The function updating of the application program can be realized by updating the webpage end of the application program, and the updating of the native end is reduced, so that the application market platform is prevented from auditing the application program. And determining a terminal for accessing the target page according to the target page to be accessed. The invention accesses the page through the native end and the webpage end of the application program, and increases the scene adaptability of page access.
Drawings
Fig. 1 is a flowchart of a page access method provided in an embodiment of the present invention.
Fig. 2 is a structural diagram of a page access apparatus according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a detailed description of the present invention will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Preferably, the page access method of the present invention is applied to one or more computer devices. The computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
Example one
Fig. 1 is a flowchart of a page access method according to an embodiment of the present invention. The page access method is applied to computer equipment and used for accessing the page through the native side and the webpage side of an application program and increasing the scene adaptability of page access.
As shown in fig. 1, the page access method includes:
101, the native terminal of the application requests the server to log in according to the login information of the user.
The method comprises the steps that a login request (comprising a user name, a password corresponding to the user name and the like) of a user can be received through a native terminal of an application program; and the native terminal requests the server for login according to the login request of the user so as to acquire the access information.
In a specific embodiment, the requesting, by the native application from the server according to the login information of the user, login includes:
generating a random signature identification;
receiving a login request of a user;
combining the random signature with the user name and the user password in the login request to obtain the login information;
encrypting the login information by using a preset public key to obtain encrypted login information;
submitting the encrypted login information to the server;
when the unique login identification sent by the server is received within the preset time, the login success is determined;
and when the unique login identification sent by the server is not received or the login failure identification is received within the preset time, determining that the login fails.
The web page side of the application generally cannot acquire privacy authorization of the computer device running the application (or the corresponding product is immature), and cannot realize an OCR scanning function of the camera, a recording and voice translation function of the microphone, a remote interview communication function of the camera, a face recognition function of the camera and the like by accessing the corresponding page based on the privacy authorization. The native terminal of the application program accesses the corresponding page to realize the function that the webpage terminal cannot realize (or the corresponding product is immature). For example, the web page side needs to realize the functions of applying for quota, examining and approving for quota, applying for payment, examining and approving for payment, and the like; the native terminal needs to realize functions of login/registration, face recognition, video interview and the like.
102, when the native terminal determines that the user successfully logs in, obtaining access information, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal.
In a specific embodiment, before the native side of the application requests a server to log in according to the login information of the user, the page access method further includes:
the native terminal judges whether the access information (such as token) exists locally;
when the native terminal judges that the access information does not exist locally, the native terminal requests a server for login according to the login information;
and when the native terminal judges that the access information exists locally and is effective, updating a page configuration table from the server according to the access information.
When the native terminal updates the page configuration table from the server, it needs to verify whether the access information is correct, and the access information is the access credential of the user.
The page access method further comprises the following steps: and the native terminal communicates with the server through the access information based on digital authentication.
In the page configuration table, determining a page to be accessed with login service, camera function, microphone function and GPS function as a first page, and determining pages except the first page as second pages;
determining a terminal accessing the first page as the native terminal;
and determining the terminal accessing the second page as the webpage end.
Before the web page side updates the page configuration table from the server through the access information, the page access method further includes:
and the webpage end updates a page configuration table from the original end.
103, the native terminal obtains a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table.
And the terminal for accessing the first target page comprises the native terminal and the webpage terminal.
In a specific embodiment, the determining, according to the page configuration table, a terminal that accesses the first target page includes:
inquiring a terminal for accessing the first target page from the page configuration table;
when the query result is the identifier of the native terminal, determining the native terminal as a terminal for accessing the first target page;
and when the query result is the identification of the webpage end, determining the webpage end as a terminal for accessing the first target page.
For example, the application program may sequentially implement functions such as registration, product application, face recognition, video interview, application limit approval, application support approval, and the like, and the web page needs to implement functions such as product application, application limit approval, application support approval, and the like; the native terminal needs to realize functions of registration login, face recognition, video interview and the like.
The native terminal obtains a page jump request for accessing a first target page (a user inputs login information and inputs a page adjustment request to the native terminal by clicking the first target page to realize a login function). And querying the terminal accessing the first target page from the page configuration table as a native terminal (that is, the query result is the identifier of the native terminal), and determining the native terminal as the terminal accessing the first target page.
104, when the native terminal judges that the terminal accessing the first target page is the webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal.
In a specific embodiment, the switching from the native side to the web page side and the transmitting the access information to the web page side include:
and switching from the native terminal to the webpage terminal by using an openURL method, and transmitting the access information to the webpage terminal by using the access information as a parameter of the openURL method.
When the product application function is realized, a terminal accessing the first target page is judged to be the webpage end according to the page configuration table, the terminal is switched from the native end to the webpage end through an openURL method, and meanwhile, the access information is used as a parameter of the openURL method to transmit the access information to the webpage end so as to access the first page through the webpage end.
105, the webpage end accesses the first target page according to the access information.
In a specific embodiment, before the web page accesses the first target page according to the access information, the page access method further includes:
the webpage side sends the access information to the server, so that the server checks the access information based on digital authentication;
and when the verification is successful, the webpage end accesses the first target page according to the access information.
In a specific embodiment, after the web page terminal accesses the first target page according to the access information, the page access method further includes:
the webpage side updates the page configuration table from the server;
the webpage side obtains a page jump request for accessing a second target page, and judges a terminal for accessing the second target page according to the page configuration table;
when the terminal accessing the second target page is judged to be the native terminal according to the page configuration table, switching from the webpage terminal to the native terminal, and transmitting the access information to the native terminal;
and the native terminal accesses the second target page according to the access information.
Specifically, the switching from the webpage end to the native end is performed; transmitting the access information to the native peer includes:
and awakening the native terminal by a URL Scheme method, and transmitting the access information to the native terminal.
Before the transmitting the access information to the native terminal, the page access method further includes:
and updating the access information.
The page access method further comprises the following steps:
when the webpage side judges that a terminal accessing a second target page is the native side according to the page configuration table, switching from the webpage side to the native side, and transmitting the access information to the native side by the webpage side;
the native terminal sends the access information to the server, so that the server checks the access information based on digital authentication;
and when the verification is successful, the native terminal accesses the second target page according to the access information.
In the page access method according to the first embodiment, the terminal accessing the first target page is judged through the page configuration table, and the first target page is accessed through a different terminal of an application program, so as to implement a function corresponding to the first target page. The application program can access the page through the interaction of the native side and the webpage side. The separation of the service flow and the function realization can be realized through the page configuration table, so that the native terminal is more focused on the function realization (such as calling a GPS, a camera and the like); making the web page heavier than the business process. The function updating of the application program can be realized by updating the webpage end of the application program, and the updating of the native end is reduced, so that the application market platform is prevented from auditing the application program. And determining a terminal for accessing the target page according to the target page to be accessed. According to the embodiment I, the page is accessed through the native side and the webpage side of the application program, and the scene adaptability of page access is improved.
Example two
Fig. 2 is a structural diagram of a page access device according to a second embodiment of the present invention. The page access device 20 is applied to a computer device. The page access device 20 is used for accessing the page through the native side and the web side of the application program, and increasing the scene adaptability of page access.
As shown in fig. 2, the page access apparatus 20 may include a request module 201, an update module 202, a determination module 203, a switch module 204, and an access module 205.
The request module 201 is used for requesting the server to log in by the native terminal of the application program according to the login information of the user.
The method comprises the steps that a login request (comprising a user name, a password corresponding to the user name and the like) of a user can be received through a native terminal of an application program; and the native terminal requests the server for login according to the login request of the user so as to acquire the access information.
In a specific embodiment, the requesting, by the native application from the server according to the login information of the user, login includes:
generating a random signature identification;
receiving a login request of a user;
combining the random signature with the user name and the user password in the login request to obtain the login information;
encrypting the login information by using a preset public key to obtain encrypted login information;
submitting the encrypted login information to the server;
when the unique login identification sent by the server is received within the preset time, the login success is determined;
and when the unique login identification sent by the server is not received or the login failure identification is received within the preset time, determining that the login fails.
The web page side of the application generally cannot acquire privacy authorization of the computer device running the application (or the corresponding product is immature), and cannot realize an OCR scanning function of the camera, a recording and voice translation function of the microphone, a remote interview communication function of the camera, a face recognition function of the camera and the like by accessing the corresponding page based on the privacy authorization. The native terminal of the application program accesses the corresponding page to realize the function that the webpage terminal cannot realize (or the corresponding product is immature). For example, the web page side needs to realize the functions of applying for quota, examining and approving for quota, applying for payment, examining and approving for payment, and the like; the native terminal needs to realize functions of login/registration, face recognition, video interview and the like.
An updating module 202, configured to obtain access information when the native terminal determines that the user successfully logs in, and update a page configuration table from the server through the access information, where the page configuration table includes mapping information of a page to be accessed and a terminal.
In a specific embodiment, before the native terminal of the application requests the server to log in according to the login information of the user, the update module is further configured to determine whether the access information (such as token) exists locally through the native terminal;
when the native terminal judges that the access information does not exist locally, the native terminal requests a server for login according to the login information;
and when the native terminal judges that the access information exists locally and is effective, updating a page configuration table from the server according to the access information.
When the native terminal updates the page configuration table from the server, it needs to verify whether the access information is correct, and the access information is the access credential of the user.
The page access device further comprises a communication module for communicating with the server according to the access information based on digital authentication through the native terminal.
In the page configuration table, determining a page to be accessed with login service, camera function, microphone function and GPS function as a first page, and determining pages except the first page as second pages;
determining a terminal accessing the first page as the native terminal;
and determining the terminal accessing the second page as the webpage end.
Before the webpage side updates the page configuration table from the server through the access information, the updating module is further used for updating the page configuration table from the original side through the webpage side.
The determining module 203 is configured to obtain a page jump request for accessing a first target page by the native terminal, and determine, according to the page configuration table, a terminal for accessing the first target page.
And the terminal for accessing the first target page comprises the native terminal and the webpage terminal.
In a specific embodiment, the determining, according to the page configuration table, a terminal that accesses the first target page includes:
inquiring a terminal for accessing the first target page from the page configuration table;
when the query result is the identifier of the native terminal, determining the native terminal as a terminal for accessing the first target page;
and when the query result is the identification of the webpage end, determining the webpage end as a terminal for accessing the first target page.
For example, the application program may sequentially implement functions such as registration, product application, face recognition, video interview, application limit approval, application support approval, and the like, and the web page needs to implement functions such as product application, application limit approval, application support approval, and the like; the native terminal needs to realize functions of registration login, face recognition, video interview and the like.
The native terminal obtains a page jump request for accessing a first target page (a user inputs login information and inputs a page adjustment request to the native terminal by clicking the first target page to realize a login function). And querying the terminal accessing the first target page from the page configuration table as a native terminal (that is, the query result is the identifier of the native terminal), and determining the native terminal as the terminal accessing the first target page.
The switching module 204 is configured to, when the native terminal determines, according to the page configuration table, that the terminal accessing the first target page is the web page terminal of the application, switch from the native terminal to the web page terminal, and transmit the access information to the web page terminal.
In a specific embodiment, the switching from the native side to the web page side and the transmitting the access information to the web page side include:
and switching from the native terminal to the webpage terminal by using an openURL method, and transmitting the access information to the webpage terminal by using the access information as a parameter of the openURL method.
When the product application function is realized, a terminal accessing the first target page is judged to be the webpage end according to the page configuration table, the terminal is switched from the native end to the webpage end through an openURL method, and meanwhile, the access information is used as a parameter of the openURL method to transmit the access information to the webpage end so as to access the first page through the webpage end.
An accessing module 205, configured to access the first target page by the web page according to the access information.
In a specific embodiment, before the web page terminal accesses the first target page according to the access information, the access module is further configured to send the access information to the server through the web page terminal, so that the server checks the access information based on digital authentication;
and when the verification is successful, the webpage end accesses the first target page according to the access information.
In a specific embodiment, after the web page terminal accesses the first target page according to the access information, the access module is further configured to update the page configuration table from the server through the web page terminal;
the webpage side obtains a page jump request for accessing a second target page, and judges a terminal for accessing the second target page according to the page configuration table;
when the terminal accessing the second target page is judged to be the native terminal according to the page configuration table, switching from the webpage terminal to the native terminal, and transmitting the access information to the native terminal;
and the native terminal accesses the second target page according to the access information.
Specifically, the switching from the webpage end to the native end is performed; transmitting the access information to the native peer includes:
and awakening the native terminal by a URL Scheme method, and transmitting the access information to the native terminal.
Before the access information is transmitted to the native terminal, the updating module is further configured to update the access information.
The access module is further used for switching from the webpage end to the native end when the webpage end judges that a terminal accessing a second target page is the native end according to the page configuration table, and the webpage end transmits the access information to the native end;
the native terminal sends the access information to the server, so that the server checks the access information based on digital authentication;
and when the verification is successful, the native terminal accesses the second target page according to the access information.
The page accessing device 20 of the second embodiment determines, through the page configuration table, a terminal that accesses the first target page, and accesses the first target page through a different terminal of an application program, so as to implement a function corresponding to the first target page. The application program can access the page through the interaction of the native side and the webpage side. The separation of the service flow and the function realization can be realized through the page configuration table, so that the native terminal is more focused on the function realization (such as calling a GPS, a camera and the like); making the web page heavier than the business process. The function updating of the application program can be realized by updating the webpage end of the application program, and the updating of the native end is reduced, so that the application market platform is prevented from auditing the application program. And determining a terminal for accessing the target page according to the target page to be accessed. According to the embodiment, the page is accessed through the native side and the webpage side of the application program, and the scene adaptability of page access is improved.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, which stores computer-readable instructions, and the computer-readable instructions, when executed by a processor, implement the steps in the above-mentioned page access method embodiment, for example, the steps 101 and 105 shown in fig. 1:
101, a native terminal of an application program requests a server for login according to login information of a user;
102, when the native terminal determines that the user successfully logs in, acquiring access information, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
103, the primary terminal acquires a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table;
104, when the native terminal judges that the terminal accessing the first target page is the webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal;
105, the webpage end accesses the first target page according to the access information.
Alternatively, the computer readable instructions, when executed by the processor, implement the functions of the modules in the above device embodiments, for example, the module 201 and 205 in fig. 2:
a request module 201, configured to request a server to log in according to login information of a user by a native terminal of an application;
an updating module 202, configured to obtain access information when the native terminal determines that the user successfully logs in, and update a page configuration table from the server through the access information, where the page configuration table includes mapping information of a page to be accessed and a terminal;
the judging module 203 is configured to obtain a page jump request for accessing a first target page by the primary terminal, and judge, according to the page configuration table, a terminal for accessing the first target page;
the switching module 204 is configured to, when the native terminal determines, according to the page configuration table, that the terminal accessing the first target page is a web page terminal of the application, switch from the native terminal to the web page terminal, and transmit the access information to the web page terminal;
an accessing module 205, configured to access the first target page by the web page according to the access information.
Example four
Fig. 3 is a schematic diagram of a computer device according to a third embodiment of the present invention. The computer device 30 comprises a memory 301, a processor 302 and computer readable instructions 303, such as a page access program, stored in the memory 301 and executable on the processor 302. The processor 302, when executing the computer readable instructions 303, implements the steps in the above-described page access method embodiments, such as 101-105 shown in fig. 1:
101, a native terminal of an application program requests a server for login according to login information of a user;
102, when the native terminal determines that the user successfully logs in, acquiring access information, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
103, the primary terminal acquires a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table;
104, when the native terminal judges that the terminal accessing the first target page is the webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal;
105, the webpage end accesses the first target page according to the access information.
Alternatively, the computer readable instructions, when executed by the processor, implement the functions of the modules in the above device embodiments, for example, the module 201 and 205 in fig. 2:
an obtaining module 201, configured to obtain a plurality of medical institutions, a preset index set, a preset data set, and legal texts for supervising the medical institutions;
a request module 201, configured to request a server to log in according to login information of a user by a native terminal of an application;
an updating module 202, configured to obtain access information when the native terminal determines that the user successfully logs in, and update a page configuration table from the server through the access information, where the page configuration table includes mapping information of a page to be accessed and a terminal;
the judging module 203 is configured to obtain a page jump request for accessing a first target page by the primary terminal, and judge, according to the page configuration table, a terminal for accessing the first target page;
the switching module 204 is configured to, when the native terminal determines, according to the page configuration table, that the terminal accessing the first target page is a web page terminal of the application, switch from the native terminal to the web page terminal, and transmit the access information to the web page terminal;
an accessing module 205, configured to access the first target page by the web page according to the access information.
Illustratively, the computer readable instructions 303 may be partitioned into one or more modules that are stored in the memory 301 and executed by the processor 302 to perform the present method. The one or more modules may be a series of computer-readable instructions capable of performing certain functions and describing the execution of the computer-readable instructions 303 in the computer device 30. For example, the computer readable instructions 303 may be divided into the request module 201, the update module 202, the judgment module 203, the switching module 204, and the access module 205 in fig. 2, and the specific functions of each module are described in embodiment two.
Those skilled in the art will appreciate that the schematic diagram 3 is merely an example of the computer device 30 and does not constitute a limitation of the computer device 30, and may include more or less components than those shown, or combine certain components, or different components, for example, the computer device 30 may also include input and output devices, network access devices, buses, etc.
The Processor 302 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor 302 may be any conventional processor or the like, the processor 302 being the control center for the computer device 30 and connecting the various parts of the overall computer device 30 using various interfaces and lines.
The memory 301 may be used to store the computer-readable instructions 303, and the processor 302 may implement the various functions of the computer device 30 by executing or executing the computer-readable instructions or modules stored in the memory 301 and invoking data stored in the memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the computer device 30, and the like. In addition, the Memory 301 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The modules integrated by the computer device 30 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by hardware that is configured to be instructed by computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer readable instructions comprise computer readable instruction code which may be in source code form, object code form, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, Read Only Memory (ROM), Random Access Memory (RAM), etc.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the page access method according to the embodiments of the present invention.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is to be understood that the word "comprising" does not exclude other modules or steps, and the singular does not exclude the plural. A plurality of modules or means recited in the system claims may also be implemented by one module or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A page access method, characterized in that the page access method comprises:
the native terminal of the application program requests the server for login according to the login information of the user;
when the native terminal determines that the user successfully logs in, acquiring access information, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
the primary terminal acquires a page jump request for accessing a first target page, and judges a terminal for accessing the first target page according to the page configuration table;
when the native terminal judges that a terminal accessing the first target page is a webpage terminal of the application program according to the page configuration table, switching from the native terminal to the webpage terminal, and transmitting the access information to the webpage terminal;
and the webpage end accesses the first target page according to the access information.
2. The page access method of claim 1, wherein the requesting, by the native side of the application program, the login from the server according to the login information of the user comprises:
generating a random signature identification;
receiving a login request of a user;
combining the random signature with the user name and the user password in the login request to obtain the login information;
encrypting the login information by using a preset public key to obtain encrypted login information;
submitting the encrypted login information to the server;
when the unique login identification sent by the server is received within the preset time, the login success is determined;
and when the unique login identification sent by the server is not received or the login failure identification is received within the preset time, determining that the login fails.
3. The page access method of claim 1, wherein before the native side of the application requests a server for login based on the login information of the user, the page access method further comprises:
the native terminal judges whether the access information exists locally;
when the native terminal judges that the access information does not exist locally, the native terminal requests a server for login according to the login information;
and when the native terminal judges that the access information exists locally and is effective, updating a page configuration table from the server according to the access information.
4. The page access method according to claim 1, wherein said determining, according to the page configuration table, a terminal that accesses the first target page comprises:
inquiring a terminal for accessing the first target page from the page configuration table;
when the query result is the identifier of the native terminal, determining the native terminal as a terminal for accessing the first target page;
and when the query result is the identification of the webpage end, determining the webpage end as a terminal for accessing the first target page.
5. The page access method of claim 1, wherein the switching from the native side to the web side and the transmitting the access information to the web side comprises:
and switching from the native terminal to the webpage terminal by using an openURL method, and transmitting the access information to the webpage terminal by using the access information as a parameter of the openURL method.
6. The page access method according to claim 1, wherein before the web page terminal accesses the first target page according to the access information, the page access method further comprises:
the webpage side sends the access information to the server, so that the server checks the access information based on digital authentication;
and when the verification is successful, the webpage end accesses the first target page according to the access information.
7. The page access method according to claim 1, wherein after the web page terminal accesses the first target page according to the access information, the page access method further comprises:
the webpage side updates the page configuration table from the server;
the webpage side obtains a page jump request for accessing a second target page, and judges a terminal for accessing the second target page according to the page configuration table;
when the terminal accessing the second target page is judged to be the native terminal according to the page configuration table, switching from the webpage terminal to the native terminal, and transmitting the access information to the native terminal;
and the native terminal accesses the second target page according to the access information.
8. A page access apparatus, characterized in that the page access apparatus comprises:
the request module is used for requesting the server to log in by the native terminal of the application program according to the login information of the user;
the updating module is used for acquiring access information when the native terminal determines that the user logs in successfully, and updating a page configuration table from the server through the access information, wherein the page configuration table comprises mapping information of a page to be accessed and a terminal;
the judging module is used for acquiring a page jump request for accessing a first target page by the primary terminal and judging a terminal for accessing the first target page according to the page configuration table;
the switching module is used for switching from the native terminal to the webpage terminal and transmitting the access information to the webpage terminal when the native terminal judges that the terminal accessing the first target page is the webpage terminal of the application program according to the page configuration table;
and the access module is used for the webpage end to access the first target page according to the access information.
9. A computer device comprising a processor for executing computer readable instructions stored in a memory to implement a page access method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by a processor, implement the page access method of any one of claims 1 to 7.
CN202010760685.5A 2020-07-31 2020-07-31 Page access method and related equipment Pending CN111897613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010760685.5A CN111897613A (en) 2020-07-31 2020-07-31 Page access method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010760685.5A CN111897613A (en) 2020-07-31 2020-07-31 Page access method and related equipment

Publications (1)

Publication Number Publication Date
CN111897613A true CN111897613A (en) 2020-11-06

Family

ID=73182975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010760685.5A Pending CN111897613A (en) 2020-07-31 2020-07-31 Page access method and related equipment

Country Status (1)

Country Link
CN (1) CN111897613A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580076A (en) * 2020-12-21 2021-03-30 天元大数据信用管理有限公司 Security and confidentiality method applied to financial transaction front-end projects
CN112612983A (en) * 2021-01-07 2021-04-06 上海哔哩哔哩科技有限公司 Page access method and system
CN113672965A (en) * 2021-10-21 2021-11-19 杭州太美星程医药科技有限公司 Information processing method, information processing apparatus, information transmitting apparatus, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893508A (en) * 2016-03-30 2016-08-24 北京京东尚科信息技术有限公司 Method, device and system for determining access sequence of native page and H5 page
CN106201610A (en) * 2016-07-06 2016-12-07 青岛海信移动通信技术股份有限公司 Web application accesses the method and device of the primary function of terminal
CN106445583A (en) * 2016-08-31 2017-02-22 广州品唯软件有限公司 Page display method, equipment and system
CN107305553A (en) * 2016-04-20 2017-10-31 北京京东尚科信息技术有限公司 The method and system of the Hybrid pages are dynamically redirected in a kind of App based on Hybrid
CN107798064A (en) * 2017-09-19 2018-03-13 上海壹账通金融科技有限公司 Page processing method, electronic equipment and computer-readable recording medium
CN110399578A (en) * 2018-04-17 2019-11-01 腾讯科技(深圳)有限公司 Page access method and device
CN111338960A (en) * 2020-02-27 2020-06-26 中国平安人寿保险股份有限公司 Buried point data acquisition method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893508A (en) * 2016-03-30 2016-08-24 北京京东尚科信息技术有限公司 Method, device and system for determining access sequence of native page and H5 page
CN107305553A (en) * 2016-04-20 2017-10-31 北京京东尚科信息技术有限公司 The method and system of the Hybrid pages are dynamically redirected in a kind of App based on Hybrid
CN106201610A (en) * 2016-07-06 2016-12-07 青岛海信移动通信技术股份有限公司 Web application accesses the method and device of the primary function of terminal
CN106445583A (en) * 2016-08-31 2017-02-22 广州品唯软件有限公司 Page display method, equipment and system
CN107798064A (en) * 2017-09-19 2018-03-13 上海壹账通金融科技有限公司 Page processing method, electronic equipment and computer-readable recording medium
CN110399578A (en) * 2018-04-17 2019-11-01 腾讯科技(深圳)有限公司 Page access method and device
CN111338960A (en) * 2020-02-27 2020-06-26 中国平安人寿保险股份有限公司 Buried point data acquisition method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112580076A (en) * 2020-12-21 2021-03-30 天元大数据信用管理有限公司 Security and confidentiality method applied to financial transaction front-end projects
CN112612983A (en) * 2021-01-07 2021-04-06 上海哔哩哔哩科技有限公司 Page access method and system
CN112612983B (en) * 2021-01-07 2022-12-13 上海哔哩哔哩科技有限公司 Page access method and system
CN113672965A (en) * 2021-10-21 2021-11-19 杭州太美星程医药科技有限公司 Information processing method, information processing apparatus, information transmitting apparatus, and storage medium

Similar Documents

Publication Publication Date Title
US7428750B1 (en) Managing multiple user identities in authentication environments
US8087060B2 (en) Chaining information card selectors
US9674194B1 (en) Privilege distribution through signed permissions grants
RU2463715C2 (en) Providing digital identification presentations
JP2019160312A (en) Blockchain node, method of blockchain node, and computer program for blockchain node
US20120036141A1 (en) Extended user profile
CN111897613A (en) Page access method and related equipment
CN105659558A (en) Multiple resource servers with single, flexible, pluggable OAuth server and OAuth-protected RESTful OAuth consent management service, and mobile application single sign on OAuth service
US8479006B2 (en) Digitally signing documents using identity context information
US20200125247A1 (en) Dynamic credit report obfuscation
US20220029993A1 (en) Virtual service authorization
US20170272445A1 (en) Non-transitory computer readable medium, information processing apparatus, and information processing method
TW202134903A (en) Information read-write method and device based on block chain
EP3513316B1 (en) Personalized search environment
US20220058278A1 (en) Using machine learning to bypass activities of a secure document workflow based on recipient profile
US11784994B2 (en) Management device, management system, and non-transitory computer readable medium
JP5707204B2 (en) Identification system and identification method
EP1970834A2 (en) Access controller
US11989317B2 (en) Modifying elements of a secure document workflow based on change in profile of recipient
US11403156B2 (en) API hub architecture
JP6075011B2 (en) Information processing apparatus, system, and information providing method
CN111447178B (en) Access control method, system and computing device
JP2010152492A (en) Device, system, and method for providing personal information
US20090177510A1 (en) System and method of generating a business plan
CN110298751A (en) Cross-platform transaction data processing method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201106

WD01 Invention patent application deemed withdrawn after publication