CN112752323B - Method and device for changing hot spot access state - Google Patents

Method and device for changing hot spot access state Download PDF

Info

Publication number
CN112752323B
CN112752323B CN202011632497.0A CN202011632497A CN112752323B CN 112752323 B CN112752323 B CN 112752323B CN 202011632497 A CN202011632497 A CN 202011632497A CN 112752323 B CN112752323 B CN 112752323B
Authority
CN
China
Prior art keywords
client
hotspot
heartbeat information
wireless
changing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011632497.0A
Other languages
Chinese (zh)
Other versions
CN112752323A (en
Inventor
彭清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaoxing Jilian Technology Co ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202011632497.0A priority Critical patent/CN112752323B/en
Publication of CN112752323A publication Critical patent/CN112752323A/en
Application granted granted Critical
Publication of CN112752323B publication Critical patent/CN112752323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • 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

Landscapes

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

Abstract

The application discloses a method and a device for changing a hotspot access state, and relates to the technical field of wireless hotspots. The specific embodiment comprises the following steps: monitoring whether the client is in front-end operation or not by determining whether heartbeat information periodically transmitted by the client is received or not in response to the client having accessed the wireless hotspot provided by the routing device, wherein the heartbeat information is transmitted by the client in response to the client being in front-end operation; and changing the access state of the client to the wireless hotspot in response to determining that the client is not running in the front end. The method and the device can prompt the user to run the client at the front end, so that the use ratio of the user to the client is improved.

Description

Method and device for changing hot spot access state
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for changing a hotspot access state.
Background
More and more users are beginning to surf the internet through wireless hotspots. Mobile networks have the problems of charging, unstable network and the like, and wireless hotspots are favored by more and more users because of quick network speed and low cost.
Some applications installed on the terminal equipment can assist the user in accessing the wireless hotspots so as to realize surfing. For example, a user may designate one of the detected wireless hotspots, and an application may attempt to access the wireless hotspot.
Disclosure of Invention
Provided are a hotspot access state changing method, a hotspot access state changing device, electronic equipment and a storage medium.
According to a first aspect, there is provided a method for changing a hotspot access state, including: monitoring whether the client is in front-end operation or not by determining whether heartbeat information periodically transmitted by the client is received or not in response to the client having accessed the wireless hotspot provided by the routing device, wherein the heartbeat information is transmitted by the client in response to the client being in front-end operation; and changing the access state of the client to the wireless hotspot in response to determining that the client is not running in the front end.
According to a second aspect, there is provided a hotspot access status changing device, comprising: a monitoring unit configured to monitor whether a client is in front-end operation by determining whether heartbeat information periodically transmitted by the client is received in response to the client having accessed a wireless hotspot provided by the routing device, wherein the heartbeat information is transmitted by the client in response to the client being in front-end operation; and a changing unit configured to change an access state of the client to the wireless hotspot in response to determining that the client is not running in front of the client.
According to a third aspect, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable 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 of changing a hotspot access status.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform a method according to any one of the embodiments of the method of changing a hotspot access status.
According to a fifth aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method according to any of the embodiments of the method of changing a hotspot access status.
According to the scheme, the client can be caused to run at the front end by the user, so that the use rate of the client by the user can be improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method of changing hotspot access status according to the present application;
FIG. 3 is a flow chart of yet another embodiment of a method of changing hotspot access status according to the present application;
FIG. 4 is a flow chart of yet another embodiment of a method of changing hotspot access status according to the present application;
FIG. 5 is a schematic structural diagram of one embodiment of a change device of hotspot access status according to the present application;
fig. 6 is a block diagram of an electronic device for implementing a method of changing a hotspot access status according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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 in the following description for clarity and conciseness.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 in which embodiments of a hotspot access state change method or hotspot access state change apparatus of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include end devices 101, 102, 103, a network 104, and a routing device 105. The network 104 is used as a medium to provide communication links between the terminal 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.
A user may interact with the routing device 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as video-type applications, live applications, instant messaging tools, mailbox clients, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smartphones, tablets, electronic book readers, laptop and desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The routing device 105 may be a routing device that provides various services, such as a background routing device that provides support for the terminal devices 101, 102, 103. The background routing device may perform analysis and other processing on the data such as the heartbeat information, and feed back a processing result (for example, a monitoring result) to the terminal device.
It should be noted that, the method for changing the hotspot access state provided in the embodiment of the present application may be performed by the routing device 105 or the terminal devices 101, 102, 103, and accordingly, the device for changing the hotspot access state may be provided in the routing device 105 or the terminal devices 101, 102, 103.
It should be understood that the number of end devices, networks and routing devices in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and routing devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of changing hotspot access status is shown in accordance with the present application. The method for changing the hot spot access state comprises the following steps:
in step 201, in response to the client having accessed the wireless hotspot provided by the routing device, whether the client is running in front end is monitored by determining whether heartbeat information periodically sent by the client is received, where the heartbeat information is sent by the client in response to the client running in front end.
In this embodiment, an execution body (such as the routing device or the terminal device shown in fig. 1) on which the method for changing the hotspot access state operates may monitor whether the client is in front-end operation, that is, is being displayed in a display interface of the client, by determining whether heartbeat information periodically (i.e., regularly) sent by the client is received in a case where the client has access to a wireless hotspot (WIFI) provided by the routing device. Specifically, when heartbeat information periodically sent by the client is received, it can be determined that the client is running in front end. Only if the client runs at the front end, the heartbeat information is sent out. The wireless hotspots are provided by the routing device.
Once 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 in front-end, changing an access state of the client to the wireless hotspot.
In this embodiment, if the execution subject determines that the client is not running in the front end as a result of the monitoring, the execution subject may change the access state of the client to the wireless hotspot. The access state refers to a state of accessing a wireless hotspot. For example, the access states may include: whether to access a wireless hotspot, the speed limit of the accessed network, etc.
The method provided by the embodiment of the application can prompt the user to run the client at the front end, thereby being beneficial to improving the utilization rate of the client by the user.
In some optional implementations of this embodiment, changing the access state of the client to the wireless hotspot in the step 202 may include: disconnecting the client from the wireless hotspot or performing network speed limiting on the client.
In these alternative implementations, the executing entity may disconnect the client from the wireless hotspot, or perform network speed limiting (for the wireless hotspot) on the client to change the access state of the client for the wireless hotspot.
These implementations may change the access state of the client to the wireless hotspot in a variety of ways.
In some optional implementations of this embodiment, monitoring whether the client is running in the front end by determining whether heartbeat information periodically sent by the client is received in step 201 includes: responding to the heartbeat information received from the client, starting timing, and obtaining timing duration; judging whether the timing duration reaches a preset duration threshold, if so, determining that heartbeat information periodically transmitted by a client is not received, and determining that a monitoring result is that the client is not in front-end operation, wherein the preset duration threshold is larger than or equal to the transmission period of the heartbeat information.
In these optional implementations, the executing body may determine that the client fails to implement timing sending of the heartbeat information, that is, does not implement periodic sending, when the timing duration reaches the preset duration threshold since the last heartbeat information is received by the client. Thus, the execution body can determine that the monitoring result is that the client is not running in the front end.
For example, the transmission period may be 1 minute, and the preset duration threshold may be 5 minutes. If the executing body determines that the heartbeat information sent by the client is not received within 5 minutes, the monitoring result can be determined as that the client is not running in the front end.
The implementation methods can accurately judge that the monitoring result is that the client is not in front-end operation under the condition that heartbeat information is not received for a long time, so that the access of the client is disconnected.
In some optional application scenarios of these implementations, after the obtaining the timing duration, the method may further include: judging whether the timing duration reaches a reminding duration, wherein the reminding duration is smaller than the preset duration threshold; and if the timing duration reaches the reminding duration, sending a notification message for indicating that the client is opened at the front end to the client.
In these optional application scenarios, the executing body may determine whether the timing duration reaches the alert duration, and if so, may send a notification message to the client. The notification message here may be a message for instructing to open the client at the front end. For example, the notification message may be "how the XX application (the name of the client described above) is now displayed on the display screen, otherwise it would affect the web-couple.
For example, the sending period is 1 minute, the reminding time is 3 minutes, and the preset time threshold is 5 minutes. If the executing body determines that the heartbeat information sent by the client is not received within 3 minutes, the reminding duration can be determined to be reached.
The application scenes can firstly prompt the user to open the application at the front end, so that the user is prevented from being limited by surfing the internet without being informed.
In some optional implementations of this embodiment, monitoring whether the client is running in the front end by determining whether heartbeat information periodically sent by the client is received in step 201 may include: and under the condition that the wireless hot spot is a designated hot spot, monitoring whether the client runs at the front end or not by determining whether heartbeat information periodically sent by the client is received, wherein a wireless interface address of the designated hot spot is a preset address.
In these alternative implementations, monitoring is performed again in the event that the wireless hotspot is a designated hotspot. In particular, the specified hotspot may be a self-owned hotspot of the owner (developer) of the client, i.e., not a third party hotspot or other commercial hotspot. The wireless interface addresses (Basic Service Set Identifier, bssid) of the self-owned hotspots are all recorded by the owners, i.e. the wireless interface addresses of the hotspots are designated as preset addresses. The routing device providing the specified hot spot can have the rule corresponding to the monitoring, so that the monitoring is realized.
These implementations may set a designated hotspot (e.g., a self-contained hotspot) and determine whether the designated hotspot is one to enable monitoring to change the state of accessing the wireless hotspot.
With continued reference to fig. 3, fig. 3 illustrates a flow of yet another embodiment of a method of changing a hotspot access status.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of changing hotspot access status is illustrated. The process 400, for a client, includes the following steps:
step 401, determining whether the client is running in front end in response to the client having accessed a wireless hotspot, where the wireless hotspot is provided by a routing device.
In this embodiment, an execution body (for example, the routing device or the terminal device shown in fig. 1) on which the hotspot access state changing method operates may determine whether the client is in front-end operation in a case where the client has accessed a wireless hotspot.
Step 402, if the client is running in the front end, sending heartbeat information to the routing device periodically, where the routing device monitors whether the client is running in the front end by determining whether heartbeat information sent periodically by the client is received, and changes an access state of the client to the wireless hotspot in response to determining that the client is not running in the front end.
In this embodiment, if the result of the determination is that the client runs at the front end, the execution body may periodically send heartbeat information to the routing device. In this way, the routing device can monitor whether the client is in front-end operation or not, and change the access state of the client to the wireless hotspot under the condition that the routing device determines that the client is not in front-end operation.
The method provided by the embodiment of the application can prompt the user to run the client at the front end, thereby being beneficial to improving the utilization rate of the client by the user.
In some optional implementations of this embodiment, after determining whether the client is running in the front end in step 401, the method may further include: if the client is not running at the front end, displaying a notification message comprising an open entry of the client at the front end; in response to detecting the operation of opening the entry, the determination is performed again as to whether the client is running in front-end.
In these optional implementations, the executing body may display a notification message that the client opens the portal at the front end when the result of the determination is that the client is not running at the front end. If the user operation of opening the portal is detected, the execution body may execute the determination again as to whether the client is running in front.
The implementation modes can display the opening entrance of the front end to the user under the condition that the client end is not operated at the front end, so that the user can quickly and conveniently open the client end at the front end.
In some optional implementations of this embodiment, the determining in step 401 above whether the client is running in the front end may include: judging whether the wireless hot spot is a designated hot spot or not, wherein the wireless interface address of the designated hot spot is a preset address; and if the wireless hotspot is the appointed hotspot, judging whether the client is in front-end operation or not.
In these optional implementations, the executing body may determine whether the wireless hotspot is a designated hotspot, and if so, determine whether the client is running in front end.
These implementations may set a designated hotspot (e.g., a self-owned hotspot) and determine whether the designated hotspot is a designated hotspot, which may facilitate monitoring of the routing device to change the access state of the wireless hotspot.
With further reference to fig. 5, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a hotspot access status changing apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the embodiment of the apparatus may further include the same or corresponding features or effects as the embodiment of the method shown in fig. 2, except for the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, a hotspot access state changing apparatus 500 in this embodiment is used for a routing device, and includes: a monitoring unit 501 and a changing unit 502. Wherein the monitoring unit 501 is configured to monitor whether the client is running in front by determining whether heartbeat information periodically sent by the client is received in response to the client having accessed a wireless hotspot provided by the routing device, wherein the heartbeat information is sent by the client in response to the client running in front; a changing unit 502 configured to change an access state of the client to the wireless hotspot in response to determining that the client is not running in front-end.
In this embodiment, the specific processes and the technical effects of the monitoring unit 501 and the changing unit 502 of the hotspot access status changing apparatus 500 may refer to the descriptions related to the steps 201 and 202 in the corresponding embodiment of fig. 2, and are not repeated here.
In some optional implementations of this embodiment, the changing unit is further configured to perform the changing the access state of the client to the wireless hotspot in the following manner: disconnecting the client from the wireless hotspot or performing network speed limiting on the client.
In some optional implementations of this embodiment, the monitoring unit is further configured to perform the monitoring whether the client is running on the front end by determining whether heartbeat information periodically sent by the client is received, as follows: responding to the heartbeat information received from the client, starting timing, and obtaining timing duration; judging whether the timing duration reaches a preset duration threshold, if so, determining that heartbeat information periodically transmitted by a client is not received, and determining that a monitoring result is that the client is not in front-end operation, wherein the preset duration threshold is larger than or equal to the transmission period of the heartbeat information.
In some optional implementations of this embodiment, the apparatus further includes: the judging unit is configured to judge whether the timing duration reaches a reminding duration after the timing duration is obtained, wherein the reminding duration is smaller than the preset duration threshold; and the sending unit is configured to send a notification message for indicating to open the client at the front end to the client if the timing duration reaches the reminding duration.
In some optional implementations of this embodiment, the monitoring unit is further configured to perform the monitoring whether the client is running on the front end by determining whether heartbeat information periodically sent by the client is received, as follows: and under the condition that the wireless hot spot is a designated hot spot, monitoring whether the client runs at the front end or not by determining whether heartbeat information periodically sent by the client is received, wherein a wireless interface address of the designated hot spot is a preset address.
As an implementation of the method shown in fig. 4, the apparatus embodiment corresponds to the method embodiment shown in fig. 4, and may further include the same or corresponding features or effects as the method embodiment shown in fig. 4, except for the features described below. The device can be applied to various electronic equipment.
The device for changing the hot spot access state in this embodiment is used for a client, and includes: a judging unit and an information transmitting unit. The judging unit is configured to judge whether the client is in front-end operation or not in response to the fact that the client is accessed to a wireless hotspot, wherein the wireless hotspot is provided by the routing equipment; and the information sending unit is configured to periodically send heartbeat information to the routing equipment if the client is in front-end operation, wherein the routing equipment monitors whether the client is in front-end operation by determining whether heartbeat information periodically sent by the client is received or not, and changes the access state of the client to the wireless hotspot in response to determining that the client is not in front-end operation.
In some optional implementations of this embodiment, the apparatus further includes: a display unit configured to display a notification message including an open entry of the client at the front end if the client is not in front end operation after the determination of whether the client is in front end operation; and a re-executing unit configured to re-execute the determination as to whether the client is in front-end operation in response to detecting the operation to open the portal.
In some optional implementations of this embodiment, the determining unit is further configured to perform the determining whether the client is running in front-end as follows: judging whether the wireless hot spot is a designated hot spot or not, wherein the wireless interface address of the designated hot spot is a preset address; and if the wireless hotspot is the appointed hotspot, judging whether the client is in front-end operation or not.
According to embodiments of the present application, there is also provided an electronic device, a readable storage medium and a computer program product.
As shown in fig. 6, a block diagram of an electronic device according to a method for changing a hotspot access status according to an embodiment of the present application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 6, the electronic device includes: one or more processors 601, memory 602, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing 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, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 601 is illustrated in fig. 6.
Memory 602 is a non-transitory computer-readable storage medium provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the hotspot access state change methods provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of changing a hotspot access status provided by the present application.
The memory 602 is used as a non-transitory computer readable storage medium, and may be used to store a non-transitory software program, a non-transitory computer executable program, and modules, such as program instructions/modules (e.g., the monitoring unit 501 and the changing unit 502 shown in fig. 5) corresponding to a method for changing a hotspot access status in an embodiment of the present application. The processor 601 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 602, i.e., implements the method of changing a hot spot access state in the above-described method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the use of the electronic device according to the change in the hotspot access status, etc. In addition, the 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, memory 602 may optionally include memory remotely located with respect to processor 601, which may be connected to the hotspot access status changing electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method for changing the hotspot access state may further include: an input device 603 and an output device 604. The processor 601, memory 602, input device 603 and output device 604 may be connected by a bus or otherwise, for example in fig. 6.
The input device 603 may receive input numeric or character information and generate key signal inputs related to changing user settings and function controls of the electronic device for the hotspot access status, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, etc. input devices. The output means 604 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., 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 here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
The flowcharts 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, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The described units may also be provided in a processor, for example, described as: a processor includes a monitoring unit and a changing unit. Where the names of these units do not constitute a limitation of the unit itself in some cases, for example, a changing unit may also be described as "a unit that periodically sends heartbeat information to the routing device if the client is in front-end operation".
As another aspect, the present application also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: monitoring whether the client is in front-end operation or not by determining whether heartbeat information periodically transmitted by the client is received or not in response to the client having accessed the wireless hotspot provided by the routing device, wherein the heartbeat information is transmitted by the client in response to the client being in front-end operation; and changing the access state of the client to the wireless hotspot in response to determining that the client is not running in the front end.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the invention referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the invention. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (8)

1. A method for changing a hotspot access state for a routing device, the method comprising:
monitoring whether the client is in front-end operation or not by determining whether heartbeat information periodically transmitted by the client is received or not in response to the client having accessed the wireless hotspot provided by the routing device, wherein the heartbeat information is transmitted by the client in response to the client being in front-end operation;
in response to determining that the client is not running in front-end, changing an access state of the client to the wireless hotspot;
the monitoring whether the client runs in the front end by determining whether heartbeat information periodically sent by the client is received comprises the following steps:
and under the condition that the wireless hot spot is a designated hot spot, monitoring whether the client runs at the front end or not by determining whether heartbeat information periodically sent by the client is received, wherein a wireless interface address of the designated hot spot is a preset address.
2. The method of claim 1, wherein the changing the access state of the client to the wireless hotspot comprises:
disconnecting the client from the wireless hotspot or performing network speed limiting on the client.
3. The method of claim 1, wherein the monitoring whether the client is running on the front end by determining whether heartbeat information periodically transmitted by the client is received comprises:
responding to the heartbeat information received from the client, starting timing, and obtaining timing duration;
judging whether the timing duration reaches a preset duration threshold, if so, determining that heartbeat information periodically transmitted by a client is not received, and determining that a monitoring result is that the client is not in front-end operation, wherein the preset duration threshold is larger than or equal to the transmission period of the heartbeat information.
4. A method according to claim 3, wherein after the derived timing duration, the method further comprises:
judging whether the timing duration reaches a reminding duration, wherein the reminding duration is smaller than the preset duration threshold;
and if the timing duration reaches the reminding duration, sending a notification message for indicating that the client is opened at the front end to the client.
5. A method for changing a hotspot access state, for a client, the method comprising:
judging whether the client is in front-end operation or not in response to the fact that the client is accessed to a wireless hotspot, wherein the wireless hotspot is provided by routing equipment;
if the client is in front-end operation, periodically sending heartbeat information to the routing equipment, wherein the routing equipment monitors whether the client is in front-end operation or not by determining whether heartbeat information periodically sent by the client is received, and changes the access state of the client to the wireless hot spot in response to determining that the client is not in front-end operation;
the judging whether the client is in front-end operation or not comprises the following steps:
judging whether the wireless hot spot is a designated hot spot or not, wherein the wireless interface address of the designated hot spot is a preset address;
and if the wireless hotspot is the appointed hotspot, judging whether the client is in front-end operation or not.
6. The method of claim 5, wherein after the determining whether the client is running on a front end, the method further comprises:
if the client is not running at the front end, displaying a notification message comprising an open entry of the client at the front end;
in response to detecting the operation of opening the entry, the determination is performed again as to whether the client is running in front-end.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
8. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202011632497.0A 2020-12-31 2020-12-31 Method and device for changing hot spot access state Active CN112752323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011632497.0A CN112752323B (en) 2020-12-31 2020-12-31 Method and device for changing hot spot access state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011632497.0A CN112752323B (en) 2020-12-31 2020-12-31 Method and device for changing hot spot access state

Publications (2)

Publication Number Publication Date
CN112752323A CN112752323A (en) 2021-05-04
CN112752323B true CN112752323B (en) 2023-05-05

Family

ID=75650936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011632497.0A Active CN112752323B (en) 2020-12-31 2020-12-31 Method and device for changing hot spot access state

Country Status (1)

Country Link
CN (1) CN112752323B (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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092853A (en) * 2017-12-27 2018-05-29 珠海市君天电子科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of monitoring server link state

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7706805B2 (en) * 2006-08-31 2010-04-27 Cisco Technology, Inc. Delivery of time-sensitive data in a wireless network
US9325898B2 (en) * 2012-10-23 2016-04-26 Canon Kabushiki Kaisha Communication apparatus and method for controlling the same
CN103095831B (en) * 2013-01-15 2016-03-16 中国联合网络通信集团有限公司 Maintain the method for heartbeat mechanism, wlan client and program servers
CN106528386A (en) * 2016-11-21 2017-03-22 珠海市魅族科技有限公司 Control method of application broadcast and terminal
US10425316B2 (en) * 2017-09-29 2019-09-24 Nokia Of America Corporation Heart beat monitoring for broadband access devices and enterprise devices
CN107920018B (en) * 2017-11-29 2020-10-09 贝壳找房(北京)科技有限公司 Method, server and system for realizing delayed push of data
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
CN109347934B (en) * 2018-09-30 2020-07-31 口碑(上海)信息技术有限公司 Message pushing method and system, server, storage medium and electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092853A (en) * 2017-12-27 2018-05-29 珠海市君天电子科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of monitoring server link state

Also Published As

Publication number Publication date
CN112752323A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
JP7167222B2 (en) APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
CN112000394B (en) Method, apparatus, device and storage medium for accessing applet
EP3816802A2 (en) Method and device for processing mini program data
US20090100497A1 (en) Method and apparatus for preventing a set of users from accessing a message in an instant messaging system
CN112346612B (en) Page display method and device
US10893113B2 (en) Generating push notifications
CN111752960B (en) Data processing method and device
CN112817656A (en) Applet running method and device
US9800473B2 (en) Network based virtual collaborative problem solving space
CN112752323B (en) Method and device for changing hot spot access state
CN112770415B (en) Information processing method and device for wireless hotspots
CN112965799B (en) Task state prompting method and device, electronic equipment and medium
CN111615171B (en) Access method and device of wireless local area network
CN112069137B (en) Method, device, electronic equipment and computer readable storage medium for generating information
CN111522599B (en) Method and device for transmitting information
KR102571517B1 (en) Traffic adjustment method and apparatus
CN111835857B (en) Method and apparatus for accessing data
CN112735601B (en) Test method, device and equipment for determining infectious disease close-contact population by using Bluetooth
CN111988829B (en) Access method and device of wireless local area network
CN111752885B (en) Method and device for processing reading authority in reading material
CN111597026B (en) Method and device for acquiring information
CN112118576B (en) Method and apparatus for networking over wireless hotspots
CN112153754A (en) Point-to-point connection method and device, electronic equipment and storage medium
CN112992141B (en) Communication method and device in voice recognition scene
CN114500438B (en) File sharing method and device, electronic equipment and storage medium

Legal Events

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

Effective date of registration: 20231113

Address after: 312500 Wangjiangshan Village, Nanming Street, Xinchang County, Shaoxing City, Zhejiang Province

Patentee after: Shaoxing Jilian Technology Co.,Ltd.

Address before: 201306 N2025 room 24, 2 New Town Road, mud town, Pudong New Area, Shanghai

Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.