CN114390506B - Egg frame connection method and device, storage medium and electronic device - Google Patents

Egg frame connection method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114390506B
CN114390506B CN202011112862.5A CN202011112862A CN114390506B CN 114390506 B CN114390506 B CN 114390506B CN 202011112862 A CN202011112862 A CN 202011112862A CN 114390506 B CN114390506 B CN 114390506B
Authority
CN
China
Prior art keywords
egg rack
target egg
target
wireless connection
rack
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011112862.5A
Other languages
Chinese (zh)
Other versions
CN114390506A (en
Inventor
张雪松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN202011112862.5A priority Critical patent/CN114390506B/en
Publication of CN114390506A publication Critical patent/CN114390506A/en
Application granted granted Critical
Publication of CN114390506B publication Critical patent/CN114390506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a method and a device for connecting egg frames, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a first characteristic identifier sent by a target egg rack and used for identifying the target egg rack; matching the first characteristic identifier with a pre-recorded historical characteristic identifier; and under the condition that the first characteristic identification is matched with the historical characteristic identification, sending a wireless connection request to the target egg rack so as to establish wireless connection with the target egg rack. The application solves the problem of difficult expansion of the egg rack in the related technology, thereby achieving the effect of convenient expansion of the egg rack.

Description

Egg frame connection method and device, storage medium and electronic device
Technical Field
The embodiment of the application relates to the field of communication, in particular to an egg frame connection method, an egg frame connection device, a storage medium and an electronic device.
Background
At present, some intelligent refrigerators are internally provided with intelligent egg racks, the intelligent egg racks measure the weight of eggs through pressure sensors and identify the number of eggs, so that users can be informed of timely eating according to purchase dates and estimated shelf lives or can be informed of timely purchasing new eggs when no eggs exist.
The intelligent egg rack loaded with the pressure sensor is generally provided with an MCU (Microcontroller Unit, a single-chip microcomputer) which is communicated with a main control board of the refrigerator through a serial port or other communication interfaces, and when a new egg rack needs to be additionally arranged in the refrigerator for expansion, the communication mode is limited by the communication interfaces of the MCU of the main board, and the egg racks with the specified quantity cannot be expanded according to the requirements, so that the use is affected.
Disclosure of Invention
The embodiment of the application provides a method and a device for connecting egg frames, a storage medium and an electronic device, which are used for at least solving the problem that more egg frames cannot be expanded in the related technology.
According to an embodiment of the present application, there is provided a frame connection method including:
acquiring a first characteristic identifier sent by a target egg rack and used for identifying the target egg rack;
matching the first characteristic identifier with a pre-recorded historical characteristic identifier;
and under the condition that the first characteristic identification is matched with the historical characteristic identification, sending a wireless connection request to the target egg rack so as to establish wireless connection with the target egg rack.
In one exemplary embodiment, before the acquiring the first characteristic identifier sent by the target egg rack for identifying the target egg rack, the method includes:
acquiring pairing broadcasting sent by the target egg rack;
sending a pairing request to the target egg rack according to the pairing broadcast;
and under the condition that a pairing success response returned by the target egg rack is obtained, recording a first characteristic identifier of the target egg rack as the historical characteristic identifier.
In an exemplary embodiment, after the sending the wireless connection request to the target egg rack, the method further comprises:
acquiring a connection response fed back by the target egg rack after the authentication processing is successful, wherein the authentication processing is performed according to the wireless connection request;
and establishing connection with the target egg rack according to the connection response.
In one exemplary embodiment, after establishing the wireless connection with the target egg carrier, the method further comprises:
acquiring active information of the target egg rack, wherein the active information comprises the change frequency of the state of eggs on the target egg rack;
disconnecting a wireless connection with the target egg rack if the change frequency is determined to be less than a predetermined frequency threshold;
a wireless connection with the target egg rack is maintained upon determining that the frequency of variation is greater than or equal to the predetermined frequency threshold.
In one exemplary embodiment, the method includes:
under the condition that the wireless connection with the target egg rack is not determined, acquiring the heartbeat broadcast sent by the target egg rack;
and determining the online state of the target egg rack according to the heartbeat broadcast.
In one exemplary embodiment, the sending a wireless connection request to the target egg rack includes:
encrypting the initial wireless connection request to obtain the wireless connection request;
and sending the wireless connection request to the target egg rack.
In one exemplary embodiment, transmitting a pairing request to the target egg holder according to the pairing broadcast includes:
determining an initial pairing request to be sent to the target egg rack according to the pairing broadcast;
encrypting the initial pairing request to obtain the pairing request;
and sending the pairing request to the target egg rack.
In one exemplary embodiment, acquiring the pairing broadcast transmitted by the target egg holder includes:
and acquiring the pairing broadcast sent by the target egg holder according to a first preset transmitting power, wherein the first preset transmitting power is smaller than a first power threshold value.
In one exemplary embodiment, acquiring the target egg flat transmission heartbeat broadcast includes:
and acquiring the heartbeat broadcast sent by the target egg holder according to a second preset transmitting power, wherein the second preset transmitting power is smaller than a second power threshold value.
According to another embodiment of the present application, there is provided an egg rack connecting device including:
the first identification acquisition module is used for acquiring a first characteristic identification which is sent by a target egg rack and used for identifying the target egg rack;
the first identification matching module is used for matching the first characteristic identification with a pre-recorded historical characteristic identification;
and the wireless connection module is used for sending a wireless connection request to the target egg rack under the condition that the first characteristic identifier is matched with the historical characteristic identifier, so as to establish wireless connection with the target egg rack.
According to a further embodiment of the application, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, the target egg rack is connected in a wireless connection mode, so that the problem that the egg rack cannot be expanded can be solved, and the effect of improving the expansion efficiency of the egg rack is achieved.
Drawings
Fig. 1 is a hardware block diagram of a mobile terminal of an egg rack connection method according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for egg carrier connection according to an embodiment of the present application;
FIG. 3 is a block diagram showing a structure of an egg rack connecting device according to an embodiment of the present application;
FIG. 4 is a flow chart I of an embodiment of the present application;
fig. 5 is a flow chart two of an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the operation on a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal of an egg rack connection method according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a frame connection method in an embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a method for connecting egg frames is provided, fig. 2 is a flowchart of a method for connecting egg frames according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S202, a first characteristic identifier sent by a target egg rack and used for identifying the target egg rack is obtained;
in this embodiment, the first feature identifier of the target egg rack is obtained so that the control main board in the smart home can identify the expanded target egg rack, so that the smart home can record and display the egg information on the target egg rack, and further, a user can timely obtain the egg information in the smart home.
The target egg rack can be, but is not limited to, an egg rack provided with a sensor and a wireless communication module, wherein the sensor can be a gravity sensor, a temperature sensor and the like used for detecting and recording egg information, and the wireless communication module is used for transmitting the egg information and the target egg rack information; the first characteristic identifier includes, but is not limited to, information that the target egg rack can be identified, such as an IP (Internet Protocol) address of the target egg rack, a device number of the target egg rack, etc., and the first characteristic identifier may be in one-to-one correspondence with the target egg rack, so as to avoid erroneous identification of the target egg rack; or the target egg racks are corresponding to the designated number of target egg racks, so that storage resources are saved; however, the same first feature identifier should be prevented from being installed in the same smart home as much as possible so as to avoid connection errors; the first feature identifier may be stored in a data tag manner, may be stored in a data string manner, or may be stored in other manners; the mode that the target egg rack sends the first characteristic identifier to the control main board can be realized through wireless Bluetooth communication, can also be realized through WIFI communication, and can also be realized through other wireless transmission modes.
It should be noted that, the manner in which the control main board receives the first feature identifier corresponds to the manner in which the target egg rack sends the first feature identifier, and after the control main board receives the first feature identifier, the control main board may analyze the first feature identifier, then identify the analyzed first feature identifier, and execute a corresponding processing operation according to the identification result, or directly identify the first feature identifier, and perform a corresponding process according to the identification result.
Step S204, the first characteristic identifier is matched with a pre-recorded historical characteristic identifier;
in this embodiment, when the first feature identifier is matched with the history feature identifier, in order to determine that the first feature identifier is an egg holder that has been connected to the control main board or has been recorded, erroneous identification caused by connection of an unauthorized egg holder to the control main board is avoided.
For example, if a first egg rack not installed in an intelligent home is connected with a control main board in the intelligent home, the control main board may be caused to record and display the situation of eggs on the first egg rack in error, so that a user receives error information and causes error operation of the user; by matching the first characteristic identifier of the first egg holder with the history characteristic identifier, the first egg holder is prevented from being connected with the control main board under the condition that the first characteristic identifier is not matched with the pre-recorded history characteristic identifier, so that the error operation of a user is avoided.
The history feature identifier may be obtained by storing in the control main board in advance, or may be obtained by recording the first feature identifier of the target egg rack by the control main board after the target egg rack is connected with the control main board, or may be obtained by other methods.
It should be noted that, under the condition that the first feature identifier is the same as the history feature identifier, it is determined that the first feature identifier is matched with the history feature identifier; and in the case that the first characteristic identifier is different from the historical characteristic identifier, judging that the first characteristic identifier is not matched with the historical characteristic identifier.
The process of matching the first feature identifier with the history feature identifier may be to sequentially compare the received first feature identifier with a pre-recorded history feature identifier, or may be to sequentially search according to data in a data string if the first feature identifier is a data string, so as to determine whether to match with the history feature identifier; for example, when the first feature identifier is "001", the first historical feature identifier with the first digit being "0" is screened out, then the first historical feature identifier with the first digit being "0" is screened out, and finally the third historical feature identifier with the third digit being "1", if the historical feature identifier with the identifier "001" can be screened out, the first feature identifier is determined to be matched with the historical feature identifier, otherwise, the first feature identifier is determined to be not matched with the historical feature identifier, and so on.
Step S206, in the case that the first characteristic identification is matched with the historical characteristic identification, a wireless connection request is sent to the target egg rack so as to establish wireless connection with the target egg rack.
In this embodiment, when the first feature identifier is matched with the history feature identifier, it is indicated that the target egg rack is an authorized egg rack, so that connection between an unauthorized egg rack and the control main board is avoided; in order to further ensure the safety of connection, whether the target egg rack meets the connection requirement can be judged, wherein the connection requirement comprises (but is not limited to) that the target egg rack is installed in an intelligent home, the communication distance meets the preset distance, the service life meets the preset life, and the like.
The wireless connection request may be a data string containing a key, a request signal, or other signal forms.
After the target egg rack receives the wireless connection request, the wireless connection request can be directly analyzed and identified, and then the target egg rack judges whether to establish connection according to the identification result so as to determine whether the target egg rack is matched with the intelligent home or not, so that the error connection between the target egg rack and the intelligent home is avoided; and feeding back a connection success response in the case where it is determined that the connection is established or a response that the connection is unsuccessful in the case where it is determined that the connection is not established.
Through the steps, as the target egg frames are connected in a wireless connection mode, the problem that the egg frames cannot be expanded during wired connection is solved, and the egg frame expansion efficiency is improved.
In an alternative embodiment, prior to acquiring the first characteristic identifier sent by the target egg rack for identifying the target egg rack, the method includes:
step S2002, obtaining pairing broadcast sent by a target egg rack;
step S2004, sending a pairing request to a target egg rack according to pairing broadcast;
step S2006, under the condition that a pairing success response returned by the target egg rack is obtained, recording a first characteristic identifier of the target egg rack as a historical characteristic identifier.
In this embodiment, after the target egg rack is inserted into the power supply slot in the smart home, the wireless communication device on the target egg rack is powered on and then transmits the paired broadcast, and the transmission directions of the paired broadcast may be multiple, so as to improve the receiving probability of the control motherboard, or may be the designated number of directions, so as to save energy; the pairing broadcast can contain information such as a first characteristic identifier, an installation position and the like of the target egg rack, so that the control main board can accurately send a pairing request to the target egg rack according to the pairing broadcast; the pairing request may (but is not limited to) include an ID, an IP address, location information, etc. of the control main board, so that the target egg holder can quickly identify the main control board.
After the target egg rack is successfully paired with the control main board, the target egg rack sends a pairing success response to the control main board so that the control main board can determine the connection state, and then the first characteristic identifiers of the target egg rack are recorded, so that the error of the historical characteristic identifiers caused by other historical characteristic identifier acquisition modes is avoided, and the pairing success rate of the first characteristic identifiers is improved.
In an alternative embodiment, after sending the wireless connection request to the target egg rack, the method further comprises:
step S2062, acquiring a connection response fed back by the target egg rack after authentication processing is successful according to the wireless connection request;
in step S2064, a connection is established with the target egg rack in accordance with the connection response.
In this embodiment, after receiving the wireless connection request, the target egg rack performs authentication processing on the wireless connection request to ensure that the control motherboard connected to the target egg rack is a target control motherboard, thereby avoiding erroneous connection between the target unit and the control motherboard.
The process of performing authentication processing by the target egg rack according to the wireless connection request may be that the target egg rack compares information such as an ID and an IP address of a control main board included in the wireless connection request with related information of the control main board stored in a storage unit of the target egg rack in advance, and determines that the authentication processing is successful if the information of the control main board included in the wireless connection request is the same as the information in the storage unit of the target egg rack, or determines that the authentication processing is unsuccessful; and then sending a connection response to the control main board, so that the control main board establishes wireless connection with the target egg rack according to the connection response.
In an alternative embodiment, after establishing the wireless connection with the target egg carrier, the method further comprises:
step S2066, obtaining active information of the target egg rack, wherein the active information comprises the change frequency of the egg state on the target egg rack;
step S20682, disconnecting the wireless connection with the target egg rack under the condition that the change frequency is less than the preset frequency threshold value;
in step S20684, in the event that the change frequency is determined to be greater than or equal to the predetermined frequency threshold, a wireless connection with the target egg rack is maintained.
In this embodiment, when the frequency of the change of the egg state on the target egg rack is smaller than the predetermined frequency threshold, it is determined that the frequency of use of the target egg rack is not high, so that the wireless connection with the target egg rack is disconnected for saving energy; similarly, when the frequency of the change of the egg state on the target egg rack is greater than or equal to the predetermined frequency threshold, it is determined that the frequency of use of the target egg rack is high, so that the wireless connection with the target egg rack needs to be maintained in order to avoid the carry-over of egg rack information.
The mode of acquiring the active information of the target egg rack may be that the target egg rack sends the change frequency of the egg state stored in the storage unit of the target egg rack to the control main board, or the control main board continuously records the time and the times of the change of the egg state on the target egg rack, or may be obtained through other modes.
The method is characterized in that the egg state comprises information such as freshness, quantity, storage position, storage time and storage duration of eggs, and the active information of the target egg rack can also comprise connection frequency between the target egg rack and the control main board, namely the number of times that the target egg rack establishes wireless connection with the control main board in unit time; the predetermined frequency threshold may be set according to actual usage habits or may be determined according to other information.
In an alternative embodiment, the method further comprises:
step S2082, under the condition that the wireless connection with the target egg rack is not determined, acquiring a heartbeat broadcast sent by the target egg rack;
step S2084, determining the on-line state of the target egg rack according to the heartbeat broadcast.
In this embodiment, when the target egg rack is not in wireless connection with the control main board, in order to enable the control main board to quickly establish wireless connection with the target egg rack if necessary, it is necessary to determine whether the target egg rack is in a normal working state, so that it is determined whether the target egg rack is in a normal working state by acquiring a heartbeat broadcast sent by the target egg rack; the normal working state comprises whether the target egg rack is normally electrified, normally connected, in a normal connection range and the like.
And after receiving the heartbeat broadcast of the target egg rack, the control main board stores the online state of the target egg rack, and then when the egg rack needs to be expanded, the control main board rapidly sends a connection request to the target egg rack and establishes wireless connection with the target egg rack, so that the egg rack expansion time is saved, and the egg rack expansion efficiency is improved.
In an alternative embodiment, the sending a wireless connection request to the target egg rack includes:
step S20602, performing encryption processing on the initial wireless connection request to obtain a wireless connection request;
step S20604, a wireless connection request is sent to the target egg rack.
In this embodiment, the encryption processing is performed on the initial wireless connection request to avoid that an unauthorized egg rack and the control main board establish wireless connection, so as to ensure that egg rack information acquired by the control main board is correct egg rack information.
In an alternative embodiment, transmitting a pairing request to the target egg holder according to a pairing broadcast includes:
step S20606, determining an initial pairing request to be sent to the target egg rack according to pairing broadcast;
step S20608, encrypting the initial pairing request to obtain a pairing request;
step S206010, a pairing request is sent to the target egg rack.
In this embodiment, the encryption processing is performed on the initial pairing request to avoid that an unauthorized egg rack and the control main board are in wireless connection, so as to ensure that egg rack information acquired by the control main board is correct egg rack information.
In an alternative embodiment, acquiring a pairing broadcast transmitted by a target egg holder includes:
step S20022, obtaining a pairing broadcast sent by the target egg holder according to a first preset transmitting power, wherein the first preset transmitting power is smaller than a first power threshold value.
In this embodiment, the target egg holder is acquired to transmit the paired broadcast according to the first predetermined transmission power smaller than the first power threshold, so as to reduce energy consumption and further save energy.
The obtaining of the target egg rack to send heartbeat broadcasting comprises the following steps:
step S20024, obtaining heartbeat broadcasting sent by the target egg rack according to a second preset transmitting power, wherein the second preset transmitting power is smaller than a second power threshold value.
In this embodiment, the purpose of obtaining the target egg rack to send the heartbeat broadcast according to the second predetermined transmission power smaller than the second power threshold is to reduce energy consumption, and further save energy.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
In this embodiment, an egg rack connecting device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 3 is a block diagram of a frame connecting apparatus according to an embodiment of the present application, as shown in fig. 3, the apparatus includes:
a first identifier obtaining module 32, configured to obtain a first feature identifier sent by the target egg rack and used for identifying the target egg rack;
a first identifier matching module 34, configured to match the first feature identifier with a pre-recorded historical feature identifier;
and the wireless connection module 36 is configured to send a wireless connection request to the target egg rack to establish a wireless connection with the target egg rack if the first characteristic identifier is determined to match the historical characteristic identifier.
In an alternative embodiment, the apparatus further comprises:
a broadcast obtaining unit 302, configured to obtain a pairing broadcast sent by a target egg holder;
a pairing request unit 304, configured to send a pairing request to a target egg holder according to a pairing broadcast;
the identifier recording unit 306 is configured to record, when a pairing success response returned by the target egg holder is obtained, a first feature identifier of the target egg holder as a history feature identifier.
In an alternative embodiment, the apparatus further comprises:
the authentication processing unit 362 is configured to obtain a connection response that the target egg holder performs authentication processing according to the wireless connection request and that is fed back after the authentication processing is successful;
and a response connection unit 364 for establishing connection with the target egg rack according to the connection response.
In an alternative embodiment, the apparatus further comprises:
an activity information acquisition unit 366 configured to acquire activity information of a target egg rack, where the activity information includes a frequency of change of a state of an egg on the target egg rack;
an egg rack disconnecting unit 3682 for disconnecting the wireless connection with the target egg rack if it is determined that the variation frequency is less than the predetermined frequency threshold;
the egg rack connection unit 3684 is configured to maintain a wireless connection with a target egg rack if it is determined that the frequency of variation is greater than or equal to a predetermined frequency threshold.
In an alternative embodiment, the apparatus further comprises:
the heartbeat acquisition unit 382 is configured to acquire a heartbeat broadcast sent by the target egg rack when it is determined that the target egg rack is not connected with the wireless connection device;
the online determining unit 3847 is configured to determine an online status of the target egg holder according to the heartbeat broadcast.
In an alternative embodiment, wireless connection module 36 includes:
an initial encryption unit 3692, configured to encrypt an initial wireless connection request to obtain a wireless connection request;
the request sending unit 3694 is configured to send a wireless connection request to the target egg rack.
In an alternative embodiment, pairing request unit 304 includes:
a request determining subunit 3042, configured to determine, according to a pairing broadcast, an initial pairing request that needs to be sent to the target egg holder;
a request encrypting subunit 3044 that encrypts the initial pairing request to obtain a pairing request;
the request transmitting subunit 3046 transmits a pairing request to the target egg rack.
In an alternative embodiment, the broadcast acquisition unit 302 includes:
the broadcast acquiring subunit 3022 is configured to acquire a paired broadcast sent by the target egg holder according to a first predetermined transmission power, where the first predetermined transmission power is smaller than the first power threshold.
In an alternative embodiment, the heartbeat acquisition unit 382 includes:
the heartbeat acquisition subunit 3822 is configured to acquire a heartbeat broadcast sent by the target egg holder according to a second predetermined transmission power, where the second predetermined transmission power is less than the second power threshold.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
The application will now be described with reference to specific examples.
Referring to fig. 4 and 5, after the target egg rack is inserted into the slot for supplying power to the target egg rack, the target egg rack transmits a broadcast while opening a pairing time window of 30 seconds (corresponding to step 1 in fig. 4); simultaneously, the electric control plate of the refrigerator scans the surrounding environment, automatically pairs with a new target egg rack when the new target egg rack is found (corresponding to step 2 in fig. 4), and sends a characteristic identifier of the refrigerator to the target egg rack during pairing (corresponding to step 3 in fig. 4); the target egg rack records the characteristic identification of the refrigerator (corresponding to the step 4 in fig. 4), and feeds back a notification of the completion of pairing to the refrigerator (corresponding to the step 5 in fig. 4); when the refrigerator receives the notification of the completion of pairing, the refrigerator records information of the egg holder (such as the number of eggs, identification information of the egg holder, etc.) (corresponding to step 6 in fig. 4).
When the electric control panel of the refrigerator searches for the broadcast sent by the target egg rack and finds that the target egg rack is an old egg rack (corresponding to step 8 in fig. 4), the electric control panel automatically connects with the target egg rack (corresponding to step 9 in fig. 4), then when the electric control panel connects, the target egg rack authenticates the refrigerator according to the characteristic identification of the refrigerator (corresponding to step 10 in fig. 4), and establishes wireless connection with the refrigerator when the refrigerator passes the authentication (corresponding to step 11 in fig. 4), and then the target egg rack reports all attribute states of the target egg rack to the electric control panel of the refrigerator based on the wireless connection (corresponding to step 12 in fig. 4).
When eggs are added or reduced on the target egg rack (corresponding to step 13 in fig. 4 and step 3.1 in fig. 5), the target egg rack reports the egg rack status (corresponding to step 14 in fig. 4 and step 3.5 in fig. 5) through wireless connection (corresponding to step 1.1 in fig. 5); or when the state of the target egg rack changes (such as the number of eggs, the freshness change and the like), the target egg rack sends a broadcast to the refrigerator (corresponding to the step 3.2 in fig. 5) so as to inform the refrigerator that the target egg rack has the state change, and then the main control board of the refrigerator calculates the activity degree of the connected target egg rack (corresponding to the step 1.2 in fig. 5).
When a certain egg rack x is not in wireless connection with the main control board of the refrigerator, the egg rack x sends a heartbeat broadcast to the main control board of the refrigerator (corresponding to step 2.1 in fig. 5), and then the main control board of the refrigerator calculates the online state of all egg racks (corresponding to step 2.2 in fig. 5); when the state of an egg rack 1 is not changed for a certain time, the main control board of the refrigerator breaks wireless connection with the egg rack 1 (corresponding to step 3.3 in fig. 5).
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for connecting egg frames, comprising:
acquiring a first characteristic identifier sent by a target egg rack and used for identifying the target egg rack;
matching the first characteristic identifier with a pre-recorded historical characteristic identifier;
under the condition that the first characteristic identification is matched with the historical characteristic identification, sending a wireless connection request to the target egg rack so as to establish wireless connection with the target egg rack;
wherein, after establishing the wireless connection with the target egg rack, the method further comprises: acquiring active information of the target egg rack, wherein the active information comprises the change frequency of the state of eggs on the target egg rack; disconnecting a wireless connection with the target egg rack if the change frequency is determined to be less than a predetermined frequency threshold; a wireless connection with the target egg rack is maintained upon determining that the frequency of variation is greater than or equal to the predetermined frequency threshold.
2. The method of claim 1, wherein prior to the acquiring the first signature transmitted by the target egg rack for identifying the target egg rack, the method comprises:
acquiring pairing broadcasting sent by the target egg rack;
sending a pairing request to the target egg rack according to the pairing broadcast;
and under the condition that a pairing success response returned by the target egg rack is obtained, recording a first characteristic identifier of the target egg rack as the historical characteristic identifier.
3. The method of claim 1, wherein after the sending the wireless connection request to the target egg rack, the method further comprises:
acquiring a connection response fed back by the target egg rack after the authentication processing is successful, wherein the authentication processing is performed according to the wireless connection request;
and establishing connection with the target egg rack according to the connection response.
4. The method according to claim 1, characterized in that the method comprises:
under the condition that the wireless connection with the target egg rack is not determined, acquiring the heartbeat broadcast sent by the target egg rack;
and determining the online state of the target egg rack according to the heartbeat broadcast.
5. The method of claim 1, wherein transmitting a wireless connection request to the target egg rack comprises:
encrypting the initial wireless connection request to obtain the wireless connection request;
and sending the wireless connection request to the target egg rack.
6. The method of claim 2, wherein transmitting a pairing request to the target egg holder in accordance with the pairing broadcast comprises:
determining an initial pairing request to be sent to the target egg rack according to the pairing broadcast;
encrypting the initial pairing request to obtain the pairing request;
and sending the pairing request to the target egg rack.
7. The method of claim 2, wherein obtaining a pairing broadcast sent by the target egg rack comprises:
and acquiring the pairing broadcast sent by the target egg holder according to a first preset transmitting power, wherein the first preset transmitting power is smaller than a first power threshold value.
8. The method of claim 4, wherein acquiring the target egg flat transmission heartbeat broadcast comprises:
and acquiring the heartbeat broadcast sent by the target egg holder according to a second preset transmitting power, wherein the second preset transmitting power is smaller than a second power threshold value.
9. An egg rack connecting device, characterized by comprising:
the first identification acquisition module is used for acquiring a first characteristic identification which is sent by a target egg rack and used for identifying the target egg rack;
the first identification matching module is used for matching the first characteristic identification with a pre-recorded historical characteristic identification;
the wireless connection module is used for sending a wireless connection request to the target egg rack under the condition that the first characteristic identifier is matched with the historical characteristic identifier, so as to establish wireless connection with the target egg rack;
the device further comprises an activity information acquisition unit, a display unit and a display unit, wherein the activity information acquisition unit is used for acquiring activity information of the target egg rack, and the activity information comprises the change frequency of the egg state on the target egg rack;
the egg rack disconnecting unit is used for disconnecting wireless connection with the target egg rack under the condition that the change frequency is smaller than the preset frequency threshold value;
and the egg rack connecting unit is used for maintaining wireless connection with the target egg rack under the condition that the change frequency is larger than or equal to the preset frequency threshold value.
10. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when run.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 8.
CN202011112862.5A 2020-10-16 2020-10-16 Egg frame connection method and device, storage medium and electronic device Active CN114390506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112862.5A CN114390506B (en) 2020-10-16 2020-10-16 Egg frame connection method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112862.5A CN114390506B (en) 2020-10-16 2020-10-16 Egg frame connection method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114390506A CN114390506A (en) 2022-04-22
CN114390506B true CN114390506B (en) 2023-10-27

Family

ID=81193932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112862.5A Active CN114390506B (en) 2020-10-16 2020-10-16 Egg frame connection method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114390506B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172053A1 (en) * 2014-05-08 2015-11-12 Tego, Inc. Flexible rfid tag for mounting on metal surface
CN105743844A (en) * 2014-12-08 2016-07-06 联想(北京)有限公司 Information processing method and electronic device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN109905366A (en) * 2019-01-16 2019-06-18 平安科技(深圳)有限公司 Terminal device safe verification method, device, readable storage medium storing program for executing and terminal device
CN110022618A (en) * 2018-01-08 2019-07-16 佛山市顺德区美的电热电器制造有限公司 A kind of method that establishing connection and server, household electrical appliance, storage medium
WO2019144832A1 (en) * 2018-01-24 2019-08-01 阿里巴巴集团控股有限公司 Device connection method, device and system
CN111148084A (en) * 2019-12-24 2020-05-12 秒针信息技术有限公司 Information transmission method, information transmission device, storage medium, and electronic device
CN111464990A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Information processing method and first device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101868018B1 (en) * 2011-02-09 2018-06-18 삼성전자주식회사 Method and apparatus for controlling connection between devices
JP6081135B2 (en) * 2012-10-18 2017-02-15 オリンパス株式会社 Wireless communication terminal, wireless communication system, wireless communication method and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172053A1 (en) * 2014-05-08 2015-11-12 Tego, Inc. Flexible rfid tag for mounting on metal surface
CN105743844A (en) * 2014-12-08 2016-07-06 联想(北京)有限公司 Information processing method and electronic device
CN110022618A (en) * 2018-01-08 2019-07-16 佛山市顺德区美的电热电器制造有限公司 A kind of method that establishing connection and server, household electrical appliance, storage medium
WO2019144832A1 (en) * 2018-01-24 2019-08-01 阿里巴巴集团控股有限公司 Device connection method, device and system
CN109905366A (en) * 2019-01-16 2019-06-18 平安科技(深圳)有限公司 Terminal device safe verification method, device, readable storage medium storing program for executing and terminal device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN111148084A (en) * 2019-12-24 2020-05-12 秒针信息技术有限公司 Information transmission method, information transmission device, storage medium, and electronic device
CN111464990A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Information processing method and first device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于层次模型的低耦合RFID中间件研究;吴少博;张延园;陈群;;科学技术与工程(07);全文 *

Also Published As

Publication number Publication date
CN114390506A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
KR102094951B1 (en) Inventory monitoring and verification system
JP7151031B2 (en) Method and aerosol delivery device for transmitting aerosol delivery device information
Luo et al. Efficient missing tag detection in RFID systems
US7676251B2 (en) Wireless communication system, electronic price tag system, wireless communication apparatus, communication terminal apparatus, and wireless communication method
CN103581209B (en) Family's electricity consumption monitoring system
CN106658756B (en) Method and device for identifying connection between terminal equipment and hotspot
CN104704886A (en) Reducing wireless reconnection time of a computing device
US11763649B2 (en) System and method for deterring theft
US11175334B2 (en) Method and device for calculating household appliance faults
US10515343B1 (en) Method and system for reporting and monitoring location-related activities of mobile devices
US11200535B1 (en) Systems and methods of wireless communication for inventory management
CN110958161A (en) Block link point monitoring method and device
CN109934363A (en) A kind of reservation Order creation method and automatic vending machine based on location information
US20060116146A1 (en) System and method for monitoring mobile units in a network
CN113965904B (en) Device registration method, device and storage medium
WO2017187138A1 (en) Network access control
US20200265283A1 (en) System and method for deterring theft
CN114390506B (en) Egg frame connection method and device, storage medium and electronic device
EP1841248A2 (en) Communication channel establishing method, communication system and communication apparatus
CN116419184A (en) Processing method for vehicle remote wake-up and computer readable storage medium
US20220301438A1 (en) Vehicle Location System
JPH10341246A (en) Polling method and terminal equipment
CN112507807A (en) Article storage control method and device, storage medium and electronic device
CN108768464A (en) A kind of radio frequency data transmission method and system
CN110659914B (en) Commodity traceability information management method and related device

Legal Events

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