CN105744046B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN105744046B
CN105744046B CN201410746501.4A CN201410746501A CN105744046B CN 105744046 B CN105744046 B CN 105744046B CN 201410746501 A CN201410746501 A CN 201410746501A CN 105744046 B CN105744046 B CN 105744046B
Authority
CN
China
Prior art keywords
electronic equipment
wireless communication
judging result
connection
unit
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
CN201410746501.4A
Other languages
Chinese (zh)
Other versions
CN105744046A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410746501.4A priority Critical patent/CN105744046B/en
Publication of CN105744046A publication Critical patent/CN105744046A/en
Application granted granted Critical
Publication of CN105744046B publication Critical patent/CN105744046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of information processing methods, are applied to the first electronic equipment, which comprises first electronic equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment;Obtain at least one parameter information sent by second electronic equipment by the first wireless communication connection;Based at least one described parameter information, judge whether at least one described parameter information meets predetermined condition, obtain the first judging result, wherein the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection;When first judging result, which is, is, it is based on first judging result, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the continuous development of science and technology, the type and function of electronic equipment are more and more.In order to meet user i.e. When share demand, storage equipment also has the function of wirelessly sharing.User may not need just can be passed through using data line Wireless mode, checks immediately from another electronic equipment, browses the content of the storage equipment, while can also be shared with other people.
In the prior art, it after storing equipment setting in the electronic device, as long as electronic equipment is in running order, uses Can be manually opened according to the needs of use or close WIFI unit in family.
In realizing the embodiment of the present application during technical solution, the discovery prior art at least exists present inventor Following technical problem:
It, will not be according to user since storage equipment in the prior art only controls the state of WIFI unit according on & off switch Service condition to manage the working condition of WIFI unit automatically, it is seen then that storage equipment in the prior art exists to itself Condition managing technical problem not smart enough.
Further, can just make due to storing the switch for needing user that WIFI unit is manually operated in equipment in the prior art WIFI unit is in and is turned on or off state, and storage equipment in the prior art, which exists, manipulates inconvenient technical problem.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, sets for solving storage in the prior art Technical problem not smart enough is managed oneself state for existing, realizes that the WIFI unit in storage equipment can be used according to user Situation dynamically manages the technical effect of oneself state.
On the one hand the embodiment of the present application provides a kind of information processing method, be applied to the first electronic equipment, the method packet It includes:
First electronic equipment is by establishing the first wireless communication company between first communication party formula and the second electronic equipment It connects;Obtain at least one parameter information sent by second electronic equipment by the first wireless communication connection;It is based on At least one described parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judgement knot Fruit, wherein the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection;When described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
Optionally, the first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and institute State the communication mode of the second electronic equipment foundation, the second communication method be specially first electronic equipment by with it is described The communication mode that the second different wireless communication unit of first wireless communication unit and second electronic equipment are established, wherein First power consumption of first wireless communication unit is lower than the second power consumption of second wireless communication unit.
Optionally, described based at least one described parameter information, judge whether at least one described parameter information meets Predetermined condition obtains the first judging result, specifically includes:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Optionally, judge whether at least one described parameter information is full based at least one described parameter information described Sufficient predetermined condition, after obtaining the first judging result, the method also includes:
When first judging result is no, detect whether that there is control second wireless communication unit is in unlatching First operation of state, obtains the second judging result;
When second judging result, which is, is, establishing with second electronic equipment has the second of second communication method Wireless communication connection.
Optionally, it is based on first judging result, with described second when first judging result, which is, is described Electronic equipment is established after having the second wireless communication connection of second communication method, the method also includes:
Detection obtains the first state parameter value of first electronic equipment;
Judge whether the first state parameter value is lower than a preset state parameter value, obtains third judging result;
When the third judging result, which is, is, it is based on the third judging result, it is single to close second wireless communication Member.
Optionally, described when first judging result, which is, is, it is based on first judging result, with second electricity Sub- equipment establishes the second wireless communication connection with second communication method, specifically includes:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
Optionally, it is based on first judging result, with described second when first judging result, which is, is described Electronic equipment is established after having the second wireless communication connection of second communication method, the method also includes:
First electronic equipment, which is obtained, by the first communication party formula passes through the biography of the second wireless communication connection Defeated state parameter;
When the transmission state value is lower than first threshold, second wireless communication unit is closed.
Optionally, it is based on first judging result, with described second when first judging result, which is, is described Electronic equipment is established after having the second wireless communication connection of second communication method, the method also includes:
Detection obtains first electronic equipment and passes through the second data volume of the second wireless communication connection transmission;
When second data volume is lower than second threshold in scheduled duration, second wireless communication unit is closed.
On the other hand the embodiment of the present application provides a kind of electronic equipment, the electronic equipment includes:
First connection unit, for first electronic equipment by being built between first communication party formula and the second electronic equipment Vertical first wireless communication connection;
First acquisition unit passes through the first wireless communication connection transmission by second electronic equipment for obtaining At least one parameter information;
First judging unit, for judging that at least one described parameter information is based at least one described parameter information It is no to meet predetermined condition, obtain the first judging result, wherein the predetermined condition is according to the first wireless communication connection The condition that first bandwidth obtains;
Second connection unit, it is and described for when first judging result, which is, is, being based on first judging result Second electronic equipment establishes the second wireless communication connection with second communication method.
Optionally, the first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and institute State the communication mode of the second electronic equipment foundation, the second communication method be specially first electronic equipment by with it is described The communication mode that the second different wireless communication unit of first wireless communication unit and second electronic equipment are established, wherein First power consumption of first wireless communication unit is lower than the second power consumption of second wireless communication unit.
Optionally, first judging unit, specifically includes:
First judgment module, for based on the first data volume parameter for including at least one described parameter information, judgement Whether first data volume is greater than the first preset threshold, obtains the first judging result, wherein first preset threshold is root The numerical value obtained according to the first bandwidth and preset function.
Optionally, the electronic equipment further include:
Second judgment unit controls second nothing for detecting whether to exist when first judging result is no The first operation in the open state of line communication unit, obtains the second judging result;
Third connection unit, for having with second electronic equipment foundation when second judging result, which is, is Second wireless communication connection of second communication method.
Optionally, the electronic equipment further include:
First detection unit, for detecting the first state parameter value for obtaining first electronic equipment;
Third judging unit is obtained for judging whether the first state parameter value is lower than a preset state parameter value Third judging result;
First control unit closes institute for being based on the third judging result when the third judging result, which is, is State the second wireless communication unit.
Optionally, second connection unit, specifically includes:
First sending module, for by first wireless communication unit, the transmission of the second electronic equipment of Xiang Suoshu to be used for The verification information of the second wireless communication connection is established between first electronic equipment and second electronic equipment.
Optionally, the electronic equipment further include:
Second detection unit passes through described second for obtaining first electronic equipment by the first communication party formula Wirelessly communicate the transmission state parameter of connection;
Second control unit, for when the transmission state value is lower than first threshold, closing second wireless communication Unit.
Optionally, the electronic equipment further include:
Third detection unit passes through the second wireless communication connection transmission for detecting acquisition first electronic equipment The second data volume;
Third control unit, when being used to be lower than second threshold in scheduled duration when second data volume, described in closing Second wireless communication unit.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
One, pass through first communication party formula and the since the technical solution in the embodiment of the present application is first electronic equipment The connection of the first wireless communication is established between two electronic equipments;It obtains and is wirelessly communicated by second electronic equipment by described first Connect at least one parameter information sent;Based at least one described parameter information, at least one described parameter information is judged Whether meet predetermined condition, obtains the first judging result;When first judging result, which is, is, based on the first judgement knot Fruit, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, i.e., will not be as the prior art Middle user needs just to be able to achieve being turned on or off for WIFI unit, therefore, this programme by manual operation according to service condition Middle storage unit can dynamically manage oneself state automatically according to user's service condition, thus it is possible to effectively solve existing Storage equipment in technology, which exists, manages oneself state technical problem not smart enough, realize storage equipment be able to achieve according to Family service condition dynamically manages the technical effect of oneself state.
Two, pass through first communication party formula and the since the technical solution in the embodiment of the present application is first electronic equipment The connection of the first wireless communication is established between two electronic equipments;It obtains and is wirelessly communicated by second electronic equipment by described first Connect at least one parameter information sent;Based at least one described parameter information, at least one described parameter information is judged Whether meet predetermined condition, obtains the first judging result;When first judging result, which is, is, based on the first judgement knot Fruit, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, i.e., will not be as the prior art Middle storage equipment only could open WIFI unit when user is manually operated, therefore can be automatically according to electricity using this programme Sub- equipment actual data transfer needs to automatically turn on WIFI unit, sets thus it is possible to efficiently solve storage in the prior art It is standby to there is the inconvenient technical problem of manipulation, realize the convenient and fast technical effect of operation.
Three, since the technical solution in the embodiment of the present application is the first state ginseng that detection obtains first electronic equipment Numerical value judges whether the first state parameter value is lower than a preset state parameter value, obtains third judging result, when described the Three judging results are when being, to be based on the third judging result, close second wireless communication unit;And pass through described One communication mode obtains first electronic equipment by the transmission state parameter of the second wireless communication connection, when the biography When defeated state is lower than first threshold, second wireless communication unit is closed;And detection obtains first electronic equipment and passes through Second data volume of the second wireless communication connection transmission, when second data volume is lower than second threshold in scheduled duration When, close second wireless communication unit, i.e., it will not be as in the prior art when the state of the first electronic equipment, transmission state are joined When number and the data volume of transmission are lower than threshold value, still make the WIFI connection for storing equipment in the open state, reduce the continuation of the journey of equipment Ability, so, the technical solution in the embodiment of the present application is able to achieve the technical effect for improving the cruising ability of electronic equipment.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly or in prior art, below retouches embodiment Attached drawing needed in stating is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention one A little embodiments.
Fig. 1 is a kind of flow chart for information processing method that the embodiment of the present application one provides;
Fig. 2 is a kind of information processing method that provides of the embodiment of the present application one stream when the judging result of step S103 is no Cheng Tu;
Fig. 3 is a kind of flow chart of the information processing method provided in the embodiment of the present application two;
Fig. 4 is a kind of flow chart of the information processing method provided in the embodiment of the present application three;
Fig. 5 is a kind of flow chart of the information processing method provided in the embodiment of the present application four;
Fig. 6 is the structural block diagram of a kind of electronic equipment provided in the embodiment of the present application five.
Specific embodiment
A kind of information processing method and electronic equipment are provided in the embodiment of the present application, for solving in the prior art deposit Storage equipment, which exists, manages oneself state technical problem not smart enough, realizes that the WIFI unit in storage equipment can be according to user Service condition dynamically manages the technical effect of oneself state.
Technical solution in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
A kind of information processing method is applied to the first electronic equipment, which comprises
First electronic equipment is by establishing the first wireless communication company between first communication party formula and the second electronic equipment It connects;Obtain at least one parameter information sent by second electronic equipment by the first wireless communication connection;It is based on At least one described parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judgement knot Fruit, wherein the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection;When described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
In the above-mentioned technical solutions, first electronic equipment between first communication party formula and the second electronic equipment by building Vertical first wireless communication connection;Obtain at least one sent by second electronic equipment by the first wireless communication connection A parameter information;Based at least one described parameter information, judge whether at least one described parameter information meets predetermined condition, Obtain the first judging result;When first judging result, which is, is, it is based on first judging result, with second electronics Equipment establishes the second wireless communication connection with second communication method, i.e., will not need as user in the prior art according to using Situation is just able to achieve being turned on or off for WIFI unit by manual operation, and therefore, in this programme storing unit can be certainly It is dynamic that oneself state is dynamically managed according to user's service condition, it is deposited thus it is possible to effectively solve storage equipment in the prior art Technical problem not smart enough is being managed oneself state, is realizing that storage equipment is able to achieve according to user's service condition and dynamically manages Manage the technical effect of oneself state.
In order to better understand above scheme, technical solution of the present invention is done in detail below by attached drawing and specific embodiment Thin explanation, it should be understood that the specific features in the embodiment of the present application and embodiment are to the detailed of technical solution of the present invention Illustrate, rather than the restriction to technical solution of the present invention, in the absence of conflict, in the embodiment of the present application and embodiment Technical characteristic can be combined with each other.
Embodiment one
The embodiment of the present application one provides a kind of information processing method, is applied to the first electronic equipment, referring to FIG. 1, described Method includes:
Step S101: first electronic equipment is by establishing the first nothing between first communication party formula and the second electronic equipment Line communication connection;
Step S102: at least one sent by second electronic equipment by the first wireless communication connection is obtained Parameter information;
Step S103: based at least one described parameter information, it is pre- to judge whether at least one described parameter information meets Fixed condition obtains the first judging result, wherein the predetermined condition is the first bandwidth according to the first wireless communication connection The condition of acquisition;
Step S104: when first judging result, which is, is, it is based on first judging result, with second electronics Equipment establishes the second wireless communication connection with second communication method.
In the specific implementation process, first electronic equipment can be for computer, camera, smart phone etc., can also be with It is other electronic equipment;Second electronic equipment can be tablet computer, notebook, smart phone etc., be also possible to other The electronic equipment that can be communicated with first electronic equipment, here, just different one schematically illustrating.In the embodiment of the present application In, it will be by taking first electronic equipment be camera, second electronic equipment is smart phone as an example, to the embodiment of the present application In the specific implementation process of information processing method be described in detail.
In the specific implementation process, the first communication party formula includes but is not limited to bluetooth, Bluetooth Low Energy, near-field communication Equal communication modes;The second communication method includes but is not limited to the communications such as WIFI, here, a just different citing ?.In the embodiment of the present application, will be for BLE (Bluetooth Low Energy), the second communication method with the first communication party formula For WIFI, that is, the first electronic equipment camera passes through between first communication party formula BLE and the second electronic equipment smart phone Establish the connection i.e. BLE connection of the first wireless communication;The first electronic equipment camera and the second electronic equipment smart phone Establishing the second wireless communication connection with second communication method WIFI is WIFI connection.
The first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and described second The communication mode that electronic equipment is established, i.e. the first electronic equipment pass through the BLE wireless communication unit and second of the first electronic equipment The BLE wireless communication unit of electronic equipment establishes BLE wireless communication connection;The second communication method is specially first electricity Sub- equipment is established by the second wireless communication unit different from first wireless communication unit and second electronic equipment Communication mode, i.e. the first electronic equipment passes through the WIFI wireless communication unit of the first electronic equipment and the second electronic equipment WIFI wireless communication unit establishes WIFI wireless communication connection.Wherein, the first power consumption of first wireless communication unit is lower than Second power consumption of second wireless communication unit.In the present embodiment, the transmission power of bluetooth is no more than 20 milliwatts, the hair of WIFI Power is penetrated in 40 milliwatts or so, the power consumption of BLE wireless communication unit is lower than the power consumption of WIFI wireless communication unit.
When carrying out information processing using the technical solution in the application, step S101 is first carried out, it may be assumed that first electronics Equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment.
In the embodiment of the present application, for step S101, specific implementation are as follows: camera and smart phone are built by BLE It is vertical to be wirelessly connected.
After executing completion step S101, the method in the embodiment of the present application just executes step S102, it may be assumed that obtains by institute State at least one parameter information that the second electronic equipment is sent by the first wireless communication connection.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera and smart phone are established by BLE to be wirelessly connected, if what smart phone was thought to store in browsing camera Photo, then smart phone sends at least one parameter information to camera by the channel BLE, to inform that camera smart phone is wanted Browse magazine photo.At least one described parameter information may include the request instruction for requesting accessed document, be consulted Title, file type, size, the quantity of file etc..Specifically, can be the name of the photo to be consulted in the present embodiment Claim, the position that photo stores in the camera, also may include some other solicited message or attribute information, here, just different One schematically illustrates.For example, smart phone to camera have sent want access photographic intelligence in include title 1, file type be JPG, quantity are N, and the data volume of requested document is 1G, at this moment, the parameter information that camera just obtains, including " title: 1;Number According to amount: 1G;File type: JPG ".
After executing the step S102, the method in the embodiment of the present application just executes step S103, it may be assumed that based on described in extremely A few parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judging result, In, the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection.
In the embodiment of the present application, the specific implementation of step S103 are as follows:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, is executing After step S102, camera obtains 3 parameter informations sent by smart phone: " title: 1;Data volume: 1G;File type: JPG ", at this point, magazine processing unit carries out the data amount information in 3 parameter informations such as the main control chip in SD card Judgement, judges whether the value is greater than the first preset threshold, and the preset threshold is specially pre- according to the bandwidth in the channel BLE and one It can be the multiple value of BLE bandwidth chahnel if function calculates, e.g., the calculated value of 1.5 times of bandwidth or the meter of 2 times of bandwidth Calculation value is also possible to e.g. calculate BLE using shannon formula according to a curvilinear function relationship calculated value of BLE bandwidth chahnel Channel capacity etc., when needing the data volume transmitted that can complete before the deadline by BLE channel transfer, then at this time just not It needs to open WIFI.
Preferably, referring to FIG. 2, in order to more accurately manage the working condition of WIFI, when judging that the second electronics sets When the data volume of standby request transmission is less than or equal to preset threshold, the side after executing the step S103, in the embodiment of the present application Method further include:
Step S201: when first judging result is no, detect whether there is control the second wireless communication list Member the first operation in the open state, obtains the second judging result;
Step S202: when second judging result, which is, is, establishing with second electronic equipment has second to communicate Second wireless communication connection of mode.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, specific real During applying, when the first judging result of acquisition is no, that is, the data volume transmitted is smaller, at this point, camera also needs to detect use Whether family passes through manual operation positive opening WIFI, when the control switch for detecting WIFI is to open or detected triggering WIFI When trigger action in the open state, then show that the data volume even if transmission is smaller, user remain desirable to the channel WIFI come It is transmitted, at this moment, camera still opens WIFI, carries out data transmission.
After having executed above-mentioned steps, the method in the embodiment of the present application just executes step S104, it may be assumed that when described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
In the embodiment of the present application, the specific implementation of step S104 are as follows:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, camera is first turned on WIFI connection, establishes WIFI hot spot, then by the channel BLE, is used for smart phone transmission The title and modification logging of WIFI connection are established, e.g., the modification logging of TD-8B and the WIFI connection: 112233, work as smart phone After receiving the title and modification logging by the WIFI connection of BLE channel transfer, smart phone opens its WIFI communication unit, and It searches in existing WIFI connection and is wirelessly connected entitled TD-8B, click the connection, will appear phase on the display screen of smart phone The interface for password input answered, then smart phone is by with the Password Input of acquisition, camera verify the password be correctly can be in phase WIFI connection is established between machine and smart phone.
Embodiment two
The embodiment of the present application two provides a kind of information processing method, is applied to the first electronic equipment, referring to FIG. 3, described Method includes:
Step S301: first electronic equipment is by establishing the first nothing between first communication party formula and the second electronic equipment Line communication connection;
Step S302: at least one sent by second electronic equipment by the first wireless communication connection is obtained Parameter information;
Step S303: based at least one described parameter information, it is pre- to judge whether at least one described parameter information meets Fixed condition obtains the first judging result, wherein the predetermined condition is the first bandwidth according to the first wireless communication connection The condition of acquisition;
Step S304: when first judging result, which is, is, it is based on first judging result, with second electronics Equipment establishes the second wireless communication connection with second communication method.
Step S305: detection obtains the first state parameter value of first electronic equipment;
Step S306: judging whether the first state parameter value is lower than a preset state parameter value, obtains third judgement As a result;
Step S307: when the third judging result, which is, is, it is based on the third judging result, closes second nothing Line communication unit.
In the specific implementation process, first electronic equipment can be for computer, camera, smart phone etc., can also be with It is other electronic equipment;Second electronic equipment can be tablet computer, notebook, smart phone etc., be also possible to other The electronic equipment that can be communicated with first electronic equipment, here, just different one schematically illustrating.In the embodiment of the present application In, it will be by taking first electronic equipment be camera, second electronic equipment is smart phone as an example, to the embodiment of the present application In the specific implementation process of information processing method be described in detail.
In the specific implementation process, the first communication party formula includes but is not limited to bluetooth, Bluetooth Low Energy, near-field communication Equal communication modes;The second communication method includes but is not limited to the communications such as WIFI, here, a just different citing ?.In the embodiment of the present application, will be for BLE (Bluetooth Low Energy), the second communication method with the first communication party formula For WIFI, that is, the first electronic equipment camera passes through between first communication party formula BLE and the second electronic equipment smart phone Establish the connection i.e. BLE connection of the first wireless communication;The first electronic equipment camera and the second electronic equipment smart phone Establishing the second wireless communication connection with second communication method WIFI is WIFI connection.
The first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and described second The communication mode that electronic equipment is established, i.e. the first electronic equipment pass through the BLE wireless communication unit and second of the first electronic equipment The BLE wireless communication unit of electronic equipment establishes BLE wireless communication connection;The second communication method is specially first electricity Sub- equipment is established by the second wireless communication unit different from first wireless communication unit and second electronic equipment Communication mode, i.e. the first electronic equipment passes through the WIFI wireless communication unit of the first electronic equipment and the second electronic equipment WIFI wireless communication unit establishes WIFI wireless communication connection.Wherein, the first power consumption of first wireless communication unit is lower than Second power consumption of second wireless communication unit.In the present embodiment, the transmission power of bluetooth is no more than 20 milliwatts, the hair of WIFI Power is penetrated in 40 milliwatts or so, the power consumption of BLE wireless communication unit is lower than the power consumption of WIFI wireless communication unit.
When carrying out information processing using the technical solution in the application, step S101 is first carried out, it may be assumed that first electronics Equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment.
In the embodiment of the present application, for step S301, specific implementation are as follows: camera and smart phone are built by BLE It is vertical to be wirelessly connected.
After executing completion step S301, the method in the embodiment of the present application just executes step S302, it may be assumed that obtains by institute State at least one parameter information that the second electronic equipment is sent by the first wireless communication connection.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera and smart phone are established by BLE to be wirelessly connected, if what smart phone was thought to store in browsing camera Photo, then smart phone sends at least one parameter information to camera by the channel BLE, to inform that camera smart phone is wanted Browse magazine photo.At least one described parameter information may include the request instruction for requesting accessed document, be consulted Title, file type, size, the quantity of file etc..Specifically, can be the name of the photo to be consulted in the present embodiment Claim, the position that photo stores in the camera, also may include some other solicited message or attribute information, here, just different One schematically illustrates.For example, smart phone to camera have sent want access photographic intelligence in include title 1, file type be JPG, quantity are N, and the data volume of requested document is 1G, at this moment, the parameter information that camera just obtains, including " title: 1;Number According to amount: 1G;File type: JPG ".
After executing the step S302, the method in the embodiment of the present application just executes step S303, it may be assumed that based on described in extremely A few parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judging result, In, the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection.
In the embodiment of the present application, the specific implementation of step S303 are as follows:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, is executing After step S102, camera obtains 3 parameter informations sent by smart phone: " title: 1;Data volume: 1G;File type: JPG ", at this point, magazine processing unit carries out the data amount information in 3 parameter informations such as the main control chip in SD card Judgement, judges whether the value is greater than the first preset threshold, and the preset threshold is specially pre- according to the bandwidth in the channel BLE and one It can be the multiple value of BLE bandwidth chahnel if function calculates, e.g., the calculated value of 1.5 times of bandwidth or the meter of 2 times of bandwidth Calculation value is also possible to e.g. calculate BLE using shannon formula according to a curvilinear function relationship calculated value of BLE bandwidth chahnel Channel capacity etc., when needing the data volume transmitted that can complete before the deadline by BLE channel transfer, then at this time just not It needs to open WIFI.
Preferably, in order to more accurately manage the working condition of WIFI, when judging that the second electronic equipment requests transmit Data volume be less than or equal to preset threshold when, the method after executing the step S303, in the embodiment of the present application further include:
When first judging result is no, detect whether that there is control second wireless communication unit is in unlatching First operation of state, obtains the second judging result;
When second judging result, which is, is, establishing with second electronic equipment has the second of second communication method Wireless communication connection.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, specific real During applying, when the first judging result of acquisition is no, that is, the data volume transmitted is smaller, at this point, camera also needs to detect use Whether family passes through manual operation positive opening WIFI, when the control switch for detecting WIFI is to open or detected triggering WIFI When trigger action in the open state, then show that the data volume even if transmission is smaller, user remain desirable to the channel WIFI come It is transmitted, at this moment, camera still opens WIFI, carries out data transmission.
After having executed above-mentioned steps, the method in the embodiment of the present application just executes step S304, it may be assumed that when described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
In the embodiment of the present application, the specific implementation of step S304 are as follows:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, camera is first turned on WIFI connection, establishes WIFI hot spot, then by the channel BLE, is used for smart phone transmission The title and modification logging of WIFI connection are established, e.g., the modification logging of TD-8B and the WIFI connection: 112233, work as smart phone After receiving the title and modification logging by the WIFI connection of BLE channel transfer, smart phone opens its WIFI communication unit, and It searches in existing WIFI connection and is wirelessly connected entitled TD-8B, click the connection, will appear phase on the display screen of smart phone The interface for password input answered, then smart phone is by with the Password Input of acquisition, camera verify the password be correctly can be in phase WIFI connection is established between machine and smart phone.
After executing completion step S304, in order to be managed to the WIFI of foundation connection, in the embodiment of the present application Method just executes step S305, it may be assumed that detection obtains the first state parameter value of first electronic equipment.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera, which establishes WIFI with smart phone, to be connect, camera also needs to obtain the state parameter of itself in real time, monitoring The variation of oneself state parameter value, such as the current battery capacity of camera, space hold, are also possible to other state parameters, Here, just no longer schematically illustrating one by one.
After executing completion step S305, the method in the embodiment of the present application just executes step S306, it may be assumed that described in judgement Whether first state parameter value is lower than a preset state parameter value, obtains third judging result.
Above-mentioned example is continued to use, if the first state parameter is the first charge value, described pre- of the first electric device battery If status parameter values are specially charge value 50 percent, when detecting that the current electric quantity of camera is 30 percent, then will work as For preceding electricity compared with default charge value 50 percent, it is yes for obtaining third judging result;When the current electricity for detecting camera When amount is 60 percent, then it is no for obtaining third judging result.If the first state parameter is the CPU of the first electronic equipment Space hold amount, the preset state parameter value are specially CPU space hold amount 70 percent, when detecting that camera is current CPU space hold amount be 50 percent, then obtain third judging result be it is yes, otherwise acquisition third judging result be no.? Other status parameter values can also be judged in the embodiment of the present application, just different one be schematically illustrated herein.
After executing and completing step S306, the method in the embodiment of the present application just executes step S307, it may be assumed that when described the Three judging results are when being, to be based on the third judging result, close second wireless communication unit.
Continue to continue to use above-mentioned example, when third judging result, which is, is, then shows that the current state of camera is suitble to continue to make It is connected with WIFI, it is on the contrary then show that the current state of camera cannot continue to support by WIFI to transmit data.Such as, pass through camera Charge value obtain third judging result be it is no, when then showing that the electricity of camera at this time is not suitable for continuing to use WIFI, continue to make It will lead to camera electricity with WIFI to exhaust, reduce the cruising ability of camera, at this point, camera just closes WIFI communication unit, disconnect Second wireless communication connection;Conversely, camera continues to keep WIFI communication unit in the open state, guarantee WIFI connection.
Embodiment three
The embodiment of the present application three provides a kind of information processing method, is applied to the first electronic equipment, referring to FIG. 4, described Method includes:
Step S401: first electronic equipment is by establishing the first nothing between first communication party formula and the second electronic equipment Line communication connection;
Step S402: at least one sent by second electronic equipment by the first wireless communication connection is obtained Parameter information;
Step S403: based at least one described parameter information, it is pre- to judge whether at least one described parameter information meets Fixed condition obtains the first judging result, wherein the predetermined condition is the first bandwidth according to the first wireless communication connection The condition of acquisition;
Step S404: when first judging result, which is, is, it is based on first judging result, with second electronics Equipment establishes the second wireless communication connection with second communication method.
Step S405: first electronic equipment is obtained by the first communication party formula and is wirelessly communicated by described second The transmission state parameter of connection;
Step S406: when the transmission state value is lower than first threshold, second wireless communication unit is closed.
In the specific implementation process, first electronic equipment can be for computer, camera, smart phone etc., can also be with It is other electronic equipment;Second electronic equipment can be tablet computer, notebook, smart phone etc., be also possible to other The electronic equipment that can be communicated with first electronic equipment, here, just different one schematically illustrating.In the embodiment of the present application In, it will be by taking first electronic equipment be camera, second electronic equipment is smart phone as an example, to the embodiment of the present application In the specific implementation process of information processing method be described in detail.
In the specific implementation process, the first communication party formula includes but is not limited to bluetooth, Bluetooth Low Energy, near-field communication Equal communication modes;The second communication method includes but is not limited to the communications such as WIFI, here, a just different citing ?.In the embodiment of the present application, will be for BLE (Bluetooth Low Energy), the second communication method with the first communication party formula For WIFI, that is, the first electronic equipment camera passes through between first communication party formula BLE and the second electronic equipment smart phone Establish the connection i.e. BLE connection of the first wireless communication;The first electronic equipment camera and the second electronic equipment smart phone Establishing the second wireless communication connection with second communication method WIFI is WIFI connection.
The first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and described second The communication mode that electronic equipment is established, i.e. the first electronic equipment pass through the BLE wireless communication unit and second of the first electronic equipment The BLE wireless communication unit of electronic equipment establishes BLE wireless communication connection;The second communication method is specially first electricity Sub- equipment is established by the second wireless communication unit different from first wireless communication unit and second electronic equipment Communication mode, i.e. the first electronic equipment passes through the WIFI wireless communication unit of the first electronic equipment and the second electronic equipment WIFI wireless communication unit establishes WIFI wireless communication connection.Wherein, the first power consumption of first wireless communication unit is lower than Second power consumption of second wireless communication unit.In the present embodiment, the transmission power of bluetooth is no more than 20 milliwatts, the hair of WIFI Power is penetrated in 40 milliwatts or so, the power consumption of BLE wireless communication unit is lower than the power consumption of WIFI wireless communication unit.
When carrying out information processing using the technical solution in the application, step S401 is first carried out, it may be assumed that first electronics Equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment.
In the embodiment of the present application, for step S401, specific implementation are as follows: camera and smart phone are built by BLE It is vertical to be wirelessly connected.
After executing completion step S401, the method in the embodiment of the present application just executes step S402, it may be assumed that obtains by institute State at least one parameter information that the second electronic equipment is sent by the first wireless communication connection.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera and smart phone are established by BLE to be wirelessly connected, if what smart phone was thought to store in browsing camera Photo, then smart phone sends at least one parameter information to camera by the channel BLE, to inform that camera smart phone is wanted Browse magazine photo.At least one described parameter information may include the request instruction for requesting accessed document, be consulted Title, file type, size, the quantity of file etc..Specifically, can be the name of the photo to be consulted in the present embodiment Claim, the position that photo stores in the camera, also may include some other solicited message or attribute information, here, just different One schematically illustrates.For example, smart phone to camera have sent want access photographic intelligence in include title 1, file type be JPG, quantity are N, and the data volume of requested document is 1G, at this moment, the parameter information that camera just obtains, including " title: 1;Number According to amount: 1G;File type: JPG ".
After executing the step S402, the method in the embodiment of the present application just executes step S403, it may be assumed that based on described in extremely A few parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judging result, In, the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection.
In the embodiment of the present application, the specific implementation of step S403 are as follows:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, is executing After step S402, camera obtains 3 parameter informations sent by smart phone: " title: 1;Data volume: 1G;File type: JPG ", at this point, magazine processing unit carries out the data amount information in 3 parameter informations such as the main control chip in SD card Judgement, judges whether the value is greater than the first preset threshold, and the preset threshold is specially pre- according to the bandwidth in the channel BLE and one It can be the multiple value of BLE bandwidth chahnel if function calculates, e.g., the calculated value of 1.5 times of bandwidth or the meter of 2 times of bandwidth Calculation value is also possible to e.g. calculate BLE using shannon formula according to a curvilinear function relationship calculated value of BLE bandwidth chahnel Channel capacity etc., when needing the data volume transmitted that can complete before the deadline by BLE channel transfer, then at this time just not It needs to open WIFI.
Preferably, in order to more accurately manage the working condition of WIFI, when judging that the second electronic equipment requests transmit Data volume be less than or equal to preset threshold when, the method after executing the step S403, in the embodiment of the present application further include:
When first judging result is no, detect whether that there is control second wireless communication unit is in unlatching First operation of state, obtains the second judging result;
When second judging result, which is, is, establishing with second electronic equipment has the second of second communication method Wireless communication connection.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, specific real During applying, when the first judging result of acquisition is no, that is, the data volume transmitted is smaller, at this point, camera also needs to detect use Whether family passes through manual operation positive opening WIFI, when the control switch for detecting WIFI is to open or detected triggering WIFI When trigger action in the open state, then show that the data volume even if transmission is smaller, user remain desirable to the channel WIFI come It is transmitted, at this moment, camera still opens WIFI, carries out data transmission.
After having executed above-mentioned steps, the method in the embodiment of the present application just executes step S404, it may be assumed that when described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
In the embodiment of the present application, the specific implementation of step S404 are as follows:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, camera is first turned on WIFI connection, establishes WIFI hot spot, then by the channel BLE, is used for smart phone transmission The title and modification logging of WIFI connection are established, e.g., the modification logging of TD-8B and the WIFI connection: 112233, work as smart phone After receiving the title and modification logging by the WIFI connection of BLE channel transfer, smart phone opens its WIFI communication unit, and It searches in existing WIFI connection and is wirelessly connected entitled TD-8B, click the connection, will appear phase on the display screen of smart phone The interface for password input answered, then smart phone is by with the Password Input of acquisition, camera verify the password be correctly can be in phase WIFI connection is established between machine and smart phone.
After executing completion step S404, in order to be managed to the WIFI of foundation connection, in the embodiment of the present application Method just executes step S405, it may be assumed that obtains first electronic equipment by the first communication party formula and passes through second nothing The transmission state parameter of line communication connection.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera, which establishes WIFI with smart phone, to be connect, camera can also obtain the transmission state ginseng of WIFI connection Number, e.g., transmission rate, transport-type etc. in WIFI connection are also possible to other transmission state parameters, herein with regard to different one action Example.By taking transmission rate as an example, camera detects that the transmission rate in current WIFI connection is 2kb/s.
After executing completion step S405, the method in the embodiment of the present application just executes step S406, it may be assumed that when the biography When defeated state value is lower than first threshold, second wireless communication unit is closed.
Above-mentioned example is continued to use, if the transmission state parameter is the first electronic equipment rate, first threshold tool Body is transmission rate 100kb/s, when camera detects that the transmission rate in current WIFI connection is 2kb/s, the master control core of camera Piece judges 2kb/s < 100kb/s, shows that WIFI connection only has sub-fraction bandwidth to be utilized, can switch to pass through BLE at this time Connection is to transmit the information, then camera closes WIFI communication unit, disconnects the WIFI connection between smart phone, passes through BLE Connection is transmitted to complete data.
Example IV
The embodiment of the present application four provides a kind of information processing method, is applied to the first electronic equipment, referring to FIG. 5, described Method includes:
Step S501: first electronic equipment is by establishing the first nothing between first communication party formula and the second electronic equipment Line communication connection;
Step S502: at least one sent by second electronic equipment by the first wireless communication connection is obtained Parameter information;
Step S503: based at least one described parameter information, it is pre- to judge whether at least one described parameter information meets Fixed condition obtains the first judging result, wherein the predetermined condition is the first bandwidth according to the first wireless communication connection The condition of acquisition;
Step S504: when first judging result, which is, is, it is based on first judging result, with second electronics Equipment establishes the second wireless communication connection with second communication method.
Step S505: detection obtains first electronic equipment and passes through the second number of the second wireless communication connection transmission According to amount;
Step S506: when second data volume is lower than second threshold in scheduled duration, it is wireless to close described second Communication unit.
In the specific implementation process, first electronic equipment can be for computer, camera, smart phone etc., can also be with It is other electronic equipment;Second electronic equipment can be tablet computer, notebook, smart phone etc., be also possible to other The electronic equipment that can be communicated with first electronic equipment, here, just different one schematically illustrating.In the embodiment of the present application In, it will be by taking first electronic equipment be camera, second electronic equipment is smart phone as an example, to the embodiment of the present application In the specific implementation process of information processing method be described in detail.
In the specific implementation process, the first communication party formula includes but is not limited to bluetooth, Bluetooth Low Energy, near-field communication Equal communication modes;The second communication method includes but is not limited to the communications such as WIFI, here, a just different citing ?.In the embodiment of the present application, will be for BLE (Bluetooth Low Energy), the second communication method with the first communication party formula For WIFI, that is, the first electronic equipment camera passes through between first communication party formula BLE and the second electronic equipment smart phone Establish the connection i.e. BLE connection of the first wireless communication;The first electronic equipment camera and the second electronic equipment smart phone Establishing the second wireless communication connection with second communication method WIFI is WIFI connection.
The first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and described second The communication mode that electronic equipment is established, i.e. the first electronic equipment pass through the BLE wireless communication unit and second of the first electronic equipment The BLE wireless communication unit of electronic equipment establishes BLE wireless communication connection;The second communication method is specially first electricity Sub- equipment is established by the second wireless communication unit different from first wireless communication unit and second electronic equipment Communication mode, i.e. the first electronic equipment passes through the WIFI wireless communication unit of the first electronic equipment and the second electronic equipment WIFI wireless communication unit establishes WIFI wireless communication connection.Wherein, the first power consumption of first wireless communication unit is lower than Second power consumption of second wireless communication unit.In the present embodiment, the transmission power of bluetooth is no more than 20 milliwatts, the hair of WIFI Power is penetrated in 40 milliwatts or so, the power consumption of BLE wireless communication unit is lower than the power consumption of WIFI wireless communication unit.
When carrying out information processing using the technical solution in the application, step S501 is first carried out, it may be assumed that first electronics Equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment.
In the embodiment of the present application, for step S501, specific implementation are as follows: camera and smart phone are built by BLE It is vertical to be wirelessly connected.
After executing completion step S501, the method in the embodiment of the present application just executes step S502, it may be assumed that obtains by institute State at least one parameter information that the second electronic equipment is sent by the first wireless communication connection.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera and smart phone are established by BLE to be wirelessly connected, if what smart phone was thought to store in browsing camera Photo, then smart phone sends at least one parameter information to camera by the channel BLE, to inform that camera smart phone is wanted Browse magazine photo.At least one described parameter information may include the request instruction for requesting accessed document, be consulted Title, file type, size, the quantity of file etc..Specifically, can be the name of the photo to be consulted in the present embodiment Claim, the position that photo stores in the camera, also may include some other solicited message or attribute information, here, just different One schematically illustrates.For example, smart phone to camera have sent want access photographic intelligence in include title 1, file type be JPG, quantity are N, and the data volume of requested document is 1G, at this moment, the parameter information that camera just obtains, including " title: 1;Number According to amount: 1G;File type: JPG ".
After executing the step S502, the method in the embodiment of the present application just executes step S503, it may be assumed that based on described in extremely A few parameter information, judges whether at least one described parameter information meets predetermined condition, obtains the first judging result, In, the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection.
In the embodiment of the present application, the specific implementation of step S503 are as follows:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, is executing After step S502, camera obtains 3 parameter informations sent by smart phone: " title: 1;Data volume: 1G;File type: JPG ", at this point, magazine processing unit carries out the data amount information in 3 parameter informations such as the main control chip in SD card Judgement, judges whether the value is greater than the first preset threshold, and the preset threshold is specially pre- according to the bandwidth in the channel BLE and one It can be the multiple value of BLE bandwidth chahnel if function calculates, e.g., the calculated value of 1.5 times of bandwidth or the meter of 2 times of bandwidth Calculation value is also possible to e.g. calculate BLE using shannon formula according to a curvilinear function relationship calculated value of BLE bandwidth chahnel Channel capacity etc., when needing the data volume transmitted that can complete before the deadline by BLE channel transfer, then at this time just not It needs to open WIFI.
Preferably, in order to more accurately manage the working condition of WIFI, when judging that the second electronic equipment requests transmit Data volume be less than or equal to preset threshold when, the method after executing the step S503, in the embodiment of the present application further include:
When first judging result is no, detect whether that there is control second wireless communication unit is in unlatching First operation of state, obtains the second judging result;
When second judging result, which is, is, establishing with second electronic equipment has the second of second communication method Wireless communication connection.
Continue so that first electronic equipment is camera, second electronic equipment is smart phone as an example, specific real During applying, when the first judging result of acquisition is no, that is, the data volume transmitted is smaller, at this point, camera also needs to detect use Whether family passes through manual operation positive opening WIFI, when the control switch for detecting WIFI is to open or detected triggering WIFI When trigger action in the open state, then show that the data volume even if transmission is smaller, user remain desirable to the channel WIFI come It is transmitted, at this moment, camera still opens WIFI, carries out data transmission.
After having executed above-mentioned steps, the method in the embodiment of the present application just executes step S504, it may be assumed that when described first Judging result is when being, to be based on first judging result, and establishing with second electronic equipment has second communication method Second wireless communication connection.
In the embodiment of the present application, the specific implementation of step S504 are as follows:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, camera is first turned on WIFI connection, establishes WIFI hot spot, then by the channel BLE, is used for smart phone transmission The title and modification logging of WIFI connection are established, e.g., the modification logging of TD-8B and the WIFI connection: 112233, work as smart phone After receiving the title and modification logging by the WIFI connection of BLE channel transfer, smart phone opens its WIFI communication unit, and It searches in existing WIFI connection and is wirelessly connected entitled TD-8B, click the connection, will appear phase on the display screen of smart phone The interface for password input answered, then smart phone is by with the Password Input of acquisition, camera verify the password be correctly can be in phase WIFI connection is established between machine and smart phone.
After executing completion step S504, in order to be managed to the WIFI of foundation connection, in the embodiment of the present application Method just executes step S505, it may be assumed that detection obtains first electronic equipment and passes through the second wireless communication connection transmission Second data volume.
During specific implementation, continue by camera, second electronic equipment of first electronic equipment to be intelligence For mobile phone, after camera, which establishes WIFI with smart phone, to be connect, camera can also pass through WIFI by BLE connection to obtain The data volume size of the information of transmission is connected, e.g., camera detects in 60s, transmits 512M data volume in WIFI connection.
After executing and completing step S505, the method in the embodiment of the present application just executes step S506, it may be assumed that when described the When two data volumes are lower than second threshold in scheduled duration, second wireless communication unit is closed.
Above-mentioned example is continued to use, setting the second threshold is specially 1G, when camera detects in 60s, in WIFI connection 512M data volume is transmitted, the main control chip of camera judges 512M < 1G, shows that WIFI connection only has sub-fraction bandwidth sharp With can also switch to transmit the information by BLE connection at this time, then camera closes WIFI communication unit, disconnects and intelligent hand Data transmission is completed in WIFI connection between machine by BLE connection.
Embodiment five
Based on the same inventive concept, the embodiment of the present application five provides a kind of electronic equipment, referring to FIG. 6, the electronics is set It is standby to include:
First connection unit 101, for first electronic equipment by first communication party formula and the second electronic equipment it Between establish the first wireless communication connection;
First acquisition unit 102 passes through the first wireless communication connection hair by second electronic equipment for obtaining At least one parameter information sent;
First judging unit 103, for judging at least one described parameter information based at least one described parameter information Whether meet predetermined condition, obtain the first judging result, wherein the predetermined condition is to be connected according to first wireless communication The first bandwidth obtain condition;
Second connection unit 104, for being based on first judging result when first judging result, which is, is, with Second electronic equipment establishes the second wireless communication connection with second communication method.
Optionally, the first communication party formula is specially that first electronic equipment passes through the first wireless communication unit and institute State the communication mode of the second electronic equipment foundation, the second communication method be specially first electronic equipment by with it is described The communication mode that the second different wireless communication unit of first wireless communication unit and second electronic equipment are established, wherein First power consumption of first wireless communication unit is lower than the second power consumption of second wireless communication unit.
Optionally, first judging unit 103, specifically includes:
First judgment module, based on the first data volume parameter for including at least one described parameter information, described in judgement Whether the first data volume is greater than the first preset threshold, obtains the first judging result, wherein first preset threshold is according to the The numerical value that one bandwidth and preset function obtain.
Optionally, the electronic equipment further include:
Second judgment unit 105, for detecting whether there is control described second when first judging result is no Wireless communication unit the first operation in the open state, obtains the second judging result;
Third connection unit 106, for establishing and having with second electronic equipment when second judging result, which is, is There is the second wireless communication connection of second communication method.
Optionally, the electronic equipment further include:
First detection unit 107, for detecting the first state parameter value for obtaining first electronic equipment;
Third judging unit 108 is obtained for judging whether the first state parameter value is lower than a preset state parameter value Obtain third judging result;
First control unit 109 is closed for being based on the third judging result when the third judging result, which is, is Close second wireless communication unit.
Optionally, second connection unit 104, specifically includes:
First sending module, for by first wireless communication unit, the transmission of the second electronic equipment of Xiang Suoshu to be used for The verification information of the second wireless communication connection is established between first electronic equipment and second electronic equipment.
Optionally, the electronic equipment further include:
Second detection unit 110, for obtaining first electronic equipment described in by the first communication party formula The transmission state parameter of second wireless communication connection;
Second control unit 111, for when the transmission state is lower than first threshold, closing second wireless communication Unit.
Optionally, the electronic equipment further include:
Third detection unit 112 passes through the second wireless communication connection for detecting acquisition first electronic equipment Second data volume of transmission;
Third control unit 113, for closing institute when second data volume is lower than second threshold in scheduled duration State the second wireless communication unit.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented Fruit:
One, pass through first communication party formula and the since the technical solution in the embodiment of the present application is first electronic equipment The connection of the first wireless communication is established between two electronic equipments;It obtains and is wirelessly communicated by second electronic equipment by described first Connect at least one parameter information sent;Based at least one described parameter information, at least one described parameter information is judged Whether meet predetermined condition, obtains the first judging result;When first judging result, which is, is, based on the first judgement knot Fruit, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, i.e., will not be as the prior art Middle user needs just to be able to achieve being turned on or off for WIFI unit, therefore, this programme by manual operation according to service condition Middle storage unit can dynamically manage oneself state automatically according to user's service condition, thus it is possible to effectively solve existing Storage equipment in technology, which exists, manages oneself state technical problem not smart enough, realize storage equipment be able to achieve according to Family service condition dynamically manages the technical effect of oneself state.
Two, pass through first communication party formula and the since the technical solution in the embodiment of the present application is first electronic equipment The connection of the first wireless communication is established between two electronic equipments;It obtains and is wirelessly communicated by second electronic equipment by described first Connect at least one parameter information sent;Based at least one described parameter information, at least one described parameter information is judged Whether meet predetermined condition, obtains the first judging result;When first judging result, which is, is, based on the first judgement knot Fruit, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, i.e., will not be as the prior art Middle storage equipment only could open WIFI unit when user is manually operated, therefore can be automatically according to electricity using this programme Sub- equipment actual data transfer needs to automatically turn on WIFI unit, sets thus it is possible to efficiently solve storage in the prior art It is standby to there is the inconvenient technical problem of manipulation, realize the convenient and fast technical effect of operation.
Three, since the technical solution in the embodiment of the present application is the first state ginseng that detection obtains first electronic equipment Numerical value judges whether the first state parameter value is lower than a preset state parameter value, obtains third judging result, when described the Three judging results are when being, to be based on the third judging result, close second wireless communication unit;And pass through described One communication mode obtains first electronic equipment by the transmission state parameter of the second wireless communication connection, when the biography When defeated state is lower than first threshold, second wireless communication unit is closed;And detection obtains first electronic equipment and passes through Second data volume of the second wireless communication connection transmission, when second data volume is lower than second threshold in scheduled duration When, close second wireless communication unit, i.e., it will not be as in the prior art when the state of the first electronic equipment, transmission state are joined When number and the data volume of transmission are lower than threshold value, still make the WIFI connection for storing equipment in the open state, reduce the continuation of the journey of equipment Ability, so, the technical solution in the embodiment of the present application is able to achieve the technical effect for improving the cruising ability of electronic equipment.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
First electronic equipment is by establishing the first wireless communication company between first communication party formula and the second electronic equipment It connects;
Obtain at least one parameter information sent by second electronic equipment by the first wireless communication connection;
Based at least one described parameter information, judge whether at least one described parameter information meets predetermined condition, obtains Obtain the first judging result, wherein the predetermined condition is the item obtained according to the first bandwidth of the first wireless communication connection Part;
When first judging result, which is, is, it is based on first judging result, is established with second electronic equipment The second wireless communication connection with second communication method.
Optionally, stored in the storage medium and step: it is described based at least one described parameter information, judge institute It states whether at least one parameter information meets predetermined condition, obtains the first judging result, corresponding computer instruction is in specifically quilt In implementation procedure, specifically include:
Based on the first data volume parameter for including at least one described parameter information, whether first data volume is judged Greater than the first preset threshold, the first judging result is obtained, wherein first preset threshold is according to the first bandwidth and default letter The numerical value that number obtains.
Optionally, stored in the storage medium and step: described based at least one described parameter information, judgement Whether at least one described parameter information meets predetermined condition, and after obtaining the first judging result, corresponding computer instruction exists During being specifically performed, the method also includes:
When first judging result is no, detect whether that there is control second wireless communication unit is in unlatching First operation of state, obtains the second judging result;
When second judging result, which is, is, establishing with second electronic equipment has the second of second communication method Wireless communication connection.
Optionally, it stored in the storage medium and step: described when first judging result, which is, is, is based on First judging result establishes the second wireless communication connection with second communication method with second electronic equipment Afterwards, corresponding computer instruction specifically be performed during, the method also includes:
Detection obtains the first state parameter value of first electronic equipment;
Judge whether the first state parameter value is lower than a preset state parameter value, obtains third judging result;
When the third judging result, which is, is, it is based on the third judging result, it is single to close second wireless communication Member.
Optionally, stored in the storage medium and step: it is described when first judging result, which is, is, it is based on institute The first judging result is stated, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, corresponding Computer instruction specifically be performed during, specifically include:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment The verification information of the second wireless communication connection is established between second electronic equipment.
Optionally, it stored in the storage medium and step: described when first judging result, which is, is, is based on First judging result establishes the second wireless communication connection with second communication method with second electronic equipment Afterwards, corresponding computer instruction specifically be performed during, the method also includes:
First electronic equipment, which is obtained, by the first communication party formula passes through the biography of the second wireless communication connection Defeated state parameter;
When the transmission state is lower than first threshold, second wireless communication unit is closed.
Optionally, it stored in the storage medium and step: described when first judging result, which is, is, is based on First judging result establishes the second wireless communication connection with second communication method with second electronic equipment Afterwards, corresponding computer instruction specifically be performed during, the method also includes:
Detection obtains first electronic equipment and passes through the second data volume of the second wireless communication connection transmission;
When second data volume is lower than second threshold in scheduled duration, second wireless communication unit is closed.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (9)

1. a kind of information processing method is applied to the first electronic equipment, which comprises
First electronic equipment is by establishing the connection of the first wireless communication between first communication party formula and the second electronic equipment;
Obtain at least one parameter information sent by second electronic equipment by the first wireless communication connection;
Based at least one described parameter information, judge whether at least one described parameter information meets predetermined condition, obtains the One judging result, wherein the predetermined condition is the condition obtained according to the first bandwidth of the first wireless communication connection;
When first judging result, which is, is, it is based on first judging result, is had with second electronic equipment foundation Second wireless communication connection of second communication method;When first judging result is no, whether detection user passes through manually Operation is established with second electronic equipment, and there is the second wireless communication of second communication method to connect,
Described when first judging result, which is, is, it is based on first judging result, is built with second electronic equipment After vertical the second wireless communication connection with second communication method, the method also includes:
Detection obtains the first state parameter value of first electronic equipment;
Judge whether the first state parameter value is lower than a preset state parameter value, obtains third judging result;
When the third judging result, which is, is, it is based on the third judging result, closes second wireless communication unit.
2. the method as described in claim 1, which is characterized in that the first communication party formula is specially first electronic equipment The communication mode established by the first wireless communication unit and second electronic equipment, the second communication method is specially institute It states the first electronic equipment and passes through second wireless communication unit and second electronics different from first wireless communication unit The communication mode that equipment is established, wherein the first power consumption of first wireless communication unit is single lower than second wireless communication Second power consumption of member.
3. method according to claim 2, which is characterized in that it is described based at least one described parameter information, described in judgement Whether at least one parameter information meets predetermined condition, obtains the first judging result, specifically includes:
Based on the first data volume parameter for including at least one described parameter information, judge whether first data volume is greater than First preset threshold obtains the first judging result, wherein first preset threshold is to be obtained according to the first bandwidth and preset function The numerical value arrived.
4. the method as described in claim any in claim 1-3, which is characterized in that described based at least one described parameter Information, judges whether at least one described parameter information meets predetermined condition, and after obtaining the first judging result, the method is also Include:
When first judging result is no, detect whether in the open state in the presence of second wireless communication unit is controlled First operation, obtain the second judging result;
When second judging result, which is, is, it is wireless that second with second communication method is established with second electronic equipment Communication connection.
5. the method as described in claim 1, which is characterized in that it is described when first judging result, which is, is, based on described First judging result, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect, specific to wrap It includes:
By first wireless communication unit, the second electronic equipment of Xiang Suoshu is sent in first electronic equipment and institute State the verification information that the second wireless communication connection is established between the second electronic equipment.
6. the method as described in claim 1, which is characterized in that described when first judging result, which is, is, be based on institute The first judging result is stated, is established with second electronic equipment after there is the second wireless communication connection of second communication method, The method also includes:
First electronic equipment, which is obtained, by the first communication party formula passes through the transmission shape of the second wireless communication connection State parameter;
When the transmission state value is lower than first threshold, second wireless communication unit is closed.
7. the method as described in claim 1, which is characterized in that described when first judging result, which is, is, be based on institute The first judging result is stated, is established with second electronic equipment after there is the second wireless communication connection of second communication method, The method also includes:
Detection obtains first electronic equipment and passes through the second data volume of the second wireless communication connection transmission;
When second data volume is lower than second threshold in scheduled duration, second wireless communication unit is closed.
8. a kind of electronic equipment, the electronic equipment include:
First connection unit, for first electronic equipment by establishing the between first communication party formula and the second electronic equipment One wireless communication connection;
First acquisition unit is sent at least by second electronic equipment by the first wireless communication connection for obtaining One parameter information;
First judging unit, for judging whether at least one described parameter information is full based at least one described parameter information Sufficient predetermined condition obtains the first judging result, wherein the predetermined condition is first according to the first wireless communication connection The condition that bandwidth obtains;
Second connection unit, for whether being led to based on first judging result, user when first judging result, which is, is Manual operation is crossed, establishing with second electronic equipment, there is the second wireless communication of second communication method to connect,
First detection unit, for detecting the first state parameter value for obtaining first electronic equipment;
Third judging unit obtains third for judging whether the first state parameter value is lower than a preset state parameter value Judging result;
First control unit closes described for being based on the third judging result when the third judging result, which is, is Two wireless communication units.
9. electronic equipment as claimed in claim 8, which is characterized in that the electronic equipment further include:
Third detection unit obtains first electronic equipment the by the second wireless communication connection transmission for detecting Two data volumes;
Third control unit, for closing described second when second data volume is lower than second threshold in scheduled duration Wireless communication unit.
CN201410746501.4A 2014-12-08 2014-12-08 A kind of information processing method and electronic equipment Active CN105744046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410746501.4A CN105744046B (en) 2014-12-08 2014-12-08 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410746501.4A CN105744046B (en) 2014-12-08 2014-12-08 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105744046A CN105744046A (en) 2016-07-06
CN105744046B true CN105744046B (en) 2019-07-26

Family

ID=56237930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410746501.4A Active CN105744046B (en) 2014-12-08 2014-12-08 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105744046B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055474A (en) * 2018-01-15 2018-05-18 上海小蚁科技有限公司 Polyphaser synchronous method, apparatus and system, storage medium
CN108471638B (en) * 2018-02-08 2021-04-06 深圳魔耳智能声学科技有限公司 Wireless earphone control method, device, control device and storage medium
CN115052184A (en) * 2022-06-02 2022-09-13 北京达佳互联信息技术有限公司 Content sharing method and device, electronic equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852313A (en) * 2005-12-06 2006-10-25 华为技术有限公司 Power supply management method and power supply information inquiry method for isomerization network switching
CN101325606A (en) * 2007-06-15 2008-12-17 夏普株式会社 Communications device, and communications method
JP2011124953A (en) * 2009-12-14 2011-06-23 Canon Inc Radio communication terminal and control method thereof
CN102215121A (en) * 2010-04-07 2011-10-12 苹果公司 Apparatus and method for establishing and utilizing backup communication channels

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852313A (en) * 2005-12-06 2006-10-25 华为技术有限公司 Power supply management method and power supply information inquiry method for isomerization network switching
CN101325606A (en) * 2007-06-15 2008-12-17 夏普株式会社 Communications device, and communications method
JP2011124953A (en) * 2009-12-14 2011-06-23 Canon Inc Radio communication terminal and control method thereof
CN102215121A (en) * 2010-04-07 2011-10-12 苹果公司 Apparatus and method for establishing and utilizing backup communication channels

Also Published As

Publication number Publication date
CN105744046A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN101697245B (en) Home appliance control method, home appliance control device and mobile terminal
CN102665114B (en) Method, apparatus and system for intelligent device interaction
CN104717684B (en) The method and apparatus that a kind of WIFI mode virtuals coexist
CN103491655A (en) Multi-mode communication system and method between terminal devices
CN105744046B (en) A kind of information processing method and electronic equipment
CN105557036A (en) Efficient automatic sharing of network access among devices
CN105915250A (en) Method, device and system for wearable device to synchronize with information in mobile terminal
TW201238273A (en) Electronic device, controller and method for controlling data transfer
CN103312881B (en) mobile terminal state control method, device, system and mobile terminal
CN103686876A (en) Information processing method and electronic equipment
CN105722244B (en) Information processing method and electronic equipment
CN102833137B (en) A kind of digital family system based on intelligent gateway
WO2012145926A1 (en) Method and terminal equipment for reporting maximum configuration transmission power
CN109993023A (en) A kind of household electrical appliances networking indicating means, AR equipment and computer storage medium
CN103475788B (en) A kind of method and system of mobile device fast sharing file
WO2015131624A1 (en) Method and device for controlling wireless network connection
CN105759934B (en) A kind of information processing method and electronic equipment
WO2014113991A1 (en) Nfc configuration method, nfc data transmission method, controller and nfc controller
KR101522264B1 (en) Data sharing system between master inverter and slave inverter
CN110650546A (en) File transmission method, device, storage medium and terminal
CN104901920B (en) A kind of data transfer control method, device and electronic equipment
CN104267809A (en) Information processing method and first electronic device
CN103716357A (en) Mobile information synchronization method and apparatus, and mobile communication terminal
CN104866064B (en) A kind of electronic equipment and mode switching method
CN206585564U (en) A kind of wireless connection system based on Bluetooth control

Legal Events

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