CN113395240B - Data acquisition method, device, equipment and medium - Google Patents

Data acquisition method, device, equipment and medium Download PDF

Info

Publication number
CN113395240B
CN113395240B CN202010172727.3A CN202010172727A CN113395240B CN 113395240 B CN113395240 B CN 113395240B CN 202010172727 A CN202010172727 A CN 202010172727A CN 113395240 B CN113395240 B CN 113395240B
Authority
CN
China
Prior art keywords
target
information
server
page
user login
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.)
Active
Application number
CN202010172727.3A
Other languages
Chinese (zh)
Other versions
CN113395240A (en
Inventor
武胜利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010172727.3A priority Critical patent/CN113395240B/en
Publication of CN113395240A publication Critical patent/CN113395240A/en
Application granted granted Critical
Publication of CN113395240B publication Critical patent/CN113395240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data acquisition method, a device, equipment and a medium. The data acquisition method comprises the following steps: receiving target input of a user in a target application; in response to the target input, obtaining user login information associated with a target browser, the target browser running within a target application; sending a first data request carrying user login information to a server; and receiving the first service data fed back by the server, and feeding back the first service data corresponding to the first data request by the server under the condition that the user login information in the first data request is determined to be effective information. According to the embodiment of the invention, the acquisition efficiency of the service data can be improved, and the waiting time of the user can be reduced.

Description

Data acquisition method, device, equipment and medium
Technical Field
The present invention belongs to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for acquiring data.
Background
Generally, when a user uses an application program (e.g., a social application program) on an electronic device (e.g., a mobile phone, a tablet computer, etc.), if the user wants to use a built-in browser of the application program to enter an external link page to access a service corresponding to the external link page, the electronic device first jumps to a user login page corresponding to the external link page, so that the user completes account login in a user login interface, and then the electronic device jumps to the external link page.
Therefore, in the process of entering the external link page, the electronic device needs to skip pages for a plurality of times, the acquisition efficiency of the page data is lower, and if the time of each page skip is longer, the waiting time of the user is longer, so that the use experience of the user is poorer.
Disclosure of Invention
The embodiment of the invention provides a data acquisition method, a device, equipment and a medium, which can improve the acquisition efficiency of service data and reduce the waiting time of a user.
In a first aspect, an embodiment of the present invention provides a data acquisition method, including:
receiving target input of a user in a target application;
in response to the target input, obtaining user login information associated with a target browser, the target browser running within a target application;
sending a first data request carrying user login information to a server;
and receiving the first service data fed back by the server, and feeding back the first service data corresponding to the first data request by the server under the condition that the user login information in the first data request is determined to be effective information.
In a second aspect, an embodiment of the present invention provides a data acquisition method, including:
under the condition that a first data request carrying user login information sent by electronic equipment is received, acquiring the user login information; wherein the user login information is associated with a target browser in a target application running in the electronic device;
And under the condition that the user login information is determined to be effective information, feeding back the first service data corresponding to the first data request to the electronic equipment.
In a third aspect, an embodiment of the present invention provides a data acquisition method, including:
the method comprises the steps that electronic equipment receives target input of a user in a target application, wherein the target input is input of a target page used for entering a target browser, and the target browser runs in the target application;
in response to the target input, obtaining user login information associated with the target browser, the user login information including cookie information;
sending a first data request carrying user login information to a server;
receiving first service data fed back by a server, and feeding back the first service data corresponding to the first data request by the server under the condition that user login information in the first data request is determined to be effective information, wherein the first service data comprises page data corresponding to a target page;
and displaying the target page according to the first service data.
In a fourth aspect, an embodiment of the present invention provides a data acquisition method, including:
under the condition that a first data request carrying user login information sent by electronic equipment is received by a server, the user login information is obtained, the server corresponds to a target application, the user login information is associated with a target browser in the target application running in the electronic equipment, and the user login information comprises cookie information;
And under the condition that the user login information is determined to be effective information, feeding back first service data corresponding to the first data request to the electronic equipment, wherein the first service data comprises page data corresponding to a target page in the target browser.
In a fifth aspect, an embodiment of the present invention provides a data acquisition apparatus, including:
the first input module is used for receiving target input of a user in a target application;
the first acquisition module is used for responding to target input and acquiring user login information associated with a target browser, wherein the target browser runs in a target application;
the first sending module is used for sending a first data request carrying user login information to the server;
the first receiving module is used for receiving the first service data fed back by the server, and the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information.
In a sixth aspect, an embodiment of the present invention provides a data acquisition apparatus, including:
the second acquisition module is used for acquiring the user login information under the condition of receiving a first data request carrying the user login information sent by the electronic equipment; wherein the user login information is associated with a target browser in a target application running in the electronic device;
And the first feedback module is used for feeding back the first service data corresponding to the first data request to the electronic equipment under the condition that the user login information is determined to be effective information.
In a seventh aspect, an embodiment of the present invention provides a data acquisition apparatus, including:
the second input module is used for receiving target input of a user in a target application by the electronic equipment, wherein the target input is input for entering a target page in a target browser, and the target browser runs in the target application;
the third acquisition module is used for responding to the target input and acquiring user login information associated with the target browser, wherein the user login information comprises cookie information;
the second sending module is used for sending a first data request carrying user login information to the server;
the second receiving module is used for receiving the first service data fed back by the server, and the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information, wherein the first service data comprises page data corresponding to a target page;
and the page display module is used for displaying the target page according to the first service data.
In an eighth aspect, an embodiment of the present invention provides a data acquisition apparatus, including:
a fourth obtaining module, configured to obtain, by when the server receives a first data request carrying user login information sent by the electronic device, the user login information, where the server is a server corresponding to a target application, the user login information is associated with a target browser running in the target application in the electronic device, and the user login information includes cookie information;
and the second feedback module is used for feeding back first service data corresponding to the first data request to the electronic equipment under the condition that the user login information is determined to be effective information, wherein the first service data comprises page data corresponding to a target page in the target browser.
In a ninth aspect, an embodiment of the present invention provides a data acquisition apparatus, including: a processor and a memory storing computer program instructions;
the processor when executing the computer program instructions implements the data acquisition method according to the first, second, third or fourth aspects.
In a tenth aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a data acquisition method according to the first, second, third or fourth aspects.
According to the data acquisition method, device, equipment and medium, after target input of a user in a target application is received, user login information associated with a target browser operated in the target application is acquired first, and then a first data request carrying the user login information is sent to a server, so that the user login information associated with the target browser is directly sent to the server without jumping to a user login interface for account login of the user, and the server confirms that the target browser is in a login state on a service corresponding to the server under the condition that the user login information in the received first data request is confirmed to be effective information, so that first service data corresponding to the first data request is fed back, service data acquisition efficiency is improved, waiting time of the user is reduced, and using experience of the user is good.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a system architecture diagram of a page browsing system provided in one embodiment of the present invention;
FIG. 2 is a flow chart of a data acquisition method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a data acquisition method according to another embodiment of the present invention;
FIG. 4 is a flowchart of a data acquisition method according to another embodiment of the present invention;
FIG. 5 is a flowchart of a data acquisition method according to still another embodiment of the present invention;
FIG. 6 is a schematic diagram of a data acquisition device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a data acquisition device according to another embodiment of the present invention;
fig. 8 is a schematic hardware structure of a data acquisition device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
An external link refers to a link displayed within an application for jumping to a service provided by a third party other than the provider of the application. The external link page refers to a service page corresponding to the external link. The service providing device refers to a device for supporting a service corresponding to the external link. At present, when a user uses a built-in browser of an application program on an electronic device to enter an external link page provided by a service providing device, the service providing device firstly sends a page jump instruction to the electronic device, so that the electronic device jumps to a user login page corresponding to the external link page, the user finishes account login in a user login interface, and then the service providing device sends page data of the external link page to the electronic device, so that the electronic device jumps to the external link page.
Therefore, the electronic device needs to skip pages for a plurality of times in the process of entering the external link page, so that the acquisition efficiency of the page data is reduced. In addition, if the time of each page jump is long, the waiting time of the user is increased, so that the use experience of the user is poor.
In order to solve the problems in the prior art, the embodiment of the invention provides a data acquisition method, a device, equipment and a medium.
Fig. 1 shows a system architecture diagram of a page browsing system according to an embodiment of the present invention. As shown in fig. 1, the page browsing system includes an electronic device 110 and an externally linked service providing device 120. Electronic device 110 may include, but is not limited to, a cell phone, tablet computer, notebook computer, palm top computer, vehicle mounted terminal, wearable device, and the like. The service providing device 120 may include a server, an edge side device, a gateway device, a 5G base station, and the like for supporting a service corresponding to the external link. In particular, the server may be a high-performance electronic calculator for storing and processing data. In the case where the electronic device 110 is connected to the lan, the edge side device or the gateway device in the lan may pre-cache the page data corresponding to the external connection, and the electronic device 110 may obtain the page data from the cache of the edge side device or the gateway device. In the case where the electronic device 110 is communicatively connected to the 5G base station, the 5G base station may pre-cache page data corresponding to the external connection, and the electronic device 110 may obtain the page data from the cache of the 5G base station.
Wherein an application program capable of opening an out-link page provided by the service providing device 120 may be run on the electronic device 110. The user may display the out-link page through an in-built browser of an application on the electronic device 110.
When a user clicks an external link displayed in an application program on the electronic device 110, the electronic device 110 may first obtain user login information associated with a built-in browser of the application program, and send a page data request carrying the user login information to a server, after receiving the page data request, the service providing device 120 corresponding to the external link may first detect whether valid user login information exists in the page data request sent by the electronic device 110, and if valid user login information exists, confirm that the built-in browser of the application program on the electronic device 110 is in a login state, and directly send the page data requested to be obtained to the electronic device 110, so that the electronic device 110 displays an external link page corresponding to the external link according to the page data.
Therefore, in the embodiment of the present invention, the electronic device 110 may directly send the user login information in the electronic device to the service providing device 120 without the perception of the user, without the electronic device 110 jumping to the user login interface, and without the user manually performing account login or authorized login in the user login interface, so that the number of page jumping times may be reduced, the data acquisition efficiency may be improved, the waiting time of the user may be reduced, and the use experience of the user may be better.
The following first describes a data acquisition method provided by an embodiment of the present invention.
Fig. 2 is a flow chart of a data acquisition method according to an embodiment of the present invention.
In some embodiments of the present invention, the data acquisition method shown in FIG. 2 may be performed by an electronic device, such as electronic device 110 shown in FIG. 1. As shown in fig. 2, the data acquisition method may include:
s202, receiving target input of a user in a target application;
s204, responding to target input, acquiring user login information associated with a target browser, wherein the target browser runs in a target application;
s206, sending a first data request carrying user login information to a server;
s208, receiving the first service data fed back by the server, and feeding back the first service data corresponding to the first data request by the server under the condition that the user login information in the first data request is determined to be effective information.
In the embodiment of the invention, after receiving the target input of the user in the target application, the user login information associated with the target browser running in the target application can be firstly obtained, and then the first data request carrying the user login information is sent to the server, so that the user login information associated with the target browser is directly sent to the server without jumping to the user login interface for the user to log in the account, and the server confirms that the target browser is in a login state on the service corresponding to the server under the condition that the user login information in the received first data request is determined to be effective information, thereby feeding back the first service data corresponding to the first data request, improving the service data obtaining efficiency, reducing the waiting time of the user and ensuring better use experience of the user.
In S202 of some embodiments of the present invention, the target input may be an input for entering a target page in a target browser.
In some embodiments, the target page may be an external link page corresponding to an external link in the target application, and the target input may be specifically an input of the external link page corresponding to the external link in the application interface of the target application entered through the target browser. The target input may be click input, long press input, double click input, or the like of the external link.
Therefore, when a user enters an external link page corresponding to an external link in a target application through the target browser, the server can determine the login state of the target browser on the service corresponding to the server.
In other embodiments, the target page may be a function page corresponding to a function component in the external link page displayed in the target browser, and the target input may be specifically an input of the function page entering the external link page through the target browser. The target input may be a click input, a long press input, or a double click input to the functional component.
Therefore, when a user enters an external link page corresponding to an external link in a target application through the target browser, the server can determine the login state of the target browser on the service corresponding to the server only when the user enters a functional page needing to detect the login state, and the login state of the target browser on the service corresponding to the server is uncertain.
In some embodiments of the present invention, the target application may be any type of application program such as a social application, an instant messaging application, an entertainment application, a video application, etc. that has a target browser built therein, and the built-in browser supports an application program that opens an external link page provided by the service providing device, and the application program itself needs to log in an account.
In other embodiments of the present invention, the target application may also be an application program that logs in with an account number having a security level greater than or equal to the target security level. Taking an example that the account security level set by the application program has 5 levels and the target security level is 4 levels, only the application program logged in with the account with the security level of 4-5 levels can be used as the target application.
In still other embodiments of the present invention, the security level of the target application may be greater than or equal to the target security level. Taking an example that the security level of the application program has 5 levels and the target security level is 4 levels, only the application program with the security level of 4-5 levels can be used as the target application.
In these embodiments, optionally, the specific method of S204 may include:
Determining a security level of the target application in response to the target input;
and under the condition that the security level of the target application is greater than or equal to the target security level, acquiring the user login information of the target browser.
Specifically, after the electronic device receives the target input, it needs to determine whether the security level of the target application meets the target security level, and if the security level meets the target security level, the user login information associated with the target browser may be directly sent to the server.
Therefore, the target application can be used as a trusted security container, so that the data acquisition method disclosed by the embodiment of the invention is realized by using the security container, and the security of data acquisition is further protected.
In S204 of some embodiments of the present invention, the user login information may include an account name and an account password that the target browser has logged in on the server.
In S204 of other embodiments of the present invention, the user login information may further include cookie information.
In these embodiments, the cookie information may optionally include an authentication information value, a timestamp of the time of generation of the cookie, and an information identification of the cookie.
Wherein the generation time of the cookie refers to the time of generating the authentication information value, and the information identification of the cookie refers to the identification (Identity Document, ID) value of the cookie.
In some examples, the authentication information value may be an account name and an account password that the target browser has logged in to the server. In other examples, the authentication information value may also be a character string generated according to an account name and an account password that have been registered by the target browser on the server, and specifically, the character string may be generated randomly or according to a preset generation rule, where the character string has uniqueness.
Because the cookie information is locally cached information, after a user uses a target browser to log in an account on a service, the server feeds back the cookie information to the electronic device according to the logged-in user name and login password, and the electronic device can be used for caching the cookie information and the target browser in a local storage space of the electronic device. Therefore, if the electronic device acquires the cookie information of the target browser, it can be determined that the target browser is in a login state on the service corresponding to the server, and the first data request carrying the cookie information can be directly sent to the server, so that the server can determine that the target browser of the electronic device is in the login state on the service corresponding to the server according to the cookie information, and feed back the first service data corresponding to the first data request.
In the embodiment of the present invention, the electronic device may first query whether the user login information associated with the target browser exists in the local storage space of the electronic device, and if so, S204 may be executed to obtain the user login information associated with the target browser.
In S206 of the embodiment of the present invention, after the electronic device sends the first data request carrying the user login information to the server, the server may perform a request processing on the first data request.
Specifically, after the server may obtain the user login information from the first data request and determine that the user login information is valid information, it may determine that the target browser is in a login state on a service corresponding to the server, and then feed back first service data corresponding to the first data request to the electronic device.
In S208 of some embodiments of the present invention, the first service data may include page data corresponding to the target page. After the electronic device acquires the first service data, a target page can be generated according to the page data in the first service data, and the generated target page is displayed.
In S208 of other embodiments of the present invention, the first service data may further include at least one of file data, video data, image data, or audio data. Taking service data as video data as an example, after the electronic device acquires the video data, video content corresponding to the video data can be displayed according to the video data.
Fig. 3 is a flow chart illustrating a data acquisition method according to another embodiment of the present invention.
In some embodiments of the present invention, the data acquisition method shown in FIG. 3 may be performed by an electronic device, such as electronic device 110 shown in FIG. 1. As shown in fig. 3, after S206, the data acquisition method may further include:
s210, receiving a login credential acquisition request fed back by a server, and feeding back the login credential acquisition request by the server under the condition that the user login information in the first data request is invalid information;
s212, in response to the login credential acquisition request, login credential information associated with the target application is sent to the server;
s214, receiving the first service data fed back by the server, and feeding back the first service data by the server under the condition that the login credential information is determined to be effective information.
Specifically, after determining that the user login information is invalid information, the server may determine that the target browser is in a non-login state on a service corresponding to the server, so as to feed back a login credential acquisition request to the electronic device. The login credential acquisition request may be used to cause the electronic device to feed back login credential information for a target application to which the target browser belongs.
After the electronic device receives the login credential acquisition request, login credential information of the target application may be sent to the server, so that the server updates the target browser from a non-login state to a login state on a service corresponding to the server through the login credential information, and feeds back service data.
In these embodiments, the login credentials information may include an account name and an account password that the target application has logged in to on the server. The account name and the account password of the target application which are logged in on the server can be the same as or different from those of the target browser which is logged in on the server.
Therefore, the server can request the electronic equipment to acquire login credential information only when determining that the user login information is invalid information, and can reduce the login credential acquisition request times, save network resources and reduce network operation cost under the condition of ensuring the stability and reliability of data acquisition.
Fig. 4 is a schematic flow chart of a data acquisition method according to another embodiment of the present invention.
In some embodiments of the present invention, the data acquisition method shown in FIG. 4 may be performed by an electronic device, such as electronic device 110 shown in FIG. 1. As shown in fig. 4, after S202, the data acquisition method may further include:
S216, responding to target input, and sending a second data request which does not carry user login information to a server under the condition that the user login information is not acquired, wherein the second data request is used for enabling the server to feed back a login credential acquisition request;
s218, receiving a login credential acquisition request fed back by a server;
s220, in response to the login credential acquisition request, login credential information associated with the target application is sent to the server;
s222, receiving second service data fed back by the server, and feeding back the second service data corresponding to the second data request by the server under the condition that the login credential information is determined to be effective information.
In the embodiment of the present invention, the electronic device may first query whether the user login information associated with the target browser exists in the local storage space of the electronic device, and if not, S220 may be executed to send a second data request that does not carry the user login information to the server. The server may determine, in response to the second data request, that the target browser is in a non-login state on a service corresponding to the server, and feed back a login credential acquisition request to the electronic device.
In these embodiments, the login credential information is the same as the login credential information in the embodiment shown in fig. 3, and the second service data is similar to the first service data in the embodiment shown in fig. 2, and will not be described here.
In these embodiments, optionally, after sending the login credential information of the target application to the server, the data acquisition method may further include:
receiving user login information; the user login information is generated by the server according to the login credential information;
and storing the user login information in association with the target browser.
After the electronic device receives the user login information fed back by the server, the user login information and the target browser can be associated and cached in a local storage space of the electronic device, so that the target browser can enable the data request to carry the user login information when the data request is sent based on the service next time, and the server can directly respond to the data request to feed back service data.
Therefore, the server can request to acquire login credential information from the electronic equipment only when determining that the second data request does not carry user login information, and can reduce the login credential acquisition request times, save network resources and reduce network operation cost under the condition of ensuring the stability and reliability of data acquisition.
Fig. 5 is a schematic flow chart of a data acquisition method according to still another embodiment of the present invention.
In some embodiments of the present invention, the data acquisition method shown in fig. 5 may be performed by a server, for example, the service providing device 120 shown in fig. 1. As shown in fig. 5, the data acquisition method may include:
s302, under the condition that a first data request carrying user login information sent by electronic equipment is received, acquiring the user login information; wherein the user login information is associated with a target browser in a target application running in the electronic device;
and S304, feeding back the first service data corresponding to the first data request to the electronic equipment under the condition that the user login information is determined to be effective information.
In the embodiment of the invention, after receiving the first data request carrying the user login information, the server can feed back the first service data corresponding to the first data request to the electronic device under the condition that the user login information in the received first data request is determined to be effective information, so that the target browser running in the target application in the electronic device is directly determined to be in a login state on the service corresponding to the server according to the user login information, and the first service data is directly fed back to the electronic device, thereby improving the acquisition efficiency of the service data, reducing the waiting time of the user and ensuring better use experience of the user.
In S302 of the embodiment of the present invention, the server may parse the received first data request to obtain a first request parsing result, and obtain the user login information in the first request parsing result.
In S302 of some embodiments of the present invention, the user login information is similar to the user login information in the embodiment shown in fig. 2, and will not be described here.
In S304 of some embodiments of the present invention, the server may determine validity of the user login information, and in case that it is determined that the user login information is valid information, determine that the target browser of the electronic device is in a login state on a service corresponding to the server, and directly feed back, to the electronic device, first service data corresponding to the first data request.
In some embodiments, taking the example that the user login information includes a cookie information may include an authentication information value, a timestamp of a generation time of the cookie, and an information identification of the cookie, the user login information is determined to be valid information when the authentication information value matches the server login information value, the information identification of the cookie is unique, the timestamp of the generation time of the cookie is not repeated, and a difference between a current time and the timestamp does not exceed a valid time period of the cookie. If any of the above conditions is not satisfied, the user login information is determined to be invalid information.
In other embodiments, taking the example that the user login information includes the account name and the account password of the target browser which are logged in on the server, the server may further compare the account name and the account password in the user login information with the account name and the account password pre-stored in the server, if the comparison result is the same, determine that the user login information is valid information, and if the comparison result is different, determine that the user login information is invalid information.
In S304 of some embodiments of the present invention, the first service data is similar to the first service data in the embodiment shown in fig. 2, and will not be described herein.
In some embodiments of the present invention, the data acquisition method may further include:
under the condition that the user login information is invalid information, feeding back a login credential acquisition request to the electronic equipment, so that the electronic equipment feeds back the login credential information according to the login credential acquisition request, wherein the login credential information is associated with a target application;
receiving login credential information;
and feeding back the first service data to the electronic equipment under the condition that the login credential information is determined to be valid information.
Specifically, when the server determines that the user login information is invalid information, it may be determined that the target browser of the electronic device is in a non-login state on a service corresponding to the server, and in order to update the target browser from the non-login state to the login state on the service corresponding to the server, the server may feed back a login credential acquisition request to the electronic device. After receiving the login credential acquisition request, the electronic device may respond to the login credential acquisition request and feed back login credential information of the target application to the server.
In these embodiments, after the server receives the login credential information, the validity of the login credential information may be determined, and in the case that the login credential information is determined to be valid information, the target browser is updated from a non-login state to a login state on a service corresponding to the server, and the first service data corresponding to the first data request is fed back to the electronic device.
In these embodiments, the login credential information may be similar to the login credential information in the embodiment shown in fig. 3, and the method for determining the validity of the login credential information is similar to determining the validity of the user login information, which is not described herein.
In some embodiments of the present invention, the data acquisition method may further include:
under the condition that a second data request which is sent by the electronic equipment and does not carry user login information is received, responding to the second data request, and feeding back a login credential acquisition request to the electronic equipment so that the electronic equipment feeds back login credential information according to the login credential acquisition request, wherein the login credential information is associated with a target application;
receiving login credential information;
and feeding back second service data corresponding to the second data request to the electronic equipment under the condition that the login credential information is determined to be valid information.
Specifically, since the second data request does not carry the user login information, the server may determine that the target browser is in a non-login state on the service corresponding to the server, and feed back the login credential acquisition request. After receiving the login credential acquisition request, the electronic device may respond to the login credential acquisition request and feed back login credential information of the target application to the server.
In these embodiments, after the server receives the login credential information, the validity of the login credential information may be determined, and in the case where the login credential information is determined to be valid information, the target browser is updated from a non-login state to a login state on a service corresponding to the server, and service data corresponding to the second data request is fed back to the electronic device.
In these embodiments, the login credential information may be similar to the login credential information in the embodiment shown in fig. 3, the method for determining the validity of the login credential information is similar to determining the validity of the login information of the user, and the second service data is similar to the first service data in the embodiment shown in fig. 2, which is not described here.
In some embodiments of the present invention, after receiving the login credential information, the data acquisition method may further include:
Generating user login information according to the login credential information;
and feeding back user login information to the electronic equipment.
In some embodiments of the present invention, the server may obtain an account name and an account password of the target application in the login credential information, and use the account name and the account password as the user login information. In other embodiments of the present invention, the server may obtain an account name and an account password of the target application in the login credential information, generate an authentication information value according to the account name and the account password, obtain a time of generating the authentication information value as a timestamp of a generation time of the cookie, and generate an ID value for the cookie as an information identifier of the cookie, thereby obtaining cookie information including the authentication information value, the timestamp of the generation time of the cookie, and the information identifier of the cookie as user login information.
The embodiment of the invention also provides a data acquisition method, which comprises the following steps:
the method comprises the steps that electronic equipment receives target input of a user in a target application, wherein the target input is input of a target page used for entering a target browser, and the target browser runs in the target application;
in response to the target input, obtaining user login information associated with the target browser, the user login information including cookie information;
Sending a first data request carrying user login information to a server;
receiving first service data fed back by a server, and feeding back the first service data corresponding to the first data request by the server under the condition that user login information in the first data request is determined to be effective information, wherein the first service data comprises page data corresponding to a target page;
and displaying the target page according to the first service data.
Therefore, in the embodiment of the invention, the electronic equipment can directly send the cookie information in the electronic equipment to the server under the condition that the user does not feel, the electronic equipment does not need to jump to the user login interface again, and the user does not need to manually carry out account login or authorized login in the user login interface, so that the target page can be directly opened, the page jump times can be reduced, the data acquisition efficiency is improved, the waiting time of the user is reduced, and the use experience of the user is better.
The embodiment of the invention also provides a data acquisition method, which comprises the following steps:
under the condition that a first data request carrying user login information sent by electronic equipment is received by a server, the user login information is obtained, the server corresponds to a target application, the user login information is associated with a target browser in the target application running in the electronic equipment, and the user login information comprises cookie information;
And under the condition that the user login information is determined to be effective information, feeding back first service data corresponding to the first data request to the electronic equipment, wherein the first service data comprises page data corresponding to a target page in the target browser.
In the embodiment of the invention, after receiving the first data request carrying the user login information, the server can feed back the page data corresponding to the first data request to the electronic device under the condition that the user login information in the received first data request is determined to be effective information, so that the target browser in the target application running in the electronic device is directly determined to be in a login state on the service corresponding to the server according to the user login information, and the page data is directly fed back to the electronic device, thereby improving the acquisition efficiency of the page data, reducing the waiting time of the user and ensuring better use experience of the user.
Fig. 6 is a schematic structural diagram of a data acquisition device according to an embodiment of the present invention.
In some embodiments of the present invention, the data acquisition device shown in fig. 6 may be disposed within an electronic device, such as electronic device 110 shown in fig. 1. As shown in fig. 6, the data acquisition device may include:
A first input module 410 for receiving a target input of a user in a target application;
a first obtaining module 420, configured to obtain user login information associated with a target browser in response to a target input, where the target browser is running in a target application;
a first sending module 430, configured to send a first data request carrying user login information to a server;
the first receiving module 440 is configured to receive the first service data fed back by the server, and if the server determines that the user login information in the first data request is valid information, feed back the first service data corresponding to the first data request.
In the embodiment of the invention, after receiving the target input of the user in the target application, the user login information associated with the target browser running in the target application can be firstly obtained, and then the first data request carrying the user login information is sent to the server, so that the user login information associated with the target browser is directly sent to the server without jumping to the user login interface for the user to log in the account, and the server confirms that the target browser is in a login state on the service corresponding to the server under the condition that the user login information in the received first data request is determined to be effective information, thereby feeding back the first service data corresponding to the first data request, improving the service data obtaining efficiency, reducing the waiting time of the user and ensuring better use experience of the user.
In some embodiments of the present invention, the data acquisition device may further include:
the third receiving module is used for receiving a login credential acquisition request fed back by the server after sending a first data request carrying user login information to the server, and feeding back the login credential acquisition request when the server determines that the user login information in the first data request is invalid information;
the third sending module is used for responding to the login credential acquisition request and sending login credential information associated with the target application to the server;
and the fourth receiving module is used for receiving the first service data fed back by the server, and the server feeds back the first service data under the condition that the login credential information is determined to be effective information.
In some embodiments of the present invention, the data acquisition device may further include:
the fourth sending module is used for responding to target input, and sending a second data request which does not carry user login information to the server under the condition that the user login information is not acquired, wherein the second data request is used for enabling the server to feed back a login credential acquisition request;
the fifth receiving module is used for receiving a login credential acquisition request fed back by the server;
A fifth sending module, configured to send login credential information associated with the target application to the server in response to the login credential acquisition request;
and the sixth receiving module is used for receiving the second service data fed back by the server, and the server feeds back the second service data corresponding to the second data request under the condition that the login credential information is determined to be the effective information.
In some embodiments of the present invention, the login credential information includes an account name and an account password of the target application.
In some embodiments of the present invention, the data acquisition device may further include:
a seventh receiving module, configured to receive user login information after sending login credential information of the target application to the server; the user login information is generated by the server according to the login credential information;
and the information storage module is used for storing the user login information and the target browser in an associated mode.
In some embodiments of the invention, the target input is an input for entering a target page in a target browser.
In some embodiments of the present invention, the first service data includes page data corresponding to the target page.
In some embodiments of the invention, the user login information includes cookie information.
In some embodiments of the invention, the cookie information includes an authentication information value, a timestamp of the time of generation of the cookie, and an information identification of the cookie.
In some embodiments of the present invention, the first obtaining module 420 may specifically be configured to:
determining a security level of the target application in response to the target input;
and under the condition that the security level of the target application is greater than or equal to the target security level, acquiring the user login information of the target browser.
It should be noted that, the data transmission device provided in the embodiment of the present invention can implement each process and effect in the method embodiments shown in fig. 2 to 4, and the principle is similar, so that the repetition is avoided, and no redundant description is provided here.
Fig. 7 is a schematic structural diagram of a data acquisition device according to another embodiment of the present invention.
In some embodiments of the present invention, the data acquisition device shown in fig. 7 may be provided in a server, for example, the service providing apparatus 120 shown in fig. 1. As shown in fig. 7, the data acquisition device may include:
a second obtaining module 510, configured to obtain user login information when receiving a first data request carrying the user login information sent by the electronic device; wherein the user login information is associated with a target browser in a target application running in the electronic device;
The first feedback module 520 is configured to, when determining that the user login information is valid information, feed back first service data corresponding to the first data request to the electronic device.
In the embodiment of the invention, after receiving the first data request carrying the user login information, the server can feed back the first service data corresponding to the first data request to the electronic device under the condition that the user login information in the received first data request is determined to be effective information, so that the target browser running in the target application in the electronic device is directly determined to be in a login state on the service corresponding to the server according to the user login information, and the first service data is directly fed back to the electronic device, thereby improving the acquisition efficiency of the service data, reducing the waiting time of the user and ensuring better use experience of the user.
In some embodiments of the present invention, the data acquisition device may further include:
the second feedback module is used for feeding back a login credential acquisition request to the electronic equipment under the condition that the login information of the user is invalid, so that the electronic equipment feeds back the login credential information according to the login credential acquisition request, and the login credential information is associated with the target application;
An eighth receiving module, configured to receive login credential information;
and the third feedback module is used for feeding back the first service data to the electronic equipment under the condition that the login credential information is determined to be effective information.
In some embodiments of the present invention, the data acquisition device may further include:
the fourth feedback module is used for responding to the second data request and feeding back a login credential acquisition request to the electronic equipment under the condition that the second data request which is sent by the electronic equipment and does not carry user login information is received, so that the electronic equipment feeds back the login credential information according to the login credential acquisition request, and the login credential information is associated with the target application;
a ninth receiving module, configured to receive login credential information;
and the fifth feedback module is used for feeding back second service data corresponding to the second data request to the electronic equipment under the condition that the login credential information is determined to be effective information.
In some embodiments of the present invention, the login credential information includes an account name and an account password of the target application.
In some embodiments of the present invention, the data acquisition device may further include:
the information generation module is used for generating user login information according to the login credential information after receiving the login credential information;
And the sixth feedback module is used for feeding back the user login information to the electronic equipment.
In some embodiments of the invention, the user login information is cookie information.
In some embodiments of the invention, the cookie information includes an authentication information value, a timestamp of the time of generation of the cookie, and an information identification of the cookie.
It should be noted that, the data transmission device provided in the embodiment of the present invention can implement each process and effect in the method embodiment shown in fig. 3, and the principle is similar, so that the repetition is avoided, and no redundant description is provided herein.
The embodiment of the invention also provides a data acquisition device, which comprises:
the second input module is used for receiving target input of a user in a target application by the electronic equipment, wherein the target input is input for entering a target page in a target browser, and the target browser runs in the target application;
the third acquisition module is used for responding to the target input and acquiring user login information associated with the target browser, wherein the user login information comprises cookie information;
the second sending module is used for sending a first data request carrying user login information to the server;
the second receiving module is used for receiving the first service data fed back by the server, and the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information, wherein the first service data comprises page data corresponding to a target page;
And the page display module is used for displaying the target page according to the first service data.
Therefore, in the embodiment of the invention, the electronic equipment can directly send the cookie information in the electronic equipment to the server under the condition that the user does not feel, the electronic equipment does not need to jump to the user login interface again, and the user does not need to manually carry out account login or authorized login in the user login interface, so that the target page can be directly opened, the page jump times can be reduced, the data acquisition efficiency is improved, the waiting time of the user is reduced, and the use experience of the user is better.
The embodiment of the invention also provides a data acquisition device, which comprises:
a fourth obtaining module, configured to obtain, by when the server receives a first data request carrying user login information sent by the electronic device, the user login information, where the server is a server corresponding to a target application, the user login information is associated with a target browser running in the target application in the electronic device, and the user login information includes cookie information;
and the second feedback module is used for feeding back first service data corresponding to the first data request to the electronic equipment under the condition that the user login information is determined to be effective information, wherein the first service data comprises page data corresponding to a target page in the target browser.
In the embodiment of the invention, after receiving the first data request carrying the user login information, the server can feed back the page data corresponding to the first data request to the electronic device under the condition that the user login information in the received first data request is determined to be effective information, so that the target browser in the target application running in the electronic device is directly determined to be in a login state on the service corresponding to the server according to the user login information, and the page data is directly fed back to the electronic device, thereby improving the acquisition efficiency of the page data, reducing the waiting time of the user and ensuring better use experience of the user.
Fig. 8 shows a schematic hardware structure of a data acquisition device according to an embodiment of the present invention. As shown in fig. 8, the data acquisition device 600 includes an input device 601, an input interface 602, a central processor 603, a memory 604, an output interface 605, and an output device 606. The input interface 602, the central processor 603, the memory 604, and the output interface 605 are connected to each other through a bus 610, and the input device 601 and the output device 606 are connected to the bus 610 through the input interface 602 and the output interface 605, respectively, and further connected to other components of the data acquisition device 600.
Specifically, the input device 601 receives input information from the outside and transmits the input information to the central processor 603 through the input interface 602; the central processor 603 processes the input information based on computer executable instructions stored in the memory 604 to generate output information, temporarily or permanently stores the output information in the memory 604, and then transmits the output information to the output device 606 through the output interface 605; the output device 606 outputs the output information to the outside of the data acquisition device 600 for use by a user.
That is, the data acquisition device shown in fig. 8 may also be implemented to include: a memory storing computer-executable instructions; and a processor that, when executing computer-executable instructions, can implement the data acquisition methods and apparatus described in embodiments of the present specification.
The present description also provides a computer-readable storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the data acquisition method provided by the embodiments of the present specification.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the specification are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the foregoing describes specific embodiments of the present invention. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in the order of different embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying drawings do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the foregoing, only the specific embodiments of the present disclosure are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present disclosure is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present disclosure, and these modifications or substitutions should be included in the scope of the present disclosure.

Claims (24)

1. A data acquisition method applied to an electronic device, the method comprising:
receiving target input of a user in a target application, wherein the target input is input for entering a target page in a target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
responding to the target input, acquiring user login information associated with a target browser in the electronic equipment, wherein the target browser runs in the target application, and the user login information is used for logging in the target page by the target browser;
sending a first data request carrying the user login information to a server, wherein the server is used for supporting services corresponding to the external links;
receiving first service data fed back by the server, wherein the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information;
and displaying the target page according to the first service data.
2. The method of claim 1, wherein after the sending the first data request carrying the user login information to the server, further comprises:
Receiving a login credential acquisition request fed back by the server, and feeding back the login credential acquisition request by the server under the condition that the user login information in the first data request is invalid;
transmitting login credential information associated with the target application to the server in response to the login credential acquisition request;
and receiving the first service data fed back by the server, and feeding back the first service data by the server under the condition that the login credential information is determined to be valid information.
3. The method of claim 1, further comprising:
responding to the target input, and sending a second data request which does not carry the user login information to the server under the condition that the user login information is not acquired, wherein the second data request is used for enabling the server to feed back a login credential acquisition request;
receiving the login credential acquisition request fed back by the server;
transmitting login credential information associated with the target application to the server in response to the login credential acquisition request;
and receiving second service data fed back by the server, and feeding back the second service data corresponding to the second data request by the server under the condition that the login credential information is determined to be effective information.
4. A method according to claim 2 or 3, wherein the login credentials information comprises an account name and an account password of the target application.
5. A method according to claim 2 or 3, wherein after said sending login credential information of said target application to said server, further comprising:
receiving the user login information; wherein, the user login information is generated by the server according to the login credential information;
and storing the user login information in association with the target browser.
6. The method of claim 1, wherein the first service data comprises page data corresponding to the target page.
7. The method of claim 1, wherein the user login information comprises cookie information.
8. The method of claim 1, wherein the cookie information comprises an authentication information value, a timestamp of a time of generation of a cookie, and an information identification of a cookie.
9. The method of claim 1, wherein the obtaining user login information associated with a target browser in response to the target input comprises:
determining a security level of the target application in response to the target input;
And acquiring the user login information of the target browser under the condition that the security level of the target application is greater than or equal to the target security level.
10. A data acquisition method applied to a server, the method comprising:
under the condition that a first data request carrying user login information sent by electronic equipment is received, acquiring the user login information; the user login information is information which is acquired in the electronic equipment and is associated with a target browser in a target application running in the electronic equipment by responding to target input of a user in the target application, wherein the target input is input for entering a target page in the target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
and under the condition that the user login information is determined to be effective information, feeding back first service data corresponding to the first data request to the electronic equipment, wherein the first service data is used for receiving the first service data fed back by the server by the electronic equipment, displaying the target page according to the first service data, wherein the first service data comprises page data corresponding to the target page, and the server is used for supporting the service corresponding to the external link.
11. The method of claim 10, further comprising:
under the condition that the user login information is invalid information, feeding back a login credential acquisition request to the electronic equipment, so that the electronic equipment feeds back login credential information according to the login credential acquisition request, wherein the login credential information is associated with the target application;
receiving the login credential information;
and feeding back the first service data to the electronic equipment under the condition that the login credential information is determined to be valid information.
12. The method of claim 10, further comprising:
under the condition that a second data request which is sent by the electronic equipment and does not carry the user login information is received, responding to the second data request, and feeding back a login credential acquisition request to the electronic equipment so that the electronic equipment feeds back login credential information according to the login credential acquisition request, wherein the login credential information is associated with the target application;
receiving the login credential information;
and feeding back second service data corresponding to the second data request to the electronic equipment under the condition that the login credential information is determined to be valid information.
13. The method of claim 11 or 12, wherein the login credential information includes an account name and an account password of the target application.
14. The method of claim 11 or 12, wherein after the receiving the login credential information, further comprising:
generating the user login information according to the login credential information;
and feeding back the user login information to the electronic equipment.
15. The method of claim 10, wherein the user login information is cookie information.
16. The method of claim 15, wherein the cookie information comprises an authentication information value, a timestamp of a time of generation of a cookie, and an information identification of a cookie.
17. A data acquisition method comprising:
the method comprises the steps that electronic equipment receives target input of a user in a target application, wherein the target input is input of a target page used for entering a target browser, the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link, and the target browser runs in the target application;
in response to the target input, acquiring user login information associated with the target browser in the electronic device, wherein the user login information comprises cookie information, and the user login information is used for the target browser to login to the target page;
Sending a first data request carrying the user login information to a server, wherein the server is used for supporting services corresponding to the external links;
receiving first service data fed back by the server, wherein the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information, and the first service data comprises page data corresponding to the target page;
and displaying the target page according to the first service data.
18. A data acquisition method comprising:
the method comprises the steps that under the condition that a first data request which is sent by electronic equipment and carries user login information is received, the user login information is obtained, the server corresponds to a target application, the user login information is information which is obtained in the electronic equipment and is associated with a target browser in the target application running in the electronic equipment in response to target input of a user in the target application, the user login information comprises cookie information, the target input is input for entering a target page in the target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
And under the condition that the user login information is determined to be effective information, feeding back first service data corresponding to the first data request to the electronic equipment, wherein the first service data is used for receiving the first service data fed back by the server by the electronic equipment, displaying the target page according to the first service data, wherein the first service data comprises page data corresponding to the target page in the target browser, the target page is an external link page corresponding to an external link, and the server is used for supporting services corresponding to the external link.
19. A data acquisition apparatus for use in an electronic device, the apparatus comprising:
the first input module is used for receiving target input of a user in a target application, wherein the target input is input for entering a target page in a target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
the first acquisition module is used for responding to the target input and acquiring user login information associated with a target browser in the electronic equipment, wherein the target browser runs in the target application, and the user login information is used for the target browser to login the target page;
The first sending module is used for sending a first data request carrying the user login information to a server, and the server is used for supporting the service corresponding to the external link;
the first receiving module is used for receiving first service data fed back by the server, wherein the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information;
and displaying the target page according to the first service data.
20. A data acquisition device for use with a server, the device comprising:
the second acquisition module is used for acquiring the user login information under the condition of receiving a first data request carrying the user login information sent by the electronic equipment; the user login information is information which is acquired in the electronic equipment and is associated with a target browser in a target application running in the electronic equipment by responding to target input of a user in the target application, wherein the target input is input for entering a target page in the target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
The first feedback module is configured to, when determining that the user login information is valid information, feed back first service data corresponding to the first data request to the electronic device, so that the electronic device receives the first service data fed back by the server, and display the target page according to the first service data, where the first service data includes page data corresponding to the target page, and the server is configured to support services corresponding to the external link.
21. A data acquisition device, comprising:
the second input module is used for receiving target input of a user in a target application by the electronic equipment, wherein the target input is input of a target page used for entering a target browser, the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link, and the target browser runs in the target application;
a third obtaining module, configured to obtain, in response to the target input, user login information associated with the target browser in the electronic device, where the user login information includes cookie information, and the user login information is used for the target browser to login to the target page;
The second sending module is used for sending a first data request carrying the user login information to a server, and the server is used for supporting the service corresponding to the external link;
the second receiving module is used for receiving first service data fed back by the server, wherein the server feeds back the first service data corresponding to the first data request under the condition that the user login information in the first data request is determined to be effective information, and the first service data comprises page data corresponding to the target page;
and the page display module is used for displaying the target page according to the first service data.
22. A data acquisition device, comprising:
a fourth obtaining module, configured to obtain, by when receiving a first data request carrying user login information sent by an electronic device, the user login information, where the server is a server corresponding to the target application, the user login information is information associated with a target browser in a target application running in the electronic device and obtained in the electronic device by the electronic device in response to target input of a user in the target application, and the target input includes cookie information, where the target input is input for entering a target page in the target browser, and the target page is a functional page corresponding to a functional component in an external link page corresponding to an external link;
And the second feedback module is used for feeding back first service data corresponding to the first data request to the electronic equipment under the condition that the user login information is determined to be effective information, so that the electronic equipment can receive the first service data fed back by the server and display the target page according to the first service data, wherein the first service data comprises page data corresponding to the target page in the target browser, the target page is an external link page corresponding to an external link, and the server is used for supporting services corresponding to the external link.
23. A data acquisition device, wherein the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the data acquisition method of any one of claims 1-9, claims 10-16, claim 17, or claim 18.
24. A computer readable storage medium having stored thereon computer program instructions which when executed by a processor implement the data acquisition method of any one of claims 1-9, claims 10-16, claim 17 or claim 18.
CN202010172727.3A 2020-03-12 2020-03-12 Data acquisition method, device, equipment and medium Active CN113395240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010172727.3A CN113395240B (en) 2020-03-12 2020-03-12 Data acquisition method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010172727.3A CN113395240B (en) 2020-03-12 2020-03-12 Data acquisition method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113395240A CN113395240A (en) 2021-09-14
CN113395240B true CN113395240B (en) 2023-09-05

Family

ID=77615951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010172727.3A Active CN113395240B (en) 2020-03-12 2020-03-12 Data acquisition method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113395240B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090936B (en) * 2021-11-25 2022-07-29 万商云集(成都)科技股份有限公司 Method and device for acquiring cookie data from any system, analyzing and storing cookie data

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865680B1 (en) * 2000-10-31 2005-03-08 Yodlee.Com, Inc. Method and apparatus enabling automatic login for wireless internet-capable devices
US7093019B1 (en) * 2000-11-21 2006-08-15 Hewlett-Packard Development Company, L.P. Method and apparatus for providing an automated login process
CN104038503A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 Cross-site logging method, cross-site logging device and cross-site logging system
CN104348777A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Method and system for controlling access of mobile terminal to third party server
CN105007280A (en) * 2015-08-05 2015-10-28 郑州悉知信息技术有限公司 Application sign-on method and device
CN106033579A (en) * 2015-03-16 2016-10-19 北京国双科技有限公司 Data processing method and apparatus thereof
WO2017107956A1 (en) * 2015-12-23 2017-06-29 北京奇虎科技有限公司 Data processing method, client and server
CN108322461A (en) * 2018-01-31 2018-07-24 百度在线网络技术(北京)有限公司 Method, system, device, equipment and the medium of application program automated log on
US10069812B1 (en) * 2014-03-14 2018-09-04 Intuit Inc. Technique for facilitating auto login to a website
CN108551443A (en) * 2018-03-30 2018-09-18 平安科技(深圳)有限公司 A kind of application login method, device, terminal device and storage medium
CN108846276A (en) * 2018-05-30 2018-11-20 北京五八信息技术有限公司 Login process method, device, electronic equipment and server
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN109547480A (en) * 2018-12-27 2019-03-29 北京城市网邻信息技术有限公司 A kind of login method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7596804B2 (en) * 2002-07-02 2009-09-29 Aol Llc Seamless cross-site user authentication status detection and automatic login
US7496953B2 (en) * 2003-04-29 2009-02-24 International Business Machines Corporation Single sign-on method for web-based applications

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865680B1 (en) * 2000-10-31 2005-03-08 Yodlee.Com, Inc. Method and apparatus enabling automatic login for wireless internet-capable devices
US7093019B1 (en) * 2000-11-21 2006-08-15 Hewlett-Packard Development Company, L.P. Method and apparatus for providing an automated login process
CN104348777A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Method and system for controlling access of mobile terminal to third party server
US10069812B1 (en) * 2014-03-14 2018-09-04 Intuit Inc. Technique for facilitating auto login to a website
CN104038503A (en) * 2014-06-24 2014-09-10 北京奇虎科技有限公司 Cross-site logging method, cross-site logging device and cross-site logging system
CN106033579A (en) * 2015-03-16 2016-10-19 北京国双科技有限公司 Data processing method and apparatus thereof
CN105007280A (en) * 2015-08-05 2015-10-28 郑州悉知信息技术有限公司 Application sign-on method and device
WO2017107956A1 (en) * 2015-12-23 2017-06-29 北京奇虎科技有限公司 Data processing method, client and server
CN109428877A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 A kind of method and apparatus for by user equipment access operation system
CN108322461A (en) * 2018-01-31 2018-07-24 百度在线网络技术(北京)有限公司 Method, system, device, equipment and the medium of application program automated log on
CN108551443A (en) * 2018-03-30 2018-09-18 平安科技(深圳)有限公司 A kind of application login method, device, terminal device and storage medium
CN108846276A (en) * 2018-05-30 2018-11-20 北京五八信息技术有限公司 Login process method, device, electronic equipment and server
CN109547480A (en) * 2018-12-27 2019-03-29 北京城市网邻信息技术有限公司 A kind of login method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
An Efficient Web Authentication Mechanism Preventing Man-In-The-Middle Attacks in Industry 4.0 Supply Chain;Alireza Esfahani;《IEEE Access》;全文 *

Also Published As

Publication number Publication date
CN113395240A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
US9794242B2 (en) Method, apparatus and application platform for realizing logon to an application service website
US9032495B2 (en) Online user account login method and a server system implementing the method
KR101270323B1 (en) Methods, apparatuses, and computer program products for providing a single service sign-on
CN108496380B (en) Server and storage medium
CN113316926B (en) Domain name processing method, device, electronic equipment and storage medium
US20130246504A1 (en) Method for subscribing to notification, apparatus and system
CN110493184B (en) Method and device for processing login page in client and electronic device
JP2003331045A (en) Portal site server system, portal site method and portal site program
CN102682009A (en) Method and system for logging in webpage
US20140215593A1 (en) Logging in a user mobile device at a server computer system
CN108810896B (en) Connection authentication method and device of wireless access point
CN101366037A (en) Computer program product, apparatus and method for secure http digest response verification and integrity protection in a mobile terminal
CN108259457B (en) WEB authentication method and device
CN112491776A (en) Security authentication method and related equipment
US20220377064A1 (en) Method and system for managing a web security protocol
CN113395240B (en) Data acquisition method, device, equipment and medium
CN112866287A (en) Cross-network access method, device and system based on office environment and storage medium
CN101753561B (en) Business cluster processing method and cluster system
EP2562961A1 (en) Smart card and method of operation thereof
WO2017181407A1 (en) Network authentication method, client, terminal device and platform
CN106790176B (en) Method and system for accessing network
CN113055254B (en) Address configuration method, device, access server and storage medium
CN113285994A (en) Message sending method, device, server and storage medium
CN113271300A (en) Authentication system and method
CN113824675A (en) Method and device for managing login state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant