WO2015127754A1 - 路由器访问控制方法、装置及路由器 - Google Patents

路由器访问控制方法、装置及路由器 Download PDF

Info

Publication number
WO2015127754A1
WO2015127754A1 PCT/CN2014/082937 CN2014082937W WO2015127754A1 WO 2015127754 A1 WO2015127754 A1 WO 2015127754A1 CN 2014082937 W CN2014082937 W CN 2014082937W WO 2015127754 A1 WO2015127754 A1 WO 2015127754A1
Authority
WO
WIPO (PCT)
Prior art keywords
post
target
return message
url
preset
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.)
Ceased
Application number
PCT/CN2014/082937
Other languages
English (en)
French (fr)
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to JP2016504479A priority Critical patent/JP6026703B2/ja
Priority to MX2014011936A priority patent/MX352486B/es
Priority to RU2015134109A priority patent/RU2628229C2/ru
Priority to KR1020147026680A priority patent/KR101602397B1/ko
Priority to US14/522,840 priority patent/US20150244764A1/en
Publication of WO2015127754A1 publication Critical patent/WO2015127754A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/53Network services using third party service providers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present disclosure relates to the field of network device technologies, and in particular, to a router access control method, apparatus, and router. Background technique
  • the network of information resources will not only change the existing production structure, industrial structure and labor structure, but also greatly change people's Lifestyle, how to communicate, how to work, and how to learn.
  • Some traditional social public resources are also added to the information resource network, for example: online registration can be done on the Internet, online reservations for museums or other places of visit can be made, and hotels, train tickets or airline tickets can be booked online.
  • users access these social public resources, they need to use a browser to access the target website on a computer, mobile phone or other intelligent terminal, and perform operations such as filling in and inputting, so as to request the resource, and once the resource request is unsuccessful, it needs The request can be re-executed after repeated operations, resulting in a resource acquisition process that takes a long time and is very inconvenient.
  • the present disclosure provides a router access control method, apparatus, and router to solve the problem of inconvenient acquisition of existing information resources.
  • a router access control method including
  • the method further includes: if the return message is a preset return message, generating a prompt push message according to the return message; The receiving terminal sends the prompt push message.
  • the method further includes: if the return message is a preset return message, acquiring payment information in the return message; The information generates a payment push message; and the payment push message is sent to at least one preset receiving terminal.
  • the manner of sending the push message to the preset receiving terminal includes : One or more combinations of SMS, Mail, Web Message, Internet Push Message, LAN Notification Message.
  • the obtaining the target web address and the target post content includes:
  • the post indication includes at least the target website address and the target post content; extracting the target website address and the target post from the post indication content.
  • the obtaining the target web address and the target post content includes:
  • the application Receiving, by the application, a post indication sent by the sending terminal, where the post indication includes at least the target post content; the application is bound with a preset web address; and the preset web address bound by the application is determined as a target web address; extracting the target post content from the post indication.
  • the obtaining the target web address and the target post content includes:
  • a reference post request sent by the sending terminal where the reference post request includes at least a reference web address and a reference post content; determining whether the reference web address is included in the preset web address database; if the pre-set URL database includes Referring to the reference URL, extracting the reference web address and the reference post request from the reference post request; determining the reference web address as the target web address, and determining the reference post content as the target post content.
  • the post indication Or refer to the post request to include information of the preset receiving terminal for receiving the push message; the method further includes: extracting information of the preset receiving terminal from the post indication or the reference post request.
  • a router access control apparatus which is applied to a router, where the apparatus includes:
  • An object obtaining unit configured to acquire a target web address and a target post content; a request generating unit, configured to generate a post request according to the target post content; a request sending unit, configured to send the post request to the target web address; a unit, configured to obtain a return message returned by the target web address according to the post request;
  • a message returning unit configured to determine whether the return message is a preset return message; if the return message is not a preset return message, the request sending unit continues to send the post request to the target web address, until the The return message is a preset return message.
  • the device further includes: a first push message generating unit, configured to: when the return message is a preset return message, according to the return The message generating prompt push message; the first push message sending unit, configured to send the prompt push message to the at least one preset receiving terminal.
  • the device further includes: a payment information acquiring unit, configured to: when the return message is a preset return message, obtain the return message a second push message generating unit, configured to generate a payment push message according to the payment information; and a second push message sending unit, configured to send the payment push message to the at least one preset receiving terminal.
  • a payment information acquiring unit configured to: when the return message is a preset return message, obtain the return message a second push message generating unit, configured to generate a payment push message according to the payment information
  • a second push message sending unit configured to send the payment push message to the at least one preset receiving terminal.
  • the object acquiring unit includes: a first indication receiving unit, configured to receive a post input by an input device sent by the sending terminal or connected to the router Instructing, the post indication includes at least the target web address and the target post content; and an object extracting unit, configured to extract the target web address and the target post content from the post indication.
  • the object acquiring unit includes: a second indication receiving unit, configured to receive, by using an application, a post indication sent by the sending terminal, where the post indication is at least The target post content is included; the application is bound with a preset web address; the target URL determining unit is configured to determine the preset web address bound by the application as the target web address; the target post content extracting unit, Used to extract the target post content from the post indication.
  • the object acquiring unit includes: a request receiving unit, configured to receive a reference post request sent by the sending terminal, where the reference post request includes at least a reference a URL and a reference post content; a URL determining unit, configured to determine whether the reference URL is included in a preset URL database; and a reference object extracting unit, configured to: when the reference URL is included in the preset URL database, Extracting the reference URL and the reference post request in the reference post request; the target object determining unit, configured to determine the reference URL as the target web address, and determine the reference post content as the target post content.
  • the post The indication or the reference post request includes the information of the preset receiving terminal for receiving the push message; the device further includes: a terminal information extracting unit, configured to extract the preset receiving terminal from the post indication or the reference post request Information.
  • a router including:
  • a processor for storing processor-executable instructions; wherein the processor is configured to: acquire a target web address and a target post content; generate a post request according to the target post content; and send the Post request; obtaining a return message returned by the target web address according to the post request; determining whether the return message is a preset return message; if the return message is not a preset return message, continuing to send to the target web address The post request until the return message is a preset return message.
  • the router In the process of realizing network resource acquisition, the router only needs to obtain the target URL and the target post once.
  • the content (usually the first time in the network resource acquisition process), and then in the subsequent network resource acquisition process, it can be determined whether the return message of the current network resource acquisition process is a preset return message, and the preset return is not obtained.
  • the post request may be automatically sent multiple times until the return message of the current network resource acquisition process is a preset return message.
  • the router access control method provided by the present disclosure can automatically complete the subsequent multiple post request sending process only after receiving the parameters (including the target URL and the target post request), until the preset return message is returned, and the related technology can be avoided.
  • the problem that the user needs to input or operate repeatedly after the failure of one request is simple and convenient.
  • the router access control method in the process of acquiring the network resource, the user only needs to send the target URL and the target post content to the router through the terminal, and all the data interactions are all corresponding to the router and the target URL.
  • the router does not need to forward the return message of the post request to the user each time, and then the user performs an operation to send a post request again, reducing the number of interactions between the router and the terminal, thereby reducing the number of times.
  • the time consumption in the process of acquiring the secondary network resources reduces the interval for the router to send the two consecutive post requests, and increases the number of times the router sends the post request in a unit time, thereby greatly improving the success rate of acquiring limited network resources.
  • FIG. 1 is an exemplary flowchart of a router access control method according to an exemplary embodiment.
  • FIG. 2 is an exemplary flowchart of step S15 of FIG. 1 according to an exemplary embodiment.
  • FIG. I s an exemplary flowchart of a router access control method according to an exemplary embodiment.
  • FIG. 4 is an exemplary flowchart of a router access control method according to an exemplary embodiment.
  • FIG. 5 is an exemplary implementation according to an exemplary implementation.
  • An exemplary flowchart of a router access control method illustrated in FIG. 6 is an exemplary flowchart of a router access control method according to an exemplary embodiment.
  • FIG. 7 is a diagram according to an exemplary embodiment.
  • FIG. 8 is a schematic diagram of a router access control apparatus according to an exemplary embodiment; FIG.
  • FIG. 9 is a schematic diagram of a router access control apparatus according to an exemplary embodiment.
  • FIG. 10 is a schematic diagram of a router access control apparatus according to an exemplary embodiment
  • FIG. 11 is an exemplary block diagram of an electronic device for implementing router access control, according to an exemplary embodiment
  • FIG. 12 is a schematic structural diagram of a server according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 1, the router access control method is used in a router, and includes the following steps.
  • step S11 the destination URL and the target post content are obtained.
  • the destination URL is the URL where the user needs to send a post request. It can be the URL of a common shopping website, such as: Taobao, Jingdong, No. 1 and other websites. It can also be used to book or customize the website of other service websites, for example: Tickets Booking website, ticket booking website, hotel reservation website or travel booking website.
  • the target post content is information that the user expects to submit to the destination URL through a post request.
  • the target post content may be freely set according to the target web address, for example:
  • the target post content may be the name, quantity, payment method, express selection, and delivery address of the purchased item, and the like.
  • the target post content can be: departure place, destination, number of trains (flights), date of boarding (boarding), selected seats, number of tickets, and passenger identity information;
  • the target post content contains information required by the corresponding industry.
  • Users can directly enter the URL and destination post content on the router, or submit it to the router through a terminal such as a mobile phone, tablet or computer.
  • step S12 a post request is generated based on the target post content.
  • the post request format in the existing network transmission protocol is used to generate a corresponding post request according to the target post content, and the generated post request carries information corresponding to the target post content.
  • step S13 the post request is sent to the destination web address.
  • the router sends the generated post request to the server corresponding to the destination URL through the network.
  • step S14 a return message returned by the target web address according to the post request is obtained.
  • the server corresponding to the destination URL After receiving the post request, the server corresponding to the destination URL returns a return message according to the post request, so that the user can determine the result of the post request sent to the destination URL by using the return message.
  • the return message may include a specific character set in advance, for example: success of booking or failure of booking, etc., may also include information related to the target post content, for example: departure place, destination, number of trips, ride of the ticket Date, selected seats, number of tickets, and passenger identification information.
  • Return messages of different kinds, formats, and/or content can be characterized differently for the same destination URL Results; for different destination URLs, different types, formats, and/or content return messages are usually used to represent different results.
  • similar websites are not excluded from using the same return message, for example: Taobao and Tmall are the same. Companies or websites that are reserved for hotels, etc.
  • step S15 it is determined whether the return message is a preset return message.
  • step S15 may include the following steps: In step S151, a target feature within the return message is acquired.
  • the target feature can uniquely identify or confirm the characteristics of the returned message.
  • the target feature may be a preset character included in the return message, a preset number, a character and/or a number in at least one field corresponding to the target post content, and the like.
  • the target feature can also be the format of the returned message and the like.
  • step S152 it is determined whether the target feature is included in the preset feature library.
  • a preset signature database corresponding to the preset feature database may be separately established in advance, and after the return message is obtained, the target feature may be compared with the feature in the preset feature database by means of a lookup table.
  • the return message is determined to be a preset return message in step S153.
  • the target feature is not included in the preset feature database, in step S 154, it is determined that the return message is not a preset return message.
  • step S13 When the return message is not a preset return message, the process returns to step S13, and the post request is continued to be sent to the destination URL until the return message is a preset return message.
  • the router access control method in the process of implementing the network resource acquisition, the router only needs to obtain the target website address and the target post content once (usually the first time in the process of acquiring the network resource). Then, in the subsequent network resource acquisition process, it may be determined whether the return message of the current network resource acquisition process is a preset return message, and when the preset return message is not obtained, the post request may be automatically executed multiple times until this time.
  • the return message of the network resource acquisition process is a preset return message.
  • the router access control method provided by the present disclosure can automatically complete the subsequent multiple post request sending process only after receiving the parameters (including the target URL and the target post request), until the preset return message is returned, and the related technology can be avoided.
  • the problem that the user needs to input or operate repeatedly after the failure of one request is simple and convenient.
  • the router access control method in the process of acquiring the network resource, the user only needs to send the target URL and the target post content to the router through the terminal, and all the data interactions are all corresponding to the router and the target URL.
  • the router does not need to forward the return message of the post request to the user each time, and then the user performs an operation to send a post request again, reducing the number of interactions between the router and the terminal, thereby reducing the number of times.
  • the time consumption in the process of acquiring the secondary network resources reduces the interval for the router to send the two consecutive post requests, and increases the number of times the router sends the post request in a unit time, thereby greatly improving the success rate of acquiring limited network resources.
  • FIG. 3 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 3, on the basis of the exemplary embodiment of FIG. 1, the method may further include the following steps.
  • the return message is a preset return message
  • step S31 a prompt push message is generated according to the return message.
  • the generated prompt push message carries information corresponding to the returned message.
  • step S32 the prompt push message is sent to at least one preset receiving terminal.
  • the purpose of sending a prompt push message is to inform the user of the result of the post request, and by means of sending a push message, the user can quickly learn the result of the post request.
  • the manner of sending a push message to a preset receiving terminal includes: one or a combination of a short message, a mail, a webpage message, an internet push message, a local area network notification message, and is visible, preset
  • the receiving terminal can be a mobile terminal, a computer or other network terminal, or the like.
  • the result of the post request can be quickly notified to the user in a manner preset by the user, so that the user can promptly check the return message and perform subsequent processing according to the returned message, for example: payment, cancel the order or Modify the information in the order, etc.
  • FIG. 4 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 4, on the basis of the exemplary embodiment of FIG. 1, the method may further include the following steps.
  • step S41 the payment information in the return message is acquired.
  • the purpose of the prompt push message is to notify the user of the result of the current post request.
  • the return message in order to facilitate the user's operation, when the return message is a preset return message , can directly obtain the payment information carried in the return message.
  • step S42 a payment push message is generated based on the payment information.
  • the generated payment push message carries information corresponding to the payment information, such as: a payment link, and the like.
  • the payment push message is sent to at least one preset receiving terminal.
  • step S32 For details, refer to the detailed description of step S32 above, and details are not described herein again.
  • the return message can also carry other information, such as: logistics information, etc., can also be pushed to the user.
  • the user When the user receives the payment push message, the user actually has the default to know the result of the post request. In addition, by paying the push message, the subsequent payment can be quickly performed, and the user needs to reduce the message according to the return message.
  • the middle link saves time. From another perspective, users can be prevented from being lured or wrongly selected to pay links, reducing the risk of users being cheated and improving security.
  • FIG. 5 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 5, the router access control method is used in a router, and includes the following steps.
  • step S51 a post indication input by an input device transmitted by the transmitting terminal or connected to the router is received.
  • the sending terminal can be connected to the router through a wired connection, such as a computer, or can be connected to the router through a wireless connection, for example, a mobile terminal such as a mobile phone or a tablet computer.
  • routers can be equipped with input devices such as touch screens and buttons. Therefore, it is also possible to receive a post indication input by the user through an input device such as a touch screen or a button set on the router.
  • the target URL and the target post content are included in the post indication.
  • the router can provide a table-like interface through which the user can send a post indication or directly enter a post indication on the router.
  • step S52 the target web address and the target post content are extracted from the post indication.
  • step S53 a post request is generated based on the target post content.
  • step S54 the post request is sent to the target web address.
  • step S55 a return message returned by the target web address according to the post request is obtained.
  • step S56 it is determined whether the return message is a preset return message.
  • step S57 the information of the preset receiving terminal is extracted from the post indication.
  • the post indication includes the information of the preset receiving terminal for receiving the push message, and the information of the preset receiving terminal may be an IP address, an account number, or an ID, where the ID may be a mobile phone number, etc., that is, the user may pre-designate the preset receiving. Terminal information.
  • the information of the preset receiving terminal may be the same as the terminal that sends the post request, or may be the same as the terminal that sends the post request.
  • a user may make a reservation through a computer, and also set the preset receiving terminal as another computer in the same local area network as the computer or the computer, such as a computer in another bedroom.
  • a local area network such as an office.
  • the user may not be able to wait in front of the computer for a certain period of time, for example, after the user wakes up in the morning, the user uses the computer to book the ticket, and then goes out to work, so the user sends it through the computer.
  • the receiving terminal can be designated as a mobile phone, so that when the user is on the way to work, once the booking is successful, the push message can be received through the mobile phone, or at the same time, the mail can be sent to the user-designated mailbox, so that the user can pass the company after passing the company.
  • the push message can be sent to the user through the pop-up window or the like.
  • the mobile phone of the plurality of individuals may be designated as a preset receiving terminal in the post indication, and then, when the booking is successful, a push message may be sent to the mobile phones of the plurality of people.
  • Step S57 is not limited to after step S56, and may be performed after the post instruction is acquired and at any time before step S58.
  • step S58 a prompt push message is generated according to the return message.
  • step S59 the prompt push message is sent to at least one preset receiving terminal.
  • FIG. 6 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 6, the router access control method is used in a router, and includes the following steps.
  • step S61 the post indication sent by the transmitting terminal is received by the application.
  • the target post content is included in the post indication.
  • one or more applications may be built in the router, for example: app, each application is bound with a preset URL, for example: for the Ministry of Railways booking website, may be separate Install a train ticket booking app.
  • a preset URL for example: for the Ministry of Railways booking website
  • step S62 the preset web address bound by the application is determined as the target web address.
  • the preset URL bound to the application can be determined as the destination URL.
  • step S63 the target post content is extracted from the post indication.
  • step S64 a post request is generated according to the target post content.
  • step S65 the post request is sent to the destination web address.
  • step S66 a return message returned by the target web address according to the post request is obtained.
  • step S67 it is determined whether the return message is a preset return message.
  • step S65 When the return message is not a preset return message, the process returns to step S65 to continue sending the post request to the target web address until the return message is a preset return message.
  • step S68 the payment information in the return message is acquired.
  • step S69 a payment push message is generated based on the payment information.
  • step S70 the payment push message is sent to at least one preset receiving terminal.
  • the user can directly access an application in the router, and directly input a post indication containing at least the post content according to the input interface provided by the application, omitting the input process of the target URL.
  • it is convenient to send post requests quickly, especially for users who often open the destination URL through the portal and are not familiar with the detailed spelling of the URL.
  • FIG. 7 is a flowchart of a router access control method according to an exemplary embodiment. As shown in FIG. 7, the router access control method is used in a router, and includes the following steps.
  • step S71 a reference post request sent by the transmitting terminal is received.
  • the user can directly access the target website through the browser on the sending terminal, and fill in the post content on the target website, the browser directly generates a reference post request, and sends a reference post request to the router.
  • At least the reference URL and the reference post content are included in the reference post request.
  • the information of the preset receiving terminal may also be included in the reference post request.
  • step S72 it is determined whether the reference URL is included in the URL database set in advance.
  • a web address database is preset in the router, and a web address corresponding to a common shopping and booking website may be stored by default, or a web address pre-entered by the user may be stored.
  • the reference URL and the reference post request are extracted from the reference post request in step S73.
  • extracting the reference URL from the reference post request may also be performed after step S71 and before step S72.
  • the reference web address is determined as the target web address
  • the reference post content is determined as the target post content.
  • step S78 the reference post request is directly forwarded according to the working mode of the existing router.
  • step S75 a reference post request is sent to the destination web address.
  • step S76 the return message returned by the target web address according to the reference post request is obtained.
  • step S77 it is determined whether the return message is a preset return message.
  • step S75 When the return message is not a preset return message, the process returns to step S75, and the reference post request is continued to be sent to the target web address until the return message is the preset return message; when the return message is the preset return message, the process ends.
  • the router can selectively perform multiple post request transmissions for the reference post request sent by the terminal until the return message is a preset message, or The direct forwarding of the selection greatly reduces the complexity of user operations.
  • any of the exemplary embodiments in the network resource acquisition process, only the user needs to pass the terminal to the router. Send the destination URL and the target post content once, and all the data interactions are left between the router and the server corresponding to the destination URL.
  • the router does not need to forward the return message of the post request to the user each time, and then the user performs the operation to send the post request again, thereby reducing the number of interactions between the router and the terminal, thereby reducing the current network resource acquisition process.
  • the time consumption is reduced, so that the interval for sending the two consecutive post requests by the router is reduced, and the number of times the router sends the post request is increased within the unit time, thereby greatly improving the success rate of acquiring limited network resources.
  • FIG. 8 is a schematic diagram of a router access control apparatus according to an exemplary embodiment.
  • the apparatus includes an object acquisition unit 101, a request generation unit 102, a request transmission unit 103, a return message acquisition unit 104, and a return message judgment unit 105.
  • the object acquisition unit 101 is configured to acquire a target web address and a target post content.
  • the object obtaining unit 101 may include: a first indication receiving unit and an object extracting unit, wherein the first indication receiving unit is configured to receive a sending by the transmitting terminal or connected to the router Entering a post indication input by the device, the post indication includes at least the destination URL and Target post content; the object extraction unit is configured to extract the target web address and the target post content from the post indication.
  • the object obtaining unit 101 may include: a second indication receiving unit, a destination URL determining unit, and a target post content extracting unit, wherein: the second indication receiving unit is configured to receive and send through an application a post indication sent by the terminal, the post indication includes at least the target post content; the application is bound with a preset web address; the target web address determining unit is configured to determine a preset web address bound by the application And the target post content extraction unit is configured to extract the target post content from the post indication.
  • the object obtaining unit 101 may include: a request receiving unit, a URL determining unit, a reference object extracting unit, and a target object determining unit, wherein: the request receiving unit is configured to receive a reference sent by the transmitting terminal a post request, the reference post request includes at least a reference web address and a reference post content; the web address determining unit is configured to determine whether the reference web address is included in a preset web address database; the reference object extracting unit is configured to be preset Extracting the reference URL and the reference post request from the reference post request when the reference URL is included in the URL database; the target object determining unit is configured to determine the reference URL as the target URL, The reference post content is determined to be the target post content.
  • the request generation unit 102 is configured to generate a post request based on the target post content.
  • the request sending unit 103 is configured to send the post request to the destination web address.
  • the return message acquisition unit 104 is configured to obtain a return message returned by the target web address according to the post request.
  • the return message judging unit 105 is configured to judge whether the return message is a preset return message.
  • the request sending unit 103 is further configured to continue to send the post request to the target web address until the return message is a preset return message.
  • FIG. 9 is a schematic diagram of a router access control apparatus according to an exemplary embodiment.
  • the apparatus further includes a first push message generating unit 201 and a first push message transmitting unit 202.
  • the first push message generating unit 201 is configured to generate a prompt push message according to the return message when the return message is a preset return message.
  • the first push message transmitting unit 202 is configured to send a prompt push message to the at least one preset receiving terminal.
  • the manner of sending a push message to a preset receiving terminal includes: one or a combination of a short message, a mail, a webpage message, an internet push message, a local area network notification message, and is visible, preset
  • the receiving terminal can be a mobile terminal, a computer or other network terminal, or the like.
  • FIG. 10 is a schematic diagram of a router access control apparatus according to an exemplary embodiment.
  • the apparatus further includes a payment information acquiring unit 301 and a second push message.
  • the payment information obtaining unit 301 is configured to acquire payment information in the return message when the return message is a preset return message;
  • the second push message generating unit 302 is configured to generate a payment push message according to the payment information; the second push message transmitting unit 302 is configured to transmit a payment push message to the at least one preset receiving terminal.
  • the apparatus may further include: a terminal information extracting unit.
  • the terminal information extracting unit is configured to extract information of the preset receiving terminal from the post indication or the reference post request.
  • the information of the preset receiving terminal may be the same as the terminal that sends the post request, or may be the same as the terminal that sends the post request.
  • FIG. 11 is an electronic device for implementing router access control according to an exemplary embodiment.
  • the electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a router, etc., and the above devices other than the router can Integrated with the functionality of a router.
  • the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (1/0) interface 812, and a sensor component. 814, and a communication component 816.
  • Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps described above.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPR0M), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPR0M erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 806 provides power to various components of electronic device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
  • the multimedia component 808 includes a screen between the electronic device 800 and a user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera.
  • the front camera and/or the rear camera can receive external multimedia data.
  • Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • Audio component 810 is configured to output and/or input audio signals.
  • audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons can include, but are not limited to: Home button, Volume button, Start button, and Lock button.
  • Sensor assembly 814 includes one or more sensors for providing electronic device 800 with various aspects of status assessment.
  • sensor component 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of electronic device 800, and sensor component 814 can also detect electronic device 800 or electronic device 800.
  • the position of the component changes, the presence or absence of contact of the user with the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800.
  • the sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (IR) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic A device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLD programmable logic A device
  • FPGA field programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the above method.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of electronic device 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a router access control method, the method comprising:
  • the return message is not a preset return message, continue to send the post request to the target web address until the return message is a preset return message.
  • FIG. 12 is a schematic structural diagram of a server according to an exemplary embodiment.
  • the server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or one.
  • CPUs central processing units
  • the above storage medium 1942 or storage medium 1930 of data 1944 (for example, one or one storage device in Shanghai).
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored on the storage medium 1930 may include one or more modules (not shown), and each module may include a series of instruction operations in the server.
  • central processor 1922 can be configured to communicate with storage medium 1930 to perform a series of instruction operations in storage medium 1930 on server 1900.
  • Server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941. , such as Windows ServerTM, Mac
  • OS XTM UnixTM, LinuxTM, FreeBSDTM and more.
  • a non-transitory computer readable storage medium wherein when instructions in the storage medium are executed by a processor of a server, the server is capable of executing a method of virtual operating a file, the method comprising:
  • Determining whether the return message is a preset return message If the return message is not a preset return message, continue to send the post request to the target web address until the return message is a preset return message.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开是关于一种路由器访问控制方法、装置及路由器,所述方法包括:获取目标网址和目标post内容;根据所述目标post内容生成post请求;向所述目标网址发送所述post请求;获取所述目标网址根据所述post请求返回的返回消息;判断所述返回消息是否为预设返回消息;若所述返回消息不为预设返回消息,则继续向所述目标网址发送所述post请求,直至所述返回消息为预设返回消息。该方法只需接收一次参数(包括目标网址和目标post请求),就可以自动完成后续多次post请求发送过程,直至返回预设返回消息,可以避免相关技术中一次请求失败后需要用户重复输入或操作的问题,操作简单方便。

Description

路由器访问控制方法、 装置及路由器 本申请基于申请号为 201410069570.6、申请日为 2014年 2月 27日的中国专利申 请提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申 请作为参考。 技术领域
本公开涉及网络设备技术领域, 尤其涉及一种路由器访问控制方法、 装置及路由 器。 背景技术
随着信息资源网络化的发展, 越来越多的企业加入到信息资源网络中, 信息资源 网络化不仅会改变现有的生产结构、产业结构和劳动结构, 而且也将极大地改变了人 们的生活方式、 交往方式、 工作方式以及学习方式。
一些传统的社会公共资源, 也加入到信息资源网络中, 例如: 网上可以进行医院 挂号, 网上可以进行博物馆或者其它参观场所的预约, 还有网上可以预订酒店、 火车 票或者机票等。 用户在获取这些社会公共资源时, 需要在计算机、 手机或者其它智能 终端上使用浏览器访问目标网站, 并进行填写、 录入等操作, 才对资源进行请求, 而 一旦本次资源请求未成功, 需要再次重复进行多次操作后才可以重新进行请求, 导致 资源获取过程, 耗时较长, 非常不方便。 发明内容
本公开提供一种路由器访问控制方法、 装置及路由器, 以解决现有的信息资源获 取不方便的问题。
根据本公开实施例的第一方面, 提供一种路由器访问控制方法, 包括
获取目标网址和目标 post内容; 根据所述目标 post内容生成 post请求; 向所述 目标网址发送所述 post请求;获取所述目标网址根据所述 post请求返回的返回消息; 判断所述返回消息是否为预设返回消息; 若所述返回消息不为预设返回消息, 则继续 向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
结合第一方面, 在第一方面第一种可能的实现方式中, 所述方法还包括: 若所述返回消息为预设返回消息, 则根据所述返回消息生成提示推送消息; 向至 少一个预设接收终端发送所述提示推送消息。
结合第一方面, 在第一方面第二种可能的实现方式中, 所述方法还包括: 若所述返回消息为预设返回消息, 则获取所述返回消息中的支付信息; 根据所述 支付信息生成支付推送消息; 向至少一个预设接收终端发送所述支付推送消息。 结合第一方面第一种可能的实现方式或第一方面第二种可能的实现方式,在第一 方面第三种可能的实现方式中, 所述向预设接收终端发送推送消息的方式, 包括: 短 信、 邮件、 网页消息、 互联网推送消息、 局域网通知消息中的一种或者多种组合。
结合第一方面, 在第一方面第四种可能的实现方式中, 所述获取目标网址和目标 post内容, 包括:
接收发送终端发送的或与所述路由器相连的输入设备输入的 post指示,所述 post 指示内至少包含有所述目标网址和目标 post内容; 从所述 post指示中提取所述目标 网址和目标 post内容。
结合第一方面, 在第一方面第五种可能的实现方式中, 所述获取目标网址和目标 post内容, 包括:
通过应用程序接收发送终端发送的 post指示, 所述 post指示内至少包含有所述 目标 post 内容; 所述应用程序绑定有预设网址; 将所述应用程序绑定的预设网址确 定为所述目标网址; 从所述 post指示中提取所述目标 post内容。
结合第一方面, 在第一方面第六种可能的实现方式中, 所述获取目标网址和目标 post内容, 包括:
接收发送终端发送的参考 post请求, 所述参考 post请求内至少包含有参考网址 和参考 post 内容; 判断预先设置的网址数据库内是否包含所述参考网址; 若预先设 置的所述网址数据库内包含所述参考网址, 从所述参考 post请求内提取所述参考网 址和参考 post请求; 将所述参考网址确定为所述目标网址, 将所述参考 post内容确 定为所述目标 post内容。
结合第一方面第四种可能的实现方式、第一方面第五种可能的实现方式或第一方 面第六种可能的实现方式, 在第一方面七种可能的实现方式中, 所述 post指示或参 考 post请求内包含有用于接收推送消息的预设接收终端的信息; 所述方法还包括: 从所述 post指示或参考 post请求内提取所述预设接收终端的信息。
根据本公开实施例的第二方面, 提供一种路由器访问控制装置, 应用于路由器, 所述装置包括:
对象获取单元, 用于获取目标网址和目标 post 内容; 请求生成单元, 用于根据 所述目标 post内容生成 post请求;请求发送单元,用于向所述目标网址发送所述 post 请求; 返回消息获取单元, 用于获取所述目标网址根据所述 post请求返回的返回消 息;
返回消息判断单元, 用于判断所述返回消息是否为预设返回消息; 若所述返回消 息不为预设返回消息, 所述请求发送单元继续向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
结合第二方面, 在第二方面第一种可能的实现方式中, 所述装置还包括: 第一推送消息生成单元, 用于当所述返回消息为预设返回消息时, 根据所述返回 消息生成提示推送消息; 第一推送消息发送单元, 用于向至少一个预设接收终端发送 所述提示推送消息。
结合第二方面, 在第二方面第二种可能的实现方式中, 所述装置还包括: 支付信息获取单元, 用于当所述返回消息为预设返回消息时, 获取所述返回消息 中的支付信息; 第二推送消息生成单元, 用于根据所述支付信息生成支付推送消息; 第二推送消息发送单元, 用于向至少一个预设接收终端发送所述支付推送消息。
结合第二方面, 在第二方面第三种可能的实现方式中, 所述对象获取单元包括: 第一指示接收单元,用于接收发送终端发送的或与所述路由器相连的输入设备输 入的 post指示, 所述 post指示内至少包含有所述目标网址和目标 post内容; 对象提 取单元, 用于从所述 post指示中提取所述目标网址和目标 post内容。
结合第二方面, 在第二方面第四种可能的实现方式中, 所述对象获取单元包括: 第二指示接收单元, 用于通过应用程序接收发送终端发送的 post指示, 所述 post 指示内至少包含有所述目标 post 内容; 所述应用程序绑定有预设网址; 目标网址确 定单元, 用于将所述应用程序绑定的预设网址确定为所述目标网址; 目标 post 内容 提取单元, 用于从所述 post指示中提取所述目标 post内容。
结合第二方面, 在第二方面第五种可能的实现方式中, 所述对象获取单元包括: 请求接收单元, 用于接收发送终端发送的参考 post请求, 所述参考 post请求内 至少包含有参考网址和参考 post 内容; 网址判断单元, 用于判断预先设置的网址数 据库内是否包含所述参考网址; 参考对象提取单元, 用于当预先设置的所述网址数据 库内包含所述参考网址时, 从所述参考 post请求内提取所述参考网址和参考 post请 求; 目标对象确定单元, 用于将所述参考网址确定为所述目标网址, 将所述参考 post 内容确定为所述目标 post内容。
结合第二方面第三种可能的实现方式、第二方面第四种可能的实现方式或第二方 面第五种可能的实现方式, 在第二方面第六种可能的实现方式中, 所述 post指示或 参考 post请求内包含有用于接收推送消息的预设接收终端的信息; 所述装置还包括: 终端信息提取单元, 用于从所述 post指示或参考 post请求内提取所述预设接收 终端的信息。
根据本公开实施例的第三方面, 提供一种路由器, 包括:
处理器; 用于存储处理器可执行指令的存储器; 其中, 所述处理器被配置为: 获 取目标网址和目标 post内容; 根据所述目标 post内容生成 post请求; 向所述目标网 址发送所述 post请求; 获取所述目标网址根据所述 post请求返回的返回消息; 判断 所述返回消息是否为预设返回消息; 若所述返回消息不为预设返回消息, 则继续向所 述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
本公开的实施例提供的技术方案可以包括以下一些有益效果:
本公开在实现网络资源获取过程中, 路由器只要获取一次目标网址和目标 post 内容 (通常为本次网络资源获取过程中的首次) , 然后在后续网络资源获取过程中, 可以判断本次网络资源获取过程的返回消息是否为预设返回消息,并且在未获取到预 设返回消息时, 可以自动多次执行发送 post请求, 直至本次网络资源获取过程的返 回消息为预设返回消息。
一方面, 本公开提供的路由器访问控制方法, 只需接收一次参数(包括目标网址 和目标 post请求) , 就可以自动完成后续多次 post请求发送过程, 直至返回预设返 回消息, 可以避免相关技术中一次请求失败后需要用户重复输入或操作的问题, 操作 简单方便。
另一方面, 本公开提供的路由器访问控制方法, 在网络资源获取过程中, 只需用 户通过终端向路由器发送一次目标网址和目标 post 内容即可, 剩下全部数据交互全 部在路由器和目标网址对应的服务器之间进行, 与相关技术相比, 无需路由器每次将 post请求的返回消息都转发给用户, 再由用户进行操作进行再次发送 post请求, 减 少路由器与终端的交互次数, 进而减小本次网络资源获取过程中的时间消耗, 使得路 由器发送相邻两次 post请求的间隔缩小, 在单位时间内, 增加路由器发送 post请求 的次数, 大大提高获取有限的网络资源的成功率。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不 能限制本公开。 附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施 例, 并与说明书一起用于解释本发明的原理。
图 1是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图; 图 2是根据一示例性实施例示出的图 1中步骤 S 15的一种示例性流程图; 图 3是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图 图 4是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图 图 5是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图: 图 6是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图 图 7是根据一示例性实施例示出的一种路由器访问控制方法的示例性流程图 图 8是根据一示例性实施例示出的一种路由器访问控制装置示意图;
图 9是根据一示例性实施例示出的一种路由器访问控制装置示意图;
图 10是根据一示例性实施例示出的一种路由器访问控制装置示意图;
图 1 1 是根据一示例性实施例示出的一种用于实现路由器访问控制的电子设备的 示例性框图;
图 12是根据一示例性实施例示出的服务器的结构示意图。
通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附 图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实 施例为本领域技术人员说明本公开的概念。 具体实施方式
这里将详细地对示例性实施例进行说明, 其示例表示在附图中。 下面的描述涉及 附图时, 除非另有表示, 不同附图中的相同数字表示相同或者相似的要素。 以下示例 性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反, 它们 仅是与如所附权利要求书中所详述的、 本发明的一些方面相一致的装置和方法的例 子。
图 1是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 1所 示, 该路由器访问控制方法用于路由器中, 包括以下步骤。
在步骤 S 1 1中, 获取目标网址和目标 post内容。
目标网址是指用户需要发送 post 请求的网址, 可以为常见的购物网站的网址, 例如: 淘宝、 京东、 1号店等网址, 也可以为订票或订制其它服务网站的网址, 例如: 车票订票网站、 机票订票网站、 酒店订房间网站或旅游订票网站等。
目标 post内容是指用户期望通过 post请求提交到目标网址的信息。 在本公开实 施例中, 目标 post内容可以根据目标网址的不同而自由设定, 例如: 对于购物网站, 目标 post 内容可以为购买物品的名称、 数量、 付款方式、 快递选择以及收货地址等 等; 对于车票或机票订票, 目标 post内容可以为: 出发地、 目的地、 车次 (航班) 、 乘车 (乘机)日期、 所选席别、 订票张数以及乘坐人员身份信息等; 此外, 对于酒店订 房或旅游订票, 根据上述列举内容, 目标 post内容包含相应行业要求的信息即可。
用户可以在路由器上直接输入网址和目标 post 内容, 也可以通过终端, 例如: 手机、 平板电脑或计算机等, 提交给路由器。
在步骤 S 12中, 根据所述目标 post内容生成 post请求。
在该步骤中, 利用现有的网络传输协议中的 post请求格式, 根据目标 post内容 生成相应的 post请求, 在生成的 post请求内携带有与目标 post内容相对应的信息。
在步骤 S 13中, 向所述目标网址发送所述 post请求。
路由器将生成的 post请求通过网络向目标网址对应的服务器发送。
在步骤 S 14中, 获取所述目标网址根据所述 post请求返回的返回消息。
目标网址对应的服务器接收到 post请求后, 会根据该 post请求相应的返回一个 返回消息, 以便用户通过该返回消息可以确定前述向目标网址发送的 post请求的结 果。 在返回消息内可以包含预先设置的特定字符, 例如: 订票成功或订票失败等, 也 可以包括与所述目标 post 内容相关的信息, 例如: 车票的出发地、 目的地、 车次、 乘车日期、 所选席别、 订票张数以及乘坐人员身份信息等。
对于同一目标网址而言, 不同种类、 格式和 /或内容的返回消息可以表征不同的 结果; 而对于不同的目标网址, 通常采用不同种类、 格式和 /或内容的返回消息来表 征不同的结果, 当然也不排除相近的网站采用相同的返回消息, 例如: 淘宝和天猫等 属于同一公司或同为酒店订房的网站等等。
在步骤 S 15中, 判断所述返回消息是否为预设返回消息。
在本公开一示例性实施例中, 如图 2所示, 步骤 S 15可以包括以下步骤: 在步骤 S 151中, 获取所述返回消息内的目标特征。
目标特征可以唯一地识别或确认该返回消息的特征。在本公开实施例中, 目标特 征可以为返回消息内包含的预设字符、 预设数字、 与所述目标 post 内容相对应的至 少一个字段内的字符和 /或数字等。 此外, 目标特征还可以为返回消息的格式等等。
在步骤 S 152中, 判断预设特征库内是否包含所述目标特征。
对于不同的目标网址, 可以预先分别建立与之对应的预设特征库, 在获取到返回 消息后, 通过査表等方式可以将目标特征与预设特征库内的特征进行比较。
当预设特征库内包含所述目标特征时, 在步骤 S 153 中, 确定所述返回消息为预 设返回消息。 而当预设特征库内不包含所述目标特征时, 在步骤 S 154中, 确定所述 返回消息不为预设返回消息。
当返回消息不为预设返回消息时, 返回步骤 S 13, 继续向目标网址发送所述 post 请求, 直至返回消息为预设返回消息时, 结束。
由以上技术方案可见, 本公开的实施例提供的路由器访问控制方法, 在实现网络 资源获取过程中, 路由器只要获取一次目标网址和目标 post 内容 (通常为本次网络 资源获取过程中的首次) , 然后在后续网络资源获取过程中, 可以判断本次网络资源 获取过程的返回消息是否为预设返回消息, 并且在未获取到预设返回消息时, 可以自 动多次执行发送 post请求, 直至本次网络资源获取过程的返回消息为预设返回消息。
一方面, 本公开提供的路由器访问控制方法, 只需接收一次参数(包括目标网址 和目标 post请求) , 就可以自动完成后续多次 post请求发送过程, 直至返回预设返 回消息, 可以避免相关技术中一次请求失败后需要用户重复输入或操作的问题, 操作 简单方便。
另一方面, 本公开提供的路由器访问控制方法, 在网络资源获取过程中, 只需用 户通过终端向路由器发送一次目标网址和目标 post 内容即可, 剩下全部数据交互全 部在路由器和目标网址对应的服务器之间进行, 与相关技术相比, 无需路由器每次将 post请求的返回消息都转发给用户, 再由用户进行操作进行再次发送 post请求, 减 少路由器与终端的交互次数, 进而减小本次网络资源获取过程中的时间消耗, 使得路 由器发送相邻两次 post请求的间隔缩小, 在单位时间内, 增加路由器发送 post请求 的次数, 大大提高获取有限的网络资源的成功率。
图 3是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 3所 示, 在图 1示例性实施例的基础上, 所述方法还可以包括以下步骤。 当所述返回消息为预设返回消息时, 在步骤 S3 1中, 根据所述返回消息生成提示 推送消息。
生成的提示推送消息内携带有与返回消息相应的信息。
在步骤 S32中, 向至少一个预设接收终端发送所述提示推送消息。
发送提示推送消息的目的是通知用户本次 post 请求的结果, 并且利用发送推送 消息的方式, 可以让用户快速了解到本次 post请求的结果。
在本公开示例性实施例中, 向预设接收终端发送推送消息的方式, 包括: 短信、 邮件、 网页消息、 互联网推送消息、 局域网通知消息中的一种或者多种组合, 并且可 见, 预设接收终端可以为移动终端、 计算机或其它网络终端等。
通过发送提示推送消息, 可以及时地将 post 请求的结果, 以用户预先设定的方 式快速通知到用户, 方便用户及时査收返回消息, 并根据返回消息进行后续处理, 例 如: 付款、 取消订单或修改订单内的信息等。
图 4是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 4所 示, 在图 1示例性实施例的基础上, 所述方法还可以包括以下步骤。
当所述返回消息为预设返回消息时,在步骤 S41中,获取返回消息中的支付信息。 在图 3示例性实施例中,提示推送消息的目的是为了通知用户本次 post请求的结 果, 在本公开示例性实施例中, 为了更加方便用户的操作, 当返回消息为预设返回消 息时, 可以直接获取返回消息内携带的支付信息。
在步骤 S42中, 根据所述支付信息生成支付推送消息。
生成的支付推送消息内携带有与支付信息相应的信息, 例如: 支付链接等。 在步骤 S43中, 向至少一个预设接收终端发送所述支付推送消息。
该步骤可以参见上述步骤 S32的详细描述, 在此不再赘述。
此外, 对于货到付款等无需直接付款的订票或购物情况, 返回消息内还可以携带 其它信息, 例如: 物流信息等, 同样可以将这些信息推送给用户。
当用户接收到支付推送消息, 实际上也默认用户已经及时到了解本次 post 请求 的结果, 另外, 通过支付推送消息还可以快速进行后续付款等操作, 减少用户需要根 据返回消息到付款之间的中间环节, 节省时间。 从另外一个角度来说, 可以避免用户 被引诱或错误选择支付链接, 降低用户被骗的风险, 提高安全性。
图 5是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 5所 示, 该路由器访问控制方法用于路由器中, 包括以下步骤。
在步骤 S51 中, 接收发送终端发送的或与路由器相连的输入设备输入的 post指 示。
发送终端可以通过有线连接方式与路由器相连接, 例如: 计算机等, 也可以通过 无线连接方式与路由器相连接, 例如: 手机、 平板电脑等移动终端。
随着路由器的智能化的发展,现有的路由器可以设置有触摸屏、按键等输入设备, 所以还可以通过路由器上设置的触摸屏或按键等输入设备接收用户输入的 post指示。 在 post指示内至少包含有所述目标网址和目标 post内容。 在一个实施例中, 路 由器可以提供一个类似表格的界面, 用户可以通过发送终端发送 post指示或在路由 器上直接输入 post指示。
在步骤 S52中, 从所述 post指示中提取所述目标网址和目标 post内容。
在步骤 S53中, 根据所述目标 post内容生成 post请求。
在步骤 S54中, 向所述目标网址发送所述 post请求。
在步骤 S55中, 获取所述目标网址根据所述 post请求返回的返回消息。
在步骤 S56中, 判断所述返回消息是否为预设返回消息。
当返回消息不为预设返回消息时,返回步骤 S54,继续向目标网址发送 post请求。 当返回消息为预设返回消息时, 在步骤 S57 中, 从所述 post指示内提取所述预 设接收终端的信息。
在 post 指示内包含有用于接收推送消息的预设接收终端的信息, 预设接收终端 的信息可以为 IP地址、 账号或 ID, 其中, ID可以为手机号等, 即用户可以预先指定 预设接收终端的信息。
根据实际应用场景, 预设接收终端的信息可以与发送 post 请求的终端相同, 也 可以与发送 post请求的终端相同。 在本公开示例性实施例中, 用户可以通过计算机 进行订票,并还将预设接收终端还设定为该计算机或与该计算机位于同一局域网内的 其它计算机, 譬如: 其它卧室内的计算机, 同理本领域技术人员可以想到对于办公室 等局域网, 该方法同样适用。 但若用户在当前时间内通过计算机进行订票, 而未来一 段时间内用户可能不能持续守候在计算机前,例如:早上起床后用户利用计算机订票, 然后就出门上班, 所以, 在用户通过计算机发送 post指示时, 可以指定接收终端为 手机, 这样当用户在上班途中, 一旦订票成功, 就可以通过手机接收到推送消息, 或 者, 同时向用户指定的邮箱发送邮件, 以便用户到公司后可以通过査收邮件获知推送 消息, 还或者, 在用户上班过程中, 一旦订票成功还可以通过网页弹窗等形式向用户 发送推送消息。 另外, 当用户帮助多个人进行订票时, 可以在 post指示中指定这多 个人的手机为预设接收终端, 进而当订票成功后, 可以向这多个人的手机发送推送消 息。
步骤 S57不限定在步骤 S56之后, 还可以在获取到 post指示后, 以及步骤 S58 之前的任意时刻执行。
在步骤 S58中, 根据所述返回消息生成提示推送消息。
在步骤 S59中, 向至少一个预设接收终端发送所述提示推送消息。
图 6是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 6所 示, 该路由器访问控制方法用于路由器中, 包括以下步骤。
在步骤 S61中, 通过应用程序接收发送终端发送的 post指示。 在 post指示内至少包含有所述目标 post内容。
在本公开示例性实施例中, 可以在路由器中内置有一个或多个应用程序, 例如: app, 每个应用程序都绑定有一个预设网址, 例如: 针对铁道部订票网站, 可以单独 安装一个火车票订票 app, 针对淘宝网站, 还可以单独安装一个淘宝购物 app。 这样, 当用户需要某一项服务时, 可以通过专用的 app输入 post指示。
在步骤 S62中, 将所述应用程序绑定的预设网址确定为所述目标网址。
由于每个应用程序都绑定有一个预设网址,所以当通过某一个应用程序接收 post 指示时, 可以将与该应用程序绑定的预设网址确定为目标网址。
在步骤 S63中, 从所述 post指示中提取所述目标 post内容。
在步骤 S64中, 根据所述目标 post内容生成 post请求。
在步骤 S65中, 向所述目标网址发送所述 post请求。
在步骤 S66中, 获取所述目标网址根据所述 post请求返回的返回消息。
在步骤 S67中, 判断所述返回消息是否为预设返回消息。
当返回消息不为预设返回消息时, 返回步骤 S65, 继续向目标网址发送所述 post 请求, 直至返回消息为预设返回消息。
当返回消息为预设返回消息时,在步骤 S68中,获取所述返回消息中的支付信息。 在步骤 S69中, 根据所述支付信息生成支付推送消息。
在步骤 S70中, 向至少一个预设接收终端发送所述支付推送消息。
通过在路由器中内置不同应用程序的方法,用户可以直接访问路由器内的某一个 应用程序,并且根据该应用程序提供的输入界面,直接输入至少包含 post内容的 post 指示, 省略了目标网址的输入过程, 可以方便快速发送 post请求, 尤其是对于那些 经常通过门户网站打开目的网址, 而对网址的详细拼写不熟悉的用户。
图 7是根据一示例性实施例示出的一种路由器访问控制方法的流程图,如图 7所 示, 该路由器访问控制方法用于路由器中, 包括以下步骤。
在步骤 S71中, 接收发送终端发送的参考 post请求。
用户在发送终端上可以通过浏览器直接访问目标网站, 并且在目标网站上填写 post内容, 浏览器直接生成参考 post请求, 并将参考 post请求发送到路由器上。 在 参考 post请求内至少包含有参考网址和参考 post内容。 另外, 在参考 post请求内也 可以包含有预设接收终端的信息。
在步骤 S72中, 判断预先设置的网址数据库内是否包含所述参考网址。
在路由器内预先设置有网址数据库, 可以默认存储有常见的购物、 订票网站对应 的网址, 或者, 存储有用户预先输入的网址。
当预先设置的网址数据库内包含有参考网址时, 在步骤 S73中, 从所述参考 post 请求内提取所述参考网址和参考 post请求。 另外, 从参考 post请求内提取参考网址 还可以在步骤 S71后, 步骤 S72前进行。 在步骤 S74 中, 将所述参考网址确定为所述目标网址, 将所述参考 post 内容确 定为所述目标 post内容。
当预先设置的网址数据库内不包含有参考网址时, 在步骤 S78中, 按照现有的路 由器的工作方式直接将参考 post请求转发。
在步骤 S75中, 向目标网址发送参考 post请求。
在该步骤中, 将参考 post请求作为待发送的 post请求直接向目标网址进行发送。 在步骤 S76中, 获取目标网址根据参考 post请求返回的返回消息。
在步骤 S77中, 判断所述返回消息是否为预设返回消息。
当返回消息不为预设返回消息时, 返回步骤 S75, 继续向目标网址发送参考 post 请求, 直至返回消息为预设返回消息; 当返回消息为预设返回消息时, 结束。
在本公开示例性实施例中,相当于在路由器中内置了一个针对特定多个网址进行 加速的插件, 特定多个网址是指位于预先设置的网址数据库内的网址。这样用户在需 要发送对多个目标网址发送多个 post请求时, 可以无需在路由器内査找相应的应用 程序, 并分别在不同的应用程序内单独输入 post指示, 而可以直接在终端的浏览器 上直接进行操作, 当浏览器将不同的参考 post请求发送给路由器后, 路由器可以针 对终端发送的参考 post请求, 有选择地自动进行多次 post请求发送, 直至返回消息 为预设消息, 或者, 有选择的直接进行转发, 大大地降低用户操作的复杂性。
综合上述图 1、 图 3、 图 4、 图 5、 图 6和图 7所示本公开示例性实施例, 无论哪 个示例性实施例, 在网络资源获取过程中, 都只需用户通过终端向路由器发送一次目 标网址和目标 post 内容即可, 剩下全部数据交互全部在路由器和目标网址对应的服 务器之间进行。 与相关技术相比, 无需路由器每次将 post请求的返回消息都转发给 用户, 再由用户进行操作进行再次发送 post请求, 减少路由器与终端的交互次数, 进而减小本次网络资源获取过程中的时间消耗, 使得路由器发送相邻两次 post请求 的间隔缩小, 在单位时间内, 增加路由器发送 post请求的次数, 大大提高获取有限 的网络资源的成功率。
此外, 在本公开图 1、 图 3、 图 4、 图 5、 图 6和图 7所示本公开示例性实施例, 不同示例性实施例之间的相同步骤可以相互参考,不同实施例实施例之间的不同的步 骤也可以相互组合, 组合后形成的技术方案, 也属于本公开实施例的保护范围。
图 8是根据一示例性实施例示出的一种路由器访问控制装置示意图。 参照图 8, 该装置包括对象获取单元 101、 请求生成单元 102、 请求发送单元 103、 返回消息获 取单元 104和返回消息判断单元 105。
对象获取单元 101被配置为获取目标网址和目标 post内容。
在本公开一示例性实施例中, 对象获取单元 101可以包括: 第一指示接收单元和 对象提取单元, 其中, 该第一指示接收单元被配置为接收发送终端发送的或与所述路 由器相连的输入设备输入的 post指示, 所述 post指示内至少包含有所述目标网址和 目标 post内容;该对象提取单元被配置为从所述 post指示中提取目标网址和目标 post 内容。
在本公开一示例性实施例中, 对象获取单元 101可以包括: 第二指示接收单元、 目标网址确定单元和目标 post 内容提取单元, 其中: 该第二指示接收单元被配置为 通过应用程序接收发送终端发送的 post指示, 所述 post指示内至少包含有所述目标 post内容; 所述应用程序绑定有预设网址; 目标网址确定单元被配置为将所述应用程 序绑定的预设网址确定为所述目标网址;目标 post内容提取单元被配置为从所述 post 指示中提取所述目标 post内容。
在本公开一示例性实施例中, 对象获取单元 101可以包括: 请求接收单元、 网址 判断单元、 参考对象提取单元和目标对象确定单元, 其中: 该请求接收单元被配置为 接收发送终端发送的参考 post请求, 所述参考 post请求内至少包含有参考网址和参 考 post 内容; 该网址判断单元被配置为判断预先设置的网址数据库内是否包含所述 参考网址;参考对象提取单元被配置为当预先设置的所述网址数据库内包含所述参考 网址时, 从所述参考 post请求内提取所述参考网址和参考 post请求; 目标对象确定 单元被配置为将所述参考网址确定为所述目标网址, 将所述参考 post 内容确定为所 述目标 post内容。
请求生成单元 102被配置为根据所述目标 post内容生成 post请求。
请求发送单元 103被配置为向所述目标网址发送所述 post请求。
返回消息获取单元 104被配置为获取目标网址根据所述 post请求返回的返回消 息。
返回消息判断单元 105被配置为判断所述返回消息是否为预设返回消息。
若所述返回消息不为预设返回消息,所述请求发送单元 103还被配置为继续向所 述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
图 9是根据一示例性实施例示出的一种路由器访问控制装置示意图。 参照图 9, 在图 8示例性实施例的基础上,该装置还包括第一推送消息生成单元 201和第一推送 消息发送单元 202。
第一推送消息生成单元 201被配置为当所述返回消息为预设返回消息时,根据所 述返回消息生成提示推送消息。
第一推送消息发送单元 202 被配置为向至少一个预设接收终端发送提示推送消 息。
在本公开示例性实施例中, 向预设接收终端发送推送消息的方式, 包括: 短信、 邮件、 网页消息、 互联网推送消息、 局域网通知消息中的一种或者多种组合, 并且可 见, 预设接收终端可以为移动终端、 计算机或其它网络终端等。
图 10是根据一示例性实施例示出的一种路由器访问控制装置示意图。参照图 10, 在图 8示例性实施例的基础上, 该装置还包括支付信息获取单元 301、 第二推送消息 生成单元 302和第二推送消息发送单元 303。
支付信息获取单元 301被配置为当所述返回消息为预设返回消息时,获取所述返 回消息中的支付信息;
第二推送消息生成单元 302被配置为根据所述支付信息生成支付推送消息; 第二推送消息发送单元 302 被配置为向至少一个预设接收终端发送支付推送消 息。
此外, 当所述 post指示或参考 post请求内包含有用于接收推送消息的预设接收 终端的信息时, 该装置还可以包括: 终端信息提取单元。
该终端信息提取单元被配置为从所述 post指示或参考 post请求内提取所述预设 接收终端的信息。
根据实际应用场景, 预设接收终端的信息可以与发送 post 请求的终端相同, 也 可以与发送 post请求的终端相同。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法 的实施例中进行了详细描述, 此处将不做详细阐述说明。
图 1 1 是根据一示例性实施例示出的一种用于实现路由器访问控制的电子设备
800的框图。 例如, 电子设备 800可以是移动电话, 计算机, 数字广播终端, 消息收 发设备, 游戏控制台, 平板设备, 医疗设备, 健身设备, 个人数字助理、 路由器等, 上述除路由器外的其它设备, 都可以集成有路由器的功能。
参照图 1 1, 电子设备 800可以包括以下一个或者多个组件: 处理组件 802, 存储 器 804, 电源组件 806, 多媒体组件 808, 音频组件 810, 输入 /输出 (1/ 0 ) 的接口 812, 传感器组件 814, 以及通信组件 816。
处理组件 802通常控制电子设备 800的整体操作, 诸如与显示, 电话呼叫, 数据 通信, 相机操作和记录操作相关联的操作。处理组件 802可以包括一个或者多个处理 器 820 来执行指令, 以完成上述的方法的全部或者部分步骤。 此外, 处理组件 802 可以包括一个或者多个模块, 便于处理组件 802和其他组件之间的交互。 例如, 处理 组件 802可以包括多媒体模块, 以方便多媒体组件 808和处理组件 802之间的交互。
存储器 804被配置为存储各种类型的数据以支持在设备 800的操作。这些数据的 示例包括用于在电子设备 800上操作的任何应用程序或者方法的指令, 联系人数据, 电话簿数据, 消息, 图片, 视频等。 存储器 804可以由任何类型的易失性或者非易失 性存储设备或者它们的组合实现, 如静态随机存取存储器 (SRAM) , 电可擦除可编 程只读存储器 (EEPR0M) , 可擦除可编程只读存储器 (EPR0M) , 可编程只读存 储器 (PROM) , 只读存储器 (ROM) , 磁存储器, 快闪存储器, 磁盘或者光盘。
电源组件 806为电子设备 800的各种组件提供电力。电源组件 806可以包括电源 管理系统, 一个或者多个电源, 及其他与为电子设备 800生成、 管理和分配电力相关 联的组件。 多媒体组件 808 包括在所述电子设备 800和用户之间的提供一个输出接口的屏 幕。 在一些实施例中, 屏幕可以包括液晶显示器 (LCD ) 和触摸面板 (TP ) 。 如果 屏幕包括触摸面板, 屏幕可以被实现为触摸屏, 以接收来自用户的输入信号。 触摸面 板包括一个或者多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传 感器可以不仅感测触摸或者滑动动作的边界,而且还检测与所述触摸或者滑动操作相 关的持续时间和压力。 在一些实施例中, 多媒体组件 808包括一个前置摄像头和 /或 者后置摄像头。 当设备 800处于操作模式, 如拍摄模式或者视频模式时, 前置摄像头 和 /或者后置摄像头可以接收外部的多媒体数据。 每个前置摄像头和后置摄像头可以 是一个固定的光学透镜系统或者具有焦距和光学变焦能力。
音频组件 810被配置为输出和 /或者输入音频信号。 例如, 音频组件 810包括一 个麦克风 (MIC ) , 当电子设备 800处于操作模式, 如呼叫模式、 记录模式和语音识 别模式时, 麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储 在存储器 804或者经由通信组件 816发送。在一些实施例中, 音频组件 810还包括一 个扬声器, 用于输出音频信号。
I/ O接口 812为处理组件 802和外围接口模块之间提供接口, 上述外围接口模块 可以是键盘, 点击轮, 按钮等。 这些按钮可包括但不限于: 主页按钮、 音量按钮、 启 动按钮和锁定按钮。
传感器组件 814包括一个或者多个传感器,用于为电子设备 800提供各个方面的 状态评估。 例如, 传感器组件 814可以检测到设备 800的打开 /关闭状态, 组件的相 对定位, 例如所述组件为电子设备 800的显示器和小键盘, 传感器组件 814还可以检 测电子设备 800或者电子设备 800—个组件的位置改变,用户与电子设备 800接触的 存在或者不存在, 电子设备 800方位或者加速 /减速和电子设备 800的温度变化。 传 感器组件 814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物 体的存在。 传感器组件 814还可以包括光传感器, 如 CMOS或者 CCD图像传感器, 用于在成像应用中使用。在一些实施例中, 该传感器组件 814还可以包括加速度传感 器, 陀螺仪传感器, 磁传感器, 压力传感器或者温度传感器。
通信组件 816被配置为便于电子设备 800和其他设备之间有线或者无线方式的通 信。 电子设备 800可以接入基于通信标准的无线网络, 如 WiFi, 2G或者 3G, 或者 它们的组合。在一个示例性实施例中, 通信组件 816经由广播信道接收来自外部广播 管理系统的广播信号或者广播相关信息。 在一个示例性实施例中, 所述通信组件 816 还包括近场通信 (NFC ) 模块, 以促进短程通信。 例如, 在 NFC模块可基于射频识 另 lj ( RFID ) 技术, 红外数据协会 (IrDA) 技术, 超宽带 (UWB ) 技术, 蓝牙 (BT) 技术和其他技术来实现。
在示例性实施例中, 电子设备 800 可以被一个或者多个应用专用集成电路 ( ASIC ) 、 数字信号处理器 (DSP ) 、 数字信号处理设备 (DSPD ) 、 可编程逻辑器 件 (PLD ) 、 现场可编程门阵列 (FPGA) 、 控制器、 微控制器、 微处理器或者其他 电子元件实现, 用于执行上述方法。
在示例性实施例中, 还提供了一种包括指令的非临时性计算机可读存储介质, 例 如包括指令的存储器 804, 上述指令可由电子设备 800的处理器 820执行以完成上述 方法。 例如, 所述非临时性计算机可读存储介质可以是 ROM、 随机存取存储器 ( RAM) 、 CD-ROM, 磁带、 软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理 器执行时, 使得移动终端能够执行一种路由器访问控制方法, 所述方法包括:
获取目标网址和目标 post内容;
根据所述目标 post内容生成 post请求;
向所述目标网址发送所述 post请求;
获取所述目标网址根据所述 post请求返回的返回消息;
判断所述返回消息是否为预设返回消息;
若所述返回消息不为预设返回消息, 则继续向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
图 12是根据一示例性实施例示出的服务器的结构示意图。该服务器 1900可因配 置或者性能不同而产生比较大的差异, 可以包括一个或者一个以上中央处理器 ( central processing units, CPU) 1922 (例如, 一个或者一个以上处理器) 和存储器 1932, 一个或者一个以上存储应用程序 1942或者数据 1944的存储介质 1930 (例如 一个或者一个以上海量存储设备) 。 其中, 存储器 1932和存储介质 1930可以是短暂 存储或者持久存储。存储在存储介质 1930的程序可以包括一个或者一个以上模块(图 示没标出) , 每个模块可以包括对服务器中的一系列指令操作。 更进一步地, 中央处 理器 1922可以设置为与存储介质 1930通信, 在服务器 1900上执行存储介质 1930 中的一系列指令操作。
服务器 1900还可以包括一个或者一个以上电源 1926, 一个或者一个以上有线或 者无线网络接口 1950, 一个或者一个以上输入输出接口 1958, 一个或者一个以上键 盘 1956, 和 /或者, 一个或者一个以上操作系统 1941, 例如 Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM等等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由服务器的处理器 执行时, 使得服务器能够执行一种虚拟操作文件的方法, 所述方法包括:
获取目标网址和目标 post内容;
根据所述目标 post内容生成 post请求;
向所述目标网址发送所述 post请求;
获取所述目标网址根据所述 post请求返回的返回消息;
判断所述返回消息是否为预设返回消息; 若所述返回消息不为预设返回消息, 则继续向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其 它实施方案。 本公开旨在涵盖本发明的任何变型、 用途或者适应性变化, 这些变型、 用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中 的公知常识或者惯用技术手段。说明书和实施例仅被视为示例性的, 本发明的真正范 围和精神由下面的权利要求指出。
应当理解的是, 本发明并不局限于上面已经描述并在附图中示出的精确结构, 并 且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限 制。

Claims

权利要求
1、 一种路由器访问控制方法, 应用于路由器, 其特征在于, 所述方法包括: 获取目标网址和目标 post内容;
根据所述目标 post内容生成 post请求;
向所述目标网址发送所述 post请求;
获取所述目标网址根据所述 post请求返回的返回消息;
判断所述返回消息是否为预设返回消息;
若所述返回消息不为预设返回消息, 则继续向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
若所述返回消息为预设返回消息, 则根据所述返回消息生成提示推送消息; 向至少一个预设接收终端发送所述提示推送消息。
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括:
若所述返回消息为预设返回消息, 则获取所述返回消息中的支付信息; 根据所述支付信息生成支付推送消息;
向至少一个预设接收终端发送所述支付推送消息。
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述向预设接收终端发送推 送消息的方式, 包括: 短信、 邮件、 网页消息、 互联网推送消息、 局域网通知消息 中的一种或者多种组合。
5、 根据权利要求 1所述的方法, 其特征在于, 所述获取目标网址和目标 post内 容, 包括:
接收发送终端发送的或与所述路由器相连的输入设备输入的 post指示,所述 post 指示内至少包含有所述目标网址和目标 post内容;
从所述 post指示中提取所述目标网址和目标 post内容。
6、 根据权利要求 1所述的方法, 其特征在于, 所述获取目标网址和目标 post内 容, 包括:
通过应用程序接收发送终端发送的 post指示, 所述 post指示内至少包含有所述 目标 post内容; 所述应用程序绑定有预设网址;
将所述应用程序绑定的预设网址确定为所述目标网址;
从所述 post指示中提取所述目标 post内容。
7、 根据权利要求 1所述的方法, 其特征在于, 所述获取目标网址和目标 post内 容, 包括:
接收发送终端发送的参考 post请求, 所述参考 post请求内至少包含有参考网址 和参考 post内容;
判断预先设置的网址数据库内是否包含所述参考网址; 若预先设置的所述网址数据库内包含所述参考网址, 从所述参考 post请求内提 取所述参考网址和参考 post请求;
将所述参考网址确定为所述目标网址,将所述参考 post内容确定为所述目标 post 内容。
8、根据权利要求 5-7任一项所述的方法,其特征在于,所述 post指示或参考 post 请求内包含有用于接收推送消息的预设接收终端的信息; 所述方法还包括:
从所述 post指示或参考 post请求内提取所述预设接收终端的信息。
9、 一种路由器访问控制装置, 应用于路由器, 其特征在于, 所述装置包括: 对象获取单元, 用于获取目标网址和目标 post内容;
请求生成单元, 用于根据所述目标 post内容生成 post请求;
请求发送单元, 用于向所述目标网址发送所述 post请求;
返回消息获取单元, 用于获取所述目标网址根据所述 post请求返回的返回消息; 返回消息判断单元, 用于判断所述返回消息是否为预设返回消息;
若所述返回消息不为预设返回消息, 所述请求发送单元继续向所述目标网址发 送所述 post请求, 直至所述返回消息为预设返回消息。
10、 根据权利要求 9所述的装置, 其特征在于, 所述装置还包括:
第一推送消息生成单元, 用于当所述返回消息为预设返回消息时, 根据所述返 回消息生成提示推送消息;
第一推送消息发送单元, 用于向至少一个预设接收终端发送所述提示推送消息。
1 1、 根据权利要求 9所述的装置, 其特征在于, 所述装置还包括:
支付信息获取单元, 用于当所述返回消息为预设返回消息时, 获取所述返回消 息中的支付信息;
第二推送消息生成单元, 用于根据所述支付信息生成支付推送消息;
第二推送消息发送单元, 用于向至少一个预设接收终端发送所述支付推送消息。
12、 根据权利要求 9所述的装置, 其特征在于, 所述对象获取单元包括: 第一指示接收单元, 用于接收发送终端发送的或与所述路由器相连的输入设备 输入的 post指示, 所述 post指示内至少包含有所述目标网址和目标 post内容;
对象提取单元, 用于从所述 post指示中提取所述目标网址和目标 post内容。
13、 根据权利要求 9所述的装置, 其特征在于, 所述对象获取单元包括: 第二指示接收单元,用于通过应用程序接收发送终端发送的 post指示,所述 post 指示内至少包含有所述目标 post内容; 所述应用程序绑定有预设网址;
目标网址确定单元, 用于将所述应用程序绑定的预设网址确定为所述目标网址; 目标 post内容提取单元, 用于从所述 post指示中提取所述目标 post内容。
14、 根据权利要求 9所述的装置, 其特征在于, 所述对象获取单元包括: 请求接收单元, 用于接收发送终端发送的参考 post请求, 所述参考 post请求内 至少包含有参考网址和参考 post内容;
网址判断单元, 用于判断预先设置的网址数据库内是否包含所述参考网址; 参考对象提取单元, 用于当预先设置的所述网址数据库内包含所述参考网址时, 从所述参考 post请求内提取所述参考网址和参考 post请求;
目标对象确定单元, 用于将所述参考网址确定为所述目标网址,将所述参考 post 内容确定为所述目标 post内容。
15、 根据权利要求 12-14任一项所述的装置, 其特征在于, 所述 post指示或参 考 post请求内包含有用于接收推送消息的预设接收终端的信息; 所述装置还包括: 终端信息提取单元, 用于从所述 post指示或参考 post请求内提取所述预设接收 终端的信息。
16、 一种路由器, 其特征在于, 包括:
处理器;
用于存储处理器可执行指令的存储器;
其中, 所述处理器被配置为:
获取目标网址和目标 post内容;
根据所述目标 post内容生成 post请求;
向所述目标网址发送所述 post请求;
获取所述目标网址根据所述 post请求返回的返回消息;
判断所述返回消息是否为预设返回消息;
若所述返回消息不为预设返回消息, 则继续向所述目标网址发送所述 post请求, 直至所述返回消息为预设返回消息。
PCT/CN2014/082937 2014-02-27 2014-07-24 路由器访问控制方法、装置及路由器 Ceased WO2015127754A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2016504479A JP6026703B2 (ja) 2014-02-27 2014-07-24 ルータアクセス制御方法、装置、ルータ、プログラム、及び記録媒体
MX2014011936A MX352486B (es) 2014-02-27 2014-07-24 Metodo y dispositivo para control de acceso de enrutador, y enrutador.
RU2015134109A RU2628229C2 (ru) 2014-02-27 2014-07-24 Способ и устройство для управления доступом к маршрутизатору, и маршрутизатор
KR1020147026680A KR101602397B1 (ko) 2014-02-27 2014-07-24 라우터 액세스 제어 방법, 장치, 라우터, 프로그램 및 저장매체
US14/522,840 US20150244764A1 (en) 2014-02-27 2014-10-24 Method and device for accessing a website

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410069570.6A CN103944876B (zh) 2014-02-27 2014-02-27 路由器访问控制方法、装置及路由器
CN201410069570.6 2014-02-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/522,840 Continuation US20150244764A1 (en) 2014-02-27 2014-10-24 Method and device for accessing a website

Publications (1)

Publication Number Publication Date
WO2015127754A1 true WO2015127754A1 (zh) 2015-09-03

Family

ID=51192360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082937 Ceased WO2015127754A1 (zh) 2014-02-27 2014-07-24 路由器访问控制方法、装置及路由器

Country Status (7)

Country Link
EP (1) EP2913980B1 (zh)
JP (1) JP6026703B2 (zh)
KR (1) KR101602397B1 (zh)
CN (1) CN103944876B (zh)
MX (1) MX352486B (zh)
RU (1) RU2628229C2 (zh)
WO (1) WO2015127754A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944876B (zh) * 2014-02-27 2018-07-06 小米科技有限责任公司 路由器访问控制方法、装置及路由器
CN114978942B (zh) * 2022-05-13 2024-05-24 深信服科技股份有限公司 一种路由器检测方法、装置及电子设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166917A (zh) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 网络设备身份识别方法及系统
CN103455585A (zh) * 2013-08-28 2013-12-18 小米科技有限责任公司 一种显示商品信息的方法、装置及终端
CN103514559A (zh) * 2013-09-26 2014-01-15 Opera软件股份公司 一种基于移动终端浏览器的在线购物比价方法及装置
CN103944876A (zh) * 2014-02-27 2014-07-23 小米科技有限责任公司 路由器访问控制方法、装置及路由器

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1619599A1 (en) * 2000-11-27 2006-01-25 Yamaha Corporation Information retrieval system and information retrieval method using network
US20040049673A1 (en) * 2002-09-05 2004-03-11 Docomo Communications Laboratories Usa, Inc. Apparatus and method for a personal cookie repository service for cookie management among multiple devices
US20140019352A1 (en) * 2011-02-22 2014-01-16 Visa International Service Association Multi-purpose virtual card transaction apparatuses, methods and systems
WO2008150713A2 (en) * 2007-05-21 2008-12-11 Stefan Gromoll Method and system for sending, routing, and receiving information using concise messages
KR20090011152A (ko) * 2007-07-25 2009-02-02 삼성전자주식회사 콘텐츠 제공 방법 및 시스템
JP5536129B2 (ja) * 2012-03-28 2014-07-02 Necアクセステクニカ株式会社 ルータ及びウェブサイトへの再接続方法
CN103392186A (zh) * 2012-12-28 2013-11-13 华为技术有限公司 一种支付方法、支付网关及支付客户端
CN103246721B (zh) * 2013-05-03 2016-12-28 北京奇虎科技有限公司 浏览器访问售票网站的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166917A (zh) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 网络设备身份识别方法及系统
CN103455585A (zh) * 2013-08-28 2013-12-18 小米科技有限责任公司 一种显示商品信息的方法、装置及终端
CN103514559A (zh) * 2013-09-26 2014-01-15 Opera软件股份公司 一种基于移动终端浏览器的在线购物比价方法及装置
CN103944876A (zh) * 2014-02-27 2014-07-23 小米科技有限责任公司 路由器访问控制方法、装置及路由器

Also Published As

Publication number Publication date
RU2628229C2 (ru) 2017-08-15
KR20150111267A (ko) 2015-10-05
MX352486B (es) 2017-11-27
RU2015134109A (ru) 2017-02-17
CN103944876A (zh) 2014-07-23
JP2016519881A (ja) 2016-07-07
KR101602397B1 (ko) 2016-03-10
JP6026703B2 (ja) 2016-11-16
EP2913980B1 (en) 2017-07-26
EP2913980A1 (en) 2015-09-02
MX2014011936A (es) 2016-10-27
CN103944876B (zh) 2018-07-06

Similar Documents

Publication Publication Date Title
US12277309B2 (en) Simplified sharing of content among computing devices
JP6726775B2 (ja) ソーシャル化ダッシュ
CA2862876C (en) Systems and methods for sharing data among multiple end user devices
EP3726376B1 (en) Program orchestration method and electronic device
KR102044113B1 (ko) 스마트 카메라에 액세스하는 방법 및 장치
JP6368857B2 (ja) チャットメッセージをタギングする方法及びデバイス
US20160164808A1 (en) Method and device for instant messaging
WO2016110120A1 (zh) 短信内容展示方法及短信展示确定方法、装置及系统
WO2017167132A1 (zh) 即时通信的实现方法和装置
JP2017513161A (ja) 振込処理方法および装置
EP3203690B1 (en) Message transmission method and apparatus, and electronic device
WO2016045277A1 (zh) 信息获取方法、装置和系统
KR20160076489A (ko) 추천정보 획득방법, 단말기, 서버, 프로그램 및 기록매체
JP2021077021A (ja) リソース予約システム、リソース利用方法
CN109525652A (zh) 信息分享方法、装置、设备和存储介质
WO2022228273A1 (zh) 信息处理方法、装置、终端和存储介质
US10089096B2 (en) Progress tracking system and method
JP5503597B2 (ja) 携帯端末、携帯端末を用いた通信方法及びプログラム
WO2015127754A1 (zh) 路由器访问控制方法、装置及路由器
WO2017166297A1 (zh) WiFi热点Portal认证方法和装置
RU2621293C2 (ru) Способ предоставления разрешения, способ получения разрешения и соответствующие устройства
CN106796523A (zh) 智能控制的方法、装置、电子设备以及系统
KR101882105B1 (ko) 유무선 통신 시스템에서 서버가 가치 평가를 기반으로 사용자 간 연결 관계를 형성하는 소셜 네트워크 서비스를 제공하는 방법
JP2020119401A (ja) 通信システム、通信方法、プログラム
US11361393B1 (en) Venue management system and venue tracking applications

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016504479

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20147026680

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2014/011936

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2015134109

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14883755

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112014024558

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14883755

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112014024558

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20141001