Method, device and equipment for intelligently obtaining network code based on network status and medium
By setting a warning range on the user terminal, judging the risk of poor network conditions and triggering network code acquisition, the difficulty of loading network codes caused by network access problems is solved, and convenient network code acquisition is realized in poor network environments.
Patent Information
- Application Number
- CN202310084543.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2043-01-17
AI Technical Summary
When there are problems with network access or the signal is poor, it is difficult to load network codes, resulting in a poor user experience and a lack of efficient solutions.
By acquiring the location information of user terminals, a warning range can be established, the number and distribution of terminals can be determined, the risk of poor network performance can be identified, and the acquisition and push of network codes can be triggered within the risk area, thus simplifying the network code acquisition process.
In environments with poor network connectivity, user terminals can obtain network codes in advance, simplifying the operation process, ensuring the normal use of network codes, and improving the user experience.
Smart Images

Figure CN116320983B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of mobile communication, and particularly relates to a method, device and equipment for intelligently obtaining a network code based on a network state and a medium. BACKGROUND
[0002] With the development of social technology, people's demand for networks is also increasing day by day. In daily use, whether it is a payment scene or other network code use scenes that need to identify the identity of a user, network participation is required. However, due to various external factors, it is inevitable that some network access problems or poor signal conditions will lead to difficulties in loading network codes. For terminal users, such a situation brings a very poor user experience. However, there is currently no simple and efficient processing method for this situation.
[0003] Therefore, the problem of network access problems or poor signal conditions leading to difficulties in loading network codes is an urgent problem to be solved. SUMMARY
[0004] The main purpose of the present application is to provide a method, device and equipment for intelligently obtaining a network code based on a network state and a medium, which aims to solve the problem of network access problems or poor signal conditions leading to difficulties in loading network codes.
[0005] In order to achieve the above-mentioned application purpose, the first aspect of the present application provides a method for intelligently obtaining a network code based on a network state, which comprises the following steps:
[0006] A method for intelligently obtaining a network code based on a network state, which comprises the following steps:
[0007] Obtaining the position information of a user terminal and presetting a warning range centered on the position of the user terminal;
[0008] Obtaining the number and distribution position of personal terminals appearing in the warning range;
[0009] If the warning range enters a specified area, it is determined whether there is a risk of poor network in the warning range;
[0010] If there is, a trigger signal for requesting a network code is identified, and the received network code information is pushed to the main interface of the user terminal.
[0011] Further, the step of determining that the warning range enters a specified area comprises:
[0012] Obtaining the position information of personal terminals in the current warning range;
[0013] If the position information is regularly distributed, it is determined that the alert range enters a specified area, and the specified regularity at least includes quantity and distribution shape.
[0014] Further, the step of determining that the alert range enters a specified area includes:
[0015] When a specified location appears in the alert range, it is determined that the alert range enters a specified area.
[0016] Further, the step of determining whether there is a risk of poor network in the alert range includes:
[0017] If it is detected that the signal in the current alert range is poor, and / or the number of terminals exceeds a preset number, and / or there are multiple poor signal history records, it is determined that there is a risk of poor network in the alert range.
[0018] Further, the step of identifying the trigger signal for requesting a network code and pushing the received network code information to the main interface of the user terminal includes:
[0019] It is determined whether a preset signal is received from a code scanning terminal;
[0020] If yes, the network code information is obtained, and the network code information is pushed to the user interface.
[0021] Further, the step of identifying the trigger signal for requesting a network code and pushing the received network code information to the main interface of the user terminal includes:
[0022] The distance between the user terminal and the code scanning terminal is obtained;
[0023] It is determined whether the distance between the user terminal and the code scanning terminal is within a preset range;
[0024] If yes, the network code information is obtained, and the network code information is pushed to the user interface.
[0025] Further, after the step of identifying the trigger signal for requesting a network code and pushing the received network code information to the main interface of the user terminal, the step includes:
[0026] The distance between the user terminal and the code scanning terminal is obtained;
[0027] It is determined whether the distance between the user terminal and the code scanning terminal exceeds a preset range;
[0028] If yes, it is determined that the user terminal leaves an area within the preset range, and the network code information is withdrawn.
[0029] The second aspect of the present application provides a network code obtaining device based on network state, comprising:
[0030] The preset module is used to obtain the location information of the user terminal and preset the warning range centered on the location of the user terminal;
[0031] The acquisition module is used to acquire the number and distribution location of personal terminals appearing within the warning range;
[0032] The judgment module is used to determine whether there is a risk of poor network performance within the warning range if the warning range enters a designated area;
[0033] The identification module is used to identify the trigger signal of the requested network code if it exists and push the received network code information to the main interface of the user terminal.
[0034] A third aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, characterized in that the processor executes the computer program to implement the steps of the method for intelligently acquiring network codes based on network status as described in any of the preceding claims.
[0035] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the method for intelligently acquiring network codes based on network status as described in any of the preceding claims.
[0036] Beneficial effects:
[0037] The present invention relates to a method, apparatus, device, and medium for intelligently acquiring network codes based on network status. This method can establish a warning range based on the location of the user terminal, determine whether the user terminal is about to enter a designated area based on the actual situation within the warning range, and acquire and push the network code by recognizing trigger signals when the user terminal enters the preset range. It also predicts when the user terminal is about to enter a poor network environment, allowing users to use the network code normally even when the network is offline. Furthermore, it simplifies the process of displaying the network code, allowing users to display the network code without exiting the application interface while using other applications, making the operation simpler and more convenient. Attached Figure Description
[0038] Figure 1 This is a schematic flowchart of a method for intelligently acquiring network codes based on network status according to an embodiment of the present invention;
[0039] Figure 2 This is a schematic block diagram of a network code acquisition device based on network status according to an embodiment of the present invention;
[0040] Figure 3 This is a schematic block diagram of a computer device according to an embodiment of the present invention.
[0041] The objectives, functional characteristics and advantages of the present application will be further explained in conjunction with the embodiments, with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not intended to limit the present application.
[0043] Those skilled in the art can understand that the singular forms "a", "an" and "the" used herein include plural forms unless specifically stated otherwise. It should be further understood that the use of the term "include" in the specification of the present application means that a feature, integer, step, operation, element, module and / or component exists, but does not exclude the existence or addition of one or more other features, integers, steps, operations, elements, modules, modules, components and / or their combinations. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can be intermediate elements. In addition, the "connection" or "coupling" used herein can include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any module and all combinations of the associated listed items.
[0044] Those skilled in the art can understand that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as that generally understood by those skilled in the art to which the present application belongs. It should also be understood that terms such as those defined in a general dictionary should be understood to have meanings consistent with those in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as such.
[0045] Reference Figure 1 , the embodiment of the present application provides a method for intelligently obtaining a network code based on a network state, comprising the following steps S1-S4:
[0046] S1: Obtain the position information of the user terminal and preset the alert range centered on the position of the user terminal.
[0047] The system acquires the current location information of the user terminal and expands the range outward from the user terminal's location as the center. The expanded range can be preset according to the actual situation. The expanded range serves as a warning range, which can be used to detect the actual situation around the user terminal. The preset warning range can also enable the user terminal to maintain a certain safe distance from the judged actual situation, providing the user terminal with a distance condition for making a prediction. The user terminal includes terminal devices such as smartwatches, smartphones, smart bracelets, and tablets.
[0048] S2: Obtain the number and distribution location of personal terminals appearing within the warning range.
[0049] The system obtains the number of personal terminals appearing within the warning range and the distribution of all personal terminals within the warning range. Specifically, each personal terminal within the warning range is identified internally by the system as a point.
[0050] S3: If the warning range enters the designated area, determine whether there is a risk of poor network performance within the warning range.
[0051] If the warning area enters a region designated by the system, it will proceed to the system's judgment phase. The designated region can be a crowded area or an area where entering is considered to require presenting a network code. Once within the designated area, the system's judgment phase will assess whether there is a risk of poor network connectivity within the current warning area.
[0052] S4: If present, identify the trigger signal for requesting the network code and push the received network code information to the user terminal main interface.
[0053] If there is a risk of poor network signal, it means that if the current user terminal enters the area, it will also face the risk of poor signal and may face network offline issues. In this case, if the user terminal continues to approach the area (which can be an area centered on the scanning device), the system will trigger the request for network code based on the predicted conditions. After successfully obtaining the network code information, the network code information will be pushed to the user's main interface. The network code information can be an image or screenshot of the network code cached or downloaded in the background. The user terminal includes terminal devices such as smartwatches, smartphones, smart bracelets, and tablets.
[0054] As described above, the method for intelligently obtaining a network code based on a network state can make a position judgment and a risk warning judgment on a user's terminal in combination with a place and a site, and make an action of obtaining network code information in advance for a user terminal that may enter an offline state or a poor network state, and present the network code information in a more obvious way to the user, so that the user is more convenient and fast in the process of network code use and loading, and solves the problem that network code cannot be normally obtained in a poor network condition.
[0055] In one embodiment, the step of determining that the alert range enters the specified area includes:
[0056] S11: Obtain position information of personal terminals in the current alert range.
[0057] The position information of the personal terminals in the current alert range can be recognized by a Bluetooth, a wireless network, or an infrared ray, and the position of each recognized personal terminal is processed in the server in the form of a point.
[0058] S12: If the position information is distributed in a specified rule, it is determined that the alert range enters the specified area, and the specified rule at least includes a number and a distribution shape.
[0059] If the position information of the personal terminals in the current alert range is distributed in a certain rule, such as a regular linear arrangement, the system determines that queuing is possibly performed in the area, or the points are regularly arranged in a large dense area and the number is large, it is determined that the current environment is crowded, a certain item that requires a corresponding network code is possibly performed, and a poor network condition is possibly generated.
[0060] As described above, the position information of the personal terminals in the current alert range can be recognized by a Bluetooth, a wireless network, or an infrared ray, and the position of each recognized personal terminal is processed in the server in the form of a point. If the position information of the personal terminals in the current alert range is distributed in a certain rule, such as a regular linear arrangement, the system determines that queuing is possibly performed in the area, or the points are regularly arranged in a large dense area and the number is large, it is determined that the current environment is crowded, a certain item that requires a corresponding network code is possibly performed, and a poor network condition is possibly generated.
[0061] In one embodiment, the step of determining that the alert range enters the specified area further includes:
[0062] S21: When a specified site appears in the alert range, it is determined that the alert range enters the specified area.
[0063] When the specified location appears in the warning range, it is determined that the warning range enters the specified area, wherein the specified location can be a location marked by a satellite, such as a hospital and an affiliated site, a supermarket, and the like.
[0064] In an embodiment, the step of determining whether there is a risk of poor network in the warning range includes:
[0065] S31: If it is detected that the signal in the warning range is poor and / or the number of terminals exceeds a preset number and / or there are multiple poor signal history records, it is determined that there is a risk of poor network in the warning range.
[0066] After it is confirmed that the warning range has entered the specified area, it is determined whether the area has a risk of poor network, specifically, it is determined whether the signal in the warning range is poor and / or the number of terminals exceeds a preset number and / or there are multiple poor signal history records. If the above conditions exist, it is determined that the area has a risk of poor network.
[0067] In an embodiment, the step of identifying the trigger signal for requesting a network code and pushing the received network code information to the main interface of the user terminal includes:
[0068] S41: It is determined whether a preset signal is received from the code scanning terminal.
[0069] After the warning range is in the specified area and the area has a risk of poor network, the user terminal is always in a state of receiving determination. If the position of the user terminal continues to approach the central range of the area (the central range of the area can be an area diverging outward from the code scanning terminal), when a certain distance is reached, a preset signal from the code scanning terminal is received.
[0070] S42: If the preset signal is received, network code information is obtained, and the network code information is pushed to the user interface.
[0071] After the user terminal receives the preset signal from the code scanning terminal, the network code information is requested to be obtained. After the network code information is successfully obtained, the network code information is pushed to the user interface. Alternatively, the network code information can be pushed to the user interface, saved in a file path of the mobile phone, or used as a mobile phone screen saver or popped up to the main interface.
[0072] As described above, when the early warning range is in the designated area and the range of the area has the risk of poor network, the user terminal keeps receiving the judgment. If the position of the user terminal continues to approach the center range of the area (the center range of the area can be an area diverging outwardly from the code scanning terminal), when a certain distance is reached, a preset signal from the code scanning terminal is received. After the user terminal receives the preset signal from the code scanning terminal, the user terminal starts to request to obtain the network code information. After the network code information is obtained successfully, the network code information is pushed to the user interface. Alternatively, the network code information pushed to the user interface can be saved in a file path of the mobile phone or used as a mobile phone screen saver or popped up to the main interface.
[0073] In one embodiment, the steps of identifying the trigger signal of the request network code and pushing the received network code information to the main interface of the user terminal further include:
[0074] S51: obtaining the distance between the user terminal and the code scanning terminal;
[0075] When the early warning range is in the designated area and the range of the area has the risk of poor network, the user terminal obtains the distance between the user terminal and the code scanning terminal in real time.
[0076] S52: judging whether the distance between the user terminal and the code scanning terminal is within a preset range;
[0077] The distance between the user terminal and the code scanning terminal is judged. Specifically, it is judged whether the distance between the user terminal and the code scanning terminal is within a preset range. The preset range can be determined according to the range boundary of the network signal poor area entered by the early warning range. The preset range can be a network poor area diverging outwardly from the code scanning device, and should be greater than the range of the network poor area.
[0078] S53: if yes, obtaining the network code information and pushing the network code information to the user interface.
[0079] If the position of the user terminal is within the preset range, it indicates that the user terminal is about to enter the network poor area. At this time, the system requests the server to obtain the network code information, and the network code information is pushed to the user interface. Alternatively, the network code information pushed to the user interface can be saved in a file path of the mobile phone or used as a mobile phone screen saver or popped up to the main interface.
[0080] As described above, optionally, when the pre-warning range is in the designated area and the range of the area has the risk of poor network, the user terminal acquires the distance between the user terminal and the code scanning terminal in real time. And the distance between the user terminal and the code scanning terminal is judged, specifically, whether the distance between the user terminal and the code scanning terminal is within the preset range, wherein the preset range can be determined according to the range boundary of the network signal poor area entered by the pre-warning range, and the preset range can be the network poor area spreading outward from the code scanning device as the center and should be greater than the range of the network poor area. If the current position of the user terminal is within the preset range, it indicates that the current user terminal will enter the network poor area, at this time the system requests the server to acquire the network code information, and the network code information is pushed to the user interface; optionally, the pushing to the user interface can also be saved in a file path of the mobile phone or as a mobile phone screen saver or popped up to the main interface.
[0081] In one embodiment, after the above steps of identifying the trigger signal of requesting the network code and pushing the received network code information to the main interface of the user terminal, the steps include:
[0082] S61: acquiring the distance between the user terminal and the code scanning terminal;
[0083] After the user terminal receives the network code information, the distance between the user terminal and the code scanning terminal is acquired in real time.
[0084] S62: judging whether the distance between the user terminal and the code scanning terminal exceeds the preset range;
[0085] Whether the distance between the user terminal and the code scanning terminal exceeds the preset range is judged, wherein the preset range can be determined according to the range boundary of the network signal poor area entered by the pre-warning range, and the preset range can be the network poor area spreading outward from the code scanning device as the center and should be greater than the range of the network poor area.
[0086] S63: if it exceeds, it is determined that the user terminal leaves the area within the preset range, and the network code information is withdrawn.
[0087] If the system detects that the position of the user terminal is outside the preset range, the popped-up network code information will be withdrawn or deleted.
[0088] As described above, the distance between the user terminal and the code scanning terminal is determined whether it is beyond the preset range, the preset range can be determined according to the range boundary of the early warning range entering the network signal poor area, the preset range can be a network poor area spreading outward from the code scanning device as the center, and should be greater than the range of the network poor area, if the system detects that the position of the user terminal is already beyond the preset range, the pop-up network code information will be withdrawn or deleted.
[0089] With reference to Figure 2 The embodiment of the present application also provides a network code intelligent acquisition device based on network state, comprising:
[0090] A preset module 10 is configured to acquire the position information of the user terminal and preset an early warning range with the position of the user terminal as the center;
[0091] An acquisition module 20 is configured to acquire the number and distribution position of the personal terminals appearing in the early warning range;
[0092] A judgment module 30 is configured to judge whether there is a network poor risk in the early warning range if the early warning range enters a specified area;
[0093] An identification module 40 is configured to identify the trigger signal of the network code request and push the received network code information to the main interface of the user terminal if there is.
[0094] In one embodiment, the judgment module 30 comprises:
[0095] A position acquisition unit is configured to acquire the position information of the personal terminals in the current early warning range;
[0096] A regular distribution unit is configured to determine that the early warning range enters the specified area if the position information is in a specified regular distribution, and the specified regular distribution at least includes the number and the distribution shape.
[0097] In one embodiment, the judgment module 30 further comprises:
[0098] A specified location unit is configured to determine that the early warning range enters the specified area when the specified location appears in the early warning range.
[0099] In one embodiment, the judgment module 30 further comprises:
[0100] A risk determination unit is configured to determine that there is a network poor risk in the early warning range if it is detected that the signal is poor in the current early warning range and / or the number of terminals exceeds the preset number and / or there are multiple signal poor historical records.
[0101] In one embodiment, the identification module 40 further comprises:
[0102] A signal judging unit is configured to judge whether a preset signal sent by the code scanning terminal is received.
[0103] A first acquisition and pushing unit is configured to acquire the network code information and push the network code information to the user interface if the network code information is received.
[0104] In one embodiment, the identification module 40 further comprises:
[0105] A first distance acquisition unit is configured to acquire the distance between the user terminal and the code scanning terminal.
[0106] A first range judging unit is configured to judge whether the distance between the user terminal and the code scanning terminal is within a preset range.
[0107] A second acquisition and pushing unit is configured to acquire the network code information and push the network code information to the user interface if the distance between the user terminal and the code scanning terminal is within the preset range.
[0108] In one embodiment, after the step of identifying the trigger signal of the request network code and pushing the received network code information to the main interface of the user terminal, the method further comprises:
[0109] A second distance acquisition unit is configured to acquire the distance between the user terminal and the code scanning terminal.
[0110] A second range judging unit is configured to judge whether the distance between the user terminal and the code scanning terminal exceeds the preset range.
[0111] A withdrawing unit is configured to withdraw the network code information if the distance between the user terminal and the code scanning terminal exceeds the preset range.
[0112] Reference Figure 3 The embodiment of the present application further provides a computer device, and an internal structure of the computer device can be as shown in Figure 3The computer device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is designed to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. The internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store network code information and the like. The network interface of the computer device is used to communicate with external terminals through network connection. Further, the above computer device can be further provided with input devices and display screens and the like. The above computer program is executed by the processor to implement the method for intelligently obtaining a network code based on a network state, including the following steps: obtaining position information of a user terminal and presetting a warning range centered on the position of the user terminal; obtaining the number and distribution position of personal terminals appearing in the warning range; if the warning range enters a specified area, determining whether there is a risk of poor network in the warning range; if there is, identifying a trigger signal requesting a network code and pushing the received network code information to the main interface of the user terminal. Those skilled in the art can understand that Figure 3 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied.
[0113] The computer device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is designed to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores operating systems, computer programs and databases. The internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store network code information and the like. The network interface of the computer device is used to communicate with external terminals through network connection. Further, the above computer device can be further provided with input devices and display screens and the like. The above computer program is executed by the processor to implement the method for intelligently obtaining a network code based on a network state, including the following steps: obtaining position information of a user terminal and presetting a warning range centered on the position of the user terminal; obtaining the number and distribution position of personal terminals appearing in the warning range; if the warning range enters a specified area, determining whether there is a risk of poor network in the warning range; if there is, identifying a trigger signal requesting a network code and pushing the received network code information to the main interface of the user terminal. Those skilled in the art can understand that
[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, databases, or other media in this application and in examples used herein can include non-volatile and / or volatile memory. Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), or external cache memory. As an illustration but not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0115] It should be noted that in this document, the terms "comprise", "comprising", or any other variant thereof are intended to cover non-exclusive inclusions, so that processes, devices, articles, or methods that include a series of elements not only include those elements, but also include other elements not explicitly listed, or inherent to such processes, devices, articles, or methods. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, device, article, or method that includes the element.
[0116] The above description is only the preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, based on the content of the specification and drawings of the present application, are also included in the patent protection scope of the present application.
Claims
1. A method for intelligently acquiring network codes based on network status, characterized in that, The method includes: acquiring the location information of the user terminal and setting a warning range centered on the location of the user terminal; Obtain the number and distribution location of personal terminals appearing within the warning range; If the warning range enters a designated area, it is determined whether there is a risk of poor network performance within the warning range; the designated area includes the area where the location information of the personal terminal is presented as points and presents a designated pattern, wherein presenting the designated pattern includes presenting a regular linear arrangement; If present, the trigger signal for requesting the network code will be identified and the received network code information will be pushed to the user terminal's main interface. The step of determining whether there is a risk of poor network performance within the warning range includes: If poor signal and / or the number of terminals within the current warning range is detected to exceed a preset number and / or there are multiple historical records of poor signal, it is determined that there is a risk of poor network performance within the warning range. The step of determining if the warning range enters the designated area includes: The location information of personal terminals within the current surveillance range is obtained, and the location information is identified via Bluetooth, wireless network or infrared. If the location information is distributed according to a specified pattern, it is determined that the warning range has entered the specified area. The specified pattern includes at least quantity and distribution shape. Specifically, the location information being distributed according to a specified pattern includes: the location information presented by the personal terminal as points is arranged in a regular linear pattern, or the location information presented by the personal terminal as points is arranged in a large area of dense regular pattern and is numerous. The step of identifying the trigger signal of the network code request and pushing the received network code information to the user terminal main interface includes: Determine whether a preset signal is received from the scanning terminal. Specifically, when the user terminal's location approaches and reaches a certain distance from the center of the area radiating outward from the scanning terminal, the preset signal is received. If received, the network code information is obtained and pushed to the user interface. Pushing to the user interface may include saving it in a file path on the phone, using it as a phone screensaver, or popping it up on the main screen. The step of identifying the trigger signal of the network code request and pushing the received network code information to the user terminal main interface further includes: Obtain the distance between the user terminal and the scanning terminal; Determine whether the distance between the user terminal and the scanning terminal is within a preset range. The preset range is determined based on the boundary of the area where the warning range enters the poor network signal area, and is the poor network area that spreads outward from the scanning device. The preset range is larger than the range of the poor network area. If present, the network code information is obtained and pushed to the user interface. Pushing to the user interface may include saving it in a file path on the phone, using it as a phone screensaver, or popping it up on the main screen.
2. The method for intelligently acquiring network codes based on network status according to claim 1, characterized in that, The step of "if the warning range enters the designated area" further includes: When a designated location appears within the warning range, it is determined that the warning range has entered the designated area.
3. The method for intelligently acquiring network codes based on network status according to claim 1, characterized in that, After the step of identifying the trigger signal of the network code request and pushing the received network code information to the user terminal's main interface, the following steps are included: Obtain the distance between the user terminal and the scanning terminal; It is determined that the distance between the user terminal and the scanning terminal exceeds a preset range; If the range is exceeded, it will be determined that the user terminal has left the area within the preset range, and the network code information will be withdrawn.
4. A device for intelligently acquiring network codes based on network status, used to execute the method described in any one of claims 1-3, characterized in that, include: The preset module is used to obtain the location information of the user terminal and preset the warning range centered on the location of the user terminal; The acquisition module is used to acquire the number and distribution location of personal terminals appearing within the warning range; The judgment module is used to determine whether there is a risk of poor network performance within the warning range if the warning range enters a designated area; The identification module is used to identify the trigger signal of the requested network code if it exists and push the received network code information to the main interface of the user terminal.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method for intelligently acquiring network codes based on network status as described in any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for intelligently acquiring network codes based on network status as described in any one of claims 1 to 3.