CN109699019B - Broadcast scanning method, device, electronic equipment and storage medium - Google Patents

Broadcast scanning method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109699019B
CN109699019B CN201910105812.5A CN201910105812A CN109699019B CN 109699019 B CN109699019 B CN 109699019B CN 201910105812 A CN201910105812 A CN 201910105812A CN 109699019 B CN109699019 B CN 109699019B
Authority
CN
China
Prior art keywords
scanning
parameter
broadcast message
merchant
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910105812.5A
Other languages
Chinese (zh)
Other versions
CN109699019A (en
Inventor
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910105812.5A priority Critical patent/CN109699019B/en
Publication of CN109699019A publication Critical patent/CN109699019A/en
Application granted granted Critical
Publication of CN109699019B publication Critical patent/CN109699019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a broadcast scanning method, a broadcast scanning device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method comprises the following steps: in the process that the user equipment scans the broadcast message sent by the merchant equipment by using the first scanning parameter, when the parameter updating instruction sent by the server is obtained, the user equipment stops scanning the broadcast message, obtains the updating data carried in the parameter updating instruction, adjusts the first scanning parameter based on the updating data, obtains the second scanning parameter, and scans the broadcast message sent by the merchant equipment again by using the second scanning parameter. According to the broadcast scanning method, the broadcast scanning device, the electronic equipment and the storage medium, in the process of scanning the broadcast message sent by the merchant equipment, the update data sent by the server is dynamically acquired, and the scanning parameters are adjusted based on the update data, so that the scanning parameters of the user equipment are dynamically updated, and the user experience is improved.

Description

Broadcast scanning method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a broadcast scanning method and apparatus, an electronic device, and a storage medium.
Background
With the development of science and technology, the payment technology is rapidly developed, and great convenience is brought to the life of people. At present, when off-line payment is carried out through electronic equipment, a user is often required to scan a two-dimensional code of a merchant through the electronic equipment or display the two-dimensional code through the electronic equipment for scanning of the merchant, the payment process is complex, and the user experience is poor.
Disclosure of Invention
In view of the above problems, the present application provides a broadcast scanning method, apparatus, electronic device and storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a broadcast scanning method, where the method includes: in the process that user equipment scans broadcast messages sent by merchant equipment by using first scanning parameters, when a parameter updating instruction sent by a server is acquired, the user equipment stops scanning the broadcast messages; acquiring updating data carried in the parameter updating instruction; adjusting the first scanning parameters based on the updating data to obtain second scanning parameters; and scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter.
In a second aspect, an embodiment of the present application provides a broadcast scanning apparatus, including: the stopping module is used for stopping scanning the broadcast message when the user equipment acquires a parameter updating instruction sent by the server in the process of scanning the broadcast message sent by the merchant equipment by using the first scanning parameter; the acquisition module is used for acquiring the update data carried in the parameter update instruction; an adjustment module for adjusting the first scanning parameter based on the update data; and the scanning module is used for scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory; one or more processors coupled with the memory; one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the above-described methods.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the broadcast scanning method, the broadcast scanning device, the electronic device and the storage medium provided by the embodiment of the application, in the process of scanning the broadcast message sent by the merchant device by using the first scanning parameter, when the parameter updating instruction sent by the server is acquired, the broadcast message is stopped to be scanned, the updating data carried in the parameter updating instruction is acquired, the first scanning parameter is adjusted based on the updating data, the second scanning parameter is acquired, the broadcast message sent by the merchant device is scanned again by using the second scanning parameter, so that the updating data sent by the server is dynamically acquired in the process of scanning the broadcast message sent by the merchant device, the scanning parameter is adjusted based on the updating data, the scanning parameter of the user device is dynamically updated, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an authentication system of a broadcast scanning method provided in an embodiment of the present application;
FIG. 2 illustrates a schematic diagram of payment verification provided by embodiments of the present application;
fig. 3 shows a schematic diagram of access control verification provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an application environment that can be used for the broadcast scanning method provided by the embodiment of the present application;
fig. 5 is a flowchart illustrating a broadcast scanning method according to an embodiment of the present application;
fig. 6 is a flow chart illustrating a broadcast scanning method according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a broadcast scanning method according to still another embodiment of the present application;
fig. 8 shows a block diagram of a broadcast scanning apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of a mobile device for executing a broadcast scanning method according to an embodiment of the present application;
fig. 10 illustrates a storage unit for storing or carrying program codes for implementing a broadcast scanning method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, with the development of the development technologies of wireless communication technologies such as Bluetooth Low Energy (BLE) and Wi-Fi Aware, applications based on the above wireless communication technologies are increasing, for example, an offline payment scene based on a Beacon (Beacon) and an access control application scene based on Beacon. In these application scenarios, the user does not need to scan the two-dimensional code, perform a corresponding touch operation through an interface of an application program, or align a scanning device with a mobile phone, and the like, and only needs to locate the electronic device in a radiation range of broadcast information of a broadcasting device (e.g., a payment device, a gate, and the like), and then perform related identity information verification (e.g., face information verification, fingerprint information verification, and the like) to realize offline payment, access control opening, and the like, which is very convenient for the user to use, and thus is popular with the user. In the above-mentioned application scenarios such as the payment scenario and the access control scenario based on the wireless communication technology, a broadcast device (e.g., a payment device, a merchant device, etc.) may send a broadcast message, and a terminal around the broadcast device scans the broadcast message, so that after receiving the broadcast message, the terminal may perform corresponding operations according to the broadcast message, thereby completing off-line payment, opening access control, etc.
Referring to fig. 1, the system shown in fig. 1 includes a user device 100, a merchant device 200, and a server 300. The user device 100 may be a mobile phone or a tablet computer, and an account pre-bound by a user is stored in the electronic device. The merchant device 200 is configured to collect authentication information of a user and transmit the authentication information to the server 300, and the server 300 is configured to complete a verification operation according to the received authentication information.
During the operation of the system, the merchant device 200 may send the broadcast message in the set wireless communication mode, where the dashed circle around the merchant device 200 in fig. 1 represents the coverage of the broadcast message sent by the merchant device. Optionally, the wireless communication mode includes a bluetooth BLE mode or a Wi-Fi Aware mode. Accordingly, the user equipment 100 may search for nearby wireless signals in a set wireless communication mode, so that when the user equipment 100 comes within the range of the dotted circle shown in fig. 1, the broadcast message sent by the merchant equipment 200 may be received.
As one way, after the user equipment 100 may receive the broadcast message sent by the merchant equipment 200, the user equipment 100 may establish a wireless connection with the merchant equipment 200 based on a currently adopted wireless communication mode, and after the wireless connection is established, the user equipment 100 may obtain, from data stored in the merchant equipment, an equipment identifier that uniquely identifies the merchant equipment. As another way, in order to reduce the power consumption of the user equipment 100, the merchant equipment 200 may carry its own equipment identifier in the broadcast message sent by itself, so that after receiving the broadcast message sent by the merchant equipment 200, the user equipment 100 may obtain the equipment identifier of the merchant equipment 200 that sends the broadcast message from the broadcast message 200.
Optionally, after acquiring the device identifier of the merchant device 200, the user device 100 may send the acquired device identifier and the account stored in itself to the server 300 through the base station 310 and the gateway 311 of the mobile communication network. Furthermore, the user device 100 may also send the acquired device identifier and the account number stored by the user device to the server 300 through the wireless hotspot 320. When the server 300 receives the device identifier and the account sent by the user device 100, the device identifier and the account are bound, so as to represent that the user of the account is near the merchant device to which the device identifier belongs. Furthermore, after the merchant device 200 sends the collected authentication information to the server 300 in the verification process, the server 300 may complete the verification operation of the account when the account corresponding to the verification authentication information is bound to the device identifier of the merchant device.
Specifically, taking payment verification as an example, as shown in fig. 2, since the user device 100 may obtain the device identifier of the merchant device 200 through a broadcast message sent by the merchant device 200, the user device 100 may complete the binding operation between the payment account and the device identifier of the merchant device 200 without the need for the user to operate the electronic device (for example, the electronic device may be placed in a pants pocket all the time in the drawing). In the payment process, after the user only needs to collect the authentication information at the merchant device 200, the merchant device 200 can send the collected authentication information to the server 300 to complete the payment, and further the user does not need to operate the electronic device, so that the user does not need to manually perform the payment operation in the whole process.
Taking entrance guard verification as an example, as shown in fig. 3, since the user device 100 may obtain the device identifier of the merchant device 200 through the broadcast message sent by the merchant device 200, the user device 100 may complete uploading verification of the user account and the device identifier of the merchant device 200 without operating the electronic device by the user (for example, the electronic device may be placed in a pants pocket all the time in the drawing). In the access control verification process, after the user only needs to collect the authentication information at the merchant device 200, the merchant device 200 can send the collected authentication information to the server 300 to complete matching verification, and further the user does not need to operate the electronic device, so that the user does not need to manually perform access control verification operation in the whole process.
However, with the rapid development of the bluetooth low energy BLE and WiFi Aware based technologies, the types and the number of merchant devices based on the bluetooth low energy BLE technology or the WiFi Aware technology are increasing, and accordingly, the user device may receive broadcast messages sent by a plurality of merchant devices all the time, so that the user device receives a large number of data packets, and frequently wakes up a communication unit of the user device, which results in the increase of power consumption and spam of the user device. The inventor has found through long-time research that if the scanning parameters are not set, the user equipment receives all nearby broadcast data packets, frequently wakes up the communication unit, has high power consumption and more invalid data packets, and if the scanning parameters are set, although some data packets which are not interested by the user can be filtered, the scanning parameters are fixed and difficult to upgrade.
In view of the above problems, the inventor proposes a broadcast scanning method, a broadcast scanning device, an electronic device, and a storage medium provided in the embodiments of the present application, and dynamically obtains update data sent by a server in a process of scanning a broadcast message sent by a merchant device, and adjusts a scanning parameter based on the update data, so as to implement dynamic update of a scanning parameter of a user device, and improve user experience. The specific broadcast scanning method is described in detail in the following embodiments.
The following description will be made with respect to an application environment that can be used for the broadcast scanning method provided by the embodiment of the present application.
Referring to fig. 4, a schematic diagram of an application environment of a broadcast scanning method according to an embodiment of the present application is shown, where the application scenario includes a user device 100, a merchant device 200, a merchant server 310, and a user server 320. The user device 100 and the merchant device 200 may communicate through wireless communication technologies such as BLE and Wi-Fi Aware, the user device 100 is respectively connected to the merchant server 310 and the user server 320 through a network, and the merchant device 200 is connected to the merchant server 310 through a network. The user device 100, the merchant server 310 and the user server 320 may be connected in a wireless connection manner, for example, a mobile network data connection such as 2G, 3G, 4G, or a WiFi connection, and the merchant device 200 and the merchant server 310 are connected in a wired manner or a wireless manner.
Examples
Referring to fig. 5, fig. 5 is a flowchart illustrating a broadcast scanning method according to an embodiment of the present disclosure. The broadcast scanning method is used for dynamically acquiring the updating data sent by the server in the process of scanning the broadcast message sent by the merchant equipment and adjusting the scanning parameters based on the updating data so as to realize the dynamic updating of the scanning parameters of the user equipment and improve the user experience. In a specific embodiment, the broadcast scanning method is applied to the broadcast scanning apparatus 500 shown in fig. 8 and the user equipment 100 (fig. 9) configured with the broadcast scanning apparatus 500. The following will describe a specific process of the embodiment by taking an electronic device as an example, and it is understood that the electronic device applied in the embodiment may be a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited specifically herein. As will be described in detail with respect to the flow shown in fig. 5, the broadcast scanning method may specifically include the following steps:
step S110: in the process of scanning the broadcast message sent by the merchant equipment by the user equipment according to the first scanning parameter, when a parameter updating instruction sent by the server is acquired, the user equipment stops scanning the broadcast message.
In this embodiment, the merchant device may send out the broadcast message based on the Bluetooth Low Energy (BLE) mode or based on the WiFi Aware mode. Taking the bluetooth low energy BLE as an example, the merchant device may carry a device identifier uniquely identifying the merchant device in a specific field of the transmitted data packet during the process of transmitting the broadcast message in the bluetooth BLE mode, and it can be understood that the device identifier may be added to a header, a suffix, a word, or the like of the specific field, which is not limited herein.
Correspondingly, the electronic device may also scan the broadcast message based on the bluetooth low energy BLE mode or the WiFi Aware mode, so as to scan and receive the broadcast message sent by the merchant device through the bluetooth low energy BLE, or receive the broadcast message sent by the merchant device through the WiFi Aware, so that the electronic device may obtain the carried device identifier of the merchant device from the received broadcast message. For example, if the electronic device scans the broadcast message through the bluetooth low energy BLE mode and scans the broadcast message sent by the merchant device based on the bluetooth low energy BLE mode, the data packet corresponding to the broadcast message may be analyzed to obtain the device identifier carried in the data packet.
It should be noted that, if the merchant device sends the broadcast message in the Wi-Fi Aware mode, the merchant device may also broadcast its device identifier in a similar manner, and accordingly, the electronic device may also obtain the device identifier of the merchant device in a similar manner, which is not described herein again.
Further, in order to avoid that the device identifier sent by the merchant device is intercepted by other illegal devices, as a way, the merchant device may encrypt the device identifier in the process of generating the data packet of the broadcast message, so that even if other illegal devices may obtain the broadcast message by an illegal means, only the encrypted device identifier may be obtained, that is, the device identifier may not be directly obtained, thereby improving the security of the merchant device.
In addition, in one case, after other illegal users break the format of the data packet of the broadcast message sent by the merchant device, the other illegal electronic devices with access servers can simulate the merchant device to send the broadcast message, so that even if the users are not in the coverage range of the wireless signal of the legal merchant device at present, the illegal electronic devices can still send the user identification of the users and the device identification of certain merchant device to the server to indicate the server to verify, and the merchant device is started when the verification is successful, thereby causing potential safety hazards to the users.
As a way to improve the above problem, in the process of generating the broadcast message, the merchant device may add a specific field in the data packet of the broadcast message to store a specific identifier, where the specific identifier is used to identify whether the broadcast message is sent by a legitimate merchant device. In this way, when the electronic device receives the broadcast message, it identifies whether there is a designated identifier in the received broadcast message; and if the received broadcast message is identified to have the specified identifier, determining the received broadcast message as the broadcast message sent by the merchant equipment, and acquiring the equipment identifier of the merchant equipment from the broadcast message sent by the merchant equipment.
Moreover, the specified identification can be dynamically updated, so that the safety of the broadcast message is further improved. For example, the server may store the respective assigned identifications corresponding to each merchant device, and may periodically update the stored assigned identifications of each merchant device, and when the server updates the assigned identification of a certain merchant device, the server pushes the updated assigned identification to the corresponding merchant device, so that the merchant device writes the updated assigned identification into the generated broadcast message. Correspondingly, after the electronic device receives the broadcast message, the analyzed designated identifier is sent to the server for verification, and the device identifier of the merchant device carried in the received broadcast message is used as the device identifier sent by the legal merchant device only when the verification returned by the server is received and passed.
It should be noted that, in the case that the specified identifier included in the broadcast message may be configured fixedly and updated dynamically, as a manner, the electronic device may determine, according to the format of the parsed specified identifier, whether the specified identifier in the currently received broadcast message is configured fixedly or updated dynamically, and further determine a subsequent verification manner according to the determined configuration manner of the specified identifier. For example, a fixed configuration of assigned tags may be set to begin with the character "G" and a dynamic configuration of assigned tags may be set to begin with the character "D", and the electronic device may determine its configuration based on the first character of the assigned tags parsed from the broadcast message. In addition, different merchant devices may be identified by different specified identifiers, for example, G1, G2, G3., and of course, different merchant devices may also be identified by the same specified identifier, for example, all legitimate merchant devices are identified by G0, which is not limited herein.
Specifically, the electronic device may directly verify, by the electronic device, whether the format of the parsed specified identifier conforms to the specified rule when it is determined that the specified identifier is in the fixed configuration, and when it is determined that the specified identifier is in the dynamic configuration, the electronic device may send the specified identifier to the server, so that the server performs verification according to the newly configured specified identifier. By the method, even under the condition that the configuration modes of the appointed identifiers in the broadcast messages sent by different merchant equipment are different, the electronic equipment can be flexibly adapted, and the adaptation capability between the electronic equipment and the different merchant equipment is further improved.
In addition, the user equipment sets and stores scanning parameters in advance, which are recorded as first scanning parameters, and then after the broadcast scanning service of the electronic equipment is started, the broadcast scanning service scans the broadcast message sent by the merchant equipment based on the first scanning parameters, where the first scanning parameters include a first scanning time interval, a first cache mechanism, a first control switch, a first scanning device, and the like, and are not limited herein. For example, the first scanning parameter includes a first scanning time interval, and the first scanning time interval is 10S, the user equipment may scan the broadcast message sent by the merchant equipment every 10S; for another example, the first scanning parameter includes scanning broadcast messages sent by the merchant device a, the merchant device B, and the merchant device C, and the user device may simultaneously scan broadcast messages sent by the merchant device a, the merchant device B, and the merchant device C.
As a mode, the user equipment monitors instruction information sent by the server in real time in a process of scanning a broadcast message sent by the merchant equipment, where the server may include the user equipment corresponding to the user equipment, and may also include the merchant equipment corresponding to the merchant equipment. In this embodiment, when instruction information sent by a server is detected, the instruction information is identified to determine whether the instruction information is a parameter update instruction, as an implementable manner, whether character information used for representing parameter update is included in the instruction information may be determined, and when the instruction information includes the character information, the instruction information may be determined to be the parameter update instruction; as another practical manner, a transmission channel of the instruction information may be identified, and when the transmission channel of the instruction information is a channel for transmitting update instruction information, it may be determined that the instruction information is a parameter update instruction. Of course, in this embodiment, it may also be determined whether the instruction information is the update instruction information through other manners, which is not described herein again.
In this embodiment, when the determination result indicates that the user equipment receives the parameter update instruction sent by the server, the user equipment stops scanning the broadcast message sent by the merchant equipment in response to wait for the user equipment to update the scanning parameter. For example, the ue may turn off its scanning service to stop scanning for broadcast messages when receiving a parameter update instruction sent by the server.
Step S120: and acquiring the updating data carried in the parameter updating instruction.
After the user equipment obtains the parameter updating instruction, the user equipment can analyze the parameter updating instruction to obtain the updating data carried in the parameter updating instruction. The update data may include, but is not limited to, an update of a scan time interval, an update of a buffer duration, an update of a switch control, and the like.
Step S130: and adjusting the first scanning parameters based on the updating data to obtain second scanning parameters.
As one approach, after determining the update data, the first scan parameter may be dynamically adjusted based on the update data to obtain the second scan parameter. For example, the first scanning parameter includes a scanning time interval, and the scanning time interval is 10S, when the received update data includes "5S scan time interval is extended", the first scanning parameter may be adjusted based on the update data, that is, 5S time is added on the basis of the 10S scanning time interval, and a second scanning parameter is obtained, that is, the scanning time interval is 15S. In this embodiment, the first scanning parameter and the second scanning parameter may be the same or different, and optionally, the second scanning parameter is different from the first scanning parameter.
Step S140: and scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter.
Further, after obtaining the second scanning parameter, the user device may scan the broadcast message sent by the merchant device again with the second scanning parameter. For example, after the second scanning parameter is obtained, the user equipment starts the scanning service again, and scans the broadcast message sent by the merchant equipment based on the second scanning parameter, so that the dynamic adjustment of the scanning parameter of the user equipment is realized, and the user experience is improved.
In the broadcast scanning method provided in an embodiment of the present application, in a process of scanning a broadcast message sent by a merchant device with a first scanning parameter, when a parameter update instruction sent by a server is obtained, scanning of the broadcast message is stopped, update data carried in the parameter update instruction is obtained, the first scanning parameter is adjusted based on the update data, a second scanning parameter is obtained, and the broadcast message sent by the merchant device is scanned again with the second scanning parameter, so that in the process of scanning the broadcast message sent by the merchant device, update data sent by the server is dynamically obtained, and the scanning parameter is adjusted based on the update data, so that dynamic update of the scanning parameter of the user device is realized, and user experience is improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a broadcast scanning method according to another embodiment of the present application. The method is applied to the electronic device, where the electronic device is installed with an application plug-in corresponding to a merchant device, and as will be described in detail with reference to the flow shown in fig. 6, the broadcast scanning method may specifically include the following steps:
step S210: when the user equipment receives the configuration information which is sent by the merchant server and carries the parameter updating instruction in the process of scanning the broadcast message sent by the merchant equipment by the first scanning parameter, the application plug-in sends the configuration information to the scanning service of the user equipment through updating and broadcasting, and stops scanning the broadcast message.
As an implementable manner, the user equipment may have installed therein an application plug-in SDK integrated with an application corresponding to the merchant device, so that the user equipment may communicate with the merchant server through the SDK and receive information sent by the merchant server. Specifically, in this embodiment, the merchant server sends the data to be updated to the reporting service integrating the SDK of the merchant in the form of the configuration message, and then the reporting service sends the configuration information to the scanning service of the user equipment through the update broadcast, and the scanning service analyzes the configuration information (update broadcast message) uploaded by the reporting service to obtain the update data carried in the configuration information.
Step S220: and analyzing the configuration information to obtain the updating data carried in the configuration information.
Step S230: when the updating data includes deleting the first commercial tenant equipment, shielding and scanning the broadcast message sent by the first commercial tenant equipment in the first scanning parameter to obtain the second scanning parameter.
In this embodiment, the merchant server may write the merchant device that needs to be added or deleted into the update data to instruct the user device to perform corresponding processing. Specifically, when the merchant server intends to instruct the user equipment not to scan the broadcast message sent by the first merchant equipment, then the merchant server may write and delete the first merchant equipment in the update data, and send the update data to the user equipment in the form of the configuration message, then, when the user equipment analyzes the configuration message to obtain the update data of "deleting the first merchant equipment", the broadcast message sent by the first merchant equipment may be shielded and scanned in the first scanning parameter based on the update data to obtain the second scanning parameter, thereby implementing dynamic adjustment of the scanned merchant equipment.
For example, the first scanning parameter includes a broadcast message sent by scanning merchant device a, merchant device B, and merchant device C, and the update data includes "delete merchant device a", then adjusting the first scanning parameter based on the update data may obtain a second scanning parameter for scanning merchant device B and scanning merchant device C. Therefore, if some merchant devices are damaged or started, the user device screen can scan the broadcast messages sent by the merchant devices in the above mode, and the junk data packets received by the user device are reduced.
Step S240: when the update data includes adding a second merchant device, newly adding and scanning a broadcast message sent by the second merchant device in the first scanning parameter to obtain the second scanning parameter.
In addition, when the merchant server intends to instruct the user equipment to add and scan the broadcast message sent by the second merchant equipment, then, the merchant server may write the added second merchant equipment in the update data, and send the update data to the user equipment in the form of the configuration message, then, when the user equipment analyzes the configuration message to obtain the update data of "adding the second merchant equipment", the broadcast message sent by the second merchant equipment may be added and scanned in the first scanning parameter based on the update data to obtain the second scanning parameter, thereby implementing dynamic adjustment of the scanned merchant equipment.
For example, the first scanning parameter includes a broadcast message sent by scanning merchant device a, merchant device B, and merchant device C, and the update data includes "add merchant device D", then adjusting the first scanning parameter based on the update data may obtain second scanning parameters of scanning merchant device, scanning merchant device B, scanning merchant device C, and scanning merchant device D. Therefore, if some merchant devices are newly added, the user device can add and scan the broadcast messages sent by the user device in the above manner, so as to realize dynamic addition and scanning of the merchant devices.
Step S250: and writing the second scanning parameters into a configuration file.
Further, after determining the second scan parameter, the second scan parameter may be written to the configuration file. The configuration file is used for storing the updating data provided by the merchant server and the scanning parameters generated based on the updating data, and can be stored under the data partition.
Step S260: and scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter.
As one approach, after the second scanning parameter is written into the configuration file, the scanning service may parse the configuration file, reset the scanning filter based on the scanning parameter identified from the configuration file, and scan the broadcast message sent by the merchant device based on the second scanning parameter in the configuration file.
In a broadcast scanning method provided by another embodiment of the present application, in a process of scanning a broadcast message sent by a merchant device by using a first scanning parameter, when an application plug-in corresponding to the merchant device receives configuration information carrying a parameter update instruction sent by a merchant server, the configuration information is sent to a scanning service of the user device by update broadcasting, and scanning of the broadcast message is stopped, and the configuration information is analyzed, so as to obtain update data carried in the configuration information. When the updating data comprises deleting the first commercial tenant equipment, shielding and scanning the broadcast message sent by the first commercial tenant equipment in the first scanning parameter to obtain a second scanning parameter, when the updating data comprises adding the second commercial tenant equipment, newly scanning the broadcast message sent by the second commercial tenant equipment in the first scanning parameter to obtain the second scanning parameter, writing the second scanning parameter into the configuration file, and scanning the broadcast message sent by the commercial tenant equipment again by using the second scanning parameter. Compared with the broadcast scanning method shown in fig. 2, the embodiment can receive the configuration information sent by the merchant server to perform dynamic configuration on the scanning parameters of the user equipment, thereby improving user experience.
Referring to fig. 7, fig. 7 is a flowchart illustrating a broadcast scanning method according to still another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 7, where the broadcast scanning method may specifically include the following steps:
step S310: when receiving a configuration file which is sent by the user server and carries the parameter updating instruction, the user equipment sends the configuration file to a scanning service of the user equipment through updating broadcast in the process of scanning a broadcast message sent by merchant equipment by using a first scanning parameter, and stops scanning the broadcast message.
As an implementable manner, the ue may be in communication connection with a corresponding ue, and receive a configuration file sent by the ue and carrying a parameter update instruction. Specifically, when the user equipment receives a configuration file sent by a user server, the configuration file may be sent to a scanning service of the user equipment through an update broadcast, and the scanning service analyzes the configuration file (update broadcast message) to obtain update data carried in the configuration file. Wherein the configuration file may be stored under a data partition, such as/data/beacon scanner/beacon-config.
Step S320: and analyzing the configuration file to obtain the updating data carried in the configuration file.
Step S330: when the update data comprises frequency data, adjusting the scanning frequency based on the frequency data to obtain the second scanning parameter.
In this embodiment, the first scanning parameter includes a scanning frequency of the broadcast message by the user equipment. The user server may adjust the scanning frequency. Specifically, when the user server intends to instruct the user equipment to adjust the scanning frequency, the user server may write "adjust the scanning frequency" in the update data, for example, write "accelerate the scanning frequency" and send the "accelerate the scanning frequency" to the user equipment in the form of a configuration file, and then, when the user equipment analyzes the configuration file to obtain the update data of "adjust the scanning frequency", the user equipment may adjust the first scanning frequency in the first scanning parameters based on the update data to obtain the second scanning parameters, thereby implementing dynamic adjustment of the scanning frequency of the user equipment.
For example, the first scanning parameter comprises scanning the broadcast message every 5S, the update data comprises "scan-up frequency", then adjusting the first scanning parameter based on the update data may result in scanning the broadcast message every 7S (default every 2S increments); the update data comprises "scan rate 5S fast", then adjusting the first scan parameters based on the update data may result in a broadcast message being scanned every 10S; the update data includes "reduce scan frequency", then adjusting the first scan parameters based on the update data may result in a broadcast message being scanned every 3S (default to 2S reductions each time); the update data comprises "reduced scanning frequency 3S", then adjusting the first scanning parameters based on the update data may result in a broadcast message being scanned every 2S.
Step S340: and when the updating data comprises duration data, adjusting the cache duration based on the duration data to obtain the second scanning parameter.
In this embodiment, the first scanning parameter includes a buffering duration of the broadcast message by the ue. The user server may adjust the cache duration. Specifically, when the user server intends to instruct the user equipment to adjust the cache duration, the user server may write "adjust the cache duration" in the update data, for example, write "increase the cache duration" and send the "increase the cache duration" to the user equipment in the form of a configuration file, and then, when the user equipment analyzes the configuration file to obtain the update data of "adjust the cache duration", the user equipment may adjust the first cache duration in the first scanning parameter based on the update data to obtain the second scanning parameter, thereby implementing dynamic adjustment of the cache duration of the user equipment.
For example, if the first scanning parameter includes buffering the broadcast message for 10 minutes, and the update data includes "increase buffer duration", then adjusting the first buffer duration based on the update data may result in buffering the broadcast message for 15 minutes (each increase of 5 minutes by default); if the update data includes "increase the buffer duration by 10 minutes", then adjusting the first buffer duration based on the update data may result in buffering the broadcast message for 20 minutes; the update data comprises a "reduced buffer duration", then adjusting the first buffer duration based on the update data may buffer the broadcast message for 5 minutes (by default each time for 5 minutes); the update data comprises "reduced buffer duration 8 minutes", then adjusting the first scanning parameters based on the update data may result in buffering the broadcast message for 2 minutes.
Step S350: when the update data comprises switch data, adjusting the switch state based on the switch data to obtain the second scanning parameter.
In this embodiment, the first scanning parameter includes an on-off state of a scanning service of the user equipment, and the on-off state is used for representing the on or off of the scanning service. The user server may control the switch state. Specifically, when the user server intends to instruct the user equipment to adjust the on-off state, the user server may write "adjust the on-off state" in the update data, for example, write "emergency off switch" and send the "emergency off switch" to the user equipment in the form of a configuration file, and then, when the user equipment parses the configuration file to obtain update data "adjust the on-off state", the user equipment may adjust the on-off state in the first scanning parameter based on the update data to obtain the second scanning parameter, thereby implementing dynamic adjustment of the on-off state of the user equipment.
For example, when the first scanning parameter includes turning on scanning service and the updating data includes "turning off scanning service", then adjusting the first scanning parameter based on the updating data to turn off the scanning service; when the first scanning parameter comprises the scanning service closing and the updating data comprises the scanning service opening, the scanning service opening is adjusted by the first scanning parameter based on the updating data.
Step S360: when the updating data includes deleting the first commercial tenant equipment, shielding and scanning the broadcast message sent by the first commercial tenant equipment in the first scanning parameter to obtain the second scanning parameter.
Step S370: when the update data includes adding a second merchant device, newly adding and scanning a broadcast message sent by the second merchant device in the first scanning parameter to obtain the second scanning parameter.
For detailed description of steps S360 to S370, please refer to steps S230 to S240, which are not described herein again.
Step S380: and scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter.
For the detailed description of step S380, please refer to step S140, which is not described herein again.
In a broadcast scanning method provided in another embodiment of the present application, in a process of scanning a broadcast message sent by a merchant device by using a first scanning parameter, when a configuration file carrying a parameter update instruction sent by a user server is received, a configuration file is sent to a scanning service of the user device by an update broadcast, scanning of the broadcast message is stopped, the configuration file is analyzed, and update data carried in the configuration file is acquired. When the update data includes frequency data, adjusting a scanning frequency of the user equipment based on the frequency data, obtaining a second scanning parameter, when the update data includes duration data, adjusting the cache duration based on the duration data to obtain a second scan parameter, when the update data comprises switch data, adjusting the switch state of the user equipment based on the switch data to obtain a second scanning parameter, the updating data comprises screening and scanning the broadcast message sent by the first commercial tenant equipment in the first scanning parameter to obtain a second scanning parameter when the first commercial tenant equipment is deleted, and when the updating data comprises adding the second commercial tenant equipment, and newly scanning the broadcast message sent by the second commercial tenant equipment in the first scanning parameters to obtain second scanning parameters, writing the second scanning parameters into the configuration file, and scanning the broadcast message sent by the commercial tenant equipment again by using the second scanning parameters. Compared with the broadcast scanning method shown in fig. 2, the present embodiment can also receive the configuration file sent by the user server to perform dynamic configuration on the scanning parameters of the user equipment, thereby improving user experience.
Referring to fig. 8, fig. 8 is a block diagram illustrating a broadcast scanning apparatus 400 according to an embodiment of the present application. The broadcast scanning apparatus 400 is applied to the electronic device, and will be explained with reference to the block diagram shown in fig. 8, where the broadcast scanning apparatus 400 includes: a stopping module 410, an obtaining module 420, an adjusting module 430, and a scanning module 440, wherein:
the stopping module 410 is configured to, in the process of scanning, by the user equipment, the broadcast message sent by the merchant device with the first scanning parameter, when a parameter update instruction sent by the server is obtained, stop scanning the broadcast message. Further, the user equipment is installed with an application plug-in corresponding to the merchant equipment, the server is a merchant server, and the stopping module 410 includes: a first stop submodule, wherein:
and the first stopping sub-module is used for sending the configuration information to the scanning service of the user equipment through updating broadcast and stopping scanning the broadcast message when the application plug-in receives the configuration information which is sent by the merchant server and carries the parameter updating instruction.
Further, the server is a user server corresponding to the user equipment, and the stopping module 510 further includes: a second stop submodule, wherein:
and the second stopping submodule is used for sending the configuration file to the scanning service of the user equipment through updating broadcast and stopping scanning the broadcast message when receiving the configuration file which is sent by the user server and carries the parameter updating instruction.
An obtaining module 420, configured to obtain the update data carried in the parameter update instruction. Further, the obtaining module 420 includes: a first parsing submodule and a second parsing submodule, wherein:
and the first analysis submodule is used for analyzing the configuration information and acquiring the updating data carried in the configuration information.
And the second analysis submodule is used for analyzing the configuration file and acquiring the update data carried in the configuration file.
An adjusting module 430, configured to adjust the first scanning parameter based on the update data. Further, the first scanning parameter includes a scanning frequency of the broadcast message by the user equipment, and the adjusting module 530 includes: a first tuning submodule, wherein:
a first adjusting submodule, configured to adjust the scanning frequency based on the frequency data when the update data includes frequency data, and obtain the second scanning parameter.
Further, the first scanning parameter includes a buffering duration of the broadcast message by the ue, and the adjusting module 430 includes: a second tuning submodule, wherein:
and the second adjusting submodule is used for adjusting the cache duration based on the duration data to obtain the second scanning parameter when the updating data comprises duration data.
Further, the first scanning parameter includes a switch state of a scanning service of the user equipment, the switch state is used for characterizing turning on or off of the scanning service, and the adjusting module 430 includes: a third adjustment submodule, wherein:
when the update data comprises switch data, adjusting the switch state based on the switch data to obtain the second scanning parameter.
Further, the adjusting module 430 further includes: a fourth trim submodule and a fifth trim submodule, wherein:
and a fourth adjusting sub-module, configured to, when the update data includes deletion of a first merchant device, shield and scan a broadcast message sent by the first merchant device in the first scanning parameter, and obtain the second scanning parameter.
And a fifth adjusting sub-module, configured to, when the update data includes that a second merchant device is added, newly add, in the first scanning parameter, a broadcast message sent by the second merchant device for scanning, to obtain the second scanning parameter.
The scanning module 440 is configured to scan the broadcast message sent by the merchant device again with the second scanning parameter.
Further, the broadcast scanning apparatus 400 further includes: a write module, wherein:
and the writing module is used for writing the second scanning parameters into a configuration file.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 9, a block diagram of an electronic device (ue) 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a screen 130, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores, among other things. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
Further, the screen 130 may be a Liquid Crystal Display (LCD) and an Organic Light-Emitting Diode (OLED). The screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, numbers, video, and any combination thereof.
Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 500 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
To sum up, in the broadcast scanning method, the apparatus, the electronic device, and the storage medium provided in the embodiments of the present application, in the process of scanning a broadcast message sent by a merchant device with a first scanning parameter, when a parameter update instruction sent by a server is obtained, scanning of the broadcast message is stopped, update data carried in the parameter update instruction is obtained, the first scanning parameter is adjusted based on the update data, a second scanning parameter is obtained, and the broadcast message sent by the merchant device is scanned again with the second scanning parameter, so that by dynamically obtaining the update data sent by the server in the process of scanning the broadcast message sent by the merchant device, and adjusting the scanning parameter based on the update data, dynamic update of the scanning parameter of the user device is achieved, and user experience is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (11)

1. A broadcast scanning method, the method comprising:
in the process that user equipment scans a broadcast message sent by merchant equipment by using first scanning parameters, when a parameter updating instruction sent by a server is acquired, the broadcast message is stopped to be scanned, wherein the server comprises a user server or a merchant server;
acquiring updating data carried in the parameter updating instruction;
adjusting the first scanning parameters based on the updating data to obtain second scanning parameters;
scanning the broadcast message sent by the merchant equipment again according to the second scanning parameter;
wherein the adjusting the first scanning parameters based on the update data to obtain second scanning parameters comprises:
when the updating data comprises deleting first commercial tenant equipment, shielding and scanning a broadcast message sent by the first commercial tenant equipment in the first scanning parameter to obtain a second scanning parameter; or
When the update data includes adding a second merchant device, newly adding and scanning a broadcast message sent by the second merchant device in the first scanning parameter to obtain the second scanning parameter.
2. The method of claim 1, wherein the user device scanning for broadcast messages sent by the merchant device comprises: the merchant device sends a broadcast message through Bluetooth low energy BLE, or the merchant device sends a broadcast message through WiFi Aware.
3. The method according to claim 1, wherein the user equipment is installed with an application plugin corresponding to the merchant device, the server is a merchant server corresponding to the merchant device, and the stopping scanning the broadcast message when the parameter update instruction is obtained includes:
when the application plug-in receives the configuration information which is sent by the merchant server and carries the parameter updating instruction, sending the configuration information to the scanning service of the user equipment through updating broadcast, and stopping scanning the broadcast message;
the acquiring of the update data carried in the parameter update instruction includes:
and analyzing the configuration information to obtain the updating data carried in the configuration information.
4. The method according to claim 3, wherein the updating the first scanning parameters based on the updating data, after obtaining second scanning parameters, further comprises:
and writing the second scanning parameters into a configuration file.
5. The method according to claim 1, wherein the server is a user server corresponding to a user equipment, and the stopping scanning the broadcast message when the parameter update instruction is obtained includes:
when receiving a configuration file which is sent by the user server and carries the parameter updating instruction, sending the configuration file to a scanning service of the user equipment through updating broadcast, and stopping scanning the broadcast message;
the acquiring of the update data carried in the parameter update instruction includes:
and analyzing the configuration file to obtain the updating data carried in the configuration file.
6. The method of claim 5, wherein the first scanning parameters comprise a scanning frequency of the UE for the broadcast message, and wherein adjusting the first scanning parameters based on the updated data to obtain second scanning parameters comprises:
when the update data comprises frequency data, adjusting the scanning frequency based on the frequency data to obtain the second scanning parameter.
7. The method of claim 5, wherein the first scanning parameter comprises a buffer duration of the broadcast message by the UE, and wherein the adjusting the first scanning parameter based on the update data to obtain the second scanning parameter comprises:
and when the updating data comprises duration data, adjusting the cache duration based on the duration data to obtain the second scanning parameter.
8. The method of claim 5, wherein the first scanning parameters comprise an on-off state of a scanning service of the UE, the on-off state being used to characterize the switching on or off of the scanning service, and wherein adjusting the first scanning parameters based on the updated data and obtaining second scanning parameters comprises:
when the update data comprises switch data, adjusting the switch state based on the switch data to obtain the second scanning parameter.
9. A broadcast scanning apparatus, characterized in that the apparatus comprises:
the system comprises a stopping module, a sending module and a processing module, wherein the stopping module is used for stopping scanning the broadcast message when a parameter updating instruction sent by a server is acquired in the process that user equipment scans the broadcast message sent by merchant equipment by using first scanning parameters, and the server comprises a user server or a merchant server;
the acquisition module is used for acquiring the update data carried in the parameter update instruction;
the adjusting module is used for adjusting the first scanning parameters based on the updating data to obtain second scanning parameters;
the scanning module is used for scanning the broadcast message sent by the merchant equipment again by using the second scanning parameter;
wherein the adjustment module comprises:
a fourth adjusting sub-module, configured to, when the update data includes deletion of a first merchant device, shield and scan a broadcast message sent by the first merchant device in the first scanning parameter, to obtain the second scanning parameter; or
And a fifth adjusting sub-module, configured to, when the update data includes that a second merchant device is added, newly add, in the first scanning parameter, a broadcast message sent by the second merchant device for scanning, to obtain the second scanning parameter.
10. An electronic device, comprising:
a memory;
one or more processors coupled with the memory;
one or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-8.
11. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 8.
CN201910105812.5A 2019-02-01 2019-02-01 Broadcast scanning method, device, electronic equipment and storage medium Active CN109699019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910105812.5A CN109699019B (en) 2019-02-01 2019-02-01 Broadcast scanning method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910105812.5A CN109699019B (en) 2019-02-01 2019-02-01 Broadcast scanning method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109699019A CN109699019A (en) 2019-04-30
CN109699019B true CN109699019B (en) 2022-02-18

Family

ID=66233384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910105812.5A Active CN109699019B (en) 2019-02-01 2019-02-01 Broadcast scanning method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109699019B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110261813B (en) 2019-06-26 2022-07-15 京东方科技集团股份有限公司 Positioning control method and device, electronic equipment and storage medium
CN112449412B (en) * 2019-08-28 2024-01-05 阿里巴巴集团控股有限公司 Equipment awakening method and related equipment for executing same
CN110659894A (en) * 2019-09-17 2020-01-07 中国银联股份有限公司 Information processing method, device, equipment and computer readable storage medium
CN111131886B (en) * 2019-12-24 2023-01-31 晶晨半导体(深圳)有限公司 Method for optimizing system temperature rise by adjusting WIFI
CN115278551B (en) * 2022-06-14 2023-10-13 广东逸动科技有限公司 Control method, remote control end, intelligent terminal, communication system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702391A (en) * 2013-11-30 2014-04-02 北京智谷睿拓技术服务有限公司 Broadcasting method, broadcasting equipment, scanning method and scanning equipment for wireless communication
CN104901724A (en) * 2015-04-15 2015-09-09 深圳市金立通信设备有限公司 Data transmission method
WO2018165862A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Scanning method and device
CN108566641A (en) * 2018-03-06 2018-09-21 阿里巴巴集团控股有限公司 Pay householder method, device and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102164917B1 (en) * 2014-02-10 2020-10-13 삼성전자주식회사 Method and apparatus for reconnection in short-range wireless communication
KR20160073242A (en) * 2014-12-16 2016-06-24 삼성전자주식회사 Electronic apparatus for requesting or performing scan through short-range communication and method for operating thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702391A (en) * 2013-11-30 2014-04-02 北京智谷睿拓技术服务有限公司 Broadcasting method, broadcasting equipment, scanning method and scanning equipment for wireless communication
CN104901724A (en) * 2015-04-15 2015-09-09 深圳市金立通信设备有限公司 Data transmission method
WO2018165862A1 (en) * 2017-03-14 2018-09-20 华为技术有限公司 Scanning method and device
CN108566641A (en) * 2018-03-06 2018-09-21 阿里巴巴集团控股有限公司 Pay householder method, device and equipment

Also Published As

Publication number Publication date
CN109699019A (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN109699019B (en) Broadcast scanning method, device, electronic equipment and storage medium
KR101698094B1 (en) Apparatus and method for providing service corresponding to a service zone
KR102377724B1 (en) Device network configuration method and apparatus, and medium
CN105357742A (en) Accessing method, device and system for wireless local area network
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN109450851B (en) Device connection method, electronic device, and computer-readable medium
CN104333643B (en) Add the method for contact person, system and terminal
WO2020168561A1 (en) Device network distribution method and apparatus, electronic device, and storage medium
JP7461955B2 (en) MEASUREMENT REPORTING METHOD AND DEVICE, TERMINAL DEVICE INFORMATION ACQUISITION METHOD AND DEVICE
CN112686358A (en) Data transmission method, NFC electronic tag, terminal device and storage medium
CN103701891A (en) Cross-terminal downloading method, system, server, mobile terminal and fixed terminal
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN110072269B (en) Scanning control method, device, mobile terminal and storage medium
CN111970676B (en) WiFi hot spot access method, device, equipment and storage medium
CN111479263A (en) Communication connection method, terminal and computer storage medium
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN108401081B (en) VOLTE network performance test method and device
CN104618987A (en) Method and device for accessing network
CN104239790A (en) Virus processing method and device
KR20090015220A (en) Method and apparatus for providing service using user identification in portable communication system
CN108337718B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN105574453A (en) Two-dimensional code processing method and mobile terminal
CN113677039A (en) Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN115696463A (en) Multi-terminal combined session management method, network side equipment and terminal
KR20110108503A (en) Apparatus and method for transmitting message in wireless communication system

Legal Events

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