CN114567851A - Data transmission method, device, chip and module equipment - Google Patents

Data transmission method, device, chip and module equipment Download PDF

Info

Publication number
CN114567851A
CN114567851A CN202210158781.1A CN202210158781A CN114567851A CN 114567851 A CN114567851 A CN 114567851A CN 202210158781 A CN202210158781 A CN 202210158781A CN 114567851 A CN114567851 A CN 114567851A
Authority
CN
China
Prior art keywords
equipment
user corresponding
property information
mac address
information
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
CN202210158781.1A
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.)
RDA Microelectronics Beijing Co Ltd
Original Assignee
RDA Microelectronics Beijing 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 RDA Microelectronics Beijing Co Ltd filed Critical RDA Microelectronics Beijing Co Ltd
Priority to CN202210158781.1A priority Critical patent/CN114567851A/en
Publication of CN114567851A publication Critical patent/CN114567851A/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/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate
    • G06Q50/163Real estate management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Primary Health Care (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a data transmission method, a data transmission device, a chip and module equipment, wherein the method comprises the following steps: when the second equipment is in the preset range of the first equipment, acquiring a Media Access Control (MAC) address of the second equipment; if the MAC address of the second device exists in the preset MAC address list, acquiring property information of a user corresponding to the second device based on the MAC address of the second device, wherein the preset MAC address list comprises a plurality of MAC addresses, and one MAC address corresponds to one user; and sending the property information of the user corresponding to the second equipment. The method is beneficial to enabling the user to obtain the latest property information in time.

Description

Data transmission method, device, chip and module equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method, apparatus, chip, and module device.
Background
The wisdom community can utilize various intelligent technology and mode, integrates the current all kinds of service resources of community, provides multiple convenient services such as government affairs, commercial affairs, amusement, education, medical care and life each other for the community crowd.
At present, property information in a community is published on a community Internet of things intelligent community service platform or third-party chatting software, and an owner needs to actively log in the service platform or the chatting software in time to know the latest property information. The property information cannot be known by the owner without logging in the service platform or chatting software, and the property fee can be forgotten to be paid. Therefore, how to enable owners to know property information in time is a problem that needs to be solved urgently.
Disclosure of Invention
The application provides a data transmission method, a data transmission device, a chip and module equipment, which are beneficial to enabling a user to obtain latest property information in time.
In a first aspect, the present application provides a data transmission method, including: when the second equipment is in the preset range of the first equipment, acquiring a Media Access Control (MAC) address of the second equipment; if the MAC address of the second device exists in the preset MAC address list, acquiring property information of a user corresponding to the second device based on the MAC address of the second device, wherein the preset MAC address list comprises a plurality of MAC addresses, and one MAC address corresponds to one user; and sending the property information of the user corresponding to the second equipment.
Based on the method described in the first aspect, when the user enters or exits the cell, the first device sends the property information to the second device of the user, and the user can acquire the property information more timely.
In a possible implementation manner, when the second device is within a preset range of the first device, the MAC address of the second device is obtained, which is specifically implemented as follows: when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment; the MAC address of the second device is obtained via bluetooth.
In one possible implementation, the method further includes: downloading latest property information from a server by taking preset time as a period; updating property information in a local database of the first device based on the latest property information; the property information of the user corresponding to the second device is obtained based on the MAC address of the second device, and the specific implementation mode is as follows: and acquiring the property information of the user corresponding to the second equipment from a local database of the first equipment based on the MAC address of the second equipment.
In a possible implementation manner, the property information of the user corresponding to the second device is obtained based on the MAC address of the second device, and the specific implementation manner is as follows: sending first request information to a server, wherein the first request information requests property information of a user corresponding to second equipment, and the first request information carries an MAC address of the second equipment; and receiving first feedback information sent by the server, wherein the first feedback information carries the property information of the user corresponding to the second equipment.
In one possible implementation, the method further includes: determining whether the property information of the user corresponding to the second equipment has a to-be-processed event of the user corresponding to the second equipment; and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, sending the property information of the user corresponding to the second equipment.
In a possible implementation manner, if the property information of the user corresponding to the second device has a to-be-processed event of the user corresponding to the second device, the property information of the user corresponding to the second device is sent to the second device, and the specific implementation manner is as follows: and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, the event to be processed is a preset event, and the user corresponding to the second equipment is the owner, sending the property information of the user corresponding to the second equipment.
In a possible implementation manner, the first device sends, to the second device, property information of a user corresponding to the second device, and the specific implementation manner is: and if the time interval between the time of receiving the property information last time and the current time by the second equipment is greater than a preset threshold value, the first equipment sends the property information of the user corresponding to the second equipment.
In a second aspect, the present application provides a data transmission method, including: when the second equipment is in a preset range of the first equipment, sending indication information to the first equipment, wherein the indication information indicates a Media Access Control (MAC) address of the second equipment; and receiving the property information of the user corresponding to the second equipment, which is sent by the first equipment.
In a possible implementation manner, when the second device is within a preset range of the first device, the indication information is sent to the first device, and a specific implementation manner is as follows: when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment; and sending the indication information to the first equipment through Bluetooth.
In a third aspect, the present application provides a communication apparatus comprising an obtaining unit and a sending unit, wherein: the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the MAC address of the second equipment when the second equipment is in the preset range of the first equipment; the acquiring unit is further configured to acquire property information of a user corresponding to the second device based on the MAC address of the second device if the MAC address of the second device exists in a preset MAC address list, where the preset MAC address list includes a plurality of MAC addresses, and one MAC address corresponds to one user; and the sending unit is used for sending the property information of the user corresponding to the second equipment.
In a fourth aspect, the present application provides a communication apparatus comprising a transmitting unit and an obtaining unit, wherein: the device comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending indication information to the first equipment when the second equipment is in a preset range of the first equipment, and the indication information indicates a Media Access Control (MAC) address of the second equipment; and the acquisition unit is used for receiving the property information of the user corresponding to the second equipment sent by the first equipment.
In a fifth aspect, the present application provides a chip, which includes a processor and a communication interface, where the processor is configured to cause the chip to perform the method as described in the first aspect or the second aspect and any one of the possible implementations thereof.
In a sixth aspect, the present application provides a module device, which includes a communication module, a power module, a storage module, and a chip, wherein: the power supply module is used for providing electric energy for the module equipment; the storage module is used for storing data and instructions; the communication module is used for carrying out internal communication of the module equipment or is used for carrying out communication between the module equipment and external equipment; the chip is adapted to perform the method as described in the first aspect or the second aspect and any one of its possible implementations.
In a seventh aspect, the present application provides a communication device comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to cause the communication device to perform the method as described in the first aspect or the second aspect and any one of its possible implementations,
in an eighth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium has stored therein computer-readable instructions, which, when run on a communication apparatus, cause the communication apparatus to perform the method as described in the first aspect or the second aspect and any one of its possible implementations.
In a ninth aspect, the present application provides a computer program or computer program product comprising code or instructions which, when run on a computer, cause the computer to perform the method as described in the first or second aspect and any of its possible implementations.
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 invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic view of a scenario of a data transmission method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a module apparatus according to an embodiment of the present application.
Detailed Description
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, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
It should be noted that the terms "first," "second," "third," and the like in the description and claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For better understanding of the embodiments of the present application, a network architecture related to the embodiments of the present application is first described below. Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application, and the present application may be applied to the network architecture shown in fig. 1, where the network architecture generally includes at least one first device and at least one second device, and fig. 1 takes as an example that the network system includes one first device and one second device, and a communication connection may be established between the first device and the second device for data transmission.
The first device is an electronic device with a data transmission function, the first device is used for receiving or sending data, and the first device can be deployed on the land, such as indoors or outdoors. Specifically, the first device may be a bluetooth all-in-one machine, may also be a device having a Near Field Communication (NFC) function, and may also be a terminal device, for example, a computer with a wireless transceiving function, a wireless terminal in a smart city (smart city), and a wireless terminal in a smart home (smart home). In this embodiment, the apparatus for implementing the function of the first device may be the first device, or may be an apparatus capable of supporting the first device to implement the function, such as a chip system or a combined device or a component capable of implementing the function of the first device, and the apparatus may be installed in the first device.
The second device is an electronic device having data transmission and data processing functions. The second device is used for receiving or transmitting data, and the second device may be fixed or mobile. Specifically, the second device may be a terminal device, such as a mobile phone (mobile phone), a tablet (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a vehicle-mounted terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a wearable terminal device, and the like. In this embodiment, the apparatus for implementing the function of the second device may be the second device, or may be an apparatus capable of supporting the second device to implement the function, such as a chip system or a combined device or a component capable of implementing the function of the second device, and the apparatus may be installed in the second device.
With the continuous development of the times and the continuous progress of science and technology, the smart community has come up with the move. The intelligent community is a new idea of community management and is a new mode of social management innovation in new situations. The intelligent community fully utilizes the integrated application of new-generation information technologies such as Internet of things, cloud computing and mobile internet, and provides a safe, comfortable and convenient modern and intelligent living environment for community residents, so that a community with a new management form based on informatization and intelligent social management and service is formed.
At present, property information in a community is published on a community Internet of things intelligent community service platform or third-party chatting software, and a user can know the latest property information only by actively logging in the service platform or the chatting software. The property information comprises one or more items of expense payment information, public maintenance information and express delivery information. The fee payment information can prompt the user to pay property fees, electricity fees and other fees in time, the public maintenance information can prompt the user to know the public maintenance condition of the cell in time, and the express information can prompt the user to get express as soon as possible. If the user does not log in the service platform or the chat software cannot know the property information in time, the life quality of the user may be affected, for example, the user forgets to pay the property cost.
In order to enable a user to know property information in time, the application provides a data transmission method, a device, a chip and module equipment. The following further describes the data transmission method, apparatus, chip and module device provided in the embodiments of the present application in detail.
Fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application. As shown in fig. 2, the data transmission method includes the following steps 201 to 203. The method execution body shown in fig. 2 may be a first device and a second device. Alternatively, the method execution body shown in fig. 2 may be a chip in the first device and a chip in the second device. Fig. 2 illustrates an example where the first device and the second device are execution subjects of the method.
201. The first device obtains a Media Access Control (MAC) address of the second device.
In this embodiment of the application, when the second device is within the preset range of the first device, the first device may establish a communication connection with the second device, so as to obtain the MAC address of the second device. That the second device is within the preset range of the first device means that the distance between the second device and the first device is less than a preset distance. Taking the scenario shown in fig. 3 as an example, when the second device is a vehicle-mounted device, the first device is located at a cell entrance guard, when the second device is located within a preset range of the first device, the first device is disposed at the cell entrance guard, when the user drives the second device to leave the cell, the distance between the second device and the first device is continuously close to each other, when the second device is located within the preset range of the first device, the first device can be connected with the second device at the moment, so that the MAC address of the second device is obtained, property information related to a user of the second device can be transmitted to the second device, and the user can obtain latest property information timely.
In a possible implementation manner, when the second device is within a preset range of the first device, the first device obtains an MAC address of the second device, and the specific implementation manner is: when the second equipment is within the preset range of the first equipment, the first equipment and the second equipment establish Bluetooth connection; and acquiring the MAC address of the second equipment through Bluetooth. Bluetooth is a radio technology that supports short-range communication of devices, and is a special short-range wireless technology connection that establishes a communication environment for fixed and mobile devices based on a low-cost short-range wireless connection. After the first device and the second device are preset and establish Bluetooth connection, when the first device and the second device are close to each other, the first device and the second device automatically establish Bluetooth connection, and when the first device and the second device are far away from each other, the Bluetooth connection is automatically disconnected. Illustratively, when the second device is a vehicle-mounted device, a user drives the second device to enter and exit the cell, and the first device can confirm the user identity based on the MAC address of the second device without recognizing the license plate number of the second device. For example, when the second device is a mobile phone, the user enters and exits the cell by walking, since the cell access card is easy to lose, and the user usually carries the mobile phone with him, the first device determines the MAC address of the second device by bluetooth connection, which is not only more convenient, but also is beneficial for the first device to determine the user identity more accurately.
Optionally, the first device will be in a Bluetooth Low Energy (BLE) state when there is no second device within a preset range of the first device. The first device in BLE state will reduce the radio on time for the lower broadcast while also reducing the number of broadcast bands. Based on the implementation, the power consumption loss of the first device is reduced.
In a possible implementation manner, the second device is a terminal device, and when the second device is within a preset range of the first device, the first device obtains an MAC address of the second device, where the specific implementation manner is: when the second device is within a preset range of the first device, the first device and the second device establish Near Field Communication (NFC) connection; the first device obtains a Media Access Control (MAC) address at the second device through NFC. NFC is developed based on a contactless radio frequency identification technology and in combination with a wireless interconnection technology, and devices (e.g., mobile phones) using the NFC technology can exchange data while being close to each other. For example, when the second device is a mobile phone, a user enters and exits the cell by walking, since the cell access card is easily lost, and the user usually carries the mobile phone with him, the first device determines the MAC address of the second device by bluetooth connection, which is not only more convenient, but also is beneficial for the first device to determine the user identity more accurately.
202. If the MAC address of the second device exists in the preset MAC address list, the first device obtains property information of a user corresponding to the second device based on the MAC address of the second device, the preset MAC address list comprises a plurality of MAC addresses, and one MAC address corresponds to one user.
In the embodiment of the application, the MAC address is used to uniquely identify a network card in a network, and if one or more network cards exist in a device, each network card needs to have a unique MAC address. The MAC address is written inside the hardware when being produced by a network equipment manufacturer and has uniqueness. The preset MAC address list includes a plurality of MAC addresses, users corresponding to the MAC addresses in the preset MAC address list are all cell users, and the first device may determine whether a user corresponding to the second device is a cell user based on the preset MAC address list. One MAC address corresponds to one user, and one user may correspond to one or more MAC addresses. The MAC address is written inside the hardware when the MAC address is produced by a network equipment manufacturer, and the MAC address has uniqueness. Therefore, the user corresponding to the second device is confirmed based on the MAC address, and the method is more accurate.
In one possible implementation, the method further includes: the first equipment downloads the latest property information from the server by taking preset time as a period; the first device updates property information in a local database of the first device based on the latest property information. The first device obtains property information of a user corresponding to the second device based on the MAC address of the second device, and the specific implementation mode is as follows: the first equipment acquires the property information of the user corresponding to the second equipment from a local database of the first equipment based on the MAC address of the second equipment. Illustratively, the first device downloads the latest property information from the 0 o' clock server every day, updates the property information in the local database of the first device, and synchronizes to the second device through the local database. Based on the implementation mode, the first equipment can acquire the property information corresponding to the second equipment more quickly, and the property information is fed back to the second equipment.
In a possible implementation manner, the first device obtains the property information of the user corresponding to the second device based on the MAC address of the second device, and the specific implementation manner is as follows: the method comprises the steps that first equipment sends first request information to a server, the first request information requests property information of a user corresponding to second equipment, and the first request information carries an MAC address of the second equipment; the first equipment receives first feedback information sent by the server, and the first feedback information carries property information of a user corresponding to the second equipment. Based on the implementation mode, the property information acquired by the first device can be the latest property information at present, and meanwhile, the storage burden of the first device can be reduced.
In one possible implementation, the method further includes: if the MAC address of the second device does not exist in the preset MAC address list, the first device sends second request information to the second device, and the second request information is used for requesting user information; the second equipment sends second feedback information to the first equipment, and the second feedback information indicates a target user; the first equipment sends third request information to the server, the third request information requests the server to send confirmation information to third equipment corresponding to the target user, and the confirmation information is used for indicating the third equipment to confirm whether the second equipment is related to the third equipment; and the first equipment receives third feedback information from the server and responds to the operation corresponding to the third feedback information.
For example, when the working staff for taking out the sales, the small nail, instead of the user of the cell, sends a second request message to the mobile phone of the small nail, where the second request message is used to request the small nail to input a target user, where the target user is a client of the small nail, and the client is a user in the cell. After the small nail inputs the address and the related information of the client through the second device, the first device sends third request information to the server, the third request information is used for requesting the server to send confirmation information to the third device of the client, the third request information is used for confirming whether the condition of the small nail is true or not, and after the small nail is confirmed on the third device, the server sends third feedback information to the first device. If the third feedback information indicates that the small nail is in fact, the first device opens the entrance guard, and sends a cell map, a specific address position of a client and the like to the second device of the small nail, so that the small nail can send the takeaway to the client more quickly; and if the third feedback information indicates that the small armor condition is not practical, the first equipment cannot open the entrance guard and forbid the small armor from passing.
203. And the first equipment sends the property information of the user corresponding to the second equipment. Correspondingly, the second device receives the property information of the user corresponding to the second device, which is sent by the first device.
In the embodiment of the application, the property information comprises expense payment information, public maintenance information and express delivery information. The fee payment information comprises property fees, electric fees, water fees, gas fees and the like, and the user obtains the timely fee payment information, so that the conditions of arrearage and the like can be avoided. The public maintenance information comprises public areas (such as elevators, stairs, driveways, gardens and the like) maintained in the residential quarter, and users can timely acquire the public maintenance information, so that the situation that the personal life is influenced due to residential quarter maintenance is avoided. The express information comprises an express to be taken by the user, and the user can timely acquire the express information to be beneficial to taking the express earlier. The property information may include other information besides the above-described information, and the embodiment of the present application does not limit this.
In a possible implementation manner, the first device sends, to the second device, property information of a user corresponding to the second device, and the specific implementation manner is: the method comprises the steps that a first device determines whether to-be-processed events of a user corresponding to a second device exist in property information of the user corresponding to the second device; and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, sending the property information of the user corresponding to the second equipment. The pending events may include unpaid fees and unacquired couriers. For example, when it is determined that the property information of the user corresponding to the second device has an unpaid electric charge, the first device sends the property information to the second device to prompt the user to pay as soon as possible; and if the first equipment determines that the property information of the user corresponding to the second equipment does not have the event to be processed, the first equipment does not send the property information to the second equipment. Based on the implementation mode, the first device sends the property information to the second device when the property information of the user corresponding to the second device contains the event to be processed, so that the user can process the event to be processed in time.
Optionally, if the property information of the user corresponding to the second device has the event to be processed of the user corresponding to the second device, the property information of the user corresponding to the second device is sent to the second device, and the specific implementation manner is as follows: and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, the event to be processed is a preset event, and the user corresponding to the second equipment is the owner, sending the property information of the user corresponding to the second equipment. Illustratively, the owners of a unit 101 house in a cell are a small first and a small second, the small first is a user owner, the small second is not a user owner, and the payment of the property is mainly charged by the small first. The fee payment information is preset as a preset event, only the equipment of the small first can obtain the fee payment information when passing through the entrance guard, and the equipment of the small second cannot obtain the fee payment information when passing through the entrance guard. Based on the implementation mode, the method is beneficial to avoiding the Tokyo B from acquiring useless information.
In a possible implementation manner, the first device sends, to the second device, property information of a user corresponding to the second device, and the specific implementation manner is: and if the time interval between the time of receiving the property information last time and the current time by the second equipment is greater than a preset threshold value, the first equipment sends the property information of the user corresponding to the second equipment. Based on the realization mode, the situation that the user frequently enters and exits the cell due to special situations to repeatedly acquire the property information can be avoided.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention, where the communication apparatus may be a first device or an apparatus (e.g., a chip) having a function of the first device. Specifically, as shown in fig. 4, the communication device 400 includes an obtaining unit 401 and a sending unit 402, and its specific functions are as follows:
the obtaining unit 401 is configured to obtain a MAC address of a second device when the second device is within a preset range of a first device; the obtaining unit 401 is further configured to obtain property information of a user corresponding to the second device based on the MAC address of the second device if the MAC address of the second device exists in a preset MAC address list, where the preset MAC address list includes a plurality of MAC addresses and one MAC address corresponds to one user; a sending unit 402, configured to send property information of a user corresponding to the second device.
In a possible implementation manner, the obtaining unit 401 obtains a MAC address of the second device when the second device is within a preset range of the first device, and is specifically configured to establish a bluetooth connection with the second device when the second device is within the preset range of the first device; the MAC address of the second device is obtained via bluetooth.
In a possible implementation, the communication device further includes an updating unit 404. The updating unit 404 is configured to download the latest property information from the server in a preset time period; updating property information in a local database of the first device based on the latest property information; the obtaining unit 401 obtains, based on the MAC address of the second device, property information of a user corresponding to the second device, and is specifically configured to: and acquiring the property information of the user corresponding to the second equipment from a local database of the first equipment based on the MAC address of the second equipment.
In a possible implementation manner, when acquiring the property information of the user corresponding to the second device based on the MAC address of the second device, the acquiring unit 401 is specifically configured to: sending first request information to a server, wherein the first request information requests property information of a user corresponding to second equipment, and the first request information carries an MAC address of the second equipment; and receiving first feedback information sent by the server, wherein the first feedback information carries the property information of the user corresponding to the second equipment.
In a possible implementation manner, when sending the property information of the user corresponding to the second device, the sending unit 402 is specifically configured to: determining whether the property information of the user corresponding to the second equipment has a to-be-processed event of the user corresponding to the second equipment; and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, sending the property information of the user corresponding to the second equipment.
In a possible implementation manner, when the property information of the user corresponding to the second device has a to-be-processed event of the user corresponding to the second device, and the sending unit 402 is configured to, when sending the property information of the user corresponding to the second device, specifically: and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, the event to be processed is a preset event, and the user corresponding to the second equipment is the owner, sending the property information of the user corresponding to the second equipment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a communication apparatus according to an embodiment of the present invention, where the communication apparatus may be a second device or an apparatus (e.g., a chip) having a function of the second device. Specifically, as shown in fig. 4, the communication device 400 includes an obtaining unit 401 and a sending unit 402, and its specific functions are as follows:
a sending unit 402, configured to send indication information to a first device when a second device is within a preset range of the first device, where the indication information indicates a MAC address of the second device; an obtaining unit 401, configured to receive property information of a user corresponding to a second device sent from a first device.
In a possible implementation manner, the sending unit 402 is configured to send instruction information to the first device when the second device is within a preset range of the first device, and specifically, is configured to establish a bluetooth connection with the second device when the second device is within the preset range of the first device; and sending the indication information to the first equipment through Bluetooth.
The embodiment of the present application further provides a chip, where the chip may perform the relevant steps of the first device in the foregoing method embodiments. The chip, including a processor and a communication interface, the processor configured to cause the chip to perform the operations of: when the second equipment is in the preset range of the first equipment, acquiring a Media Access Control (MAC) address of the second equipment; if the MAC address of the second device exists in the preset MAC address list, acquiring property information of a user corresponding to the second device based on the MAC address of the second device, wherein the preset MAC address list comprises a plurality of MAC addresses, and one MAC address corresponds to one user; and sending the property information of the user corresponding to the second equipment.
In a possible implementation manner, when the second device is within a preset range of the first device, the chip acquires a MAC address of the second device, and the processor is configured to cause the chip to perform the following operations: when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment; the MAC address of the second device is obtained via bluetooth.
In a possible implementation manner, the processor is further configured to cause the chip to perform operations of downloading the latest property information from the server in a preset time period; updating property information in a local database of the first device based on the latest property information; when acquiring the property information of the user corresponding to the second device based on the MAC address of the second device, the processor is configured to cause the chip to perform the following operations: and acquiring the property information of the user corresponding to the second equipment from a local database of the first equipment based on the MAC address of the second equipment.
In one possible implementation manner, when the chip obtains the property information of the user corresponding to the second device based on the MAC address of the second device, the processor is configured to cause the chip to perform the following operations: sending first request information to a server, wherein the first request information requests property information of a user corresponding to second equipment, and the first request information carries an MAC address of the second equipment; and receiving first feedback information sent by the server, wherein the first feedback information carries the property information of the user corresponding to the second equipment.
In one possible implementation manner, when the chip sends the property information of the user corresponding to the second device, the processor is configured to cause the chip to perform the following operations: determining whether the property information of the user corresponding to the second equipment has a to-be-processed event of the user corresponding to the second equipment; and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, sending the property information of the user corresponding to the second equipment.
In a possible implementation manner, when the property information of the user corresponding to the second device has a to-be-processed event of the user corresponding to the second device, and the chip sends the property information of the user corresponding to the second device, the processor is configured to enable the chip to perform the following operations: and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, the event to be processed is a preset event, and the user corresponding to the second equipment is the owner, sending the property information of the user corresponding to the second equipment.
In a possible implementation, the chip includes at least one processor, at least one first memory, and at least one second memory; the at least one first memory and the at least one processor are interconnected through a line, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected through a line, and the second memory stores the data required to be stored in the method embodiment.
For each device or product applied to or integrated in the chip, each module included in the device or product may be implemented by hardware such as a circuit, or at least a part of the modules may be implemented by a software program running on a processor integrated in the chip, and the rest (if any) part of the modules may be implemented by hardware such as a circuit.
The embodiment of the present application further provides a chip, where the chip may perform the relevant steps of the second device in the foregoing method embodiment. The chip, including a processor and a communication interface, the processor configured to cause the chip to perform the operations of: when the second equipment is in a preset range of the first equipment, sending indication information to the first equipment, wherein the indication information indicates a Media Access Control (MAC) address of the second equipment; and receiving the property information of the user corresponding to the second equipment, which is sent by the first equipment.
In a possible implementation manner, when the chip sends the indication information to the first device when the second device is within the preset range of the first device, the processor is configured to cause the chip to perform the following operations: when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment; and sending the indication information to the first equipment through Bluetooth.
In a possible implementation, the chip includes at least one processor, at least one first memory, and at least one second memory; the at least one first memory and the at least one processor are interconnected through a line, and instructions are stored in the first memory; the at least one second memory and the at least one processor are interconnected through a line, and the second memory stores the data required to be stored in the method embodiment.
For each device or product applied to or integrated in the chip, each module included in the device or product may be implemented by hardware such as a circuit, or at least a part of the modules may be implemented by a software program running on a processor integrated in the chip, and the rest (if any) part of the modules may be implemented by hardware such as a circuit.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention. The communication device 500 may include a memory 501, a processor 502. Optionally, a communication interface 503 is also included. The memory 501, processor 502, and communication interface 503 are connected by one or more communication buses. Wherein the communication interface 503 is controlled by the processor 502 for transmitting and receiving information.
Memory 501 may include both read-only memory and random access memory and provides instructions and data to processor 502. A portion of the memory 501 may also include non-volatile random access memory.
The communication interface 503 is used to receive or transmit data.
The processor 502 may be a Central Processing Unit (CPU), and the processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, and optionally, the processor 502 may be any conventional processor or the like. Wherein:
a memory 501 for storing program instructions.
A processor 502 for invoking program instructions stored in the memory 501.
The processor 502 invokes the program instructions stored in the memory 501 to cause the communication apparatus 500 to execute the method executed by the first device or the second device in the above-described method embodiments.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a module device according to an embodiment of the present disclosure. The modular apparatus 600 may perform the steps related to the first apparatus or the second apparatus in the foregoing method embodiments, and the modular apparatus 600 includes: a communication module 601, a power module 602, a memory module 603 and a chip 604.
The power module 602 is configured to provide power for the module device; the storage module 603 is used for storing data and instructions; the communication module 601 is used for performing internal communication of module equipment or for performing communication between the module equipment and external equipment; the chip 604 is used for executing the method executed by the first device or the second device in the above method embodiments.
It should be noted that, for details that are not mentioned in the embodiments corresponding to fig. 5 and fig. 6 and specific implementation manners of each step, reference may be made to the embodiment shown in fig. 2 and the foregoing contents, and details are not described here again.
Embodiments of the present application further provide a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is executed on a processor, the method flow of the above method embodiments is implemented.
Embodiments of the present application further provide a computer program product, where when the computer program product runs on a processor, the method flow of the above method embodiments is implemented.
Each module/unit included in each apparatus and product described in the above embodiments may be a software module/unit, or may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit. For example, each module/unit included in each apparatus or product applied to or integrated in a chip may be implemented by hardware such as a circuit, or at least a part of the modules/units may be implemented by a software program running on an integrated processor in the chip, and the rest (if any) part of the modules/units may be implemented by hardware such as a circuit; for each device and product applied to or integrated with the chip module, each module/unit included in the device and product may be implemented by hardware such as a circuit, and different modules/units may be located in the same piece (for example, a chip, a circuit module, etc.) or different components of the chip module, or at least part of the modules/units may be implemented by a software program running on a processor integrated inside the chip module, and the rest (if any) part of the modules/units may be implemented by hardware such as a circuit; for each device or product applied to or integrated in the terminal, the modules/units included in the device or product may all be implemented by hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least some of the modules/units may be implemented by software programs running on a processor integrated in the terminal, and the rest (if any) of the modules/units may be implemented by hardware such as a circuit.
It is noted that, for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some acts may, in accordance with the present application, occur in other orders and/or concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The descriptions of the embodiments provided in the present application may be referred to each other, and the descriptions of the embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. For convenience and simplicity of description, for example, the functions and operations performed by each device and apparatus provided in the embodiments of the present application may refer to the relevant description of the method embodiments of the present application, and may also be referred to, combined with or incorporated into each other among the method embodiments and the device embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (14)

1. A data transmission method applied in a first device, the method comprising:
when second equipment is in a preset range of the first equipment, acquiring a Media Access Control (MAC) address of the second equipment;
if the MAC address of the second device exists in a preset MAC address list, acquiring property information of a user corresponding to the second device based on the MAC address of the second device, wherein the preset MAC address list comprises a plurality of MAC addresses, and one MAC address corresponds to one user;
and sending the property information of the user corresponding to the second equipment.
2. The method of claim 1,
when the second device is within the preset range of the first device, acquiring the MAC address of the second device includes:
when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment;
and acquiring the MAC address of the second equipment through Bluetooth.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
downloading latest property information from a server by taking preset time as a period;
updating property information in a local database of the first device based on the up-to-date property information;
the acquiring, based on the MAC address of the second device, the property information of the user corresponding to the second device includes:
and acquiring the property information of the user corresponding to the second equipment from a local database of the first equipment based on the MAC address of the second equipment.
4. The method according to claim 1 or 2, wherein the obtaining of the property information of the user corresponding to the second device based on the MAC address of the second device comprises:
sending first request information to a server, wherein the first request information requests property information of a user corresponding to the second equipment, and the first request information carries an MAC address of the second equipment;
and receiving first feedback information sent by the server, wherein the first feedback information carries the property information of the user corresponding to the second equipment.
5. The method of claim 1, wherein the sending, to the second device, the property information of the user corresponding to the second device comprises:
determining whether the property information of the user corresponding to the second device has a to-be-processed event of the user corresponding to the second device;
and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, sending the property information of the user corresponding to the second equipment.
6. The method according to claim 5, wherein if the property information of the user corresponding to the second device has a pending event of the user corresponding to the second device, sending the property information of the user corresponding to the second device includes:
and if the property information of the user corresponding to the second equipment has the event to be processed of the user corresponding to the second equipment, the event to be processed is a preset event, and the user corresponding to the second equipment is the owner, sending the property information of the user corresponding to the second equipment.
7. A data transmission method applied in a second device, the method comprising:
when the second equipment is in a preset range of the first equipment, sending indication information to the first equipment, wherein the indication information indicates a Media Access Control (MAC) address of the second equipment;
and receiving the property information of the user corresponding to the second equipment, which is sent by the first equipment.
8. The method of claim 7, wherein the sending the indication information to the first device when the second device is within the preset range of the first device comprises:
when the second equipment is within the preset range of the first equipment, establishing Bluetooth connection with the second equipment;
and sending the indication information to the first equipment through Bluetooth.
9. A communication apparatus, characterized in that the communication apparatus includes an acquisition unit and a transmission unit, wherein:
the acquiring unit is used for acquiring the Media Access Control (MAC) address of the second device when the second device is within the preset range of the first device;
the obtaining unit is further configured to obtain property information of a user corresponding to the second device based on the MAC address of the second device if the MAC address of the second device exists in a preset MAC address list, where the preset MAC address list includes a plurality of MAC addresses and one MAC address corresponds to one user;
and the sending unit is used for sending the property information of the user corresponding to the second equipment.
10. A communication apparatus, characterized in that the communication apparatus comprises a transmission unit and an acquisition unit, wherein:
the sending unit is configured to send indication information to a first device when a second device is within a preset range of the first device, where the indication information indicates a media access control MAC address of the second device;
the acquiring unit is used for receiving the property information of the user corresponding to the second device sent by the first device.
11. A chip comprising a processor and a communication interface, the processor being configured to cause the chip to perform the method of any one of claims 1 to 6 or the processor being configured to cause the chip to perform the method of claim 7 or 8.
12. The utility model provides a module equipment, its characterized in that, module equipment includes communication module, power module, storage module and chip, wherein:
the power supply module is used for providing electric energy for the module equipment;
the storage module is used for storing data and instructions;
the communication module is used for carrying out internal communication of module equipment or is used for carrying out communication between the module equipment and external equipment;
the chip is used for executing the method of any one of claims 1-6, or the chip is used for executing the method of claim 7 or 8.
13. A communications device comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to cause the communications device to perform the method of any one of claims 1 to 6 or to cause the communications device to perform the method of claim 7 or 8.
14. A computer readable storage medium having stored therein computer readable instructions which, when run on a communication device, cause the communication device to perform the method of any of claims 1-6, or cause the communication device to perform the method of claim 7 or 8.
CN202210158781.1A 2022-02-21 2022-02-21 Data transmission method, device, chip and module equipment Pending CN114567851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210158781.1A CN114567851A (en) 2022-02-21 2022-02-21 Data transmission method, device, chip and module equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210158781.1A CN114567851A (en) 2022-02-21 2022-02-21 Data transmission method, device, chip and module equipment

Publications (1)

Publication Number Publication Date
CN114567851A true CN114567851A (en) 2022-05-31

Family

ID=81713648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210158781.1A Pending CN114567851A (en) 2022-02-21 2022-02-21 Data transmission method, device, chip and module equipment

Country Status (1)

Country Link
CN (1) CN114567851A (en)

Similar Documents

Publication Publication Date Title
CN107393178B (en) Mobile power supply, mobile power supply system, sharing request method, intelligent terminal and storage medium
US10050457B2 (en) Smart charging of user devices
US11663622B2 (en) Offline information pushing method and apparatus
US11164444B2 (en) Systems and methods for multi-device restriction zone maintenance
EP2993921B1 (en) Service processing method based on location information
JP6560352B2 (en) Information push method and device
CN103529788A (en) Remote cloud household electric appliance control equipment
US11796340B2 (en) Universal automated system for identifying, registering and verifying the existence, location and characteristics of electric and other power outlets by random users and for retrieval and utilization of such parametric data and outlets by all users
US11328230B2 (en) Multinodal power sensing, aggregation, and transmission
US9536239B2 (en) Transaction processing and remote activation
CN107566449B (en) Mobile power supply leasing method and system, mobile terminal, server and leasing terminal
AU2018101370A4 (en) Power Bank Sharing and Rental System and Method
JP2018014097A5 (en)
CN104704861B (en) Mobile terminal, method, program and storage medium for positioning the terminal based on the identification associated with the receiving time of the identification of access point
CN104159294A (en) Cloud positioning platform based on Bluetooth 4.0 technology
CN106464737B (en) Messenger network service unit and method
CN111526193B (en) Distributed weather station system based on fog calculation and block chain platform and working method
CN105263120A (en) Method and system for prompting user of available wireless local area network
CN103500400A (en) Multi-application mobile payment system and safety method
CN105450417B (en) User behavior verification method and device under mobile scene
CN103632261A (en) Indoor natural gas charge payment system
CN103780665B (en) Data transmission system, data transmission method and mobile electronic device
CN114567851A (en) Data transmission method, device, chip and module equipment
CN103617524A (en) Method for paying for natural gas at home
CN110942527A (en) Sign-in and information sending method, client, electronic device and storage medium

Legal Events

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