Communication component switch control system and method
Technical Field
The present invention relates to the field of communications, and in particular, to a system and a method for controlling a communication module switch.
Background
The first wireless telephone conversation in the world occurred in 1880, and the use of the photoelectric telephone was invented and patented by Alexander Greeham Bell and Charles Samna Tiante. The optical phone transmits a voice signal by means of a modulated light beam. In that age, no devices were available to provide power, even though lasers were not mentioned in science fiction novels, their invention appeared to be of little practical value at that time, and the effectiveness of the conversation was limited by sunlight and weather. Like free space optical communication systems, there cannot be an object between the transmitter and the emitter that blocks the light beam. Only after decades have the optical phones been used in military communication.
The term "wireless" refers initially to a radio receiver, or transceiver (which can be used as both a transmitting and receiving device), and similar devices have been used since the time of wireless telecommunication. The term "wireless" refers to modern wireless communication, such as cellular network and broadband wireless communication, and also refers to any application that can be performed without wires, such as "wireless remote control" or "wireless energy conversion", without distinguishing the actual application technology from radio, infrared or ultrasonic.
Disclosure of Invention
The invention needs to have the following two key points:
(1) Judging whether the user terminal is in an indoor environment including a home environment or not to automatically switch a wireless network connection mode based on a judgment result, thereby reducing mobile communication cost as much as possible;
(2) Different image enhancement devices are adaptively selected to perform different processing based on the number of noise types in the received image, thereby achieving a targeted image enhancement operation.
According to an aspect of the present invention, there is provided a communication assembly switch control system, the system comprising:
The appliance searching device is arranged in the user terminal, is connected with the bilateral filtering device and is used for respectively executing various appliance target searches on the bilateral filtering image based on various appliance standard appearances, and sending out a first driving command when any appliance target is searched, or sending out a second driving command when any appliance target is not searched;
The network control equipment is arranged in the user terminal, is connected with the electric appliance searching equipment and is used for closing the current mobile communication link and starting the WIFI communication link when receiving a first driving command;
The real-time sharpening device is arranged in the user terminal, is respectively connected with the front camera device and the rear camera device of the user terminal, and is used for splicing the images shot by the front camera device and the rear camera device to obtain an instant spliced image and carrying out real-time sharpening on the instant spliced image to obtain an instant spliced image;
The quantity extraction device is used for receiving the instant splicing image, performing noise type analysis on the instant splicing image to determine the quantity of the noise types in the instant splicing image and outputting the quantity as a reference quantity;
The data conversion equipment is connected with the quantity extraction equipment and used for receiving the reference quantity and sending a first control signal when the reference quantity is greater than or equal to a preset quantity threshold value;
The data conversion equipment is further used for sending a second control signal when the reference quantity is smaller than the preset quantity threshold;
The signal processing device is respectively connected with the real-time sharpening device and the data conversion device, and is used for providing a time sequence signal for the connected logarithmic image enhancement device when receiving a first control signal and providing a time sequence signal for the connected exponential image enhancement device when receiving a second control signal;
The signal processing device is further configured to stop providing the timing signal to the connected logarithmic image enhancement device when receiving the first control signal, and to stop providing the timing signal to the connected exponential image enhancement device when receiving the second control signal.
According to another aspect of the present invention, there is also provided a communication assembly switch control method, the method comprising:
The method comprises the steps that an electric appliance searching device is used, arranged in a user terminal, connected with a bilateral filtering device and used for respectively executing various household appliance target searching on bilateral filtering images based on various household appliance standard appearances, and when any household appliance target is searched, a first driving command is sent out, otherwise, a second driving command is sent out;
The method comprises the steps that network control equipment is used, arranged in a user terminal, connected with the electric appliance searching equipment and used for closing a current mobile communication link and starting a WIFI communication link when a first driving command is received;
The method comprises the steps that real-time sharpening equipment is used, arranged in a user terminal, connected with front camera equipment and rear camera equipment of the user terminal respectively and used for splicing images shot by the front camera equipment and the rear camera equipment to obtain an instant spliced image, and real-time sharpening processing is carried out on the instant spliced image to obtain an instant spliced image;
Using a quantity extraction device for receiving the instant mosaic image, performing noise type analysis on the instant mosaic image to determine the quantity of noise types in the instant mosaic image, and outputting the quantity as a reference quantity;
The data conversion equipment is connected with the quantity extraction equipment and used for receiving the referential quantity and sending out a first control signal when the referential quantity is greater than or equal to a preset quantity threshold value;
The data conversion equipment is further used for sending a second control signal when the reference quantity is smaller than the preset quantity threshold;
The signal processing device is respectively connected with the real-time sharpening device and the data conversion device, and is used for providing a time sequence signal for the connected logarithmic image enhancement device when receiving a first control signal and providing a time sequence signal for the connected exponential image enhancement device when receiving a second control signal;
The signal processing device is further configured to stop providing the timing signal to the connected logarithmic image enhancement device when receiving the first control signal, and to stop providing the timing signal to the connected exponential image enhancement device when receiving the second control signal.
The communication component switch control system and method are accurate in switching, convenient and practical. Since whether the user terminal is in an indoor environment including a home environment is determined to automatically switch a wireless network connection mode based on the determination result, mobile communication costs are reduced as much as possible.
Drawings
Embodiments of the invention will now be described with reference to the accompanying drawings, in which:
Fig. 1 is a schematic external view of a user terminal to which a communication module switch control system according to an embodiment of the present invention is applied.
Detailed Description
Embodiments of the communication module switch control system and method of the present invention will be described in detail below with reference to the accompanying drawings.
WIFI is a technology that allows electronic devices to connect to a wireless local area network (W L AN), typically using the 2.4GUHF or 5G SHF ISM radio frequency bands.
The wireless network internet access can be simply understood as wireless internet access, almost all smart phones, tablet computers and notebook computers support WIFI internet access, and the wireless network transmission technology is the most widely used wireless network transmission technology at present. In effect, the wired network signal is converted to a wireless signal, as described at the outset, using a wireless router for reception by the relevant computer, cell phone, tablet, etc. supporting its technology. If the mobile phone has the WIFI function, the mobile phone can surf the internet without a mobile communication network when a WIFI wireless signal exists, and traffic cost is saved.
Wireless networking of wireless networks is commonly used in large cities, and although the wireless communication quality transmitted by the WIFI technology is not good, the data security performance is poorer than that of Bluetooth, the transmission quality needs to be improved, the transmission speed is very high, 54Mbps can be achieved, and the requirements of personal and social informatization are met. The main advantage of WIFI is that it does not need wiring, and it can not be limited by wiring conditions, so it is very suitable for the needs of mobile office users, and because the transmission signal power is lower than 100mw, and lower than the transmission power of mobile phone, it is relatively the safest and healthier to access the internet via WIFI.
In the prior art, a wireless communication component of a user terminal generally includes a mobile communication component and a WIFI communication component, the mobile communication component consumes network traffic and needs to pay, and the WIFI communication component consumes network traffic and generally does not need to pay, so people want to perform automatic switching from mobile communication to WIFI communication immediately in an environment with the WIFI communication component, so as to reduce mobile communication cost as much as possible.
In order to overcome the defects, the invention builds a communication assembly switch control system and a communication assembly switch control method, and can effectively solve the corresponding technical problems.
Fig. 1 is a schematic external view of a user terminal to which a communication module switch control system according to an embodiment of the present invention is applied.
A communication assembly switch control system shown according to an embodiment of the present invention includes:
The appliance searching device is arranged in the user terminal, is connected with the bilateral filtering device and is used for respectively executing various appliance target searches on the bilateral filtering image based on various appliance standard appearances, and sending out a first driving command when any appliance target is searched, or sending out a second driving command when any appliance target is not searched;
The network control equipment is arranged in the user terminal, is connected with the electric appliance searching equipment and is used for closing the current mobile communication link and starting the WIFI communication link when receiving a first driving command;
The real-time sharpening device is arranged in the user terminal, is respectively connected with the front camera device and the rear camera device of the user terminal, and is used for splicing the images shot by the front camera device and the rear camera device to obtain an instant spliced image and carrying out real-time sharpening on the instant spliced image to obtain an instant spliced image;
The quantity extraction device is used for receiving the instant splicing image, performing noise type analysis on the instant splicing image to determine the quantity of the noise types in the instant splicing image and outputting the quantity as a reference quantity;
The data conversion equipment is connected with the quantity extraction equipment and used for receiving the reference quantity and sending a first control signal when the reference quantity is greater than or equal to a preset quantity threshold value;
The data conversion equipment is further used for sending a second control signal when the reference quantity is smaller than the preset quantity threshold;
The signal processing device is respectively connected with the real-time sharpening device and the data conversion device, and is used for providing a time sequence signal for the connected logarithmic image enhancement device when receiving a first control signal and providing a time sequence signal for the connected exponential image enhancement device when receiving a second control signal;
The signal processing device is further used for stopping providing the time sequence signal for the connected logarithmic image enhancement device when receiving the first control signal, and is also used for stopping providing the time sequence signal for the connected exponential image enhancement device when receiving the second control signal;
The logarithmic image enhancement device is connected with the real-time sharpening device and used for executing image enhancement processing based on logarithmic transformation on the received immediate splicing image based on the time sequence signal when the time sequence signal is supplied so as to obtain and output a corresponding pertinence enhanced image;
The index image enhancement device is connected with the real-time sharpening device and used for carrying out image enhancement processing based on index transformation on the received immediate splicing image based on the time sequence signal when the time sequence signal is supplied so as to obtain and output a corresponding targeted enhanced image;
Bilateral filtering equipment which is respectively connected with the logarithmic image enhancement equipment and the exponential image enhancement equipment and is used for executing bilateral filtering processing on the received targeted enhanced image so as to obtain a corresponding bilateral filtering image;
Wherein the network control device is further configured to maintain the current mobile communication link upon receiving the second driving command.
Next, a detailed configuration of the communication module switch control system of the present invention will be further described.
The communication component switch control system can further comprise:
And the MMC storage equipment is respectively connected with the bilateral filtering equipment, the logarithmic image enhancement equipment and the exponential image enhancement equipment and is used for receiving and temporarily storing the bilateral filtering image.
The communication component switch control system can further comprise:
The gamma correction processing equipment is connected with the bilateral filter equipment and used for receiving a bilateral filter image, averagely dividing the bilateral filter image into blocks with the sizes of corresponding blocks based on the distance between the average brightness of the bilateral filter image and a preset brightness range central value, selecting corresponding gamma correction processing with different strengths based on the pixel value variance of each block to obtain gamma correction blocks for each block, and splicing the obtained gamma correction blocks to obtain a corrected spliced image;
The gamma correction processing equipment is also connected with the electric appliance searching equipment and is used for replacing the bilateral filtering image with the correction splicing image and sending the image to the electric appliance searching equipment.
In the communication component switch control system:
The preset brightness range is a brightness range limited by a preset brightness upper threshold and a preset brightness lower threshold, and the preset brightness upper threshold is larger than the preset brightness lower threshold;
Wherein, in the gamma correction processing apparatus, the closer the average luminance of the bilateral filter image is to the preset luminance range center value, the larger the corresponding block into which the bilateral filter image is equally divided becomes.
In the communication component switch control system:
In the gamma correction processing device, for each block, the greater the variance of the pixel values of the block, the less the strength of the selected gamma correction processing;
The MMC memory device is also connected with the gamma correction processing device and is used for pre-storing the preset brightness range.
The communication component switch control method shown according to the embodiment of the invention comprises the following steps:
The method comprises the steps that an electric appliance searching device is used, arranged in a user terminal, connected with a bilateral filtering device and used for respectively executing various household appliance target searching on bilateral filtering images based on various household appliance standard appearances, and when any household appliance target is searched, a first driving command is sent out, otherwise, a second driving command is sent out;
The method comprises the steps that network control equipment is used, arranged in a user terminal, connected with the electric appliance searching equipment and used for closing a current mobile communication link and starting a WIFI communication link when a first driving command is received;
The method comprises the steps that real-time sharpening equipment is used, arranged in a user terminal, connected with front camera equipment and rear camera equipment of the user terminal respectively and used for splicing images shot by the front camera equipment and the rear camera equipment to obtain an instant spliced image, and real-time sharpening processing is carried out on the instant spliced image to obtain an instant spliced image;
Using a quantity extraction device for receiving the instant mosaic image, performing noise type analysis on the instant mosaic image to determine the quantity of noise types in the instant mosaic image, and outputting the quantity as a reference quantity;
The data conversion equipment is connected with the quantity extraction equipment and used for receiving the referential quantity and sending out a first control signal when the referential quantity is greater than or equal to a preset quantity threshold value;
The data conversion equipment is further used for sending a second control signal when the reference quantity is smaller than the preset quantity threshold;
The signal processing device is respectively connected with the real-time sharpening device and the data conversion device, and is used for providing a time sequence signal for the connected logarithmic image enhancement device when receiving a first control signal and providing a time sequence signal for the connected exponential image enhancement device when receiving a second control signal;
The signal processing device is further used for stopping providing the time sequence signal for the connected logarithmic image enhancement device when receiving the first control signal, and is also used for stopping providing the time sequence signal for the connected exponential image enhancement device when receiving the second control signal;
Using a logarithmic image enhancement device connected with the real-time sharpening device and used for executing image enhancement processing based on logarithmic transformation on the received immediate splicing image based on the time sequence signal when being supplied with the time sequence signal so as to obtain and output a corresponding pertinence enhanced image;
Using an exponential image enhancement device connected with the real-time sharpening device and used for executing image enhancement processing based on exponential transformation on the received immediate splicing image based on the time sequence signal when the time sequence signal is supplied so as to obtain and output a corresponding pertinence enhanced image;
Using bilateral filtering equipment which is respectively connected with the logarithmic image enhancement equipment and the exponential image enhancement equipment and is used for executing bilateral filtering processing on the received targeted enhanced image so as to obtain a corresponding bilateral filtering image;
Wherein the network control device is further configured to maintain the current mobile communication link upon receiving the second driving command.
Next, the detailed steps of the communication module switch control method of the present invention will be further described.
The communication component switch control method may further include:
And using MMC storage equipment which is respectively connected with the bilateral filtering equipment, the logarithmic image enhancement equipment and the exponential image enhancement equipment and is used for receiving and temporarily storing the bilateral filtering image.
The communication component switch control method may further include:
Using gamma correction processing equipment, connected with the bilateral filter equipment, for receiving a bilateral filter image, equally dividing the bilateral filter image into blocks of corresponding block sizes based on the distance between the average brightness of the bilateral filter image and a preset brightness range central value, selecting corresponding gamma correction processing with different strengths based on the pixel value variance of each block to obtain gamma correction blocks for each block, and splicing the obtained gamma correction blocks to obtain a corrected spliced image;
The gamma correction processing equipment is also connected with the electric appliance searching equipment and is used for replacing the bilateral filtering image with the correction splicing image and sending the image to the electric appliance searching equipment.
In the communication component switch control method:
The preset brightness range is a brightness range limited by a preset brightness upper threshold and a preset brightness lower threshold, and the preset brightness upper threshold is larger than the preset brightness lower threshold;
Wherein, in the gamma correction processing apparatus, the closer the average luminance of the bilateral filter image is to the preset luminance range center value, the larger the corresponding block into which the bilateral filter image is equally divided becomes.
In the communication component switch control method:
In the gamma correction processing device, for each block, the greater the variance of the pixel values of the block, the less the strength of the selected gamma correction processing;
The MMC memory device is also connected with the gamma correction processing device and is used for pre-storing the preset brightness range.
in addition, WIFI is a technology that allows electronic devices to connect to a wireless local area network (W L AN), typically using the 2.4G UHF or 5G SHF ISM radio frequency bands.
The wireless network internet access can be simply understood as wireless internet access, almost all smart phones, tablet computers and notebook computers support WIFI internet access, and the wireless network transmission technology is the most widely used wireless network transmission technology at present. In effect, the wired network signal is converted to a wireless signal, as described at the outset, using a wireless router for reception by the relevant computer, cell phone, tablet, etc. supporting its technology. If the mobile phone has the WIFI function, the mobile phone can surf the internet without a mobile communication network when a WIFI wireless signal exists, and traffic cost is saved.
Wireless networking of wireless networks is commonly used in large cities, and although the wireless communication quality transmitted by the WIFI technology is not good, the data security performance is poorer than that of Bluetooth, the transmission quality needs to be improved, the transmission speed is very high, 54Mbps can be achieved, and the requirements of personal and social informatization are met. The main advantage of WIFI is that it does not need wiring, and it can not be limited by wiring conditions, so it is very suitable for the needs of mobile office users, and because the transmission signal power is lower than 100mw, and lower than the transmission power of mobile phone, it is relatively the safest and healthier to access the internet via WIFI.
Finally, it should be noted that each functional device in the embodiments of the present invention may be integrated into one processing device, or each device may exist alone physically, or two or more devices may be integrated into one device.
The functions, if implemented in the form of software-enabled devices and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.