Network access request processing method, device and system and electronic equipment

文档序号:1478671 发布日期:2020-02-25 浏览:6次 中文

阅读说明:本技术 网络访问请求的处理方法、装置、系统以及电子设备 (Network access request processing method, device and system and electronic equipment ) 是由 杨煜炜 邓小明 于 2018-08-17 设计创作,主要内容包括:本发明实施例提供一种网络访问请求的处理方法、装置、系统以及电子设备,其中,方法包括:响应于用户从应用程序发起的、针对预定网络内容的访问请求,向所述应用程序发送前往网页端访问所述预定网络内容的网页地址;响应于所述网页端对所述网页地址发出的访问请求,控制从当前页面跳转到所述预定网络内容的页面。本发明实施例的方案,能够方便实现将用户从应用程序向网页端的访问引导操作。(The embodiment of the invention provides a method, a device and a system for processing a network access request and electronic equipment, wherein the method comprises the following steps: responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program; and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address. The scheme of the embodiment of the invention can conveniently realize the access guiding operation of the user from the application program to the webpage end.)

1. A method for processing a network access request comprises the following steps:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address.

2. The method of claim 1, wherein responding to a user initiated access request from an application for predetermined web content further comprises:

sending an inquiry request for judging whether to go to a webpage end for access operation to the application program;

and if feedback sent by the application program and used for determining that the webpage end carries out access operation is received, sending a webpage address for accessing the preset webpage content to the webpage end to the application program.

3. The method of claim 1, wherein the method further comprises:

and associating an operation entry for accessing the predetermined network content in a page corresponding to the webpage address so that the user can access the predetermined network content based on the operation entry.

4. The method of claim 3, wherein the controlling the jump from the current page to the page of the predetermined network content in response to the access request made by the webpage end to the webpage address comprises:

responding to an access request sent by the webpage end to the webpage address, and indicating the webpage end to display the operation entrance on a current page;

and receiving the operation of the user aiming at the operation entrance, and controlling to jump from the current page to the page of the preset network content.

5. The method of claim 3, wherein the associating, in the page corresponding to the web page address, an operation entry for accessing the predetermined web content comprises:

and sending an operation instruction to the webpage end based on a preset socket communication connection with the webpage end so as to indicate that the webpage end is associated with an operation entrance for accessing the preset network content in a page corresponding to the webpage address.

6. The method of any one of claims 1-5, wherein the access request includes a user identification, and sending, to the application program and in response to an access request initiated by a user from the application program for a predetermined network content, a web address destined for a web site to access the predetermined network content includes:

in response to a user initiated access request for predetermined network content from an application, associating the user identification to a page of the predetermined network content;

and sending a webpage address for the webpage end to access the preset network content associated with the user identification to the application program.

7. The method of any one of claims 1-5, wherein the access request includes location information, and the sending, to the application program and in response to an access request initiated by a user from the application program for predetermined web content, a web address destined for a web site to access the predetermined web content comprises:

responding to an access request initiated by a user from an application program and aiming at predetermined network content, and determining a webpage end positioned in the area corresponding to the position information;

and sending a webpage address which is located in the area corresponding to the position information and used for accessing the preset webpage content by the webpage end to the application program.

8. A device for processing a network access request, comprising:

the webpage guiding module is used for responding to an access request which is initiated by a user from an application program and aims at the preset network content, and sending a webpage address for a webpage end to access the preset network content to the application program;

and the jump control module is used for responding to an access request sent by the webpage end to the webpage address and controlling the jump from the current page to the page of the preset network content.

9. The apparatus of claim 8, wherein the apparatus further comprises a guided interrogation module to:

sending an inquiry request for judging whether to go to a webpage end for access operation to the application program;

and if feedback sent by the application program and used for determining that the webpage end carries out access operation is received, sending a webpage address for accessing the preset webpage content to the webpage end to the application program.

10. The apparatus of claim 8, wherein the apparatus further comprises:

and the guiding association module is used for associating an operation entrance for accessing the predetermined network content in a page corresponding to the webpage address so that the user can access the predetermined network content based on the operation entrance.

11. The apparatus of claim 10, wherein the jump control module is specifically configured to:

responding to an access request sent by the webpage end to the webpage address, and indicating the webpage end to display the operation entrance on a current page;

and receiving the operation of the user aiming at the operation entrance, and controlling to jump from the current page to the page of the preset network content.

12. The apparatus of claim 10, wherein the guided association module is specifically configured to:

and sending an operation instruction to the webpage end based on a preset socket communication connection with the webpage end so as to indicate that the webpage end is associated with an operation entrance for accessing the preset network content in a page corresponding to the webpage address.

13. The apparatus of any of claims 8-12, wherein the access request includes a user identification, the web page guidance module to:

in response to a user initiated access request for predetermined network content from an application, associating the user identification to a page of the predetermined network content;

and sending a webpage address for the webpage end to access the preset network content associated with the user identification to the application program.

14. The apparatus of any of claims 8-12, wherein the access request includes location information, the web page guidance module to:

responding to an access request initiated by a user from an application program and aiming at predetermined network content, and determining a webpage end positioned in the area corresponding to the position information;

and sending a webpage address which is located in the area corresponding to the position information and used for accessing the preset webpage content by the webpage end to the application program.

15. A system for processing a network access request, comprising: a server, an application program and a web page end which are respectively connected with the server in a communication way, wherein the server is provided with a processing device of the network access request of any one of claims 8-14 and is used for:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address.

16. An electronic device, comprising:

a memory for storing a program;

a processor, coupled to the memory, for executing the program for:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the predetermined network content in response to an access request issued by the webpage end based on the webpage address.

Technical Field

The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and an electronic device for processing a network access request.

Background

At present, few applications or services perform access guidance operation from an application program to a webpage end, but the access guidance operation mode cannot be defaulted in the following scenes: for example, in the process of popularizing an application service by a developer, it often happens that the functions of the application program are not completely prepared, only service support is completed at a webpage end, but promotion and operation must be started, and at this time, if a user initiates an operation in the application program, the user needs to be guided to the webpage end to perform the operation.

However, the existing method for guiding the user to access from the application program to the webpage only pastes out the webpage address, then copies the webpage address on the wireless terminal by the user himself and sends the webpage address to instant message software such as qq and WeChat to send the webpage address to the webpage, then opens the instant message software at the webpage, and clicks the webpage address to open the webpage. This access-guided mode of operation gives the user a poor experience.

Disclosure of Invention

The invention provides a method, a device and a system for processing a network access request and electronic equipment, which can conveniently realize the access guiding operation of a user from an application program to a webpage end.

In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:

in a first aspect, a method for processing a network access request is provided, including:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address.

In a second aspect, an apparatus for processing a network access request is provided, including:

the webpage guiding module is used for responding to an access request which is initiated by a user from an application program and aims at the preset network content, and sending a webpage address for a webpage end to access the preset network content to the application program;

and the jump control module is used for responding to an access request sent by the webpage end to the webpage address and controlling the jump from the current page to the page of the preset network content.

In a third aspect, a system for processing a network access request is provided, including: the server, the application program and the webpage end are respectively connected with the server in a communication mode, and the server is provided with a processing device of the network access request in the second aspect and used for:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address.

In a fourth aspect, an electronic device is provided, comprising:

a memory for storing a program;

a processor, coupled to the memory, for executing the program for:

responding to an access request which is initiated by a user from an application program and aims at predetermined network content, and sending a webpage address for a webpage end to access the predetermined network content to the application program;

and controlling to jump from the current page to the page of the preset network content in response to an access request sent by the webpage end to the webpage address.

The invention provides a method, a device and a system for processing a network access request and electronic equipment, wherein when a user accesses predetermined network content through an application program, the user is guided to a webpage end to access, and a webpage address of a webpage for accessing the predetermined network content is given; and then after sending an access request to the webpage address at the webpage end, responding to the access request, and controlling to jump from the current page to a page with preset network content, thereby finally guiding the user to access the preset network content at the webpage end and realizing the access guiding operation from the application program to the webpage end.

The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

FIG. 1 is a logic diagram illustrating the processing of a network access request according to an embodiment of the present invention;

FIG. 2 is a block diagram of a system for processing network access requests in accordance with an embodiment of the present invention;

fig. 3 is a flowchart of a method for processing a network access request according to an embodiment of the present invention;

fig. 4 is a flowchart of a method for processing a network access request according to an embodiment of the present invention;

fig. 5 is a flowchart of a method for processing a network access request according to an embodiment of the present invention;

FIG. 6 is a first block diagram of a network access request processing apparatus according to an embodiment of the present invention;

FIG. 7 is a second block diagram of a network access request processing apparatus according to an embodiment of the present invention;

FIG. 8 is a block diagram of a network access request processing apparatus according to an embodiment of the present invention

Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

The embodiment of the invention improves the complex operation caused to the user by the process of the access guiding operation from the application program to the webpage end by copying the webpage address and sending the webpage address to the webpage end by the user, and has the core idea that when the user initiates an access request aiming at the preset network content through the application program, the user directly sends the webpage address which is sent to the webpage end and used for accessing the preset network content to the application program; after the webpage end sends an access request to the webpage address, the webpage end responds to the access request and controls the current page to jump to the page with the preset network content, so that the complicated operation caused by copying the webpage address corresponding to the preset network content to the webpage end is avoided.

Fig. 1 is a logic diagram illustrating processing of a network access request according to an embodiment of the present invention. As shown in fig. 1, when a user initiates an access request for a predetermined network content through an application 110, the application 110 may first send a web address to the web end 120 for accessing the predetermined network content to the application 110 through a server, for example, in fig. 1, information for prompting the user that the current operation needs to be performed to the web end 120 may first be sent to the application 110, when the user clicks "ok" to the web end 120 from a display page of the application 110, a web address to the web end 120 for accessing the predetermined network content, for example, http:// www.baidu.com shown in the display page of the web end 120 in fig. 1, may be sent to the application 110 after the application 110 receives the web address, the web page address is sent to the web page side and jumps to the web page side 120, and the web page side 120 sends an access request for the web page address to the server, and the server controls jumping from the current page to a page of the predetermined network content in response to the access request. In addition, an operation entrance for accessing the predetermined network content is associated in the page corresponding to the webpage address, so that the user can access the predetermined network content based on the operation entrance. The operation entry may be, but is not limited to, set in a webpage that a user goes to in the form of a pop-up window shown in fig. 1, and when the user sees the pop-up window and clicks the operation entry, the server may control the current webpage to jump to a page of predetermined network content by responding to the operation of the user on the operation entry, thereby completing the operation guidance and the execution of the operation content for the user.

It should be noted that, in this embodiment, a specific manner of setting an operation entry for accessing the predetermined network content in a page corresponding to the web page address is not limited, as long as the user can obviously find the operation entry capable of accessing the predetermined network content after going to the specified web page address. Meanwhile, the webpage address to be visited set by the server can also be a webpage address commonly used by public users.

In addition, in designing the bottom application programs of the server and the webpage end, pairing setting of a communication port is performed between the bottom application program of the server and the bottom application program of the webpage end, which have an access guiding operation relationship, through a socket communication technology, so that when the server receives an access request for predetermined network content, which is initiated by the application program, the access request can be actively (without the need that the webpage end sends a request first and then responds) sent to the bottom application program of the specified webpage end through the socket communication port, and an operation of an operation entry for accessing the predetermined network content is set in the webpage address sent to the application program through the bottom application program.

The logic diagram of processing based on the network access request shown in fig. 1 is shown. Fig. 2 is a schematic structural diagram of a system for processing a network access request according to an embodiment of the present invention. The system comprises: an application 210 and a web page 220 arranged at the front end, and a server 230 arranged at the back end. After the application 210 and the web page 220 can respectively send service requests to the server 230, service feedback of the server 230 is obtained; socket communication ports can be respectively arranged between the application 210 and the server 230, and between the web page 220 and the server 230, so that the server can actively send data or instructions to the application 210 or the web page 220 for interaction through the socket communication ports. The server 230 is provided with a processing device for network access request, and the processing device includes:

the webpage guiding module is used for responding to an access request which is initiated by a user from an application program and aims at the preset network content, and sending a webpage address for a webpage end to access the preset network content to the application program;

and the jump control module is used for responding to an access request sent by the webpage end to the webpage address and controlling the jump from the current page to the page of the preset network content.

Specifically, when the user initiates an access request for accessing the predetermined network content from the application program, the server may send a webpage address for the webpage end to access the predetermined network content to the application program, and control the jump from the current page to the page of the predetermined network content in response to the access request sent by the webpage end to the webpage address. How to trigger the web page end to send an access request to the web page address to the server is not limited in the present application, and the application program may automatically send the web page address to the web page end after receiving the web page address and jump to the web page end to trigger the web page end to send the access request to the web page address to the server, or the application program may prompt the user by displaying the web page address on a current interface, and the user actively enters the web page end and then inputs the web page address to send a corresponding access request to the server, which is not limited thereto. The predetermined network content may be an operation interface that the application does not support access yet but can support access in the network segment. It should be noted that the application and the web page may be located in the same terminal device, or may be located in different terminal devices, which is not limited in this application.

Further, the processing device of the network access request may further include a guidance query module, configured to:

sending an inquiry request for judging whether to go to a webpage end for access operation to the application program;

and if feedback sent by the application program and used for determining that the webpage end carries out access operation is received, sending a webpage address for accessing the preset webpage content to the webpage end to the application program.

Specifically, after the user initiates an access request for the predetermined network content from the application program, the server may first send an inquiry request to the application program whether to go to the web page side for access operation; if the feedback sent by the application program and used for determining that the webpage end is going to carry out the access operation is received, the server sends the webpage address which is going to the webpage end to access the preset network content to the application program, and therefore higher operation flexibility is given to a user in the process of access guiding operation from the application program to the webpage end.

Further, the processing device of the network access request may further include:

and the guiding association module is used for associating an operation entrance for accessing the predetermined network content in the page corresponding to the webpage address so that the user can access the predetermined network content based on the operation entrance.

Further, the skip control module is specifically configured to:

responding to an access request sent by the webpage end to the webpage address, and indicating the webpage end to display the operation entrance on a current page;

and receiving the operation of the user aiming at the operation entrance, and controlling to jump from the current page to the page of the preset network content.

Further, the guidance association module is specifically configured to,

and sending an operation instruction to the webpage end based on the preset socket communication connection with the webpage end so as to indicate that the webpage end is associated with an operation entrance for accessing the preset network content in the page corresponding to the webpage address.

Specifically, when an interaction mode between the application program and the server and between the webpage end and the server is designed, in order to facilitate that the server can actively transmit data or instructions with the application program or the webpage end, socket communication can be set between the server and the application program and between the server and the webpage end in advance through a socket communication technology, so that when the server receives an access request aiming at predetermined network content and initiated by the application program, the server can actively send the access request to the webpage end through a port of the socket communication, and then instruct the webpage end to set an operation entry for accessing the predetermined network content in a page corresponding to a webpage address sent to the application program.

Further, the access request includes the user identifier and/or the location information, and the server may further determine, according to the user identifier and/or the location information in the access request, a web page side of a web page address to which the predetermined web content should be sent.

The technical solution of the present application is further illustrated by the following examples.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:流媒体数据处理方法、装置和设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类