Mini Program Search Method, Device, Computer Equipment, and Storage Medium
The merchant’s Bluetooth base station identification and reception power were obtained through Bluetooth scanning, and the search request carrying order was sent to the server, which solved the problem of low search efficiency of traditional applets and achieved fast and accurate applet search.
Patent Information
- Application Number
- CN202111486477.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-12-07
AI Technical Summary
Traditional mini-program search methods are inefficient, and users need to wait to scan the QR code or manually enter the merchant name, and the search results are inaccurate, which leads to users need to search again.
By monitoring user operation actions, turning on Bluetooth scanning to obtain merchant Bluetooth base station identification and receive power, send search requests to the server, carry the target merchant Bluetooth base station identification and its arrangement order, and obtain and display the display logo of the merchant applet. Users can quickly find the target applet according to the arrangement order.
It improves the efficiency of users' search applets, reduces the steps of waiting and manual input, ensures the accuracy of search results, and users can quickly find the applets of target merchants.
Smart Images

Figure CN114258000B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of big data task scheduling, and in particular to a method, device, computer equipment and storage medium for searching small programs. Background Art
[0002] With the development of big data task scheduling technology, mini-program search technology has emerged to facilitate users to quickly open and use mini-programs.
[0003] In traditional technology, users can open the merchant's mini program by scanning the merchant's mini program QR code or entering the merchant's name as a keyword in the application. For example, in order to avoid waiting in line to order food in offline stores, merchants usually ask users to scan the order QR code or enter the merchant's name to order online, thereby avoiding the queue.
[0004] However, with the traditional method, when there are many users scanning the QR code, users need to wait in line. When users search by merchant name, since the merchant name and its mini-program name may not completely correspond, the searched result may not be the merchant’s mini-program itself. Users need to search for the merchant’s mini-program again, which reduces the efficiency of users’ mini-program searches to a certain extent. Summary of the invention
[0005] Based on this, it is necessary to provide a mini-program search method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of users' search for mini-programs in response to the above-mentioned technical problems.
[0006] In a first aspect, the present application provides a method for searching for mini-programs, the method comprising:
[0007] If a predetermined user operation action is detected, Bluetooth scanning is started to obtain a scanning result, wherein the scanning result includes a merchant Bluetooth base station identifier and a receiving power corresponding to the merchant Bluetooth base station identifier;
[0008] Sending a search request to a server, the search request carrying the target merchant Bluetooth base station identifier, the target merchant Bluetooth base station identifier being the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the receiving powers, and if the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of the target merchant Bluetooth base station identifiers;
[0009] Obtaining the search results returned by the server, if the first predetermined number is greater than or equal to two, the search results include the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini program;
[0010] Display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the merchant mini-programs in a search list, where the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant mini-programs are used to jump to the corresponding merchant mini-programs when receiving user operations.
[0011] In one embodiment, after obtaining the scan result and before sending a search request to the server, it further includes:
[0012] If the maximum received power in the scan result is greater than or equal to a preset power threshold, and the difference between the maximum received power and the second-largest received power is greater than a preset difference threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier;
[0013] In one embodiment, if the maximum received power in the scan result is greater than or equal to a preset power threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0014] In one embodiment, if the first predetermined number is one, the search result includes the interface path of the merchant mini-program corresponding to the target merchant Bluetooth base station identifier.
[0015] In one embodiment, the predetermined user operation action includes: a predetermined gesture action, or shaking the device.
[0016] In one embodiment, before sending a search request to the server, it further includes: clearing the merchant Bluetooth base station identifiers in the scan result except for the target merchant Bluetooth base station identifier.
[0017] In a second aspect, the present application further provides a mini-program search device, and the device includes:
[0018] A scan result acquisition module, configured to, if a predetermined user operation action is detected, turn on Bluetooth scanning to obtain a scan result, where the scan result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier;
[0019] A search request sending module, configured to send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the maximum first predetermined number of received powers. If the first predetermined number is greater than or equal to two, the search request further carries the arrangement order of each target merchant Bluetooth base station identifier;
[0020] A search result acquisition module, configured to acquire the search results returned by the server. If the first predetermined number is greater than or equal to two, the search results include the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini program.
[0021] A search result display module, configured to display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the respective merchant mini programs in a search list, where the arrangement order of the display identifiers of the merchant mini programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant mini programs are used to jump to the corresponding merchant mini programs when receiving user operations.
[0022] In one embodiment, the mini program search device further includes a target merchant Bluetooth base station identifier determination module, configured to if the maximum received power in the scan result is greater than or equal to a preset power threshold, and the difference between the maximum received power and the second largest received power is greater than a preset difference threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier;
[0023] Or
[0024] Configured to if the maximum received power in the scan result is greater than or equal to a preset power threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0025] In one embodiment, the search result acquisition module is further configured to if the first predetermined number is one, the search results include the interface path of the merchant mini program corresponding to the target merchant Bluetooth base station identifier.
[0026] In one embodiment, in the mini program search device, the predetermined user operation action includes a predetermined gesture action or shaking.
[0027] In one embodiment, the mini program search device further includes a scan result clearing module, configured to clear the merchant Bluetooth base station identifiers in the scan result except for the target merchant Bluetooth base station identifier.
[0028] In a third aspect, the present application further provides a mini program search system, including: a server and each merchant Bluetooth base station, where the signal coverage range of the merchant Bluetooth base station at least includes a partial storefront range of the corresponding merchant;
[0029] The merchant Bluetooth base station is configured to respond to a user terminal Bluetooth scan request, so that the user terminal obtains a scan result, where the scan result includes the merchant Bluetooth base station identifier of the merchant Bluetooth base station and the received power corresponding to the merchant Bluetooth base station identifier;
[0030] The server stores the correspondence between the merchant Bluetooth base station identifier and the display identifier of the merchant mini-program, and receives a search request sent by the user terminal based on the scanning result. The search request carries the target merchant Bluetooth base station identifier, searches for the target merchant Bluetooth base station identifier in the correspondence, and returns the search result to the user terminal, so that the user terminal displays the search result. Among them, if the target merchant Bluetooth base station identifier includes more than two, the display includes: displaying the display identifiers of each merchant mini-program in a search list, and the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the target merchant Bluetooth base station identifiers in the search request.
[0031] In a fourth aspect, the present application further provides a computer device, which includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0032] If a predetermined user operation action is detected, turn on Bluetooth scanning to obtain a scanning result, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier;
[0033] Send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the first predetermined number of the largest received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each target merchant Bluetooth base station identifier;
[0034] Obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program;
[0035] Display the search result. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of each merchant mini-program in a search list, and the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifier of the merchant mini-program is used to jump to the corresponding merchant mini-program when receiving a user operation.
[0036] In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0037] If a predetermined user operation action is detected, turn on Bluetooth scanning to obtain a scanning result, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier;
[0038] Send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers;
[0039] Obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program;
[0040] Display the search result. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of each of the merchant mini-programs in a search list, where the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifier of the merchant mini-program is used to jump to the corresponding merchant mini-program when receiving a user operation.
[0041] In a sixth aspect, the present application further provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0042] If a predetermined user operation action is detected, turn on Bluetooth scanning to obtain a scanning result, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier;
[0043] Send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers;
[0044] Obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program;
[0045] Display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the merchant mini-programs in a search list, where the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant mini-programs are used to jump to the corresponding merchant mini-programs when receiving user operations.
[0046] For the above mini-program search method, device, computer device, storage medium, and computer program product, when the terminal detects a predetermined user operation action, it immediately starts Bluetooth scanning to obtain the merchant Bluetooth base station identifier and the corresponding received power. Send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the selected target merchant Bluetooth base station identifier is the one corresponding to the largest received power among the first predetermined number. When there are multiple target merchant Bluetooth base station identifiers, the search request carries the arrangement order of each target merchant Bluetooth base station identifier. The terminal obtains the search results returned by the server, including the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program. Among them, the arrangement order of the display identifiers of each merchant mini-program is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifier. The higher the arrangement order, the greater the possibility of being the target merchant mini-program. Users can quickly find the merchant mini-program of the target merchant according to the arrangement order of the display identifiers of each merchant mini-program shown in the search list, without the need for users to manually enter the merchant mini-program or wait to scan the QR code. Therefore, the present application can improve the efficiency of users searching for mini-programs. According to the method of the present application, as long as the user enters the range of the target merchant Bluetooth base station, the user can obtain the target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program, and get the search results including the display identifier of the merchant mini-program. As long as the user clicks on the display identifier of the merchant mini-program with a higher arrangement order, it is very likely to open the mini-program of the target merchant. Therefore, users do not need to gather to scan the QR codes of merchant mini-programs. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is an application environment diagram of the mini-program search method in an embodiment;
[0048] Figure 2 It is a flowchart of the mini-program search method in an embodiment;
[0049] Figure 3 It is a schematic diagram of a user terminal displaying the display identifiers of each merchant mini-program in an embodiment;
[0050] Figure 4 It is a structural block diagram of the mini-program search device in an embodiment;
[0051] Figure 5 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0052] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, 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 are not used to limit the present application.
[0053] The mini-program search method provided by the embodiments of the present application can be applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the server 104 through a network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or can be placed in the cloud or on other network servers. First, a merchant has set up a merchant mini-program. In order to enable users to open the merchant mini-program in more forms. The merchant applies to the server 104 corresponding to the application program carried by the mini-program for a Bluetooth base station 106. For the server 104, each Bluetooth base station 106 has a unique Bluetooth base station identifier. The Bluetooth base station identifier is bound to the interface path of the merchant mini-program. The Bluetooth base station 106 is a device for broadcasting Bluetooth signals, and the signal coverage range includes at least part of the merchant's storefront. When the user holds the terminal 102 and enters the vicinity of the merchant, the user can turn on Bluetooth scanning to obtain a scanning result, which includes the merchant Bluetooth base station identifier and the corresponding received power. Among them, the Bluetooth base station identifier is the UUID, the universal device unique identifier, and the received power is the measuredpower, which is the received signal strength when the distance between the terminal and the Bluetooth base station is 1m. The terminal 102 sends a search request to the server 104, and the search request carries the target merchant Bluetooth base station identifier. The server 104 determines the corresponding interface path and display identifier of the merchant mini-program according to the target merchant Bluetooth base station identifier, and returns the determined search result to the terminal 102. Among them, the target merchant Bluetooth base station identifier is the Bluetooth base station identifier bound to the mini-program of the target merchant. The terminal 102 displays the display identifier of the merchant mini-program in the search result as a search list. When the user clicks on the display identifier, the terminal 102 correspondingly jumps to the corresponding merchant mini-program.
[0054] Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0055] In one embodiment, as Figure 2 shown, a mini-program search method is provided. The method is applied toFigure 1 Take the terminal in
[0056] Step 202: If a predetermined user operation action is detected, turn on Bluetooth scanning to obtain a scanning result, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier.
[0057] Among them, the predetermined user operation action is the operation action initiated when the user searches for a small program. The predetermined user operation action includes the user entering the name of the small program in the terminal for query, or opening the scan function to scan a QR code, etc. When the predetermined operation action is detected, the terminal turns on Bluetooth scanning. In one embodiment, the terminal pops up a prompt box of "Whether to turn on Bluetooth scanning" for the user to select. When the user agrees to turn on Bluetooth scanning, the terminal turns on Bluetooth scanning to scan the nearby Bluetooth signals. Here, the Bluetooth signals include ibeacon signals.
[0058] After the Bluetooth scanning is turned on, the terminal can scan the nearby Bluetooth signals, and the nearby Bluetooth signals include the Bluetooth signals of the target merchant. The terminal obtains the corresponding scanning result based on the scanned nearby Bluetooth signals. The scanning result is a parameter of the Bluetooth signal, including the merchant Bluetooth base station identifier and the received power corresponding to the merchant Bluetooth base station identifier. Among them, the Bluetooth base station identifier is the UUID, the Universal Unique Identifier; the received power is the measured power, which is the received signal strength when the distance between the terminal and the Bluetooth base station is 1m (Received Signal Strength Indicator: RSSI). The terminal can calculate the distance between the terminal and the Bluetooth base station according to the reference RSSI and the strength of the received signal. The greater the received power, the closer the terminal is to the Bluetooth base station of the merchant.
[0059] Step 204: Send a search request to the server. The search request carries the target merchant Bluetooth base station identifier, where the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers.
[0060] Among them, after the terminal obtains the scanning result, it will send a search request to the server. The search request is used to upload some of the merchant Bluetooth base station identifiers in the scanning result to the server for query to obtain the interface path of the corresponding merchant small program. The search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the Bluetooth base station identifier bound to the small program of the target merchant.
[0061] The target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of received powers. Among these target merchant Bluetooth base station identifiers, the Bluetooth base station identifier of the target merchant is included. The target merchant refers to the merchant corresponding to the applet that the user currently needs to connect to. The first predetermined number is a natural number. The target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of received powers. It can be understood that when the first predetermined number is n, the target merchant Bluetooth base station identifier carried in the search request is the merchant Bluetooth base station identifier corresponding to the largest n received powers. If the first predetermined number is greater than or equal to two, that is, when there are at least two of the largest received powers, the search request carries the arrangement order of each target merchant Bluetooth base station identifier. The greater the received power, the closer it indicates the distance to the merchant Bluetooth base station. The received power and the merchant Bluetooth base station identifier are corresponding. When there are at least two received powers in the search request, according to the magnitude of the received power, the arrangement order of the target merchant Bluetooth base station identifier is determined. That is, the greater the received power, the more forward the sorting of the corresponding target merchant Bluetooth base station identifier.
[0062] The server locally stores the associated target merchant Bluetooth base station identifier, the interface path of the merchant applet corresponding to the target merchant Bluetooth base station identifier, and the display identifier of the merchant applet. When the server receives a search request, it will query locally according to the target merchant Bluetooth base station identifier carried in the search request to determine the interface path of the merchant applet corresponding to each target merchant Bluetooth base station identifier and the display identifier of the merchant applet.
[0063] Step 206, obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant applet.
[0064] Among them, obtaining the search result returned by the server, the search result depends on the first predetermined number. When the first predetermined number is greater than two, the target merchant Bluetooth base station identifier is correspondingly greater than or equal to two. The search result includes the interface path of the merchant applet associated with each target merchant Bluetooth base station identifier and the display identifier of the merchant applet. After the server determines the search result, it immediately returns the search result to the terminal. Among them, the display identifier of the merchant applet is a mark for displaying the merchant applet, which is convenient for users to visually distinguish and identify each merchant applet. Optionally, the display identifier is an icon in the form of a picture, and the picture in the icon is the merchant logo. Or, the display identifier is an icon in the form of text, and the text in the icon is the merchant name. Or, the display identifier is an icon in the form of a combination of picture and text.
[0065] Step 208: Display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the merchant mini-programs in a search list, where the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant mini-programs are used to jump to the corresponding merchant mini-programs when receiving user operations.
[0066] Among them, when the terminal obtains the search results, it displays the search results on the terminal. When the first predetermined number is greater than or equal to two, during the display, the display identifiers of each merchant mini-program are displayed in the search list, and the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers. Here, the arrangement order of the target merchant Bluetooth base station identifiers is the arrangement order of the target merchant Bluetooth base station identifiers carried in the search request. The display identifiers of the merchant mini-programs guide users to determine the merchants corresponding to the mini-programs visually. When the user clicks on the display identifier of the merchant mini-program ranked at the top according to the display identifiers of each merchant mini-program displayed in the search results, the terminal page jumps from the search results page to the home page of the corresponding merchant mini-program. In one embodiment, the display identifiers of each merchant mini-program are arranged in rows, and one display identifier of a merchant mini-program is displayed in one row. Clicking on the row (including the blank space) where the display identifier of each merchant mini-program is located can jump to the corresponding merchant mini-program. In one embodiment, as Figure 3 shown, each of the merchant mini-programs A, B, C, and D is in a separate row, and clicking on the blank space in its row or the display identifier of the merchant mini-program can both achieve jumping to the merchant mini-program.
[0067] In the above small program search method, when the terminal detects a predetermined user operation action, it starts Bluetooth scanning to obtain the merchant Bluetooth base station identifier and the corresponding received power. It sends a search request to the server. The search request carries the target merchant Bluetooth base station identifier, and the selected target trademark Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the first predetermined number of the largest received powers. When there are multiple target trademark Bluetooth base station identifiers, the search request carries the arrangement order of each target trademark Bluetooth base station identifier, and this arrangement order is determined according to the corresponding received power. The closer to the merchant Bluetooth base station, the higher the received power, the more forward the sorting of the target trademark Bluetooth base station identifier with the highest received power. The target trademark Bluetooth base station identifier with the highest received power is sorted at the very front. The terminal obtains the search result returned by the server, including the associated target trademark Bluetooth base station identifier and the display identifier of the merchant small program. Among them, the arrangement order of the display identifiers of each merchant small program is the same as the arrangement order of the corresponding target trademark Bluetooth base station identifier. The more forward the arrangement order, the greater the possibility of being the target merchant small program. According to the arrangement order of the display identifiers of each merchant small program shown in the search list, the user can quickly find the merchant small program of the target merchant, and no longer needs the user to manually input the merchant small program or wait to scan the QR code. Therefore, this application can improve the efficiency of the user searching for small programs. According to the method of this application, as long as the user enters the range of the target merchant Bluetooth base station, the user can obtain the target merchant Bluetooth base station identifier and the display identifier of the merchant small program, and get the search result containing the display identifier of the merchant small program. As long as the user clicks on the display identifier of the merchant small program with a more forward arrangement order, it is very likely to click on the small program of the target merchant. Therefore, the user does not need to gather to scan the QR code of the merchant small program.
[0068] In one embodiment, after obtaining the scanning result and before sending the search request to the server, it further includes: if the largest received power in the scanning result is greater than or equal to the preset power threshold, and taking the merchant Bluetooth base station identifier corresponding to the largest received power as the target merchant Bluetooth base station identifier.
[0069] Among them, the preset power threshold is the power threshold pre-stored in the terminal, and the preset power threshold can be adjusted at the backend. The preset power threshold is used to determine a very large received power among the received powers in the current scanning result. When the largest received power is greater than or equal to the preset power threshold, it is determined to take the merchant Bluetooth base station identifier corresponding to the largest received power as the target merchant base station identifier.
[0070] In this embodiment, when the largest received power is greater than or equal to the preset power threshold, it indicates that the terminal is very close to the merchant Bluetooth base station, so it is determined to take the merchant Bluetooth base station identifier corresponding to the largest received power as the target merchant Bluetooth base station identifier.
[0071] In one embodiment, after obtaining the scan result and before sending a search request to the server, it further includes: if the maximum received power in the scan result is greater than or equal to a preset power threshold, and the difference between the maximum received power and the second-largest received power is greater than a preset difference threshold, then use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0072] Among them, both the preset power threshold and the preset difference threshold are power thresholds pre-stored in the terminal, and the preset power threshold and the preset difference threshold can be adjusted at the backend. The preset power threshold is used to determine at least one very large received power among the received powers in the current scan result. When there are at least two received powers greater than or equal to the preset power threshold, for each received power greater than or equal to the preset power threshold, calculate the difference between the maximum received power and the second-largest received power among them to obtain the difference between the maximum received power and the second-largest received power. Then compare this difference with the preset difference threshold. When this difference is greater than the preset difference threshold, it is determined to use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant base station identifier.
[0073] In this embodiment, considering that the preset power threshold may be set too low, so when there are multiple received powers greater than or equal to the preset power threshold, and further by setting the preset difference threshold, calculate the difference between the maximum value and the second-largest value among the received powers greater than or equal to the preset power threshold, so as to further determine that the maximum received power is indeed the received power closest to the merchant. And use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0074] In one embodiment, if the first predetermined number is one, the search result includes the interface path of the merchant mini-program corresponding to the target merchant Bluetooth base station identifier.
[0075] Among them, when the first predetermined number is one, the search request only includes one target merchant Bluetooth base station identifier. The search result returned by the server includes the interface path of the merchant mini-program corresponding to the target merchant Bluetooth base station identifier, and the terminal directly jumps to the interface of the corresponding merchant mini-program according to the returned interface path of the merchant mini-program.
[0076] In this embodiment, when the first predetermined number is one, that is, there is only one maximum received power, the search result only contains the interface path of the merchant mini-program corresponding to its corresponding target merchant Bluetooth base station identifier. When the server obtains this search result, it opens the corresponding interface path of the merchant mini-program according to this search result.
[0077] In one embodiment, the predetermined user operation actions include: predetermined gesture actions, or shaking the device.
[0078] Among them, the predetermined gesture actions include different gesture actions capable of somatosensory control. In addition to the predetermined gesture actions, it can also be shaking the device. When the application on the terminal has the shake-to-open function, the user can perform the operation of turning on Bluetooth scanning by shaking the device.
[0079] In this embodiment, the predetermined user operation actions include predetermined gesture actions or shaking the device. Thus, when performing the predetermined gesture actions or shaking the device, the Bluetooth scanning can be turned on, and there is no need for the user to search for the merchant mini-program in the search box.
[0080] In one embodiment, before sending a search request to the server, it further includes: clearing the merchant Bluetooth base station identifiers in the scan results except for the target merchant Bluetooth base station identifier.
[0081] Among them, in order to minimize the memory occupancy of the scan results of the terminal and reduce the display of merchant Bluetooth base station identifiers and corresponding received powers with less reference significance, the merchant Bluetooth base station identifiers in the scan results except for the target merchant Bluetooth base station identifier are cleared, thus effectively ensuring the conciseness of the scan results.
[0082] In this embodiment, by clearing the merchant Bluetooth base station identifiers in the scan results except for the target merchant Bluetooth base station identifier, the scan results presented to the user are made more concise.
[0083] In one embodiment, a mini-program search method includes: if a predetermined user operation action is detected, the predetermined user operation action includes: predetermined gesture actions, or shaking the device; turning on Bluetooth scanning to obtain scan results, and the scan results include merchant Bluetooth base station identifiers and the received powers corresponding to the merchant Bluetooth base station identifiers.
[0084] Sending a search request to the server, the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the first predetermined number of received powers with the largest values. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each target merchant Bluetooth base station identifier;
[0085] Here, the arrangement order of each merchant Bluetooth base station identifier is related to the received power corresponding to the merchant Bluetooth base station identifier. The received power directly reflects the distance between the user terminal and the merchant Bluetooth base station. The closer the distance, the more forward the arrangement order of the merchant Bluetooth base station identifier.
[0086] Obtain the search results returned by the server. If the first predetermined number is greater than or equal to two, the search results include the associated target merchant Bluetooth base station identifier and the display identifier of the merchant applet; if the first predetermined number is one, the search result includes the interface path of the merchant applet corresponding to the target merchant Bluetooth base station identifier.
[0087] Here, if the first predetermined number is greater than or equal to two, the search results include at least two merchant Bluetooth base station identifiers including the target merchant Bluetooth base station identifier and the corresponding display identifier of the merchant applet. If the first predetermined number is one, it means that the search results only contain the target merchant Bluetooth base station identifier and the corresponding interface path of the merchant applet.
[0088] Display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of each merchant applet in the search list, and the arrangement order of the display identifiers of the merchant applets is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers. The display identifier of the merchant applet is used to jump to the corresponding merchant applet when receiving a user operation.
[0089] In this embodiment, when the terminal detects a predetermined user operation action, it turns on Bluetooth scanning to obtain the merchant Bluetooth base station identifier and the corresponding received power. Send a search request to the server. The search request carries the target merchant Bluetooth base station identifier. The selected target trademark Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of received powers. When there are multiple target trademark Bluetooth base station identifiers, the search request carries the arrangement order of each target trademark Bluetooth base station identifier. The terminal obtains the search results returned by the server, including the associated target trademark Bluetooth base station identifier and the display identifier of the merchant applet. Among them, the arrangement order of the display identifiers of each merchant applet is the same as the arrangement order of the corresponding target trademark Bluetooth base station identifier. The more forward the arrangement order, the greater the possibility of being the target merchant applet. Users can quickly find the merchant applet of the target merchant according to the arrangement order of the display identifiers of each merchant applet displayed in the search list, without the need for users to manually enter the merchant applet or wait to scan the QR code. Therefore, this application can improve the efficiency of users searching for applets. According to the method of this application, as long as the user enters the range of the target merchant Bluetooth base station, the target merchant Bluetooth base station identifier and the display identifier of the merchant applet can be obtained, and the search results including the display identifier of the merchant applet can be obtained. As long as the user clicks on the display identifier of the merchant applet with a more forward arrangement order, it is very likely to open the applet of the target merchant. Therefore, users do not need to gather around to scan the QR code of the merchant applet.
[0090] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0091] Based on the same inventive concept, an embodiment of the present application further provides a mini-program search device for implementing the mini-program search method involved above. The implementation solution provided by this device for solving problems is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the mini-program search device provided below can refer to the limitations on the mini-program search method in the above text, and will not be repeated here.
[0092] In one embodiment, as Figure 4 shown, a mini-program search device is provided, including: a scan result acquisition module 401, a search request sending module 402, a search result acquisition module 403, and a search result display module 404, where:
[0093] The scan result acquisition module 401 is configured to, if a predetermined user operation action is detected, start Bluetooth scanning and obtain a scan result, where the scan result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier;
[0094] The search request sending module 402 is configured to send a search request to the server, where the search request carries the target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers;
[0095] The search result acquisition module 403 is configured to obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program;
[0096] The search result display module 404 is used to display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the merchant applets in a search list, where the arrangement order of the display identifiers of the merchant applets is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant applets are used to jump to the corresponding merchant applets when receiving user operations.
[0097] In one embodiment, the applet search device further includes a target merchant Bluetooth base station identifier determination module, which is used to, if the maximum received power in the scan result is greater than or equal to a preset power threshold, and the difference between the maximum received power and the second largest received power is greater than a preset difference threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0098] In one embodiment, the target merchant Bluetooth base station identifier determination module is used to, if the maximum received power in the scan result is greater than or equal to a preset power threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
[0099] In one embodiment, the search result acquisition module is further used to, if the first predetermined number is one, the search result includes the interface path of the merchant applet corresponding to the target merchant Bluetooth base station identifier.
[0100] In one embodiment, in the applet search device, the predetermined user operation action includes a predetermined gesture action or shaking.
[0101] In one embodiment, the applet search device further includes a scan result clearing module, which is used to clear the merchant Bluetooth base station identifiers in the scan result except the target merchant Bluetooth base station identifier.
[0102] Each module in the above applet search device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or independent of it, or stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0103] In one embodiment, a mini-program search system includes: a server and each merchant Bluetooth base station, where the signal coverage range of the merchant Bluetooth base station at least includes a partial store range of the merchant where it is located; the merchant Bluetooth base station is used to respond to a Bluetooth scan request of a user terminal, so that the user terminal obtains a scan result, and the scan result includes a merchant Bluetooth base station identifier of the merchant Bluetooth base station and a received power corresponding to the merchant Bluetooth base station identifier; the server stores the correspondence between the merchant Bluetooth base station identifier and the display identifier of the merchant mini-program, and receives a search request sent by the user terminal based on the scan result, where the search request carries the target merchant Bluetooth base station identifier, searches according to the target merchant Bluetooth base station identifier in the correspondence, and returns the search result to the user terminal, so that the user terminal displays the search result. Among them, if the target merchant Bluetooth base station identifier includes more than two, the display includes: displaying the display identifiers of each merchant mini-program in a search list, and the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the target merchant Bluetooth base station identifiers in the search request.
[0104] Among them, the server corresponds to the application program carried by the merchant mini-program. When the merchant applies for a Bluetooth base station from this server, the Bluetooth base station has a unique Bluetooth base station identifier. For the merchant, the Bluetooth base station is called the merchant Bluetooth base station, and the Bluetooth base station identifier is called the merchant Bluetooth base station identifier. The signal coverage range of the merchant Bluetooth base station at least includes part of the store range of the merchant where it is located. Optionally, the merchant Bluetooth base station can work as long as it is powered on and broadcasts Bluetooth signals. The Bluetooth signal includes the merchant Bluetooth base station identifier and the corresponding received power. When the user holds the terminal and enters the signal coverage range, the Bluetooth scan that is turned on can scan the Bluetooth signal (such as ibeacon signal) of this merchant. When the user is near a location where the signal coverage ranges of multiple merchant Bluetooth base stations have been entered, the user terminal obtains a scan result including the identifiers of each merchant Bluetooth base station and the corresponding received power. There may be at least two merchant Bluetooth base station identifiers scanned by the user terminal. At this time, in order to streamline the number of display identifiers of the merchant mini-programs in the search list to be displayed by the user terminal, the user terminal needs to trim the scanned merchant Bluetooth base station identifiers, and determine several of the scanned merchant Bluetooth base station identifiers as the target merchant Bluetooth base station identifiers in the search request sent to the server. The server pre-stores the corresponding relationship between the merchant Bluetooth base station identifier, the interface path of the merchant mini-program, and the display identifier of the merchant mini-program. When the server receives the search request sent by the user terminal based on the scan result, since the search request carries the target merchant Bluetooth base station identifier, the server can, according to the target merchant Bluetooth base station identifier in the search request, find the corresponding display identifier and interface path of the merchant mini-program in the corresponding relationship. When there are more than two target merchant Bluetooth base station identifiers, the display identifiers of each merchant mini-program are displayed in the search list, and the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the target merchant Bluetooth base station identifiers in the search request.
[0105] In this embodiment, when the terminal detects a predetermined user operation action, it immediately turns on Bluetooth scanning to obtain the merchant Bluetooth base station identifier and the corresponding received power. It sends a search request to the server. The search request carries the target merchant Bluetooth base station identifier, and the selected target merchant Bluetooth base station identifier is the one corresponding to the largest first predetermined number of received powers. When there are multiple target merchant Bluetooth base station identifiers, the search request carries the arrangement order of each target merchant Bluetooth base station identifier. The terminal obtains the search result returned by the server, including the associated target merchant Bluetooth base station identifier and the display identifier of the merchant applet. Among them, the arrangement order of the display identifiers of each merchant applet is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifier. The higher the arrangement order, the greater the possibility of being the target merchant applet. Based on the arrangement order of the display identifiers of each merchant applet shown in the search list, the user can quickly find the merchant applet of the target merchant, and no longer needs the user to manually enter the merchant applet or wait to scan the QR code. Therefore, this application can improve the efficiency of the user searching for the applet. According to the method of this application, as long as the user enters the range of the target merchant Bluetooth base station, the user can obtain the target merchant Bluetooth base station identifier and the display identifier of the merchant applet, and get the search result containing the display identifier of the merchant applet. As long as the user clicks on the display identifier of the merchant applet with a higher arrangement order, it is very likely to open the applet of the target merchant. Therefore, the user does not need to gather to scan the QR code of the merchant applet.
[0106] In one embodiment, there are two or more of the merchant Bluetooth base stations set within the storefront range of the merchant in the applet search system.
[0107] Among them, in order to further improve the positioning accuracy, two or more merchant Bluetooth base stations can be set within the storefront range of the merchant. For example, three merchant Bluetooth base stations are set within the storefront range, and the placement positions of the three merchant Bluetooth base stations form a triangle. When the merchant sets two or more merchant Bluetooth base stations, each merchant Bluetooth base station has a unique merchant Bluetooth base station identifier, and each merchant Bluetooth base station identifier is bound to the interface path of the merchant applet. Optionally, when the user terminal scans and obtains multiple merchant Bluetooth base station identifiers of the merchant, it sends the multiple merchant Bluetooth base station identifiers to the server, and the server will determine the interface path corresponding to the same merchant applet based on these merchant Bluetooth base station identifiers and display multiple display identifiers of the merchant applet in the search list.
[0108] In this embodiment, by setting multiple merchant Bluetooth base stations within the storefront range of the merchant, the probability of the target merchant being recommended can be further increased.
[0109] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 5As shown in the figure. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used 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 an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a small program search method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0110] Those skilled in the art can understand that Figure 5 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0111] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0112] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0113] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0114] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc., such as the Bluetooth base station identifier of the target merchant carried in the search request, the arrangement order of the Bluetooth base station identifiers of the target merchant, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties.
[0115] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments 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. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0116] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0117] The above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A mini-program search method, characterized in that, The method includes: If a predetermined user operation action is detected, start Bluetooth scanning to obtain a scanning result, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier; Send a search request to the server, where the search request carries a target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers; Obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program; Display the search result. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of each of the merchant mini-programs in a search list, where the arrangement order of the display identifiers of the merchant mini-programs is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifier of the merchant mini-program is used to jump to the corresponding merchant mini-program when receiving a user operation.
2. The method according to claim 1, characterized in that, Before sending a search request to the server after obtaining the scanning result, it further includes: If the largest received power in the scanning result is greater than or equal to a preset power threshold, and the difference between the largest received power and the second largest received power is greater than a preset difference threshold, and use the merchant Bluetooth base station identifier corresponding to the largest received power as the target merchant Bluetooth base station identifier; Or If the largest received power in the scanning result is greater than or equal to a preset power threshold, and use the merchant Bluetooth base station identifier corresponding to the largest received power as the target merchant Bluetooth base station identifier.
3. The method according to claim 1, characterized in that, If the first predetermined number is one, the search result includes the interface path of the merchant mini-program corresponding to the target merchant Bluetooth base station identifier.
4. The method according to claim 1, characterized in that, The predetermined user operation action includes: a predetermined gesture action, or shaking the device.
5. The method according to claim 1, characterized in that, Before sending a search request to the server, it further includes: clearing the merchant Bluetooth base station identifiers in the scanning result except for the target merchant Bluetooth base station identifier.
6. A mini-program search device, characterized in that, The device includes: A scanning result acquisition module, configured to start Bluetooth scanning to obtain a scanning result if a predetermined user operation action is detected, where the scanning result includes a merchant Bluetooth base station identifier and a received power corresponding to the merchant Bluetooth base station identifier; A search request sending module, configured to send a search request to the server, where the search request carries a target merchant Bluetooth base station identifier, and the target merchant Bluetooth base station identifier is the merchant Bluetooth base station identifier corresponding to the largest first predetermined number of the received powers. If the first predetermined number is greater than or equal to two, the search request also carries the arrangement order of each of the target merchant Bluetooth base station identifiers; A search result acquisition module, configured to obtain the search result returned by the server. If the first predetermined number is greater than or equal to two, the search result includes the associated target merchant Bluetooth base station identifier and the display identifier of the merchant mini-program; A search result display module, configured to display the search results. If the first predetermined number is greater than or equal to two, the display includes: displaying the display identifiers of the merchant applets in a search list, where the arrangement order of the display identifiers of the merchant applets is the same as the arrangement order of the corresponding target merchant Bluetooth base station identifiers, and the display identifiers of the merchant applets are used to jump to the corresponding merchant applets when receiving a user operation.
7. The device according to claim 6, characterized in that, It further includes a target merchant Bluetooth base station identifier determination module, configured to, if the maximum received power in the scan result is greater than or equal to a preset power threshold, and the difference between the maximum received power and the second largest received power is greater than a preset difference threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier; Or configured to, if the maximum received power in the scan result is greater than or equal to a preset power threshold, and use the merchant Bluetooth base station identifier corresponding to the maximum received power as the target merchant Bluetooth base station identifier.
8. The device according to claim 6, characterized in that, The search result acquisition module is further configured to, if the first predetermined number is one, the search result includes the interface path of the merchant applet corresponding to the target merchant Bluetooth base station identifier.
9. The device according to claim 6, characterized in that, The predetermined user operation actions include predetermined gesture actions or shaking the device.
10. The device according to claim 6, characterized in that, It further includes a scan result clearing module, configured to clear the merchant Bluetooth base station identifiers in the scan result except for the target merchant Bluetooth base station identifier.
11. A mini-program search system, characterized in that, It includes: A server and each merchant Bluetooth base station, where the signal coverage range of the merchant Bluetooth base station at least includes a part of the store range of the corresponding merchant; The merchant Bluetooth base station is configured to respond to a user terminal Bluetooth scan request, so that the user terminal obtains a scan result, where the scan result includes the merchant Bluetooth base station identifier of the merchant Bluetooth base station and the received power corresponding to the merchant Bluetooth base station identifier; The server stores the correspondence between the merchant Bluetooth base station identifier and the display identifier of the merchant applet, and receives a search request sent by the user terminal based on the scan result, where the search request carries the target merchant Bluetooth base station identifier, searches according to the target merchant Bluetooth base station identifier in the correspondence, and returns the search result to the user terminal, so that the user terminal displays the search result. Among them, if the target merchant Bluetooth base station identifier includes more than two, the display includes: displaying the display identifiers of the merchant applets in a search list, where the arrangement order of the display identifiers of the merchant applets is the same as the arrangement order of the target merchant Bluetooth base station identifiers in the search request.
12. The system according to claim 11, characterized in that, There are more than two of the merchant Bluetooth base stations arranged within the store range of the merchant.
13. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
14. 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 according to any one of claims 1 to 5.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment network access method based on Bluetooth Mesh network and device thereof and storage medium
CN111641996A
User information determination method, device, equipment and computer readable storage medium
CN112073956A