WO2022142716A1 - Information processing method and apparatus regarding wireless hotspot - Google Patents

Information processing method and apparatus regarding wireless hotspot Download PDF

Info

Publication number
WO2022142716A1
WO2022142716A1 PCT/CN2021/128609 CN2021128609W WO2022142716A1 WO 2022142716 A1 WO2022142716 A1 WO 2022142716A1 CN 2021128609 W CN2021128609 W CN 2021128609W WO 2022142716 A1 WO2022142716 A1 WO 2022142716A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
running
hotspot
heartbeat information
wireless hotspot
Prior art date
Application number
PCT/CN2021/128609
Other languages
French (fr)
Chinese (zh)
Inventor
彭清
Original Assignee
上海连尚网络科技有限公司
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 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2022142716A1 publication Critical patent/WO2022142716A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of computer technology, in particular to the field of wireless hotspot technology, and in particular, to an information processing method and apparatus for wireless hotspots.
  • the mobile network has problems such as the need to charge and the network is not stable enough, and the wireless hotspot is favored by more and more users because of its fast network speed and low cost.
  • Applications installed on some terminal devices can assist users to access wireless hotspots to achieve Internet access.
  • the user can specify one of the detected wireless hotspots, and the application can try to access the wireless hotspot.
  • an information processing method, apparatus, electronic device and storage medium related to a wireless hotspot are provided.
  • a method for processing information about a wireless hotspot comprising: in response to the client having accessed the wireless hotspot provided by the routing device, monitoring whether to receive heartbeat information periodically sent by the client, monitoring Whether the client is running, wherein the heartbeat information is sent by the client in response to the client being running, and the running is running at the front end or running in the background; in response to determining that the client is running The client is not running, and the client's access to the wireless hotspot is disconnected.
  • an apparatus for processing information about a wireless hotspot comprising: in response to the client being running, if a hotspot access instruction is obtained, accessing a wireless hotspot, wherein the wireless hotspot is a routing device Provided; periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and responds to determining whether the client is running When the terminal is not running, the access of the client to the wireless hotspot is disconnected, and the running is running at the front end or running in the background.
  • an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor , the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the method for processing information about a wireless hotspot.
  • a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method according to any one of the embodiments of the method for processing information on a wireless hotspot.
  • a computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of the embodiments of the method for processing information on a wireless hotspot.
  • the user can be urged not to close the client and keep the client running, thereby helping to improve the utilization rate of the client by the user.
  • FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
  • FIG. 2 is a flowchart of an embodiment of a method for processing information about a wireless hotspot according to the present application
  • FIG. 3 is a flow chart of still another embodiment of a method for processing information about a wireless hotspot according to the present application
  • FIG. 4 is a flowchart of still another embodiment of a method for processing information about a wireless hotspot according to the present application
  • FIG. 5 is a schematic structural diagram of an embodiment of an information processing apparatus related to a wireless hotspot according to the present application
  • FIG. 6 is a block diagram of an electronic device used to implement the information processing method for a wireless hotspot according to an embodiment of the present application.
  • FIG. 1 shows an exemplary system architecture 100 to which embodiments of the information processing method for wireless hotspots or the information processing apparatus for wireless hotspots of the present application may be applied.
  • the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a routing device 105 .
  • the network 104 is the medium used to provide communication links between the end devices 101 , 102 , 103 and the routing device 105 .
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the terminal devices 101, 102, 103 to interact with the routing device 105 through the network 104 to receive or send messages and the like.
  • Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as video applications, live broadcast applications, instant communication tools, email clients, social platform software, and the like.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal devices 101, 102, 103 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, laptop computers, desktop computers, and the like.
  • the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (eg, multiple software or software modules for providing distributed services), or as a single software or software module. There is no specific limitation here.
  • the routing device 105 may be a routing device that provides various services, for example, a routing device that provides support for the terminal devices 101 , 102 , and 103 .
  • the routing device can analyze and process the received heartbeat information and other data, and feed back the processing results (for example, monitoring results) to the terminal device.
  • the method for processing information about wireless hotspots may be executed by the routing device 105 or the terminal devices 101 , 102 , and 103 , and correspondingly, the apparatus for processing information about wireless hotspots may be set in the routing device 105 Or in the terminal devices 101 , 102 and 103 .
  • terminal devices, networks and routing devices in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and routing devices depending on the implementation needs.
  • a flow 200 of an embodiment of a method for processing information about a wireless hotspot according to the present application includes the following steps:
  • Step 201 in response to the client having accessed the wireless hotspot provided by the routing device, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein the heartbeat information is:
  • the client responds to a message sent by the client in running, the running is running in the front end or running in the background.
  • the execution subject (for example, the routing device or the terminal device shown in FIG. 1 ) on which the information processing method about the wireless hotspot runs Determine whether the heartbeat information sent by the client periodically (that is, timing) is received, and monitor whether the client is running. Specifically, when the above-mentioned execution body receives the heartbeat information periodically sent by the client, it can be determined that the client is running. Heartbeat information is sent only when the client is running.
  • the wireless hotspot here is provided by the above routing device. The operation of the client can be in the front-end or in the background.
  • the client on the terminal accesses the wireless hotspot, the user can use the terminal to surf the Internet through the wireless hotspot.
  • Step 202 in response to determining that the client is not running, disconnecting the client from accessing the wireless hotspot.
  • the execution body may disconnect the access of the client to the wireless hotspot. In this way, the user cannot continue to use the wireless hotspot to surf the Internet.
  • the methods provided by the above embodiments of the present application can urge the user not to close the client and keep the client running, thereby helping to improve the user's usage rate of the client.
  • monitoring whether the client is running includes: responding to a response from the client Receive the heartbeat information, start timing, and obtain the timing duration; determine whether the timing duration reaches the preset duration threshold, and if the timing duration reaches the preset duration threshold, determine that the heartbeat information periodically sent by the client has not been received, and It is determined that the monitoring result is that the client is not running, wherein the preset duration threshold is greater than or equal to the sending period of the heartbeat information.
  • the execution body may determine that the client fails to send the heartbeat information regularly when the timing duration reaches the preset duration threshold since the client receives the heartbeat information for the last time, and also That is, periodic transmission is not implemented. In this way, the above-mentioned execution body can determine that the monitoring result is that the above-mentioned client is not running.
  • the sending period may be 1 minute, and the preset duration threshold may be 5 minutes. If the execution body determines that it has not received the heartbeat information sent by the client for 5 minutes, it can be determined that the monitoring result is that the client is not running.
  • These implementations can accurately determine that the monitoring result is that the client is not running when the heartbeat information is not received for a long time, thereby disconnecting the access of the client.
  • the method may further include: judging whether the timing duration reaches a reminder duration, where the reminder duration is less than the preset duration threshold ; if the timing duration reaches the reminder duration, send a reminder message to the client for instructing to start the client.
  • the above-mentioned executive body can determine whether the timing duration has reached the reminder duration, and if so, can send a reminder message to the client.
  • the reminder message here may be a message for instructing to start the client.
  • the reminder message can be "Now start the XX application (the name of the above client), if it is not started, it will affect the Internet access".
  • the sending period is 1 minute
  • the reminder duration is 3 minutes
  • the preset duration threshold is 5 minutes. If the above executive body determines that it has not received the heartbeat information sent by the above client for 3 minutes, it can be determined that the reminder duration has been reached.
  • the above method may further include: in response to determining the The client is running, end the process.
  • the above-mentioned execution body may not make any response when it is determined that the client is running, that is, end the process, so that it may only respond to the situation that the heartbeat information is not sent.
  • monitoring whether the client is running by whether the heartbeat information periodically sent by the client is received may include: when the wireless hotspot is a designated hotspot In the case of , by determining whether the heartbeat information periodically sent by the client is received, it is monitored whether the client is running, wherein the wireless interface address of the designated hotspot is a preset address.
  • the monitoring is performed again when the wireless hotspot is a designated hotspot.
  • the designated hotspot may be a self-operated hotspot of the owner (developer) of the client, that is, not a third-party hotspot or other commercial hotspot.
  • the wireless interface address (Basic Service Set Identifier, Bssid) of the self-operated hotspot has been filed by the above owner, that is, the wireless interface address of the designated hotspot is the default address.
  • the routing device that provides the designated hotspot may have rules corresponding to the above monitoring, so as to realize the above monitoring.
  • These implementations can set designated hotspots (such as self-operated hotspots) to monitor and disconnect hotspot access.
  • FIG. 3 is a flowchart of another embodiment of the method for processing information about a wireless hotspot according to this embodiment.
  • FIG. 4 shows a flow 400 of yet another embodiment of a method for processing information about a wireless hotspot.
  • the process 400 for the client, includes the following steps:
  • Step 401 in response to the client being running, if a hotspot access instruction is obtained, access a wireless hotspot, where the wireless hotspot is provided by a routing device.
  • the execution subject for example, the routing device or the terminal device shown in FIG. 1
  • the method for processing information about the wireless hotspot runs may respond to obtaining the Hotspot access command, access to wireless hotspot.
  • the hotspot access instruction may be generated by the above-mentioned execution body upon detecting the user's hotspot access operation, or may be generated by the client when it is started.
  • Step 402 periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and responds to determining whether the client is running.
  • the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and responds to determining whether the client is running.
  • the above-mentioned execution subject may periodically send heartbeat information to the routing device.
  • the routing device can monitor whether the client is running through the heartbeat information, and when the monitoring result is that the client is not running, disconnect the client from accessing the wireless hotspot.
  • This embodiment can facilitate the user not to close the client and keep the client running, thereby helping to improve the usage rate of the client by the user.
  • step 402 may include: judging whether the wireless hotspot is a designated hotspot, where the wireless interface address of the designated hotspot is a preset address; if the wireless hotspot is all If the designated hotspot is specified, heartbeat information is periodically sent to the routing device.
  • the above-mentioned executive body may determine whether the wireless hotspot is a designated hotspot, and if so, periodically send heartbeat information to the routing device.
  • These implementations can set a designated hotspot (such as a self-operated hotspot) and determine whether it is a designated hotspot, which is helpful for monitoring the routing device and disconnecting the hotspot access.
  • a designated hotspot such as a self-operated hotspot
  • the above method may further include: receiving a reminder message sent by the routing device for instructing to start the client, and displaying the reminder message, where the reminder message is Sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving the heartbeat information from the client and starting timing.
  • the responding in step 401 that the client is running may include: in the case that the client is not running, displaying that the client includes the client A notification message of the startup portal of the client; in response to detecting an operation on the startup portal, it is determined that the client is running.
  • the above-mentioned execution body may display a notification message, where the notification message includes the startup entry of the client. If the user operates the startup entry, the above-mentioned execution body can detect and determine that the hotspot access instruction is obtained.
  • the present application provides an embodiment of an information processing apparatus related to a wireless hotspot, and the apparatus embodiment corresponds to the method embodiment shown in FIG. 2 ,
  • the apparatus embodiment may also include the same or corresponding features or effects as the method embodiment shown in FIG. 2 .
  • the device can be applied to various electronic devices.
  • the apparatus 500 for processing information about a wireless hotspot in this embodiment is used for a routing device, and includes a monitoring unit 501 and a disconnecting unit 502 .
  • the monitoring unit 501 is configured to, in response to the client having accessed the wireless hotspot provided by the routing device, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein , the heartbeat information is sent by the client in response to the client running, and the running is running at the front end or running in the background;
  • the disconnecting unit 502 is configured to respond to determining that the client is running When not in operation, disconnect the client from the wireless hotspot.
  • the monitoring unit is further configured to monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received in the following manner.
  • Medium start timing in response to receiving heartbeat information from the client, and obtain the timing duration; determine whether the timing duration reaches the preset duration threshold, and if the timing duration reaches the preset duration threshold, it is determined that no client has been received
  • the heartbeat information periodically sent by the terminal and it is determined that the monitoring result is that the client terminal is not running, wherein the preset duration threshold is greater than or equal to the sending period of the heartbeat information.
  • the apparatus further includes: a judgment unit configured to, after the obtained timing duration, judge whether the timing duration has reached a reminder duration, wherein the reminder duration is less than the preset duration threshold; the sending unit is configured to send, to the client, a reminder message for instructing to start the client if the timing duration reaches the reminder duration.
  • the monitoring unit is further configured to monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received in the following manner.
  • Medium when the wireless hotspot is a designated hotspot, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein the wireless interface address of the designated hotspot is a predetermined Set the address.
  • the apparatus embodiment corresponds to the method embodiment shown in FIG. 4 .
  • the apparatus embodiment may also include implementation of the method shown in FIG. 4 . Examples of the same or corresponding features or effects.
  • the device can be applied to various electronic devices.
  • the present application provides another embodiment of an apparatus for processing information about a wireless hotspot.
  • the apparatus for processing information about a wireless hotspot in this embodiment is used for a client and includes: an access unit 501 and an information sending unit 502 .
  • the access unit is configured to access a wireless hotspot in response to the client running, if a hotspot access instruction is obtained, wherein the wireless hotspot is provided by a routing device;
  • the information sending unit is configured to Periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and in response to determining that the client is not running , disconnecting the access of the client to the wireless hotspot, and the running is running in the front end or running in the background.
  • the information sending unit is further configured to perform the periodic sending of heartbeat information to the routing device as follows: determine whether the wireless hotspot is a designated hotspot, wherein , the wireless interface address of the designated hotspot is a preset address; if the wireless hotspot is the designated hotspot, heartbeat information is periodically sent to the routing device.
  • the apparatus further includes: a display unit, configured to receive a reminder message sent by the routing device for instructing to start the client, and display the reminder message, wherein , the reminder message is sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving heartbeat information from the client and starting timing.
  • a display unit configured to receive a reminder message sent by the routing device for instructing to start the client, and display the reminder message, wherein , the reminder message is sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving heartbeat information from the client and starting timing.
  • the access unit is further configured to perform the response to the client being running in the following manner: when the client is not running Next, a notification message including the startup entry of the client is displayed; in response to detecting an operation on the startup entry, it is determined that the client is running.
  • the present application further provides an electronic device, a readable storage medium, and a computer program product.
  • FIG. 6 it is a block diagram of an electronic device related to an information processing method for a wireless hotspot according to an embodiment of the present application.
  • Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the application described and/or claimed herein.
  • the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including a high-speed interface and a low-speed interface.
  • the various components are interconnected using different buses and may be mounted on a common motherboard or otherwise as desired.
  • the processor may process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface.
  • multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired.
  • multiple electronic devices may be connected, each providing some of the necessary operations (eg, as a server array, a group of blade servers, or a multiprocessor system).
  • a processor 601 is taken as an example in FIG. 6 .
  • the memory 602 is the non-transitory computer-readable storage medium provided by the present application.
  • the memory stores instructions executable by at least one processor, so that the at least one processor executes the method for processing information about a wireless hotspot provided by the present application.
  • the non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to cause the computer to execute the information processing method for a wireless hotspot provided by the present application.
  • the memory 602 can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the information processing method for wireless hotspots in the embodiments of the present application.
  • the processor 601 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions and modules stored in the memory 602 , that is, implementing the information processing method about the wireless hotspot in the above method embodiments.
  • the memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store information created according to information about the wireless hotspot using the electronic device. data etc. Additionally, memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 may optionally include memory located remotely relative to the processor 601, and these remote memories may be connected via a network to the information processing electronic device regarding the wireless hotspot. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the electronic device related to the wireless hotspot information processing method may further include: an input device 603 and an output device 604 .
  • the processor 601 , the memory 602 , the input device 603 and the output device 604 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 6 .
  • the input device 603 can receive input numerical or character information, and generate key signal input related to user settings and function control of the information processing electronic device related to the wireless hotspot, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer A stick, one or more mouse buttons, a trackball, a joystick, and other input devices.
  • Output devices 604 may include display devices, auxiliary lighting devices (eg, LEDs), haptic feedback devices (eg, vibration motors), and the like.
  • the display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
  • Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
  • the processor which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
  • machine-readable medium and “computer-readable medium” refer to any computer program product, apparatus, and/or apparatus for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals.
  • machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.
  • the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer.
  • a display device eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented on a computing system that includes back-end components, or a computing system that includes middleware components, or a computing system that includes front-end components (eg, a user computer with a graphical user interface or web browser, a user Implementations of the systems and techniques described herein may be interacted with through the graphical user interface or the web browser), or in a computing system including any combination of such back-end components, middleware components, or front-end components.
  • the components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
  • a computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the traditional physical host and VPS service ("Virtual Private Server", or "VPS" for short) , there are the defects of difficult management and weak business expansion.
  • the server can also be a server of a distributed system, or a server combined with a blockchain.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner.
  • the described unit may also be provided in the processor, for example, it may be described that a processor includes a monitoring unit and a disconnecting unit. Wherein, the names of these units do not constitute a limitation of the unit itself in some cases, for example, the disconnection unit can also be described as "in response to determining that the client is not running, disconnect the client pair The unit of access to the wireless hotspot".
  • the present application also provides a computer-readable medium, which may be included in the apparatus described in the above-mentioned embodiments, or may exist independently without being assembled into the apparatus.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the apparatus, the apparatus causes the apparatus to: in response to the client having accessed the wireless hotspot provided by the routing device, determine whether to receive Heartbeat information periodically sent to the client to monitor whether the client is running, wherein the heartbeat information is sent by the client in response to the client being running, and the running is at the front end Running or running in the background; in response to determining that the client is not running, disconnecting the client from the wireless hotspot.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are an information processing method and apparatus regarding a wireless hotspot, which relate to the technical field of wireless hotspots. The particular embodiment comprises: in response to the fact that a client has accessed a wireless hotspot provided by a routing device, monitoring, by means of determining whether heartbeat information periodically sent by the client is received, whether the client is running, wherein the heartbeat information is sent by the client in response to the client being run, and the client is running at a front end or a background; and in response to determining that the client is not running, disconnecting the client from the wireless hotspot. By means of the present application, a user can be prompted not to close a client, and keep the client running, thereby facilitating the improvement of the utilization rate of the client by the user.

Description

关于无线热点的信息处理方法和装置Information processing method and device about wireless hotspot 技术领域technical field
本申请涉及计算机技术领域,具体涉及无线热点技术领域,尤其涉及关于无线热点的信息处理方法和装置。The present application relates to the field of computer technology, in particular to the field of wireless hotspot technology, and in particular, to an information processing method and apparatus for wireless hotspots.
背景技术Background technique
随着互联网技术的发展,越来越多的用户开始通过无线热点上网。移动网络存在需要收费且网络不够稳定等问题,而无线热点因其网速快、花费少,受到越来越多用户的喜爱。With the development of Internet technology, more and more users begin to surf the Internet through wireless hotspots. The mobile network has problems such as the need to charge and the network is not stable enough, and the wireless hotspot is favored by more and more users because of its fast network speed and low cost.
一些终端设备上安装的应用,可以辅助用户接入无线热点从而实现上网。比如,用户可以在检测到的无线热点中,指定其中一个,应用则可以尝试接入该无线热点。Applications installed on some terminal devices can assist users to access wireless hotspots to achieve Internet access. For example, the user can specify one of the detected wireless hotspots, and the application can try to access the wireless hotspot.
发明内容SUMMARY OF THE INVENTION
提供了一种关于无线热点的信息处理方法、装置、电子设备以及存储介质。Provided are an information processing method, apparatus, electronic device and storage medium related to a wireless hotspot.
根据第一方面,提供了一种关于无线热点的信息处理方法,包括:响应于客户端已接入所述路由设备提供的无线热点,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述心跳信息是所述客户端响应于所述客户端在运行中所发送的,所述运行是在前端运行或者在后台运行;响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入。According to a first aspect, a method for processing information about a wireless hotspot is provided, comprising: in response to the client having accessed the wireless hotspot provided by the routing device, monitoring whether to receive heartbeat information periodically sent by the client, monitoring Whether the client is running, wherein the heartbeat information is sent by the client in response to the client being running, and the running is running at the front end or running in the background; in response to determining that the client is running The client is not running, and the client's access to the wireless hotspot is disconnected.
根据第二方面,提供了一种关于无线热点的信息处理装置,包括:响应于所述客户端在运行中,若获得热点接入指令,接入无线热点,其中,所述无线热点是路由设备提供的;周期性向所述路由设备发送心跳信息,其中,所述路由设备通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,并响应于确定所述客户端不在 运行中,断开所述客户端对所述无线热点的接入,所述运行是在前端运行或者在后台运行。According to a second aspect, an apparatus for processing information about a wireless hotspot is provided, comprising: in response to the client being running, if a hotspot access instruction is obtained, accessing a wireless hotspot, wherein the wireless hotspot is a routing device Provided; periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and responds to determining whether the client is running When the terminal is not running, the access of the client to the wireless hotspot is disconnected, and the running is running at the front end or running in the background.
根据第三方面,提供了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行关于无线热点的信息处理方法中任一实施例的方法。According to a third aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor , the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the method for processing information about a wireless hotspot.
根据第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使所述计算机执行根据关于无线热点的信息处理方法中任一实施例的方法。According to a fourth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method according to any one of the embodiments of the method for processing information on a wireless hotspot.
根据第五方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据关于无线热点的信息处理方法中任一实施例的方法。According to a fifth aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of the embodiments of the method for processing information on a wireless hotspot.
根据本申请的方案,可以促使用户不关闭该客户端,保持该客户端的运行,从而有助于提高用户对该客户端的使用率。According to the solution of the present application, the user can be urged not to close the client and keep the client running, thereby helping to improve the utilization rate of the client by the user.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请一些实施例可以应用于其中的示例性***架构图;FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
图2是根据本申请的关于无线热点的信息处理方法的一个实施例的流程图;FIG. 2 is a flowchart of an embodiment of a method for processing information about a wireless hotspot according to the present application;
图3是根据本申请的关于无线热点的信息处理方法的又一个实施例的流程图;3 is a flow chart of still another embodiment of a method for processing information about a wireless hotspot according to the present application;
图4是根据本申请的关于无线热点的信息处理方法的又一个实施例的流程图;FIG. 4 is a flowchart of still another embodiment of a method for processing information about a wireless hotspot according to the present application;
图5是根据本申请的关于无线热点的信息处理装置的一个实施例的结构示意图;5 is a schematic structural diagram of an embodiment of an information processing apparatus related to a wireless hotspot according to the present application;
图6是用来实现本申请实施例的关于无线热点的信息处理方法的电子设备的框图。FIG. 6 is a block diagram of an electronic device used to implement the information processing method for a wireless hotspot according to an embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
图1示出了可以应用本申请的关于无线热点的信息处理方法或关于无线热点的信息处理装置的实施例的示例性***架构100。FIG. 1 shows an exemplary system architecture 100 to which embodiments of the information processing method for wireless hotspots or the information processing apparatus for wireless hotspots of the present application may be applied.
如图1所示,***架构100可以包括终端设备101、102、103,网络104和路由设备105。网络104用以在终端设备101、102、103和路由设备105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a routing device 105 . The network 104 is the medium used to provide communication links between the end devices 101 , 102 , 103 and the routing device 105 . The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与路由设备105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如视频类应用、直播应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, 103 to interact with the routing device 105 through the network 104 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 101 , 102 and 103 , such as video applications, live broadcast applications, instant communication tools, email clients, social platform software, and the like.
这里的终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的多个软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101, 102, and 103 here may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, laptop computers, desktop computers, and the like. When the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (eg, multiple software or software modules for providing distributed services), or as a single software or software module. There is no specific limitation here.
路由设备105可以是提供各种服务的路由设备,例如对终端设备101、102、103提供支持的路由设备。路由设备可以对接收到的心跳信息等数据进行分析等处理,并将处理结果(例如监控的结果)反馈给终端设备。The routing device 105 may be a routing device that provides various services, for example, a routing device that provides support for the terminal devices 101 , 102 , and 103 . The routing device can analyze and process the received heartbeat information and other data, and feed back the processing results (for example, monitoring results) to the terminal device.
需要说明的是,本申请实施例所提供的关于无线热点的信息处理方 法可以由路由设备105或者终端设备101、102、103执行,相应地,关于无线热点的信息处理装置可以设置于路由设备105或者终端设备101、102、103中。It should be noted that the method for processing information about wireless hotspots provided by the embodiments of the present application may be executed by the routing device 105 or the terminal devices 101 , 102 , and 103 , and correspondingly, the apparatus for processing information about wireless hotspots may be set in the routing device 105 Or in the terminal devices 101 , 102 and 103 .
应该理解,图1中的终端设备、网络和路由设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和路由设备。It should be understood that the numbers of terminal devices, networks and routing devices in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and routing devices depending on the implementation needs.
继续参考图2,示出了根据本申请的关于无线热点的信息处理方法的一个实施例的流程200。该关于无线热点的信息处理方法,用于路由设备,包括以下步骤:Continuing to refer to FIG. 2 , a flow 200 of an embodiment of a method for processing information about a wireless hotspot according to the present application is shown. The method for processing information about wireless hotspots, used for routing equipment, includes the following steps:
步骤201,响应于客户端已接入所述路由设备提供的无线热点,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述心跳信息是所述客户端响应于所述客户端在运行中所发送的,所述运行是在前端运行或者在后台运行。 Step 201, in response to the client having accessed the wireless hotspot provided by the routing device, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein the heartbeat information is: The client responds to a message sent by the client in running, the running is running in the front end or running in the background.
在本实施例中,关于无线热点的信息处理方法运行于其上的执行主体(例如图1所示的路由设备或终端设备)可以在客户端已接入无线热点(WIFI)的情况下,通过确定是否接收到客户端周期性(也即定时)发送的心跳信息,监控客户端是否在运行中。具体地,上述执行主体接收到客户端周期性发送的心跳信息,则可以确定该客户端在运行中。只有客户端在运行中的情况下,才会发送出心跳信息。这里的无线热点是上述路由设备提供的。客户端的运行可以是在前端运行,还可以是在后台运行。In this embodiment, the execution subject (for example, the routing device or the terminal device shown in FIG. 1 ) on which the information processing method about the wireless hotspot runs Determine whether the heartbeat information sent by the client periodically (that is, timing) is received, and monitor whether the client is running. Specifically, when the above-mentioned execution body receives the heartbeat information periodically sent by the client, it can be determined that the client is running. Heartbeat information is sent only when the client is running. The wireless hotspot here is provided by the above routing device. The operation of the client can be in the front-end or in the background.
终端上的客户端一旦接入无线热点,用户则可以使用该终端通过该无线热点进行上网。Once the client on the terminal accesses the wireless hotspot, the user can use the terminal to surf the Internet through the wireless hotspot.
步骤202,响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入。Step 202, in response to determining that the client is not running, disconnecting the client from accessing the wireless hotspot.
在本实施例中,若监控的结果是上述执行主体确定客户端不在运行中,则上述执行主体可以断开客户端对上述无线热点的接入。这样,用户就无法继续使用该无线热点进行上网。In this embodiment, if the monitoring result is that the execution body determines that the client is not running, the execution body may disconnect the access of the client to the wireless hotspot. In this way, the user cannot continue to use the wireless hotspot to surf the Internet.
本申请的上述实施例提供的方法可以促使用户不关闭该客户端,保持该客户端的运行,从而有助于提高用户对该客户端的使用率。The methods provided by the above embodiments of the present application can urge the user not to close the client and keep the client running, thereby helping to improve the user's usage rate of the client.
在本实施例的一些可选的实现方式中,步骤201中的通过确定是否 接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,包括:响应于从所述客户端接收到心跳信息,开始计时,得到计时时长;判断所述计时时长是否达到预设时长阈值,若所述计时时长达到预设时长阈值,则确定没有接收到客户端周期性发送的心跳信息,并确定监控结果为所述客户端未在运行中,其中,所述预设时长阈值大于或等于所述心跳信息的发送周期。In some optional implementations of this embodiment, in step 201, by determining whether the heartbeat information periodically sent by the client is received, monitoring whether the client is running includes: responding to a response from the client Receive the heartbeat information, start timing, and obtain the timing duration; determine whether the timing duration reaches the preset duration threshold, and if the timing duration reaches the preset duration threshold, determine that the heartbeat information periodically sent by the client has not been received, and It is determined that the monitoring result is that the client is not running, wherein the preset duration threshold is greater than or equal to the sending period of the heartbeat information.
在这些可选的实现方式中,上述执行主体可以在从上述客户端最后一次接收到心跳信息开始,计时时长达到了预设时长阈值的情况下,确定客户端未能实现定时发送心跳信息,也即未实现周期性发送。这样,上述执行主体可以确定监控结果为上述客户端未在运行中。In these optional implementation manners, the execution body may determine that the client fails to send the heartbeat information regularly when the timing duration reaches the preset duration threshold since the client receives the heartbeat information for the last time, and also That is, periodic transmission is not implemented. In this way, the above-mentioned execution body can determine that the monitoring result is that the above-mentioned client is not running.
举例来说,发送周期可以为1分钟,预设时长阈值可以为5分钟。如果上述执行主体确定已经5分钟没有收到上述客户端发送的心跳信息,可以确定监控结果为客户端未在运行中。For example, the sending period may be 1 minute, and the preset duration threshold may be 5 minutes. If the execution body determines that it has not received the heartbeat information sent by the client for 5 minutes, it can be determined that the monitoring result is that the client is not running.
这些实现方式可以在较长时间未接收到心跳信息的情况下,准确地判断出监控结果为客户端未在运行中,从而断开客户端的接入。These implementations can accurately determine that the monitoring result is that the client is not running when the heartbeat information is not received for a long time, thereby disconnecting the access of the client.
在这些实现方式的一些可选的应用场景中,在上述得到计时时长之后,所述方法还可以包括:判断所述计时时长是否达到提醒时长,其中,所述提醒时长小于所述预设时长阈值;若所述计时时长达到所述提醒时长,向所述客户端发送用于指示启动所述客户端的提醒消息。In some optional application scenarios of these implementations, after obtaining the timing duration, the method may further include: judging whether the timing duration reaches a reminder duration, where the reminder duration is less than the preset duration threshold ; if the timing duration reaches the reminder duration, send a reminder message to the client for instructing to start the client.
在这些可选的应用场景中,上述执行主体可以判断计时时长是否达到提醒时长,如果达到了,就可以向该客户端发送提醒消息。这里的提醒消息可以是用于指示启动客户端的消息。比如,提醒消息可以是“现在启动XX应用(上述客户端的名称)么,不启动会影响上网哦”。In these optional application scenarios, the above-mentioned executive body can determine whether the timing duration has reached the reminder duration, and if so, can send a reminder message to the client. The reminder message here may be a message for instructing to start the client. For example, the reminder message can be "Now start the XX application (the name of the above client), if it is not started, it will affect the Internet access".
举例来说,发送周期为1分钟,提醒时长为3分钟,预设时长阈值为5分钟。如果上述执行主体确定已经3分钟没有收到上述客户端发送的心跳信息,可以确定达到了提醒时长。For example, the sending period is 1 minute, the reminder duration is 3 minutes, and the preset duration threshold is 5 minutes. If the above executive body determines that it has not received the heartbeat information sent by the above client for 3 minutes, it can be determined that the reminder duration has been reached.
这些应用场景可以首先提示用户启动应用,避免用户在不知情的情况下被断网。These application scenarios can prompt the user to start the application first, so as to prevent the user from being disconnected from the network without knowing it.
在本实施例的一些可选的实现方式中,在所述通过是否接收到客户端定时发送的心跳信息,监控所述客户端是否在运行中之后,上述方法还可以包括:响应于确定所述客户端在运行中,结束流程。In some optional implementation manners of this embodiment, after monitoring whether the client is running by checking whether the heartbeat information periodically sent by the client is received, the above method may further include: in response to determining the The client is running, end the process.
在这些可选的实现方式中,上述执行主体可以在确定客户端在运行中的情况下,不做任何响应,也即结束流程,从而可以仅针对心跳信息未发送出的情况进行响应。In these optional implementation manners, the above-mentioned execution body may not make any response when it is determined that the client is running, that is, end the process, so that it may only respond to the situation that the heartbeat information is not sent.
在本实施例的一些可选的实现方式中,步骤201中的通过是否接收到客户端定时发送的心跳信息,监控所述客户端是否在运行中,可以包括:在所述无线热点为指定热点的情况下,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述指定热点的无线接口地址为预设地址。In some optional implementations of this embodiment, in step 201, monitoring whether the client is running by whether the heartbeat information periodically sent by the client is received may include: when the wireless hotspot is a designated hotspot In the case of , by determining whether the heartbeat information periodically sent by the client is received, it is monitored whether the client is running, wherein the wireless interface address of the designated hotspot is a preset address.
在这些可选的实现方式中,在无线热点为指定热点的情况下,再实施监控。具体地,指定热点可以是客户端的拥有者(开发商)的自营热点,也即并非第三方热点或者其它商业热点。自营热点的无线接口地址(Basic Service Set Identifier,Bssid)均经过上述拥有者的备案,也即,指定热点的无线接口地址为预设地址。提供指定热点的路由设备可以存在上述监控对应的规则,从而实现上述监控。In these optional implementation manners, the monitoring is performed again when the wireless hotspot is a designated hotspot. Specifically, the designated hotspot may be a self-operated hotspot of the owner (developer) of the client, that is, not a third-party hotspot or other commercial hotspot. The wireless interface address (Basic Service Set Identifier, Bssid) of the self-operated hotspot has been filed by the above owner, that is, the wireless interface address of the designated hotspot is the default address. The routing device that provides the designated hotspot may have rules corresponding to the above monitoring, so as to realize the above monitoring.
这些实现方式可以设置指定热点(比如自营热点),以实现监控从而断开热点接入。These implementations can set designated hotspots (such as self-operated hotspots) to monitor and disconnect hotspot access.
继续参见图3,图3是根据本实施例的关于无线热点的信息处理方法的又一个实施例的流程。Continue to refer to FIG. 3 , FIG. 3 is a flowchart of another embodiment of the method for processing information about a wireless hotspot according to this embodiment.
进一步参考图4,其示出了关于无线热点的信息处理方法的又一个实施例的流程400。该流程400,用于客户端,包括以下步骤:Referring further to FIG. 4, it shows a flow 400 of yet another embodiment of a method for processing information about a wireless hotspot. The process 400, for the client, includes the following steps:
步骤401,响应于所述客户端在运行中,若获得热点接入指令,接入无线热点,其中,所述无线热点是路由设备提供的。 Step 401 , in response to the client being running, if a hotspot access instruction is obtained, access a wireless hotspot, where the wireless hotspot is provided by a routing device.
在本实施例中,关于无线热点的信息处理方法运行于其上的执行主体(例如图1所示的路由设备或终端设备)可以在客户端已经启动并在运行中的情况下,响应于获得热点接入指令,则接入无线热点。热点接入指令可以是上述执行主体在检测到用户的热点接入操作所生成的,也可以是该客户端在启动时生成的。In this embodiment, the execution subject (for example, the routing device or the terminal device shown in FIG. 1 ) on which the method for processing information about the wireless hotspot runs may respond to obtaining the Hotspot access command, access to wireless hotspot. The hotspot access instruction may be generated by the above-mentioned execution body upon detecting the user's hotspot access operation, or may be generated by the client when it is started.
步骤402,周期性向所述路由设备发送心跳信息,其中,所述路由设备通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,并响应于确定所述客户端不在运行中,断开所述客户 端对所述无线热点的接入,所述运行是在前端运行或者在后台运行。 Step 402, periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and responds to determining whether the client is running. When the terminal is not running, the access of the client to the wireless hotspot is disconnected, and the running is running at the front end or running in the background.
在本实施例中,上述执行主体可以周期性向路由设备发送心跳信息。相应地,路由设备可以通过心跳信息监控客户端是否在运行中,并在监控结果为不在运行中的情况下,断开客户端对无线热点的接入。In this embodiment, the above-mentioned execution subject may periodically send heartbeat information to the routing device. Correspondingly, the routing device can monitor whether the client is running through the heartbeat information, and when the monitoring result is that the client is not running, disconnect the client from accessing the wireless hotspot.
本实施例可以促进用户不关闭该客户端,保持该客户端的运行,从而有助于提高用户对该客户端的使用率。This embodiment can facilitate the user not to close the client and keep the client running, thereby helping to improve the usage rate of the client by the user.
在本实施例的一些可选的实现方式中,步骤402可以包括:判断所述无线热点是否为指定热点,其中,所述指定热点的无线接口地址为预设地址;若所述无线热点为所述指定热点,则周期性向所述路由设备发送心跳信息。In some optional implementations of this embodiment, step 402 may include: judging whether the wireless hotspot is a designated hotspot, where the wireless interface address of the designated hotspot is a preset address; if the wireless hotspot is all If the designated hotspot is specified, heartbeat information is periodically sent to the routing device.
在这些可选的实现方式中,上述执行主体可以判断无线热点是否为指定热点,若是,则周期性向路由设备发送心跳信息。In these optional implementation manners, the above-mentioned executive body may determine whether the wireless hotspot is a designated hotspot, and if so, periodically send heartbeat information to the routing device.
这些实现方式可以设置指定热点(比如自营热点)并判断是否为指定热点,有助于实现路由设备的监控从而断开热点接入。These implementations can set a designated hotspot (such as a self-operated hotspot) and determine whether it is a designated hotspot, which is helpful for monitoring the routing device and disconnecting the hotspot access.
在本实施例的一些可选的实现方式中,上述方法还可以包括:接收所述路由设备发送的用于指示启动所述客户端的提醒消息,显示所述提醒消息,其中,所述提醒消息是所述路由设备响应于计时时长达到提醒时长所发送的,所述计时时长是所述路由设备响应于从所述客户端接收到心跳信息并开始计时所得到的。In some optional implementations of this embodiment, the above method may further include: receiving a reminder message sent by the routing device for instructing to start the client, and displaying the reminder message, where the reminder message is Sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving the heartbeat information from the client and starting timing.
这些应用场景可以首先提示用户启动应用,避免用户在不知情的情况下被断网。These application scenarios can prompt the user to start the application first, so as to prevent the user from being disconnected from the network without knowing it.
在本实施例的一些可选的实现方式中,步骤401中的所述响应于所述客户端在运行中,可以包括:在所述客户端未在运行中的情况下,显示包括所述客户端的启动入口的通知消息;响应于检测到对于所述启动入口的操作,确定所述客户端在运行中。In some optional implementations of this embodiment, the responding in step 401 that the client is running may include: in the case that the client is not running, displaying that the client includes the client A notification message of the startup portal of the client; in response to detecting an operation on the startup portal, it is determined that the client is running.
在这些可选方式中,上述执行主体可以显示出通知消息,该通知消息包括客户端的启动入口。用户对该启动入口进行操作,则上述执行主体可以检测到,从而确定获得了热点接入指令。In these optional manners, the above-mentioned execution body may display a notification message, where the notification message includes the startup entry of the client. If the user operates the startup entry, the above-mentioned execution body can detect and determine that the hotspot access instruction is obtained.
这些实现方式可以通过向用户展示启动入口,让用户快捷、方便地启动客户端。These implementations allow users to start the client quickly and conveniently by showing the user the start-up portal.
进一步参考图5,作为对上述图2所示方法的实现,本申请提供了一种关于无线热点的信息处理装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,除下面所记载的特征外,该装置实施例还可以包括与图2所示的方法实施例相同或相应的特征或效果。该装置具体可以应用于各种电子设备中。With further reference to FIG. 5 , as an implementation of the method shown in FIG. 2 above, the present application provides an embodiment of an information processing apparatus related to a wireless hotspot, and the apparatus embodiment corresponds to the method embodiment shown in FIG. 2 , In addition to the features described below, the apparatus embodiment may also include the same or corresponding features or effects as the method embodiment shown in FIG. 2 . Specifically, the device can be applied to various electronic devices.
如图5所示,本实施例的关于无线热点的信息处理装置500用于路由设备,包括:监控单元501和断开单元502。其中,监控单元501,被配置成响应于客户端已接入所述路由设备提供的无线热点,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述心跳信息是所述客户端响应于所述客户端在运行中所发送的,所述运行是在前端运行或者在后台运行;断开单元502,被配置成响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入。As shown in FIG. 5 , the apparatus 500 for processing information about a wireless hotspot in this embodiment is used for a routing device, and includes a monitoring unit 501 and a disconnecting unit 502 . The monitoring unit 501 is configured to, in response to the client having accessed the wireless hotspot provided by the routing device, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein , the heartbeat information is sent by the client in response to the client running, and the running is running at the front end or running in the background; the disconnecting unit 502 is configured to respond to determining that the client is running When not in operation, disconnect the client from the wireless hotspot.
在本实施例中,关于无线热点的信息处理装置500的监控单元501和断开单元502的具体处理及其所带来的技术效果可分别参考图2对应实施例中步骤201、步骤202的相关说明,在此不再赘述。In this embodiment, for the specific processing of the monitoring unit 501 and the disconnection unit 502 of the information processing apparatus 500 of the wireless hotspot, and the technical effects brought about by the monitoring unit 501, reference may be made to the related steps of step 201 and step 202 in the corresponding embodiment of FIG. 2, respectively. description, which is not repeated here.
在本实施例的一些可选的实现方式中,所述监控单元,进一步被配置成按照如下方式执行所述通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中:响应于从所述客户端接收到心跳信息,开始计时,得到计时时长;判断所述计时时长是否达到预设时长阈值,若所述计时时长达到预设时长阈值,则确定没有接收到客户端周期性发送的心跳信息,并确定监控结果为所述客户端未在运行中,其中,所述预设时长阈值大于或等于所述心跳信息的发送周期。In some optional implementations of this embodiment, the monitoring unit is further configured to monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received in the following manner. Medium: start timing in response to receiving heartbeat information from the client, and obtain the timing duration; determine whether the timing duration reaches the preset duration threshold, and if the timing duration reaches the preset duration threshold, it is determined that no client has been received The heartbeat information periodically sent by the terminal, and it is determined that the monitoring result is that the client terminal is not running, wherein the preset duration threshold is greater than or equal to the sending period of the heartbeat information.
在本实施例的一些可选的实现方式中,所述装置还包括:判断单元,被配置成在所述得到计时时长之后,判断所述计时时长是否达到提醒时长,其中,所述提醒时长小于所述预设时长阈值;发送单元,被配置成若所述计时时长达到所述提醒时长,向所述客户端发送用于指示启动所述客户端的提醒消息。In some optional implementation manners of this embodiment, the apparatus further includes: a judgment unit configured to, after the obtained timing duration, judge whether the timing duration has reached a reminder duration, wherein the reminder duration is less than the preset duration threshold; the sending unit is configured to send, to the client, a reminder message for instructing to start the client if the timing duration reaches the reminder duration.
在本实施例的一些可选的实现方式中,所述监控单元,进一步被配置成按照如下方式执行所述通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中:在所述无线热点为指定热点的 情况下,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述指定热点的无线接口地址为预设地址。In some optional implementations of this embodiment, the monitoring unit is further configured to monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received in the following manner. Medium: when the wireless hotspot is a designated hotspot, monitor whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein the wireless interface address of the designated hotspot is a predetermined Set the address.
作为对上述图4所示方法的实现,该装置实施例与图4所示的方法实施例相对应,除下面所记载的特征外,该装置实施例还可以包括与图4所示的方法实施例相同或相应的特征或效果。该装置具体可以应用于各种电子设备中。As an implementation of the above method shown in FIG. 4 , the apparatus embodiment corresponds to the method embodiment shown in FIG. 4 . In addition to the features described below, the apparatus embodiment may also include implementation of the method shown in FIG. 4 . Examples of the same or corresponding features or effects. Specifically, the device can be applied to various electronic devices.
具体地,本申请提供了一种关于无线热点的信息处理装置的又一个实施例,本实施例的关于无线热点的信息处理装置用于客户端,包括:接入单元501和信息发送单元502。其中,接入单元,被配置成响应于所述客户端在运行中,若获得热点接入指令,接入无线热点,其中,所述无线热点是路由设备提供的;信息发送单元,被配置成周期性向所述路由设备发送心跳信息,其中,所述路由设备通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,并响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入,所述运行是在前端运行或者在后台运行。Specifically, the present application provides another embodiment of an apparatus for processing information about a wireless hotspot. The apparatus for processing information about a wireless hotspot in this embodiment is used for a client and includes: an access unit 501 and an information sending unit 502 . Wherein, the access unit is configured to access a wireless hotspot in response to the client running, if a hotspot access instruction is obtained, wherein the wireless hotspot is provided by a routing device; the information sending unit is configured to Periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and in response to determining that the client is not running , disconnecting the access of the client to the wireless hotspot, and the running is running in the front end or running in the background.
在本实施例的一些可选的实现方式中,所述信息发送单元,进一步被配置成按照如下方式执行所述周期性向所述路由设备发送心跳信息:判断所述无线热点是否为指定热点,其中,所述指定热点的无线接口地址为预设地址;若所述无线热点为所述指定热点,则周期性向所述路由设备发送心跳信息。In some optional implementations of this embodiment, the information sending unit is further configured to perform the periodic sending of heartbeat information to the routing device as follows: determine whether the wireless hotspot is a designated hotspot, wherein , the wireless interface address of the designated hotspot is a preset address; if the wireless hotspot is the designated hotspot, heartbeat information is periodically sent to the routing device.
在本实施例的一些可选的实现方式中,所述装置还包括:显示单元,被配置成接收所述路由设备发送的用于指示启动所述客户端的提醒消息,显示所述提醒消息,其中,所述提醒消息是所述路由设备响应于计时时长达到提醒时长所发送的,所述计时时长是所述路由设备响应于从所述客户端接收到心跳信息并开始计时所得到的。In some optional implementations of this embodiment, the apparatus further includes: a display unit, configured to receive a reminder message sent by the routing device for instructing to start the client, and display the reminder message, wherein , the reminder message is sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving heartbeat information from the client and starting timing.
在本实施例的一些可选的实现方式中,所述接入单元,进一步被配置成按照如下方式执行所述响应于所述客户端在运行中:在所述客户端未在运行中的情况下,显示包括所述客户端的启动入口的通知消息;响应于检测到对于所述启动入口的操作,确定所述客户端在运行中。In some optional implementations of this embodiment, the access unit is further configured to perform the response to the client being running in the following manner: when the client is not running Next, a notification message including the startup entry of the client is displayed; in response to detecting an operation on the startup entry, it is determined that the client is running.
根据本申请的实施例,本申请还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present application, the present application further provides an electronic device, a readable storage medium, and a computer program product.
如图6所示,是根据本申请实施例的关于无线热点的信息处理方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。As shown in FIG. 6 , it is a block diagram of an electronic device related to an information processing method for a wireless hotspot according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the application described and/or claimed herein.
如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器***)。图6中以一个处理器601为例。As shown in FIG. 6, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or otherwise as desired. The processor may process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired. Likewise, multiple electronic devices may be connected, each providing some of the necessary operations (eg, as a server array, a group of blade servers, or a multiprocessor system). A processor 601 is taken as an example in FIG. 6 .
存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,存储器存储有可由至少一个处理器执行的指令,以使至少一个处理器执行本申请所提供的关于无线热点的信息处理方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的关于无线热点的信息处理方法。The memory 602 is the non-transitory computer-readable storage medium provided by the present application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the method for processing information about a wireless hotspot provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to cause the computer to execute the information processing method for a wireless hotspot provided by the present application.
存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的关于无线热点的信息处理方法对应的程序指令/模块(例如,附图5所示的监控单元501和断开单元502)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例中的关于无线热点的信息处理方法。As a non-transitory computer-readable storage medium, the memory 602 can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the information processing method for wireless hotspots in the embodiments of the present application. (For example, the monitoring unit 501 and the disconnecting unit 502 shown in FIG. 5). The processor 601 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions and modules stored in the memory 602 , that is, implementing the information processing method about the wireless hotspot in the above method embodiments.
存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据关于无线热点的信息处理电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至关于无线热点的信息处理电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store information created according to information about the wireless hotspot using the electronic device. data etc. Additionally, memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 may optionally include memory located remotely relative to the processor 601, and these remote memories may be connected via a network to the information processing electronic device regarding the wireless hotspot. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
关于无线热点的信息处理方法的电子设备还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The electronic device related to the wireless hotspot information processing method may further include: an input device 603 and an output device 604 . The processor 601 , the memory 602 , the input device 603 and the output device 604 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 6 .
输入装置603可接收输入的数字或字符信息,以及产生与关于无线热点的信息处理电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device 603 can receive input numerical or character information, and generate key signal input related to user settings and function control of the information processing electronic device related to the wireless hotspot, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer A stick, one or more mouse buttons, a trackball, a joystick, and other input devices. Output devices 604 may include display devices, auxiliary lighting devices (eg, LEDs), haptic feedback devices (eg, vibration motors), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
此处描述的***和技术的各种实施方式可以在数字电子电路***、集成电路***、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程***上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储***、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储***、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可 编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computational programs (also referred to as programs, software, software applications, or codes) include machine instructions for programmable processors, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or apparatus for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
为了提供与用户的交互,可以在计算机上实施此处描述的***和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的***和技术实施在包括后台部件的计算***、或者包括中间件部件的计算***、或者包括前端部件的计算***(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的***和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算***中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将***的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented on a computing system that includes back-end components, or a computing system that includes middleware components, or a computing system that includes front-end components (eg, a user computer with a graphical user interface or web browser, a user Implementations of the systems and techniques described herein may be interacted with through the graphical user interface or the web browser), or in a computing system including any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
计算机***可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务(″Virtual Private Server″,或简称″VPS″)中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式***的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the traditional physical host and VPS service ("Virtual Private Server", or "VPS" for short) , there are the defects of difficult management and weak business expansion. The server can also be a server of a distributed system, or a server combined with a blockchain.
附图中的流程图和框图,图示了按照本申请各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部 分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括监控单元和断开单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,断开单元还可以被描述为“响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入的单元”。The units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. The described unit may also be provided in the processor, for example, it may be described that a processor includes a monitoring unit and a disconnecting unit. Wherein, the names of these units do not constitute a limitation of the unit itself in some cases, for example, the disconnection unit can also be described as "in response to determining that the client is not running, disconnect the client pair The unit of access to the wireless hotspot".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于客户端已接入所述路由设备提供的无线热点,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述心跳信息是所述客户端响应于所述客户端在运行中所发送的,所述运行是在前端运行或者在后台运行;响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入。As another aspect, the present application also provides a computer-readable medium, which may be included in the apparatus described in the above-mentioned embodiments, or may exist independently without being assembled into the apparatus. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the apparatus, the apparatus causes the apparatus to: in response to the client having accessed the wireless hotspot provided by the routing device, determine whether to receive Heartbeat information periodically sent to the client to monitor whether the client is running, wherein the heartbeat information is sent by the client in response to the client being running, and the running is at the front end Running or running in the background; in response to determining that the client is not running, disconnecting the client from the wireless hotspot.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover the above technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.

Claims (10)

  1. 一种关于无线热点的信息处理方法,用于路由设备,所述方法包括:An information processing method about a wireless hotspot, used for a routing device, the method comprising:
    响应于客户端已接入所述路由设备提供的无线热点,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述心跳信息是所述客户端响应于所述客户端在运行中所发送的,所述运行是在前端运行或者在后台运行;In response to the client having accessed the wireless hotspot provided by the routing device, monitoring whether the client is running by determining whether heartbeat information periodically sent by the client is received, wherein the heartbeat information is the client The terminal responds to the information sent by the client in running, and the running is running in the front-end or running in the background;
    响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入。In response to determining that the client is not running, the client is disconnected from the wireless hotspot.
  2. 根据权利要求1所述的方法,其中,所述通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,包括:The method according to claim 1, wherein the monitoring whether the client is running by determining whether the heartbeat information periodically sent by the client is received comprises:
    响应于从所述客户端接收到心跳信息,开始计时,得到计时时长;In response to receiving the heartbeat information from the client, start timing to obtain the timing duration;
    判断所述计时时长是否达到预设时长阈值,若所述计时时长达到预设时长阈值,则确定没有接收到客户端周期性发送的心跳信息,并确定监控结果为所述客户端未在运行中,其中,所述预设时长阈值大于或等于所述心跳信息的发送周期。Determine whether the timing duration reaches the preset duration threshold, and if the timing duration reaches the preset duration threshold, determine that the heartbeat information periodically sent by the client has not been received, and determine that the monitoring result is that the client is not running , wherein the preset duration threshold is greater than or equal to the sending period of the heartbeat information.
  3. 根据权利要求2所述的方法,其中,在所述得到计时时长之后,所述方法还包括:The method according to claim 2, wherein after the obtaining the timing duration, the method further comprises:
    判断所述计时时长是否达到提醒时长,其中,所述提醒时长小于所述预设时长阈值;judging whether the timing duration reaches the reminder duration, wherein the reminder duration is less than the preset duration threshold;
    若所述计时时长达到所述提醒时长,向所述客户端发送用于指示启动所述客户端的提醒消息。If the timing duration reaches the reminder duration, a reminder message for instructing to start the client is sent to the client.
  4. 根据权利要求1-3之一所述的方法,其中,所述通过是否接收到客户端定时发送的心跳信息,监控所述客户端是否在运行中,包括:The method according to any one of claims 1-3, wherein the monitoring whether the client is running by whether the client receives the heartbeat information periodically sent by the client comprises:
    在所述无线热点为指定热点的情况下,通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,其中,所述指 定热点的无线接口地址为预设地址。In the case that the wireless hotspot is a designated hotspot, monitoring whether the client is running by determining whether the heartbeat information periodically sent by the client is received, wherein the wireless interface address of the designated hotspot is a preset address .
  5. 一种关于无线热点的信息处理方法,用于客户端,所述方法包括:An information processing method about a wireless hotspot, used for a client, the method comprising:
    响应于所述客户端在运行中,若获得热点接入指令,接入无线热点,其中,所述无线热点是路由设备提供的;In response to the client being running, if a hotspot access instruction is obtained, access to a wireless hotspot, where the wireless hotspot is provided by a routing device;
    周期性向所述路由设备发送心跳信息,其中,所述路由设备通过确定是否接收到客户端周期性发送的心跳信息,监控所述客户端是否在运行中,并响应于确定所述客户端不在运行中,断开所述客户端对所述无线热点的接入,所述运行是在前端运行或者在后台运行。Periodically sending heartbeat information to the routing device, wherein the routing device monitors whether the client is running by determining whether it receives the heartbeat information periodically sent by the client, and in response to determining that the client is not running , disconnecting the access of the client to the wireless hotspot, and the running is running in the front end or running in the background.
  6. 根据权利要求5所述的方法,其中,所述周期性向所述路由设备发送心跳信息,包括:The method according to claim 5, wherein the periodic sending of heartbeat information to the routing device comprises:
    判断所述无线热点是否为指定热点,其中,所述指定热点的无线接口地址为预设地址;Determine whether the wireless hotspot is a designated hotspot, wherein the wireless interface address of the designated hotspot is a preset address;
    若所述无线热点为所述指定热点,则周期性向所述路由设备发送心跳信息。If the wireless hotspot is the designated hotspot, periodically send heartbeat information to the routing device.
  7. 根据权利要求5或6所述的方法,其中,所述方法还包括:The method of claim 5 or 6, wherein the method further comprises:
    接收所述路由设备发送的用于指示启动所述客户端的提醒消息,显示所述提醒消息,其中,所述提醒消息是所述路由设备响应于计时时长达到提醒时长所发送的,所述计时时长是所述路由设备响应于从所述客户端接收到心跳信息并开始计时所得到的。Receive a reminder message sent by the routing device for instructing to start the client, and display the reminder message, where the reminder message is sent by the routing device in response to the timing duration reaching the reminder duration, and the timing duration is obtained by the routing device in response to receiving heartbeat information from the client and starting timing.
  8. 根据权利要求5或6所述的方法,其中,所述响应于所述客户端在运行中,包括:The method of claim 5 or 6, wherein the response to the client being in operation comprises:
    在所述客户端未在运行中的情况下,显示包括所述客户端的启动入口的通知消息;In the case that the client is not running, displaying a notification message including the startup entry of the client;
    响应于检测到对于所述启动入口的操作,确定所述客户端在运行中。In response to detecting an operation on the startup portal, it is determined that the client is running.
  9. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-8中任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the execution of any of claims 1-8 Methods.
  10. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据权利要求1-8中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any of claims 1-8.
PCT/CN2021/128609 2020-12-31 2021-11-04 Information processing method and apparatus regarding wireless hotspot WO2022142716A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011630241.6A CN112770415B (en) 2020-12-31 2020-12-31 Information processing method and device for wireless hotspots
CN202011630241.6 2020-12-31

Publications (1)

Publication Number Publication Date
WO2022142716A1 true WO2022142716A1 (en) 2022-07-07

Family

ID=75699534

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128609 WO2022142716A1 (en) 2020-12-31 2021-11-04 Information processing method and apparatus regarding wireless hotspot

Country Status (2)

Country Link
CN (1) CN112770415B (en)
WO (1) WO2022142716A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770415B (en) * 2020-12-31 2023-07-14 上海连尚网络科技有限公司 Information processing method and device for wireless hotspots

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069144A (en) * 2004-10-26 2007-11-07 联想(新加坡)私人有限公司 Computer and method for on-demand network access control
CN103491102A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method, system and device for monitoring stability of internet audio and video
CN103838987A (en) * 2013-06-24 2014-06-04 电子科技大学 Software license dynamic authorization management method based on local area network
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN108243471A (en) * 2016-12-27 2018-07-03 北京金山云网络技术有限公司 A kind of network environment switching method and device
US10736005B1 (en) * 2018-02-23 2020-08-04 Mbit Wireless, Inc. Method and apparatus for internet based wireless communication for networks
CN112752323A (en) * 2020-12-31 2021-05-04 上海连尚网络科技有限公司 Method and device for changing hotspot access state
CN112770415A (en) * 2020-12-31 2021-05-07 上海连尚网络科技有限公司 Information processing method and device about wireless hotspot

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8762546B2 (en) * 2011-12-13 2014-06-24 Motorola Mobility Llc Method and apparatus for adaptive network heartbeat message for TCP channel
US9161219B2 (en) * 2012-06-22 2015-10-13 Guest Tek Interactive Entertainment Ltd. Authorizing secured wireless access at hotspot having open wireless network and secure wireless network
CN107920018B (en) * 2017-11-29 2020-10-09 贝壳找房(北京)科技有限公司 Method, server and system for realizing delayed push of data
CN110661673B (en) * 2018-06-28 2021-02-26 网宿科技股份有限公司 Heartbeat detection method and device
CN109286571A (en) * 2018-08-22 2019-01-29 奇酷互联网络科技(深圳)有限公司 The method, apparatus and storage device of mobile terminal and application program limit core and limit net

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069144A (en) * 2004-10-26 2007-11-07 联想(新加坡)私人有限公司 Computer and method for on-demand network access control
CN103838987A (en) * 2013-06-24 2014-06-04 电子科技大学 Software license dynamic authorization management method based on local area network
CN103491102A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method, system and device for monitoring stability of internet audio and video
CN104991850A (en) * 2015-06-27 2015-10-21 广州华多网络科技有限公司 Heartbeat package control method and apparatus for application program
CN108243471A (en) * 2016-12-27 2018-07-03 北京金山云网络技术有限公司 A kind of network environment switching method and device
US10736005B1 (en) * 2018-02-23 2020-08-04 Mbit Wireless, Inc. Method and apparatus for internet based wireless communication for networks
CN112752323A (en) * 2020-12-31 2021-05-04 上海连尚网络科技有限公司 Method and device for changing hotspot access state
CN112770415A (en) * 2020-12-31 2021-05-07 上海连尚网络科技有限公司 Information processing method and device about wireless hotspot

Also Published As

Publication number Publication date
CN112770415B (en) 2023-07-14
CN112770415A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
JP7167222B2 (en) APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
US11243595B2 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
US11188560B2 (en) Synchronizing object in local object storage node
JP2018515871A (en) Group management method, terminal, and storage medium
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
US11831735B2 (en) Method and device for processing mini program data
US20210216212A1 (en) Method and apparatus for processing data
CN112346612B (en) Page display method and device
WO2022142716A1 (en) Information processing method and apparatus regarding wireless hotspot
WO2022199204A1 (en) Method and apparatus for determining resources
CN112069137B (en) Method, device, electronic equipment and computer readable storage medium for generating information
US9973410B2 (en) Notifying original state listeners of events in a domain model
CN111884847B (en) Method and device for processing fault
CN111615171B (en) Access method and device of wireless local area network
CN112752323B (en) Method and device for changing hot spot access state
WO2023169193A1 (en) Method and device for generating smart contract
CN111835857B (en) Method and apparatus for accessing data
US9921901B2 (en) Alerting service desk users of business services outages
KR20210091075A (en) Traffic adjustment method and apparatus
CN112118576B (en) Method and apparatus for networking over wireless hotspots
CN112749042B (en) Application running method and device
CN118034749A (en) Updating method and electronic equipment
CN116527761A (en) Database proxy service adding method, device, equipment and storage medium

Legal Events

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

Ref document number: 21913460

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913460

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.11.2023)