CN117440409B - Wireless communication method and system - Google Patents
Wireless communication method and system Download PDFInfo
- Publication number
- CN117440409B CN117440409B CN202311733355.7A CN202311733355A CN117440409B CN 117440409 B CN117440409 B CN 117440409B CN 202311733355 A CN202311733355 A CN 202311733355A CN 117440409 B CN117440409 B CN 117440409B
- Authority
- CN
- China
- Prior art keywords
- equipment
- time
- use time
- predicted
- devices
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 title claims abstract description 30
- 230000003993 interaction Effects 0.000 claims description 41
- 238000012937 correction Methods 0.000 claims description 28
- 238000012549 training Methods 0.000 claims description 12
- 238000003062 neural network model Methods 0.000 claims description 9
- 238000012163 sequencing technique Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 3
- 238000010200 validation analysis Methods 0.000 claims 1
- 230000000903 blocking effect Effects 0.000 abstract description 4
- 230000015654 memory Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000012360 testing method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a wireless communication method and a system, wherein the method comprises the following steps: predicting the predicted use time of each device in each unit time period according to the time prediction model; when the actual use time of the equipment is different from the predicted use time, correcting the predicted use time to obtain corrected predicted use time; obtaining a total device sorting table according to the current time and the corrected predicted use time; determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment; the invention realizes that on the basis of meeting the use requirement, the phenomenon of blocking caused by simultaneous operation of all the devices is avoided, the automatic establishment of the contact binding relation between all the devices can be realized without manual operation, the use is convenient, the situation that unbinding devices cannot be connected in time later is avoided, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a wireless communication method and system.
Background
Wireless communication is a technique for communication using radio waves, which uses radio waves to transmit information in space, thereby realizing remote communication. The wireless communication system includes a transmitter that modulates information to be transmitted on radio waves, propagates to the receiver through space and the ground, and a receiver that converts the received radio waves into identifiable electrical signals, thereby completing the transmission of the information. The wireless communication technology has the characteristics of flexibility, convenience and high efficiency, and is widely applied to the fields of mobile communication, wireless local area networks, bluetooth, radar and the like. Along with the development of society, intelligent home equipment gradually enters the family, and part of home intelligent equipment needs to be connected with a network in the operation process, and at present, the intelligent equipment is generally connected with a wireless router network in the family, but when the network of the wireless router is accessed to more than a certain number of equipment, the phenomenon of blocking can occur when the equipment is operated, at present, normally, equipment which is not operated is unbinding with the router, then equipment which needs to be operated is connected with the router, the operation is complicated, the unbinding equipment cannot be connected in time later, and the user experience is poor.
Disclosure of Invention
The present invention provides a wireless communication method and system for solving the above-mentioned problems.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a method of wireless communication, the method comprising the steps of:
training a neural network model by using user history data to obtain a time prediction model, and predicting the predicted use time of each device in each unit time period according to the time prediction model, wherein the predicted use time comprises a starting point, a use duration and an end point;
acquiring the actual use time of the equipment, and correcting the predicted use time when the actual use time of the equipment is different from the predicted use time to obtain corrected predicted use time;
obtaining a total device sorting table according to the current time and the corrected predicted use time;
and determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment, wherein the target connection equipment is equipment for establishing the binding relation with a wireless router, and the kick-out connection equipment is equipment for unbinding the wireless router.
As a further technical solution of the present invention, the step of obtaining the actual usage time of the device, and correcting the predicted usage time when the actual usage time of the device is different from the predicted usage time, to obtain the corrected predicted usage time includes:
acquiring the predicted use time of the equipment with the message interaction at the current moment, and if the current moment is not in the predicted use time of the equipment with the message interaction;
acquiring a starting point of actual use time of equipment with message interaction in a current unit time period, and replacing the starting point of predicted use time with the starting point of the actual use time, wherein the use time in the predicted use time is unchanged, and performing preliminary correction on the predicted use time;
and if the current moment is in the preliminary corrected predicted use time of the equipment without the message interaction, acquiring an end point of the actual use time of the equipment without the message interaction in the current unit time period, and adopting the end point of the actual use time to replace the end point of the predicted use time to obtain the corrected predicted use time.
As a further technical solution of the present invention, the step of obtaining the device total ranking table according to the current time and the corrected predicted usage time confirmation includes:
comparing the corrected predicted use time of each device in the current unit time period with the current time, and judging whether the corrected predicted use time coincides with the current time;
if the equipment is overlapped, extracting corresponding equipment as priority equipment, and taking non-overlapped equipment as alternative equipment;
respectively acquiring interval duration between the current time and a predicted use time end point after correction of the priority equipment and the alternative equipment in the current unit time period;
sequencing each priority device and each alternative device from short to long according to the interval duration to obtain a priority device sequencing table and an alternative device sequencing table;
and merging the priority equipment sorting table and the alternative equipment sorting table to obtain a total equipment sorting table, wherein the priority equipment is generally sorted before the alternative equipment, the priority equipment is sorted first, and the alternative equipment is sorted later.
As a further technical solution of the present invention, the step of determining, according to a preset number n of connection devices and the total device ordering table, a target connection device and a kick-out connection device, and establishing a binding relationship with the target connection device includes:
acquiring the number n of preset connection devices, extracting the first n devices from the total device sorting table as target connection devices according to a preset time step, and taking the rest devices as kick-out connection devices;
and receiving a connection request of the target connection equipment, establishing a binding relation with the target connection equipment, receiving a disconnection request of the kick-out connection equipment, and removing the binding relation with the kick-out connection equipment.
It is another object of an embodiment of the present invention to provide a wireless communication system, the system including:
the time prediction module is used for training the neural network model by adopting user history data to obtain a time prediction model, and predicting the predicted use time of each device in each unit time period according to the time prediction model, wherein the predicted use time comprises a starting point, a use duration and an end point;
the using time correction module is used for acquiring the actual using time of the equipment, and correcting the predicted using time when the actual using time of the equipment is different from the predicted using time to obtain corrected predicted using time;
the equipment ordering module is used for obtaining an equipment total ordering table according to the current moment and the corrected predicted use time;
the relation confirming module is used for determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment, wherein the target connection equipment is equipment for establishing the binding relation with the wireless router, and the kick-out connection equipment is equipment for unbinding the binding relation with the wireless router.
As a further aspect of the present invention, the usage time correction module includes:
the time acquisition unit is used for acquiring the predicted use time of the equipment with the message interaction at the current moment, and if the current moment is not within the predicted use time of the equipment with the message interaction;
the first correction unit is used for acquiring the starting point of the actual use time of the equipment with message interaction in the current unit time period, replacing the starting point of the predicted use time with the starting point of the actual use time, and carrying out preliminary correction on the predicted use time, wherein the use time in the predicted use time is unchanged;
and the second correction unit is used for acquiring the end point of the actual use time of the equipment without the message interaction in the current unit time period if the current moment is in the preliminary corrected predicted use time of the equipment without the message interaction, and adopting the end point of the actual use time to replace the end point of the predicted use time so as to acquire the corrected predicted use time.
As a further technical solution of the present invention, the device ordering module includes:
the time comparison unit is used for comparing the corrected predicted use time of each device in the current unit time period with the current time and judging whether the corrected predicted use time coincides with the current time;
the device classifying unit is used for extracting corresponding devices as priority devices if the devices overlap, and non-overlapping devices as alternative devices;
the interval duration obtaining unit is used for obtaining interval duration between the current time and the predicted use time end point after correction of the priority equipment and the alternative equipment in the current unit time period respectively;
the device ordering unit is used for ordering each priority device and each alternative device from short to long according to the interval duration to obtain a priority device ordering table and an alternative device ordering table;
and the total sorting table generating unit is used for merging the priority equipment sorting table and the alternative equipment sorting table to obtain a total sorting table of the equipment, wherein the total sorting of the priority equipment is before the alternative equipment, the sorting of the priority equipment is before, and the sorting of the alternative equipment is after.
As a further technical solution of the present invention, the relationship confirmation module includes:
the device extraction unit is used for obtaining the number n of preset connection devices, extracting the first n devices from the device total sorting table as target connection devices according to the preset time step, and taking the rest devices as kick-out connection devices;
the relation establishing unit is used for receiving the connection request of the target connection equipment, establishing a binding relation with the target connection equipment, receiving the disconnection request of the kicking-out connection equipment and removing the binding relation with the kicking-out connection equipment.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a wireless communication method and a system, wherein a time prediction model is obtained by training a neural network model, so that the predicted use time of each device in each unit time period is realized, the predicted use time is corrected according to the actual use condition of the device, the devices are ensured to orderly operate and work, then the devices are further sequenced according to the corrected predicted use time, and a target connection device is determined according to the total sequencing table of the devices, so that the intelligent devices are orderly arranged to work on the basis of meeting the preset quantity, the phenomenon of blocking caused by simultaneous operation of the devices is avoided on the basis of meeting the use requirement, the automatic establishment and contact binding relation of the devices can be realized without manual operation, the use is convenient, the condition that the unbindd devices cannot be connected in time later is avoided, and the user experience is improved.
Drawings
Fig. 1 is a flow chart of a method of wireless communication.
Fig. 2 is a flow chart of steps for correcting predicted usage time in a wireless communication method.
Fig. 3 is a flow chart of steps for ordering devices in a wireless communication method.
Fig. 4 is a flow chart of steps for establishing a binding relationship in a wireless communication method.
Fig. 5 is a block diagram of a wireless communication system.
Fig. 6 is a block diagram of the device ordering module in the wireless communication system.
Detailed Description
The technical scheme of the patent is further described in detail below with reference to the specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a wireless communication method, which includes the steps of:
step S100, training a neural network model by using user history data to obtain a time prediction model, and predicting the predicted use time of each device in each unit time period according to the time prediction model, wherein the predicted use time comprises a starting point, a use duration and an end point, the unit time comprises a week, a day and an hour, and the user history data comprises a device ID, a time stamp and a use time;
in this embodiment, user history data is collected and organized into a time series data set, the data set is divided into a training set and a test set, so that the training set and the test set are used in training and testing a model, a neural network model is created by using a neural network framework (such as TensorFlow or PyTorch), the training set is used for training the model, the test set is used for testing the performance of the model, and when the difference between the output result and the data in the test set is smaller than a preset threshold value, a trained time prediction model is obtained.
Step S200, obtaining the actual use time of the equipment, and correcting the predicted use time to obtain corrected predicted use time when the actual use time of the equipment is different from the predicted use time;
in this embodiment, on the basis of predicting the predicted usage time of the device by using the time prediction model, the predicted usage time is corrected according to the actual usage situation of the user, which is specifically as follows: acquiring equipment with message interaction at the current moment, wherein the current moment is in the predicted use time of the equipment with message interaction, and when the predicted use time of the equipment without message interaction is not coincident with the current moment, the prediction is accurate, and correction of the predicted use time is not needed; if the current time is not within the predicted usage time of the device with the message interaction or the current time is within the predicted usage time of the device without the message interaction, the predicted usage time needs to be corrected, wherein the device with the message interaction can exchange and communicate data with other devices through wireless connection, and the device with the message interaction can receive and send data messages such as files, messages and commands.
Step S300, obtaining a total device sorting table according to the current time and the corrected predicted use time;
step S400, determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment, wherein the target connection equipment is equipment establishing the binding relation with a wireless router, and the kick-out connection equipment is equipment unbinding the binding relation with the wireless router.
In this embodiment, a time prediction model is obtained by training a neural network model, so as to realize the prediction use time of each device in each unit time period, and the prediction use time is corrected according to the actual use condition of the device, so that the devices are guaranteed to operate orderly, then the devices are further ordered according to the corrected prediction use time, and the target connection devices are determined according to the total device ordering table, so that on the basis of meeting the preset number, each intelligent device is ordered to operate, on the basis of meeting the use requirement, the phenomenon of blocking caused by simultaneous operation of each device is avoided, the automatic establishment and contact binding relationship of each device can be realized without manual operation, the use is convenient, the phenomenon that the unbindd devices cannot be connected in time later is avoided, and the user experience is improved.
As shown in fig. 2, as a preferred embodiment of the present invention, the step of obtaining the actual usage time of the device, and correcting the predicted usage time when the actual usage time of the device is different from the predicted usage time, to obtain the corrected predicted usage time includes:
step S201, obtaining the predicted use time of the equipment with the message interaction at the current moment, if the current moment is not in the predicted use time of the equipment with the message interaction;
step S202, obtaining the starting point of the actual use time of the equipment with message interaction in the current unit time period, and replacing the starting point of the predicted use time with the starting point of the actual use time, wherein the use time in the predicted use time is unchanged, and performing preliminary correction on the predicted use time;
in step S203, if the current time is within the preliminary corrected predicted usage time of the device without message interaction, the predicted usage time is inaccurate, the end point of the actual usage time of the device without message interaction in the current unit time period is obtained, and the corrected predicted usage time is obtained by replacing the end point of the predicted usage time with the end point of the actual usage time.
In this embodiment, if the current time is not within the predicted usage time of the device with the message interaction, it is indicated that there is a user intervention, and the user is using the device with the message interaction at this time, then the starting point of the predicted usage time within the current unit time period needs to be replaced and corrected, and the predicted usage time is unchanged at this time, and on this basis, an end point is calculated and obtained, and then the predicted usage time is primarily corrected; if the current moment is in the preliminary corrected predicted use time of the equipment without message interaction, the inaccurate predicted use time is indicated, the end point of the actual use time of the equipment without message interaction in the current unit time period is obtained, the end point of the actual use time is adopted to replace the end point of the predicted use time, the corrected predicted use time is obtained, and the stable operation of each equipment is facilitated by correcting the predicted use time.
As shown in fig. 3, as a preferred embodiment of the present invention, the step of obtaining the device total ranking table according to the current time and the corrected predicted usage time acknowledgement includes:
step S301, comparing the corrected predicted use time of each device in the current unit time period with the current time, and judging whether the corrected predicted use time coincides with the current time;
step S302, if the equipment is overlapped, extracting corresponding equipment as priority equipment, and taking non-overlapped equipment as alternative equipment;
step S303, respectively obtaining the interval duration between the current time and the predicted use time end point after correction of the priority device and the alternative device in the current unit time period;
step S304, sorting the priority devices and the alternative devices according to the interval time from short to long to obtain a priority device sorting table and an alternative device sorting table;
step S305, merging the priority device ordered list and the alternative device ordered list to obtain a device total ordered list, where the priority device total ordered before the alternative device, the priority device ordered before, and the alternative device ordered after.
In this embodiment, the devices are sequenced according to the predicted use time after correction, the devices which should be used currently are made to be the preferred devices according to the habit of the user, and the preferred devices are sequenced first, on this basis, the devices which are respectively sequenced according to the interval duration from short to long, so that the devices which can be quickly operated are sequenced first, and on the basis that the use requirement of the user is met to the maximum extent, the devices are kept to be operated orderly.
As shown in fig. 4, as a preferred embodiment of the present invention, the step of determining a target connection device and a kick-out connection device according to a preset number n of connection devices and the device total ranking table, and establishing a binding relationship with the target connection device includes:
step S401, obtaining the number n of preset connection devices, extracting the first n devices from the total device sorting table as target connection devices according to a preset time step, and taking the rest devices as kick-out connection devices;
step S402, receiving a connection request of the target connection device, establishing a binding relation with the target connection device, receiving a disconnection request of the kicking connection device, releasing the binding relation with the kicking connection device, and sending prompt information to a user side when the binding relation with the kicking connection device is released.
In this embodiment, according to the number n of preset connection devices, the first n devices are extracted from the total device ordering table as target connection devices, the remaining devices in the total device ordering table are used as kick-out connection devices, an instruction for requesting to wake up the target connection devices is generated, an instruction for requesting to sleep the kick-out connection devices is also generated, the target connection devices can send connection requests to the wireless router, the wireless router receives the connection requests of the target connection devices and establishes a binding relationship with the target connection devices, the kick-out connection devices send disconnection requests to the wireless router, the wireless router receives the disconnection requests of the kick-out connection devices and releases the binding relationship with the kick-out connection devices, and the kick-out connection devices which have established the binding relationship do not need to initiate the connection requests again.
Another object of an embodiment of the present invention, as shown in fig. 5, is to provide a wireless communication system, the system comprising:
the using time prediction module 100 is configured to train the neural network model by using user history data to obtain a time prediction model, and predict a predicted using time of each device in each unit time period according to the time prediction model, where the predicted using time includes a starting point, a using duration and an ending point;
the usage time correction module 200 is configured to obtain an actual usage time of the device, and correct the predicted usage time when the actual usage time of the device is different from the predicted usage time, so as to obtain a corrected predicted usage time;
the device ordering module 300 is configured to obtain a device total ordering table according to the current time and the corrected predicted usage time;
the relationship confirmation module 400 is configured to determine, according to a preset number n of connection devices and the total device ordering table, a target connection device and a kick-out connection device, and establish a binding relationship with the target connection device, where the target connection device is a device that establishes a binding relationship with a wireless router, and the kick-out connection device is a device that releases the binding relationship with the wireless router.
As a preferred embodiment of the present invention, the usage time correction module 200 includes:
the time acquisition unit is used for acquiring the predicted use time of the equipment with the message interaction at the current moment, and if the current moment is not within the predicted use time of the equipment with the message interaction;
the first correction unit is used for acquiring the starting point of the actual use time of the equipment with message interaction in the current unit time period, replacing the starting point of the predicted use time with the starting point of the actual use time, and carrying out preliminary correction on the predicted use time, wherein the use time in the predicted use time is unchanged;
and the second correction unit is used for indicating that the predicted use time is inaccurate when the current moment is in the predicted use time after the preliminary correction of the equipment without the message interaction, acquiring the end point of the actual use time of the equipment without the message interaction in the current unit time period, and adopting the end point of the actual use time to replace the end point of the predicted use time to acquire the predicted use time after the correction.
As shown in fig. 6, as a preferred embodiment of the present invention, the device ordering module 300 includes:
a time comparison unit 301, configured to compare the corrected predicted usage time of each device in the current unit time period with the current time, and determine whether the corrected predicted usage time coincides with the current time;
the device classification unit 302 is configured to extract, if the devices overlap, a corresponding device as a priority device, and a non-overlapping device as an alternative device;
an interval duration obtaining unit 303, configured to obtain interval durations between the current time and a predicted usage time end point after correction of the priority device and the candidate device in the current unit time period, respectively;
a device ordering unit 304, configured to order each priority device and each alternative device from short to long according to the interval duration, so as to obtain a priority device ordering table and an alternative device ordering table;
and the total ranking table generating unit 305 is configured to combine the priority ranking table and the alternative ranking table to obtain a total ranking table of devices, where the total ranking of the priority devices is before the ranking of the alternative devices, the ranking of the priority devices is before, and the ranking of the alternative devices is after.
As a preferred embodiment of the present invention, the relationship confirmation module 400 includes:
the device extraction unit is used for obtaining the number n of preset connection devices, extracting the first n devices from the device total sorting table as target connection devices according to the preset time step, and taking the rest devices as kick-out connection devices;
the relation establishing unit is used for receiving the connection request of the target connection equipment, establishing a binding relation with the target connection equipment, receiving the disconnection request of the kicking-out connection equipment and removing the binding relation with the kicking-out connection equipment.
The functions that can be achieved by the above wireless communication method are all accomplished by a computer device that includes one or more processors and one or more memories, in which at least one program code is stored, which is loaded and executed by the one or more processors to implement the functions of the wireless communication method.
The processor takes out instructions from the memory one by one, analyzes the instructions, then completes corresponding operation according to the instruction requirement, generates a series of control commands, enables all parts of the computer to automatically, continuously and cooperatively act to form an organic whole, realizes the input of programs, the input of data, the operation and the output of results, and the arithmetic operation or the logic operation generated in the process is completed by the arithmetic unit; the Memory comprises a Read-Only Memory (ROM) for storing a computer program, and a protection device is arranged outside the Memory.
For example, a computer program may be split into one or more modules, one or more modules stored in memory and executed by a processor to perform the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the terminal device.
It will be appreciated by those skilled in the art that the foregoing description of the service device is merely an example and is not meant to be limiting, and may include more or fewer components than the foregoing description, or may combine certain components, or different components, such as may include input-output devices, network access devices, buses, etc.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal device described above, and which connects the various parts of the entire user terminal using various interfaces and lines.
The memory may be used for storing computer programs and/or modules, and the processor may implement various functions of the terminal device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as an information acquisition template display function, a product information release function, etc.), and the like; the storage data area may store data created according to the use of the berth status display system (e.g., product information acquisition templates corresponding to different product types, product information required to be released by different product providers, etc.), and so on. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The modules/units integrated in the terminal device may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may implement all or part of the modules/units in the system of the above-described embodiments, or may be implemented by instructing the relevant hardware by a computer program, which may be stored in a computer-readable storage medium, and which, when executed by a processor, may implement the functions of the respective system embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (8)
1. A method of wireless communication, the method comprising the steps of:
training a neural network model by using user history data to obtain a time prediction model, and predicting the predicted use time of each device in each unit time period according to the time prediction model, wherein the predicted use time comprises a starting point, a use duration and an end point;
acquiring the actual use time of the equipment, and correcting the predicted use time when the actual use time of the equipment is different from the predicted use time to obtain corrected predicted use time;
obtaining a total device sorting table according to the current time and the corrected predicted use time;
and determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment, wherein the target connection equipment is equipment for establishing the binding relation with a wireless router, and the kick-out connection equipment is equipment for unbinding the wireless router.
2. The method according to claim 1, wherein the step of obtaining the actual usage time of the device, and correcting the predicted usage time when the actual usage time of the device is different from the predicted usage time, comprises:
acquiring the predicted use time of the equipment with the message interaction at the current moment, and if the current moment is not in the predicted use time of the equipment with the message interaction;
acquiring a starting point of actual use time of equipment with message interaction in a current unit time period, and replacing the starting point of predicted use time with the starting point of the actual use time, wherein the use time in the predicted use time is unchanged, and performing preliminary correction on the predicted use time;
and if the current moment is in the preliminary corrected predicted use time of the equipment without the message interaction, acquiring an end point of the actual use time of the equipment without the message interaction in the current unit time period, and adopting the end point of the actual use time to replace the end point of the predicted use time to obtain the corrected predicted use time.
3. The method of claim 1, wherein said step of obtaining a device total ranking table based on the current time and said corrected predicted usage time validation comprises:
comparing the corrected predicted use time of each device in the current unit time period with the current time, and judging whether the corrected predicted use time coincides with the current time;
if the equipment is overlapped, extracting corresponding equipment as priority equipment, and taking non-overlapped equipment as alternative equipment;
respectively acquiring interval duration between the current time and a predicted use time end point after correction of the priority equipment and the alternative equipment in the current unit time period;
sequencing each priority device and each alternative device from short to long according to the interval duration to obtain a priority device sequencing table and an alternative device sequencing table;
and merging the priority equipment ordered list and the alternative equipment ordered list to obtain an equipment total ordered list, wherein the priority equipment total ordered list is arranged before the alternative equipment.
4. A method of wireless communication according to claim 3, wherein the step of determining the target connection device and the kick-out connection device according to the preset number of connection devices n and the total device ordering table, and establishing a binding relationship with the target connection device comprises:
acquiring the number n of preset connection devices, extracting the first n devices from the total device sorting table as target connection devices according to a preset time step, and taking the rest devices as kick-out connection devices;
and receiving a connection request of the target connection equipment, establishing a binding relation with the target connection equipment, receiving a disconnection request of the kick-out connection equipment, and removing the binding relation with the kick-out connection equipment.
5. A wireless communication system, the system comprising:
the time prediction module is used for training the neural network model by adopting user history data to obtain a time prediction model, and predicting the predicted use time of each device in each unit time period according to the time prediction model, wherein the predicted use time comprises a starting point, a use duration and an end point;
the using time correction module is used for acquiring the actual using time of the equipment, and correcting the predicted using time when the actual using time of the equipment is different from the predicted using time to obtain corrected predicted using time;
the equipment ordering module is used for obtaining an equipment total ordering table according to the current moment and the corrected predicted use time;
the relation confirming module is used for determining target connection equipment and kick-out connection equipment according to the number n of preset connection equipment and the total equipment sorting table, and establishing a binding relation with the target connection equipment, wherein the target connection equipment is equipment for establishing the binding relation with the wireless router, and the kick-out connection equipment is equipment for unbinding the binding relation with the wireless router.
6. The wireless communication system of claim 5, wherein the usage time correction module comprises:
the time acquisition unit is used for acquiring the predicted use time of the equipment with the message interaction at the current moment, and if the current moment is not within the predicted use time of the equipment with the message interaction;
the first correction unit is used for acquiring the starting point of the actual use time of the equipment with message interaction in the current unit time period, replacing the starting point of the predicted use time with the starting point of the actual use time, and carrying out preliminary correction on the predicted use time, wherein the use time in the predicted use time is unchanged;
and the second correction unit is used for acquiring the end point of the actual use time of the equipment without the message interaction in the current unit time period if the current moment is in the preliminary corrected predicted use time of the equipment without the message interaction, and adopting the end point of the actual use time to replace the end point of the predicted use time so as to acquire the corrected predicted use time.
7. The wireless communication system of claim 5, wherein the device ordering module comprises:
the time comparison unit is used for comparing the corrected predicted use time of each device in the current unit time period with the current time and judging whether the corrected predicted use time coincides with the current time;
the device classifying unit is used for extracting corresponding devices as priority devices if the devices overlap, and non-overlapping devices as alternative devices;
the interval duration obtaining unit is used for obtaining interval duration between the current time and the predicted use time end point after correction of the priority equipment and the alternative equipment in the current unit time period respectively;
the device ordering unit is used for ordering each priority device and each alternative device from short to long according to the interval duration to obtain a priority device ordering table and an alternative device ordering table;
and the total sorting table generating unit is used for merging the priority equipment sorting table and the alternative equipment sorting table to obtain an equipment total sorting table, wherein the priority equipment total sorting is before the alternative equipment.
8. The wireless communication system of claim 5, wherein the relationship confirmation module comprises:
the device extraction unit is used for obtaining the number n of preset connection devices, extracting the first n devices from the device total sorting table as target connection devices according to the preset time step, and taking the rest devices as kick-out connection devices;
the relation establishing unit is used for receiving the connection request of the target connection equipment, establishing a binding relation with the target connection equipment, receiving the disconnection request of the kicking-out connection equipment and removing the binding relation with the kicking-out connection equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311733355.7A CN117440409B (en) | 2023-12-18 | 2023-12-18 | Wireless communication method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311733355.7A CN117440409B (en) | 2023-12-18 | 2023-12-18 | Wireless communication method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN117440409A CN117440409A (en) | 2024-01-23 |
| CN117440409B true CN117440409B (en) | 2024-02-20 |
Family
ID=89556827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311733355.7A Active CN117440409B (en) | 2023-12-18 | 2023-12-18 | Wireless communication method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117440409B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101917470A (en) * | 2006-03-16 | 2010-12-15 | 华为技术有限公司 | A communication method, system and device |
| CN105430652A (en) * | 2015-11-05 | 2016-03-23 | 珠海格力电器股份有限公司 | Control method, device and system of wireless equipment |
| CN111885218A (en) * | 2020-07-22 | 2020-11-03 | 海尔优家智能科技(北京)有限公司 | Method and device for managing intelligent equipment and binding equipment |
| CN116382111A (en) * | 2023-04-18 | 2023-07-04 | 青岛海尔科技有限公司 | Equipment control method and device, storage medium and electronic device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6965997B2 (en) * | 2001-03-26 | 2005-11-15 | International Business Machines Corporation | System and method for binding and unbinding ticket items with user-negotiated security features |
| US7295116B2 (en) * | 2004-09-01 | 2007-11-13 | Microsoft Corporation | Architecture, programming model and API'S |
| WO2008023850A1 (en) * | 2006-08-24 | 2008-02-28 | Panasonic Corporation | Communication management apparatus and location management apparatus |
-
2023
- 2023-12-18 CN CN202311733355.7A patent/CN117440409B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101917470A (en) * | 2006-03-16 | 2010-12-15 | 华为技术有限公司 | A communication method, system and device |
| CN105430652A (en) * | 2015-11-05 | 2016-03-23 | 珠海格力电器股份有限公司 | Control method, device and system of wireless equipment |
| CN111885218A (en) * | 2020-07-22 | 2020-11-03 | 海尔优家智能科技(北京)有限公司 | Method and device for managing intelligent equipment and binding equipment |
| CN116382111A (en) * | 2023-04-18 | 2023-07-04 | 青岛海尔科技有限公司 | Equipment control method and device, storage medium and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117440409A (en) | 2024-01-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110149698B (en) | Method and device for determining wireless communication transmission resources | |
| CN111159031B (en) | Method for automatically testing application mobile terminal, computer device and computer readable storage medium | |
| CN104809589A (en) | Order processing method and device | |
| CN108510784B (en) | Parking lot parking space detection method and system and storage medium | |
| CN110392381B (en) | Multi-channel wireless communication method and device for nuclear power station and terminal equipment | |
| CN111212264B (en) | Image processing method, device and storage medium based on edge computing | |
| RU2010102491A (en) | METHOD AND DEVICE OF INFORMATION EXCHANGE AND MANAGEMENT SYSTEM OF INFORMATION EXCHANGE | |
| CN113778484A (en) | Method, device and system for upgrading equipment firmware, electronic equipment and storage medium | |
| CN112632420A (en) | Interface skipping method and device, storage medium and electronic device | |
| CN115226152B (en) | Communication method, system, electronic equipment and storage medium of satellite network | |
| CN108805332B (en) | Feature evaluation method and device | |
| CN113434293A (en) | Method and apparatus for processing repeat request, storage medium, and electronic apparatus | |
| CN117440409B (en) | Wireless communication method and system | |
| CN113485735B (en) | Equipment upgrading method and device, storage medium and electronic device | |
| CN118826968B (en) | Method and device for processing midway failure data aiming at large batch of data | |
| CN108038643A (en) | Intelligent goods dispatch management method and system | |
| CN112988339B (en) | Data management method and device | |
| CN117499334B (en) | Intelligent vehicle communication method, terminal equipment and storage medium | |
| CN117689367A (en) | Vehicle maintenance method, system, device and storage medium | |
| CN113139563A (en) | Optimization method and device of image classification model | |
| CN114071078B (en) | Video data processing method, electronic device and storage medium | |
| CN110876852B (en) | Network game data processing method and system for micro-service | |
| CN118590835A (en) | Data compensation method, driving device or mobile terminal, system, medium | |
| CN116939596A (en) | Method, device and system for selecting federal learning members | |
| CN114520999B (en) | Data transmission method, device, storage medium and electronic 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 |