CN116056016A - Prototype information reporting method and electronic equipment - Google Patents

Prototype information reporting method and electronic equipment Download PDF

Info

Publication number
CN116056016A
CN116056016A CN202210753635.3A CN202210753635A CN116056016A CN 116056016 A CN116056016 A CN 116056016A CN 202210753635 A CN202210753635 A CN 202210753635A CN 116056016 A CN116056016 A CN 116056016A
Authority
CN
China
Prior art keywords
prototype
information
mac address
processor
electronic device
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.)
Pending
Application number
CN202210753635.3A
Other languages
Chinese (zh)
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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210753635.3A priority Critical patent/CN116056016A/en
Publication of CN116056016A publication Critical patent/CN116056016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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
    • 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

Abstract

The application discloses a prototype information reporting method and electronic equipment, relates to the field of Bluetooth communication, and is used for acquiring the information of a prototype through low-power Bluetooth (Bluetooth low energy, BLE) communication so as to improve the monitoring efficiency of the prototype, wherein the prototype information reporting method comprises the following steps: communication is carried out with a prototype in a storefront through a broadcasting channel of low-power consumption Bluetooth so as to acquire a Media Access Control (MAC) address, a serial number and running information of the prototype; and sending the MAC address, the serial number and the running information to a server, wherein the MAC address and the serial number are used for checking the prototype, and the running information is used for monitoring the running state of the prototype.

Description

Prototype information reporting method and electronic equipment
Technical Field
The application relates to the field of bluetooth communication, in particular to a prototype information reporting method and electronic equipment.
Background
During the display of the prototypes in the retail store, the prototypes need to be monitored, for example, to determine if the prototypes are normally displayed in the store, if the prototypes are abnormally operated, etc. The prototype cannot use the wireless communication network of the operator because the user identity module (subscriber identity module, SIM) card cannot be inserted, the information can be reported only through wireless fidelity (wireless fidelity, wi-Fi), and for a store without Wi-Fi coverage, the operation state of the prototype needs to be monitored through manual inspection, so that the efficiency is low.
Disclosure of Invention
The embodiment of the application provides a prototype information reporting method and electronic equipment, which are used for acquiring the information of a prototype through low-power Bluetooth (Bluetooth low energy, BLE) communication so as to improve the monitoring efficiency of the prototype.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, a method for reporting prototype information is provided, including: communication is carried out with a prototype in a storefront through a broadcasting channel of low-power consumption Bluetooth so as to acquire a Media Access Control (MAC) address, a serial number and running information of the prototype; and sending the MAC address, the serial number and the running information to a server, wherein the MAC address and the serial number are used for checking the prototype, and the running information is used for monitoring the running state of the prototype.
According to the information reporting method of the prototype provided by the embodiment of the application, because Bluetooth pairing is not needed by two BLE devices in BLE communication, the two BLE devices can communicate by themselves through a broadcast channel, so that the acquisition device can acquire information of the prototype and report data through BLE communication under the condition that a store staff does not feel, namely, the normal operation flow of a store is not influenced, and the monitoring efficiency of the prototype is improved.
In one possible implementation, the MAC address, sequence number, and running information are carried in a broadcast data message of a broadcast channel. The embodiment is suitable for the scene that the information (particularly the operation information of the prototype) to be sent by the prototype is less, the acquisition equipment can complete the information transmission of the prototype without establishing connection with the prototype, and the power consumption and the information transmission time delay can be reduced.
In one possible implementation, the MAC address is carried in a broadcast data message of the broadcast channel, and the sequence number and the operation information are carried in a scan response data message of the broadcast channel. The embodiment is suitable for a scene that the prototype needs to send more information (particularly, the operation information of the prototype) and cannot be carried by all broadcast data (broadcasting data) messages of a broadcast channel of the BLE.
In one possible implementation, the operation information includes at least one of the following information: the operation time of the prototype, the bright screen times of the prototype and the current temperature of the prototype.
In a second aspect, a method for reporting prototype information is provided, including: counting the operation information of the prototype; and sending a Media Access Control (MAC) address, a serial number and the running information of the prototype to acquisition equipment, wherein the MAC address and the serial number are used for checking the prototype, and the running information is used for monitoring the running state of the prototype.
In one possible implementation, the MAC address, the sequence number, and the operation information are carried in a broadcast data message of a broadcast channel.
In one possible implementation, the MAC address is carried in a broadcast data message of the broadcast channel, and the sequence number and the operation information are carried in a scan response data message of the broadcast channel.
In one possible implementation, the operation information includes at least one of the following information: the operation time of the prototype, the bright screen times of the prototype and the current temperature of the prototype.
In a third aspect, there is provided an electronic device comprising a processor and a memory in which instructions are stored which, when executed by the processor, perform a method as described in the first aspect and any of its embodiments, or a method as described in the second aspect and any of its embodiments.
In a fourth aspect, there is provided a computer readable storage medium comprising instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect and any of its embodiments, or to perform the method of the second aspect and any of its embodiments.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on an electronic device as described above, cause the electronic device to perform the method according to the first aspect and any of its embodiments, or to perform the method according to the second aspect and any of its embodiments.
In a sixth aspect, a chip system is provided, which includes a processor for supporting an electronic device to implement the functions referred to in the first aspect or to implement the functions referred to in the second aspect. In one possible design, the device may further include interface circuitry that may be used to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., communication interfaces). The system-on-chip may include a chip, and may also include other discrete devices.
The technical effects of the second to sixth aspects are referred to the technical effects of the first aspect and any of its embodiments and are not repeated here.
Drawings
Fig. 1 is a schematic architecture diagram of a prototype information reporting system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a software architecture for executing a processor according to an embodiment of the present application;
fig. 4 is a flow chart of a prototype information reporting method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a prototype and an acquisition device according to an embodiment of the present application in BLE communication;
fig. 6 is a flow chart of another prototype information reporting method according to an embodiment of the present application;
fig. 7 is a flow chart of another prototype information reporting method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
Some concepts related to the present application will be described first.
The terms "first," "second," and the like in the embodiments of the present application are used for the purpose of distinguishing between similar features and not necessarily for the purpose of indicating a relative importance, quantity, order, or the like.
The terms "exemplary" or "such as" and the like, as used in connection with embodiments of the present application, are intended to be exemplary, or descriptive. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terms "coupled" and "connected" in connection with embodiments of the present application are to be construed broadly, and may refer, for example, to a physical direct connection, or to an indirect connection via electronic devices, such as, for example, a connection via electrical resistance, inductance, capacitance, or other electronic devices.
As shown in fig. 1, an embodiment of the present application provides a prototype information reporting system, including: at least one sample 11, a collection device 12, a server 13 and a monitoring device 14. The prototype 11 may be an electronic device having a bluetooth communication function, such as a mobile phone, a tablet, a notebook computer, or a smart watch, the collection device 12 may be an electronic device having a bluetooth communication function and a network communication function, such as a mobile phone, and the monitoring device 14 may be an electronic device, such as a computer. In BLE communication, the prototype 11 is also called a peripheral, and the acquisition device 12 is also called a central device.
The collecting device 12 collects information of the prototypes 11 by communicating with BLE between prototypes 11 located in the same store and transmits the information to the server 13 located in the cloud through the network, and the monitoring device 14 obtains information of the prototypes 11 in each store from the server 13 through the network and performs statistics and monitoring, for example, monitoring whether the prototypes 11 are normally displayed in the store, monitoring the running state of the prototypes 11, counting indexes of the prototypes 11, and the like.
As shown in fig. 2, taking the prototype 11 and the acquisition device 12 as examples of electronic devices such as a mobile phone, the electronic device 101 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a user identification module (subscriber identification module, SIM) card interface 295, and the like.
The sensor module 280 may include, among other things, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 101. In other embodiments of the present application, the electronic device 101 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include a central processing unit (central processing unit, CPU), an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, the processor 210 may be an application processor AP. Alternatively, the processor 210 may be integrated in a system on chip (SoC). Alternatively, the processor 210 may be integrated in an integrated circuit (integrated circuit, IC) chip. The processor 210 may include an Analog Front End (AFE) and a micro-controller unit (MCU) in an IC chip.
The controller may be a neural hub and a command center of the electronic device 101, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present invention is only illustrative, and does not limit the structure of the electronic device 101. In other embodiments of the present application, the electronic device 101 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The power management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger (such as a wireless charging base of the electronic device 101 or other devices capable of wirelessly charging the electronic device 101), or may be a wired charger. For example, the power management module 240 may receive a charging input of a wired charger through the USB interface 230. The power management module 240 may receive wireless charging input through a wireless charging coil 242 of the electronic device.
The power management module 240 may also supply power to the electronic device while charging the battery 241. The power management module 240 receives input from the battery 241 to power the processor 210, the internal memory 221, the external memory interface 220, the display 294, the camera 293, the wireless communication module 260, and the like. The power management module 240 may also be configured to monitor parameters of the battery 241 such as battery capacity, battery cycle times, battery health (leakage, impedance), etc. In other embodiments, the power management module 240 may also be disposed in the processor 210.
The wireless communication function of the electronic device 101 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The electronic device 101 implements display functions through a GPU, a display screen 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The display 294 is used to display images, videos, and the like. The display 294 includes a display panel. In some embodiments, the electronic device 101 may include 1 or N displays 294, N being a positive integer greater than 1.
The electronic device 101 may implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display screen 294, an application processor, and the like. The ISP is used to process the data fed back by the camera 293. In some embodiments, the ISP may be provided in the camera 293. The camera 293 is used to capture still images or video. In some embodiments, the electronic device 101 may include 1 or N cameras 293, N being a positive integer greater than 1.
The external memory interface 220 may be used to connect external memory cards, such as Micro SanDisk (Micro SD) cards, to enable expansion of the memory capabilities of the electronic device 101. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
Internal memory 221 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the electronic device 101 and data processing by executing instructions stored in the internal memory 221. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 101 may implement audio functionality through an audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone interface 270D, application processor, and so forth. Such as music playing, recording, etc.
The audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210. Speaker 270A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. A receiver 270B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 270C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. The electronic device 101 may be provided with at least one microphone 270C. The earphone interface 270D is for connecting a wired earphone. Earphone interface 270D may be USB interface 230 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Keys 290 include a power on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be a touch key. The electronic device 101 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 101. The motor 291 may generate a vibration alert. The motor 291 may be used for incoming call vibration alerting or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, or an indication message, missed call, notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the electronic device 101. The electronic device 101 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 295 may support a Nano SIN (Nano SIM) card, micro SIM (Micro SIM) card, SIM card, etc. In some embodiments, the electronic device 101 employs an embedded SIM (eSIM) card, which may be embedded in the electronic device 101 and not separable from the electronic device 101.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 101 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the electronic device 101. The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 101. In some embodiments, antenna 1 and mobile communication module 250 of electronic device 101 are coupled, and antenna 2 and wireless communication module 260 are coupled, such that electronic device 101 may communicate with a network and other devices via wireless communication techniques. In the embodiment of the application, BLE is supported by Bluetooth, and two terminals which communicate by using BLE do not need to be paired, so that communication and information transmission can be realized through broadcast messages.
The programs run by the processor 210 may be based on an operating system, such as Android (Android)
Figure BDA0003721792170000051
Apple (iOS)/(apple)>
Figure BDA0003721792170000052
Hong Mong (Harmony)>
Figure BDA0003721792170000053
Windows (Windows) operating system, etc. As shown in fig. 3, the program running with the processor 210 is based on android +.>
Figure BDA0003721792170000054
For example, the programs executed by the processor 210 are layered by functions and may include an application layer, a system service layer, an algorithm library hardware abstraction layer, a kernel layer, and a driver layer.
The driving layer is used for driving hardware resources of the hardware layer. The driving layer may include a bluetooth driver and a mobile communication driver. Wherein, bluetooth driver is used for driving bluetooth chip to realize BLE communication. The mobile communication driver is used to drive the mobile communication chip to realize communication with the network through 4G/5G and the like. The prototype 11 comprises a Bluetooth chip and a Bluetooth driver, and the acquisition device 12 comprises a Bluetooth chip, a mobile communication chip, a Bluetooth driver and a mobile communication driver.
The kernel layer includes an Operating System (OS) kernel. The operating system kernel is used for managing the processes, the memory, the driving program, the file system and the network system of the system.
A hardware abstraction layer (hardware abstract layer, HAL) is used to abstract the hardware. The mobile communication system comprises a Bluetooth module and a mobile communication module. The Bluetooth module is used for abstracting the Bluetooth chip and calling the abstracted Bluetooth chip for Bluetooth algorithm in the algorithm library. The mobile communication module is used for abstracting the mobile communication chip and calling the mobile communication algorithm in the algorithm library by the abstracted mobile communication chip.
The algorithm library is used for realizing a basic algorithm for the system service layer to call. May include bluetooth algorithms, mobile communication algorithms.
The system services layer may integrate algorithms in the algorithm library to provide services to the application layer that call the various hardware. Including bluetooth services for invoking bluetooth algorithms, mobile communication services for invoking mobile communication algorithms, etc.
The application layer may include application software for implementing specific functions, for example, prototype management software capable of invoking bluetooth services in the application layer of the prototype 11, and store operation software capable of invoking bluetooth services and mobile communication services in the application layer of the acquisition device 12.
The working principle of the prototype information reporting system shown in fig. 1, that is, how to execute the prototype information reporting method provided in the embodiment of the present application, is described below.
In a possible implementation manner, the prototype 11 may wait for the acquisition device 12 to establish a connection with the prototype 11 by sending a broadcast message of BLE, and after establishing the connection, send the operation information of the prototype 11 to the acquisition device 12, as shown in fig. 4, specifically including:
s101, the prototype management software in the prototype 11 is started automatically along with startup, and the Bluetooth state is checked and the Bluetooth is started.
S102, the store operation software in the acquisition device 12 is started up automatically along with starting up, and the Bluetooth state is checked and the Bluetooth is started.
S103, the prototype management software in the prototype 11 counts the operation information of the prototype 11, and periodically sends a broadcast data (broadcasting data) message on the broadcast channel (broadcast channel) of BLE to wait for the acquisition device 12 to connect.
The operation information of the prototype 11 includes at least one of the following information: run time of the prototype 11, bright screen times of the prototype 11, current temperature of the prototype 11, and the like. The operation information of the prototype 11 is used to monitor the operation state of the prototype 11.
As shown in fig. 5, the prototype 11 may send a broadcast data (advertisement data) message in each broadcast period (advertising interval) to wait for the acquisition device 12 to connect, where the broadcast data (advertisement data) message includes the media access control (media access control, MAC) address of the prototype 11, so as to distinguish between different prototypes 11 in the same storefront.
S104, the store operation software in the acquisition device 12 sends a scan response request (scan response request) message to the prototype 11 through the broadcast channel of BLE, and acquires a predefined generic attribute protocol (generic attribute profile, GATT) to establish a connection.
As shown in fig. 5, after receiving a broadcast data (advertisement data) message of a prototype 11, the store operation software in the collecting device 12 sends a scan response request (scan response request) message to the prototype 11 through a broadcast channel of BLE in the same broadcast period (advertising interval), where the scan response request (scan response request) message is used to answer the broadcast data (advertisement data) message.
GATT defines the way two BLE devices transmit data back and forth using the "service and feature" concept. It uses the attribute protocol (attribute protocol, ATT) to store Services (Services), features (charcterics) and group data into a simple lookup table, each entry in the lookup table using a 16-bit identification.
The connection established by GATT is exclusive, i.e. one sample 11 can only be connected to one collection device 12 at a time. If a prototype 11 is connected to the acquisition device 12, the prototype 11 stops broadcasting so that other devices cannot find and connect to the prototype 11 and the prototype 11 does not re-broadcast until the current connection is broken.
The prototype management software in the prototype 11 transmits a scan response data (scan response data) message via the BLE broadcast channel in S105.
As shown in fig. 5, the specimen management software in the specimen 11 transmits a scan response data (scan response data) message over the broadcast channel of BLE in the broadcast period (advertising interval), and the scan response data (scan response data) message includes the operation information of the specimen 11 and the Serial Number (SN) of the specimen 11.
After receiving the information, store operation software in the acquisition device 12 caches the information in the temporary storage space.
And S106, the store operation software in the acquisition device 12 transmits the MAC address, the running information and the serial number of the prototype 11 to the server 13.
Store operation software in the acquisition device 12 logs in to the server 13 during normal use and periodically sends a heartbeat signal to the server 13 to keep logging valid, wherein the heartbeat signal can include the MAC address, running information and serial number of the prototype 11.
And S107, after receiving the MAC address, the running information and the serial number of the prototype 11, the server 13 checks the prototype 11 according to the MAC address and the serial number of the prototype 11 and monitors the prototype 11.
The server 13 may send the MAC address and the serial number of the prototype 11 to the channel management system, query whether the MAC address and the serial number match, if so, check the prototype 11 successfully, and obtain the channel information of the prototype 11 from the channel management system, otherwise, check the prototype 11 fails.
After the verification is successful, the server 13 may collect and correlate relevant information (such as MAC address, operation information, serial number, channel information) of the prototype 11, and monitor the prototype 11 to output monitoring information, where the monitoring information may be in a form of report, for example, whether the prototype 11 is normally displayed in a store, whether the operation state of the prototype 11 is monitored, for example, whether the prototype 11 is overheated, whether the operation time and the bright screen time of the prototype 11 are too long, and count the bright screen times of the prototype 11.
S108, the monitoring equipment 14 can acquire a prototype report of each store from the server 13, wherein the prototype report comprises monitoring information of prototypes.
This embodiment is suitable for a scenario in which the prototype 11 needs to transmit much information (in particular, the operation information of the prototype 11), and cannot be carried by the broadcast data (advertisement data) message of the broadcast channel of BLE.
In another possible implementation manner, the prototype 11 may carry the operation information of the prototype 11 in the broadcast message of BLE, so that the collecting device 12 may directly obtain the operation information of the prototype 11 without further establishing a connection with the prototype 11, as shown in fig. 6, specifically including:
s201, the prototype management software in the prototype 11 is started automatically along with startup, and the Bluetooth state is checked and the Bluetooth is started.
S202, the store operation software in the acquisition device 12 is started up automatically along with starting up, and the Bluetooth state is checked and the Bluetooth is started.
And S203, the prototype management software in the prototype 11 counts the operation information of the prototype 11 and periodically transmits a broadcast data (advertisement data) message on a broadcast channel of the BLE.
The broadcast data (broadcasting data) message includes the MAC address of the prototype 11, the running information, and the serial number. The operation information is referred to the foregoing description and will not be described in detail herein.
After receiving the information, store operation software in the acquisition device 12 caches the information in the temporary storage space.
Steps S204-S206 refer to steps S106-S108, and are not described herein.
The embodiment is suitable for the scene that the information (particularly the operation information of the prototype 11) needed to be sent by the prototype 11 is less, the acquisition equipment 12 can complete the information transmission of the prototype 11 without establishing connection with the prototype 11, and the power consumption and the information transmission time delay can be reduced.
In summary, the embodiment of the present application provides a method for reporting prototype information, as shown in fig. 7, including:
s301, the prototype 11 counts the operation information of the prototype.
Specific reference is made to steps S103 and S203, and no further description is given here.
S302, the prototype 11 sends the MAC address, the serial number and the operation information of the prototype to the acquisition device 12 through the broadcast channel of BLE.
In one possible implementation, as described in steps S103 and S105, the MAC address of the prototype is carried in a broadcast data (broadcasting data) message of the broadcast channel, and the serial number and the running information of the prototype are carried in a scan response data (scan response data) message of the broadcast channel.
In another possible implementation, as described in step S203, the MAC address, the sequence number, and the running information of the prototype are all carried in a broadcast data (broadcasting data) message of the broadcast channel.
S303, the collecting device 12 sends the MAC address, the serial number and the operation information of the prototype to the server 13.
Specific reference is made to steps S106 and S204, and details are not repeated here.
According to the information reporting method and the electronic device for the prototype provided by the embodiment of the application, because Bluetooth pairing is not needed by two BLE devices in BLE communication, the two BLE devices can automatically communicate through a broadcast channel, so that the acquisition device can acquire information of the prototype and report data through BLE communication under the condition that a store staff does not feel, namely, normal operation flow of a store is not influenced, and monitoring efficiency of the prototype is improved.
The processor referred to in the embodiments of the present application may be a chip. For example, it may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (application specific integrated circuit, ASIC), a system on chip (SoC), a central processor (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD), or other integrated chip.
The memory to which embodiments of the present application relate may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
As shown in fig. 8, the embodiment of the application further provides a chip system. The chip system 60 includes at least one processor 601 and at least one interface circuit 602. The at least one processor 601 and the at least one interface circuit 602 may be interconnected by wires. The processor 601 is configured to support the electronic device to implement the steps of the method embodiments described above, e.g., the methods shown in fig. 4, 6, and 7, and the at least one interface circuit 602 is configured to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., communication interfaces). The system-on-chip may include a chip, and may also include other discrete devices.
Embodiments of the present application also provide a computer-readable storage medium including instructions that, when executed on an electronic device described above, cause the electronic device to perform the steps of the method embodiments described above, e.g., perform the methods shown in fig. 4, 6, and 7.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on the above-described electronic device, cause the electronic device to perform the steps of the above-described method embodiments, for example, performing the methods shown in fig. 4, 6, 7.
Technical effects concerning the chip system, the computer-readable storage medium, the computer program product refer to the technical effects of the previous method embodiments.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another device, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physically separate, i.e., may be located in one device, or may be distributed over multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated in one device, or each module may exist alone physically, or two or more modules may be integrated in one device.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The prototype information reporting method is characterized by comprising the following steps of:
communicating with a prototype in a storefront through a broadcasting channel of low-power consumption Bluetooth to acquire a Media Access Control (MAC) address, a serial number and running information of the prototype;
and sending the MAC address, the serial number and the running information to a server, wherein the MAC address and the serial number are used for checking the prototype, and the running information is used for monitoring the running state of the prototype.
2. The method of claim 1, wherein the MAC address, the sequence number, and the operational information are carried in a broadcast data message of the broadcast channel.
3. The method of claim 1, wherein the MAC address is carried in a broadcast data message of the broadcast channel, and wherein the sequence number and the running information are carried in a scan response data message of the broadcast channel.
4. A method according to any one of claims 1-3, characterized in that the operation information comprises at least one of the following information: the operation time of the prototype, the bright screen times of the prototype and the current temperature of the prototype.
5. The prototype information reporting method is characterized by comprising the following steps of:
counting the operation information of the prototype;
and transmitting a Media Access Control (MAC) address, a serial number and the running information of the prototype to acquisition equipment through a broadcasting channel of the low-power consumption Bluetooth, wherein the MAC address and the serial number are used for checking the prototype, and the running information is used for monitoring the running state of the prototype.
6. The method of claim 5, wherein the MAC address, the sequence number, and the operating information are carried in a broadcast data message of the broadcast channel.
7. The method of claim 5, wherein the MAC address is carried in a broadcast data message of the broadcast channel, and wherein the sequence number and the running information are carried in a scan response data message of the broadcast channel.
8. The method according to any of claims 5-7, wherein the operational information comprises at least one of the following information: the operation time of the prototype, the bright screen times of the prototype and the current temperature of the prototype.
9. An electronic device comprising a processor and a memory, the memory storing instructions that, when executed by the processor, perform the method of any of claims 1-4 or the method of any of claims 5-8.
10. A computer readable storage medium comprising instructions which, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1-4 or to perform the method of any one of claims 5-8.
CN202210753635.3A 2022-06-29 2022-06-29 Prototype information reporting method and electronic equipment Pending CN116056016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210753635.3A CN116056016A (en) 2022-06-29 2022-06-29 Prototype information reporting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210753635.3A CN116056016A (en) 2022-06-29 2022-06-29 Prototype information reporting method and electronic equipment

Publications (1)

Publication Number Publication Date
CN116056016A true CN116056016A (en) 2023-05-02

Family

ID=86120577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210753635.3A Pending CN116056016A (en) 2022-06-29 2022-06-29 Prototype information reporting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116056016A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology
CN111464955A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Fault reporting method, device, terminal and computer readable medium
CN112383881A (en) * 2020-10-30 2021-02-19 深圳市元征科技股份有限公司 Information reporting method, device, equipment and storage medium
CN113778771A (en) * 2021-09-14 2021-12-10 百富计算机技术(深圳)有限公司 Terminal testing method, system and storage medium
WO2022017256A1 (en) * 2020-07-20 2022-01-27 青岛易来智能科技股份有限公司 Device binding method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610264A (en) * 2009-07-24 2009-12-23 深圳市永达电子股份有限公司 The management method of a kind of firewall system, safety service platform and firewall system
US20190349718A1 (en) * 2016-10-21 2019-11-14 Lg Electronics Inc. Method and device for transmitting and receiving data using bluetooth technology
CN111464955A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Fault reporting method, device, terminal and computer readable medium
WO2022017256A1 (en) * 2020-07-20 2022-01-27 青岛易来智能科技股份有限公司 Device binding method and apparatus
CN112383881A (en) * 2020-10-30 2021-02-19 深圳市元征科技股份有限公司 Information reporting method, device, equipment and storage medium
CN113778771A (en) * 2021-09-14 2021-12-10 百富计算机技术(深圳)有限公司 Terminal testing method, system and storage medium

Similar Documents

Publication Publication Date Title
US11934352B2 (en) Card rendering method and electronic device
EP3069255B1 (en) Method and apparatus for connecting communication of electronic devices
US11683850B2 (en) Bluetooth reconnection method and related apparatus
US9807218B2 (en) Method for filtering spam in electronic device and the electronic device
EP2955907B1 (en) Wearable electronic device, system and control method
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
WO2021114952A1 (en) Data processing method, terminal device, bluetooth device, and storage medium
CN113660650B (en) Method and related device for device reconnection
US20200267538A1 (en) Electronic device and method for controlling information exchange in electronic device
US10284614B2 (en) Method for downloading contents of electronic device and electronic device thereof
CN116054870B (en) Wireless communication circuit, bluetooth communication switching method and electronic equipment
CN116056016A (en) Prototype information reporting method and electronic equipment
CN112020054B (en) Communication method and device, computer readable medium and electronic equipment
CN116744226B (en) Electronic fence data acquisition method and electronic equipment
CN116361865B (en) Access method and electronic equipment
US9392540B2 (en) Method for reducing power consumption and electronic device thereof
CN112492337B (en) Communication method, communication device, server and storage medium
CN117295040A (en) Message sending method, electronic equipment and communication system
CN116737193A (en) Software upgrading method, electronic equipment and communication system
CN116737358A (en) Memory refreshing method and electronic equipment
CN117440060A (en) Communication conversion device, electronic equipment, system and method
CN116048351A (en) Screen capturing method and electronic equipment
CN117555700A (en) Message pushing method, terminal equipment, pushing server and readable storage medium
CN116074359A (en) Distribution network method and electronic equipment
CN117081949A (en) Information detection method and electronic equipment

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