CN105722244B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105722244B
CN105722244B CN201410720765.2A CN201410720765A CN105722244B CN 105722244 B CN105722244 B CN 105722244B CN 201410720765 A CN201410720765 A CN 201410720765A CN 105722244 B CN105722244 B CN 105722244B
Authority
CN
China
Prior art keywords
electronic device
wireless communication
communication connection
electronic equipment
connection
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
CN201410720765.2A
Other languages
Chinese (zh)
Other versions
CN105722244A (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 CN201410720765.2A priority Critical patent/CN105722244B/en
Publication of CN105722244A publication Critical patent/CN105722244A/en
Application granted granted Critical
Publication of CN105722244B publication Critical patent/CN105722244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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 an information processing method, which is applied to first electronic equipment and comprises the following steps: the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; and when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode. By the method, the technical problem that the storage equipment in the prior art cannot be dynamically managed according to actual data transmission needs of the electronic equipment is solved.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the continuous development of wireless communication technology and internet technology, more and more electronic devices are appearing in people's lives, such as: smart phones, PADs, cameras, etc. Meanwhile, with the popularity of the storage device with the wireless connection function, a mobile phone user can conveniently and wirelessly check and browse the content in the storage device in real time and share the content to friends.
In the process of implementing the technical scheme in the embodiment of the present application, the inventor of the present application finds that at least the following technical problems exist in the prior art:
in the prior art, the wireless connection of the storage device has only two states of a switch, and the wireless connection cannot be dynamically managed according to actual use conditions, so that the technical problems of reduced cruising ability and inconvenient control of the device can be caused.
Due to the technical problems, the user experience is not high in the process of using the electronic equipment.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problem that the storage equipment in the prior art cannot be dynamically managed according to the actual data transmission requirement of the electronic equipment, so that the technical effect that the storage equipment can be dynamically managed according to the actual data transmission requirement of the electronic equipment is achieved.
In one aspect, an embodiment of the present application provides an information processing method applied to a first electronic device, where the method includes:
the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode;
obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection;
judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result;
and when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, and the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit.
Optionally, the first power consumption of the first wireless communication unit is lower than the second power consumption of the second wireless communication unit.
Optionally, the determining, based on the at least one piece of parameter information, whether the at least one piece of parameter information satisfies a predetermined condition to obtain a first determination result specifically includes:
judging whether the at least one parameter information is first request information for requesting the second electronic equipment to establish the second communication connection with the first electronic equipment and sending first data information, and obtaining a first judgment result; or
And judging whether the at least one parameter information is a first data attribute parameter of the second electronic equipment requesting the first electronic equipment to send first data information, and obtaining the first judgment result.
Optionally, after the second wireless communication connection is established with the second electronic device in the second communication mode when the first determination result is yes, the method further includes:
transmitting the first data information to the second electronic device over the second wireless communication connection.
Optionally, the second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
Optionally, when the first determination result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode specifically includes:
when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic equipment;
judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result;
and when the second judgment result is negative, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, after the determining, based on the at least one piece of parameter information, whether the at least one piece of parameter information satisfies a predetermined condition and obtaining a first determination result, the method further includes:
when the first judgment result is negative, detecting whether a first operation for controlling the second wireless communication unit to be in an open state exists or not, and obtaining a third judgment result;
and when the third judgment result is yes, establishing the second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, when the first determination result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode specifically includes:
sending a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device to the second electronic device through the first wireless communication connection;
after a login feedback password sent by the second electronic device is detected to be the login password, establishing the second wireless communication connection with the second electronic device, wherein the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
On the other hand, an embodiment of the present application further provides an electronic device, where the electronic device includes:
the first connection unit is used for establishing first wireless communication connection between the first electronic equipment and second electronic equipment in a first communication mode;
a first obtaining unit configured to obtain at least one parameter information transmitted by the second electronic device through the first wireless communication connection;
the first judging unit is used for judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judging result;
and the second connecting unit is used for establishing second wireless communication connection with the second electronic equipment in a second communication mode when the first judgment result is yes.
Optionally, the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, and the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit.
Optionally, the first power consumption of the first wireless communication unit is lower than the second power consumption of the second wireless communication unit.
Optionally, the first determining unit specifically includes:
the first judging module is used for judging whether the at least one parameter information is first request information which is used by the second electronic equipment to request to establish the second communication connection with the first electronic equipment and send first data information, and obtaining a first judging result; or
The second judging module is configured to judge whether the at least one piece of parameter information is a first data attribute parameter for the second electronic device to request the first electronic device to send first data information, and obtain the first judging result.
Optionally, the electronic device further includes:
a first sending unit, configured to send the first data information to the second electronic device through the second wireless communication connection.
Optionally, the second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
Optionally, the second connection unit specifically includes:
the first detection module is used for detecting and obtaining a first state parameter value of the first electronic equipment when the first judgment result is yes;
the third judging module is used for judging whether the first state parameter value is lower than a preset state parameter value or not and obtaining a second judging result;
and the first connection module is used for establishing second wireless communication connection with the second electronic equipment in a second communication mode when the second judgment result is negative.
Optionally, the electronic device further includes:
the first detection unit is used for detecting whether a first operation for controlling the second wireless communication unit to be in an opening state exists or not when the first judgment result is negative, and obtaining a third judgment result;
and the third connecting unit is used for establishing the second wireless communication connection with the second electronic equipment in a second communication mode when the third judgment result is yes.
Optionally, the second connection unit specifically includes:
a first sending module, configured to send, to the second electronic device through the first wireless communication connection, a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device;
the second connection module is configured to establish the second wireless communication connection with the second electronic device after detecting that a login feedback password sent by the second electronic device is the login password, where the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
firstly, the first electronic device establishes a first wireless communication connection with a second electronic device in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, a second wireless communication connection is established with the second electronic device in a second communication mode, namely, the wireless connection of the storage device is always in an open state when the user of the electronic device needs to read the content from the storage device in the prior art, so that the scheme can carry out dynamic management according to the actual data transmission requirement of the electronic device, the technical problem that the storage device in the prior art cannot carry out dynamic management according to the actual data transmission requirement of the electronic device can be effectively solved, and the technical effect that the storage device can carry out dynamic management according to the actual data transmission requirement of the electronic device is further achieved.
The technical scheme in the embodiment of the application is that the first electronic equipment establishes a first wireless communication connection with the second electronic equipment in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, a second wireless communication connection is established with the second electronic device in a second communication mode, namely, the wireless connection of the storage device can not be always in an open state and electric quantity is wasted as the storage device in the prior art is in a working mode, so that the technical problems that the cruising ability of the device in the prior art is reduced and the device is inconvenient to operate can be effectively solved by adopting the scheme that the wireless connection of the storage device can be controlled to be in a closed state according to the actual data transmission requirement of the electronic device and the electric quantity is not wasted, and the cruising ability of the electronic device is improved and the operation is convenient are further achieved.
Thirdly, according to the technical scheme in the embodiment of the application, when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic device; judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result; and when the second judgment result is negative, establishing a second wireless communication connection with the second electronic device in a second communication mode, that is, the wireless connection of the storage device is still controlled to be in an open state when the first state parameter value of the first electronic device is lower than the preset state value in the prior art, so that the cruising ability of the device is further reduced.
Fourthly, the first electronic equipment establishes a first wireless communication connection with the second electronic equipment in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, the second wireless communication connection is established with the second electronic equipment in a second communication mode, so that the problems that in the prior art, an electronic equipment user cannot perform dynamic management according to actual data transmission needs of the electronic equipment, and then user experience is not high in the process that the user uses the electronic equipment are effectively solved, and the technical effects of improving battery endurance of the electronic equipment and improving user experience are achieved.
Drawings
In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
FIG. 1 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a flowchart of step S104 in an information processing method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a first determination result after step S103 in an information processing method according to an embodiment of the present application when the first determination result is negative;
fig. 4 is a schematic diagram illustrating transmission of first data information through a second wireless communication connection in an information processing method according to an embodiment of the present application;
fig. 5 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problem that the storage equipment in the prior art cannot be dynamically managed according to the actual data transmission requirement of the electronic equipment, so that the technical effect that the storage equipment can be dynamically managed according to the actual data transmission requirement of the electronic equipment is achieved.
In order to solve the technical problems, the general idea of the embodiment of the present application is as follows:
an information processing method is applied to a first electronic device, and comprises the following steps:
the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode;
obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection;
judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result;
and when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
In the above technical solution, the first electronic device establishes a first wireless communication connection with a second electronic device in a first communication manner; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; and when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode. Wherein the first electronic device includes, but is not limited to, a storage device, a workstation, and electronic devices such as a camera, a wifi sd card, and the like. Taking a WiFi SD card as an example, the technical effect of improving the battery endurance of the electronic equipment can be further realized by the scheme that the electric quantity is not wasted due to the fact that the WIFI in the SD card is always in the on state in the shooting process of the electronic equipment in the prior art, and therefore when the electronic equipment does not need to open the WIFI in the SD card, the WIFI is in the off state and the electric quantity is not wasted due to the fact that the WIFI in the SD card is always in the on state by adopting the scheme.
In order to better understand the above solution, the technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and examples of the present invention may be combined with each other without conflict.
An embodiment of the present application provides an information processing method, which is applied to a first electronic device, where the electronic device in the embodiment of the present application may be a smart phone, a computer, a camera, or the like, or may be another electronic device, which is not necessarily exemplified herein.
Referring to fig. 1, an embodiment of the present application provides an information processing method applied to a first electronic device. Specifically, the information processing method in the embodiment of the present application includes:
s101, the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode;
s102, obtaining at least one parameter information sent by the second electronic equipment through the first wireless communication connection;
s103, judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result;
and S104, when the first judgment result is yes, establishing a second wireless communication connection with the second electronic equipment in a second communication mode.
The second electronic device in the embodiment of the present application may be a smart phone, a notebook, a tablet computer, and the like, which are not illustrated herein.
The following describes in detail a specific implementation process of the information processing method in the embodiment of the present application, taking the first electronic device as a camera and the second electronic device as a mobile phone as an example.
In the embodiment of the present application, the first communication method includes, but is not limited to, communication methods such as bluetooth, bluetooth low energy, near field communication, and so on, and in this embodiment, for example, B L E (bluetooth low energy is taken as an example), a first wireless communication connection, that is, a B L E connection, is established between the first electronic device camera and the second electronic device mobile phone in a B L E manner.
The second communication mode includes, but is not limited to, wireless communication modes such as WiFi.
After the first electronic device establishes the first wireless communication connection with the second electronic device, step S102 is executed: obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection.
In this embodiment, after the first wireless communication connection is established between the first electronic device and the second electronic device, if the second electronic device wants to browse photos stored in the first electronic device, the second electronic device may send at least one piece of parameter information to the first electronic device through a B L E connection, and after the first electronic device receives the at least one piece of parameter information sent by the second electronic device through a B L E connection, step S103 is executed to determine whether the at least one piece of parameter information satisfies a predetermined condition based on the at least one piece of parameter information, and obtain a first determination result, where the specific implementation process includes two ways:
a first scheme, which is to determine whether the at least one parameter information is a first request information for requesting, by the second electronic device, to establish the second communication connection with the first electronic device and to send first data information, and obtain a first determination result; or
In a second scheme, it is determined whether the at least one parameter information is a first data attribute parameter for the second electronic device to request the first electronic device to send first data information, and the first determination result is obtained.
In the embodiment of the present application, after the first electronic device establishes a B L E connection with the second electronic device, if a user of the second electronic device wants to browse first data information in the first electronic device, the second electronic device sends first request information to the first electronic device through the B L E connection to indicate that the second electronic device requests to establish a second communication connection with the first electronic device and send the first request information, and after the first electronic device receives the first request information, it is determined whether to establish the second communication connection with the second electronic device.
In the embodiment of the present application, after the first electronic device and the second electronic device establish a B L E connection, if a user of the second electronic device wants to browse first data information in the first electronic device, first send attribute parameters, such as a size of the first data information, a file type, or the like, or other attribute information, which is expected to be sent by the first electronic device at a certain transmission rate, to the first electronic device through the B L E connection, where no example is given, after the first electronic device receives the attribute parameters sent by the second electronic device, it is determined whether the first attribute parameters, sent by the first electronic device, of the second electronic device requesting the first electronic device to send the first data information satisfy the predetermined parameters, such as the first data quantity, sent by the second electronic device, of the first electronic device requesting the first electronic device to send the first data information is 1G, the predetermined parameter value is 512M, and thus, a first determination result is obtained by determining whether the first data quantity of the first data information is greater than the predetermined parameter value.
Referring to fig. 2, in the embodiment of the present application, after the step S103 is executed, the step S104 is executed: when the first determination result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode, where step S104 specifically includes:
s201: when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic equipment;
s202: judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result;
s203: and when the second judgment result is negative, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
In this embodiment of the application, the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, and the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit.
The first power consumption of the first wireless communication unit is lower than the second power consumption of the second wireless communication unit.
The second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
In this embodiment of the application, after step S103 is executed, the obtained first determination result indicates that the at least one parameter received by the first electronic device is a first attribute parameter that the second electronic device requests to establish the second wireless communication connection with the first electronic device and send the first data information, or the obtained first determination result indicates that the at least one parameter received by the first electronic device is a first attribute parameter that the second electronic device requests the first electronic device to send the first data information, and when the first attribute parameter value meets a preset parameter value, the first state parameter of the first electronic device, such as the current battery power, temperature, and the like of the first electronic device, may also be other state parameters, which is not illustrated one by one. In this embodiment, the first state parameter is, for example, sixty percent of the first electric quantity value of the battery of the first electronic device, and fifty percent of the preset state parameter value, and then, whether the first electric quantity value is lower than a preset state parameter value is determined, and if sixty percent is higher than fifty percent, the second wireless communication connection is established; if the first battery capacity value of the first electronic device is thirty percent and the preset status parameter value is fifty percent, for example, the thirty percent is lower than the fifty percent, the second wireless communication connection is not established, which indicates that the current first status parameter value of the first electronic device is not suitable for establishing the second wireless communication connection.
In this embodiment, if the first communication mode is B L E, the first communication mode is specifically that the first electronic device establishes a B L E wireless communication connection with a B L E wireless communication unit of the second electronic device through a B L E wireless communication unit of the first electronic device, and the second communication mode is WIFI, the second communication mode is specifically that the first electronic device establishes a WIFI wireless communication connection with a WIFI wireless communication unit of the second electronic device through a WIFI wireless communication unit of the first electronic device, and if the second communication mode is WIFI, the second communication mode is that the power consumption of the B L E wireless communication unit is lower than that of the WIFI wireless communication unit, and if the power consumption is higher than that of the WIFI wireless communication unit, it can be determined that the power consumption is lower than that of the WIFI wireless communication unit according to the fact that the transmission power of bluetooth is not more than 20 mw and the transmission power of the WIFI is about 40 mw, and if the power consumption of the B L E wireless communication unit is lower than that of the WIFI wireless communication unit, in this embodiment, if the first data amount of the first data information transmitted by the first electronic device is larger than a preset attribute, the second data connection requirement is satisfied, the second wireless communication bandwidth is greater than that the second data connection is established by the second communication bandwidth is greater than the first data connection requirement, and if the second data connection is greater than the second communication bandwidth is greater than the second data connection requirement of the first data connection requirement is satisfied, in this embodiment, the second communication bandwidth is greater than the second communication requirement, then the second communication requirement is set.
Referring to fig. 3, after step S103 is executed, the method further includes:
s301: when the first judgment result is negative, detecting whether a first operation for controlling the second wireless communication unit to be in an open state exists or not, and obtaining a third judgment result;
s302: and when the third judgment result is yes, establishing the second wireless communication connection with the second electronic equipment in a second communication mode.
In this embodiment, after step S103 is completed, when the first determination result indicates that the at least one parameter information obtained by the first electronic device does not satisfy the predetermined condition and the second electronic device needs to establish the second wireless communication connection with the first electronic device, the electronic device user may manually force to open the second wireless communication unit of the first electronic device.
In this embodiment of the present application, establishing a second wireless communication connection with a first electronic device in a second manner specifically includes:
the first step is as follows: sending a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device to the second electronic device through the first wireless communication connection;
the second step is as follows: after a login feedback password sent by the second electronic device is detected to be the login password, establishing the second wireless communication connection with the second electronic device, wherein the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
In this embodiment of the application, when a first electronic device obtains at least one parameter request sent by a second electronic device, and the at least one parameter request satisfies a predetermined condition, the first electronic device opens a second wireless communication unit, in this embodiment, a WIFI connection is taken as an example for the second wireless communication connection, and the second wireless communication unit is a WIFI wireless communication unit, at this time, the first electronic device connects through B L E, sends a wireless connection name of the WIFI wireless connection, such as tengda123, and a login password used for establishing the WIFI wireless communication connection, such as 123456, to the second electronic device, after the second electronic device receives the wireless connection name and the login password, the second electronic device opens the WIFI wireless communication unit of the second electronic device, searches for the wireless connection name tengda123 for establishing the WIFI wireless communication connection, and after clicking the tengda123 icon, a UI interface corresponding to the login password appears on a display unit of the second electronic device, a user of the second electronic device will obtain input of the login password through the UI interface, and wait for establishing the verification of the WIFI connection password of the first electronic device.
After the WIFI connection is established, the steps can be performed: transmitting the first data information to the second electronic device over the second wireless communication connection.
Referring to fig. 4, in the embodiment of the application, after the WIFI connection is established, the first electronic device may send, to the second electronic device, the first data information that the second electronic device requests the first electronic device to send, through the WIFI wireless communication connection. In this embodiment of the application, if the second electronic device requests the first electronic device to send the photo stored in the first electronic device, before the first electronic device sends the photo stored in the first electronic device through the second wireless communication connection, the specification parameters of the stored photo, such as the size of the photo, the storage format of the photo, the description information of the photo, and the like, may be sent to the second electronic device through the first wireless communication connection, so that after the second electronic device receives these attribute information, when the first electronic device starts sending the photo through the WIFI wireless communication connection, the second electronic device may optimize the photo transmission in advance, and if the existing photo in the second electronic device does not need to be copied from the first electronic device, the photo may be directly extracted from the second electronic device; or the photo sent by the first electronic device is too large, the conversion rate can be preset and converted into the compression ratio suitable for the display of the second electronic device; or the storage format of the current photo cannot be opened on the second electronic device, and the storage format of the photo can be converted, so that the second electronic device can be normally opened.
In the embodiment of the application, after first data information is sent to second electronic equipment by first electronic equipment through second wireless communication connection, and after a request sent by the second electronic equipment and used for requesting the first electronic equipment to disconnect the second wireless communication connection is received, the second wireless communication unit is controlled to be in a closed state, and then the WIFI wireless communication connection is disconnected; or judging whether the first electronic equipment receives a first attribute parameter which is sent by the second electronic equipment and used for requesting the first electronic equipment to send the first data information within a preset time length, and if not, controlling the second wireless communication unit of the first electronic equipment to be in a closed state by the first electronic equipment.
Example two
Based on the same inventive concept, an embodiment of the present application provides an electronic device, please refer to fig. 5, where the electronic device includes:
a first connection unit 40, configured to establish a first wireless communication connection between the first electronic device and a second electronic device in a first communication manner;
a first obtaining unit 41, configured to obtain at least one parameter information sent by the second electronic device through the first wireless communication connection;
a first judging unit 42, configured to judge whether the at least one parameter information satisfies a predetermined condition based on the at least one parameter information, and obtain a first judgment result;
a second connection unit 43, configured to establish a second wireless communication connection with the second electronic device in a second communication mode when the first determination result is yes.
Optionally, the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, and the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit.
Optionally, the first power consumption of the first wireless communication unit is lower than the second power consumption of the second wireless communication unit.
Optionally, the first determining unit 42 specifically includes:
the first judging module is used for judging whether the at least one parameter information is first request information which is used by the second electronic equipment to request to establish the second communication connection with the first electronic equipment and send first data information, and obtaining a first judging result; or
The second judging module is configured to judge whether the at least one piece of parameter information is a first data attribute parameter for the second electronic device to request the first electronic device to send first data information, and obtain the first judging result.
Optionally, the electronic device further includes:
a first sending unit 44, configured to send the first data information to the second electronic device through the second wireless communication connection.
Optionally, the second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
Optionally, the second connection unit 43 specifically includes:
the first detection module is used for detecting and obtaining a first state parameter value of the first electronic equipment when the first judgment result is yes;
the third judging module is used for judging whether the first state parameter value is lower than a preset state parameter value or not and obtaining a second judging result;
and the first connection module is used for establishing second wireless communication connection with the second electronic equipment in a second communication mode when the second judgment result is negative.
Optionally, the electronic device further includes:
a first detecting unit 45, configured to detect whether there is a first operation for controlling the second wireless communication unit to be in an on state when the first determination result is negative, and obtain a third determination result;
a third connection unit 46, configured to establish the second wireless communication connection with the second electronic device in a second communication mode when the third determination result is yes.
Optionally, the second connection unit 43 specifically includes:
a first sending module, configured to send, to the second electronic device through the first wireless communication connection, a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device;
the second connection module is configured to establish the second wireless communication connection with the second electronic device after detecting that a login feedback password sent by the second electronic device is the login password, where the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
firstly, the first electronic device establishes a first wireless communication connection with a second electronic device in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, a second wireless communication connection is established with the second electronic device in a second communication mode, namely, the wireless connection of the storage device is always in an open state when the user of the electronic device needs to read the content from the storage device in the prior art, so that the scheme can carry out dynamic management according to the actual data transmission requirement of the electronic device, the technical problem that the storage device in the prior art cannot carry out dynamic management according to the actual data transmission requirement of the electronic device can be effectively solved, and the technical effect that the storage device can carry out dynamic management according to the actual data transmission requirement of the electronic device is further achieved.
The technical scheme in the embodiment of the application is that the first electronic equipment establishes a first wireless communication connection with the second electronic equipment in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, a second wireless communication connection is established with the second electronic device in a second communication mode, namely, the wireless connection of the storage device can not be always in an open state and electric quantity is wasted as the storage device in the prior art is in a working mode, so that the technical problems that the cruising ability of the device in the prior art is reduced and the device is inconvenient to operate can be effectively solved by adopting the scheme that the wireless connection of the storage device can be controlled to be in a closed state according to the actual data transmission requirement of the electronic device and the electric quantity is not wasted, and the cruising ability of the electronic device is improved and the operation is convenient are further achieved.
Thirdly, according to the technical scheme in the embodiment of the application, when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic device; judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result; and when the second judgment result is negative, establishing a second wireless communication connection with the second electronic device in a second communication mode, that is, the wireless connection of the storage device is still controlled to be in an open state when the first state parameter value of the first electronic device is lower than the preset state value in the prior art, so that the cruising ability of the device is further reduced.
Fourthly, the first electronic equipment establishes a first wireless communication connection with the second electronic equipment in a first communication mode; obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection; judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result; when the first judgment result is yes, the second wireless communication connection is established with the second electronic equipment in a second communication mode, so that the problems that in the prior art, an electronic equipment user cannot perform dynamic management according to actual data transmission needs of the electronic equipment, and then user experience is not high in the process that the user uses the electronic equipment are effectively solved, and the technical effects of improving battery endurance of the electronic equipment and improving user experience are achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode;
obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection;
judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result;
and when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, the step of storing in the storage medium: the determining, based on the at least one piece of parameter information, whether the at least one piece of parameter information satisfies a predetermined condition, to obtain a first determination result, where the corresponding computer instruction, in a specific executed process, specifically includes:
judging whether the at least one parameter information is first request information for requesting the second electronic equipment to establish the second communication connection with the first electronic equipment and sending first data information, and obtaining a first judgment result; or
And judging whether the at least one parameter information is a first data attribute parameter of the second electronic equipment requesting the first electronic equipment to send first data information, and obtaining the first judgment result.
Optionally, the step of storing in the storage medium: when the first determination result is yes, after establishing a second wireless communication connection with the second electronic device in a second communication mode, the method further includes, during a specific executed process, a corresponding computer instruction:
transmitting the first data information to the second electronic device over the second wireless communication connection.
Optionally, the step of storing in the storage medium: when the first determination result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode, where a corresponding computer instruction specifically includes, in a specific executed process:
when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic equipment;
judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result;
and when the second judgment result is negative, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, the step of storing in the storage medium: after the determining, based on the at least one piece of parameter information, whether the at least one piece of parameter information satisfies a predetermined condition and obtaining a first determination result, when a corresponding computer instruction is specifically executed, the method further includes:
when the first judgment result is negative, detecting whether a first operation for controlling the second wireless communication unit to be in an open state exists or not, and obtaining a third judgment result;
and when the third judgment result is yes, establishing the second wireless communication connection with the second electronic equipment in a second communication mode.
Optionally, the step of storing in the storage medium: when the first judgment result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode, and the corresponding computer instruction specifically includes, in a specific executed process:
sending a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device to the second electronic device through the first wireless communication connection;
after a login feedback password sent by the second electronic device is detected to be the login password, establishing the second wireless communication connection with the second electronic device, wherein the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. An information processing method is applied to a first electronic device, and comprises the following steps:
the first electronic equipment establishes a first wireless communication connection with second electronic equipment in a first communication mode;
obtaining at least one parameter information transmitted by the second electronic device over the first wireless communication connection;
judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judgment result;
when the first judgment result is yes, establishing second wireless communication connection with the second electronic equipment in a second communication mode;
the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit, and first power consumption of the first wireless communication unit is lower than second power consumption of the second wireless communication unit;
the determining, based on the at least one piece of parameter information, whether the at least one piece of parameter information satisfies a predetermined condition to obtain a first determination result specifically includes:
judging whether the at least one parameter information is first request information for requesting the second electronic equipment to establish the second communication connection with the first electronic equipment and sending first data information, and obtaining a first judgment result; or
And judging whether the at least one parameter information is a first data attribute parameter of the second electronic equipment requesting the first electronic equipment to send first data information, and obtaining the first judgment result.
2. The method of claim 1, wherein after establishing a second wireless communication connection with the second electronic device in a second communication manner when the first determination result is yes, the method further comprises:
transmitting the first data information to the second electronic device over the second wireless communication connection.
3. The method of claim 2, wherein the second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
4. The method according to claim 3, wherein the establishing a second wireless communication connection with the second electronic device in a second communication manner when the first determination result is yes includes:
when the first judgment result is yes, detecting and obtaining a first state parameter value of the first electronic equipment;
judging whether the first state parameter value is lower than a preset state parameter value or not, and obtaining a second judgment result;
and when the second judgment result is negative, establishing second wireless communication connection with the second electronic equipment in a second communication mode.
5. The method of claim 4, wherein after the determining whether the at least one parameter information satisfies a predetermined condition based on the at least one parameter information, obtaining a first determination result, the method further comprises:
when the first judgment result is negative, detecting whether a first operation for controlling the second wireless communication unit to be in an open state exists or not, and obtaining a third judgment result;
and when the third judgment result is yes, establishing the second wireless communication connection with the second electronic equipment in a second communication mode.
6. The method according to claim 5, wherein when the first determination result is yes, establishing a second wireless communication connection with the second electronic device in a second communication mode specifically includes:
sending a wireless connection name and a login password for establishing a second wireless communication connection different from the first wireless communication connection type between the first electronic device and the second electronic device to the second electronic device through the first wireless communication connection;
after a login feedback password sent by the second electronic device is detected to be the login password, establishing the second wireless communication connection with the second electronic device, wherein the login feedback password is specifically generated by the second electronic device based on the obtained wireless connection name and the login password.
7. An electronic device, the electronic device serving as a first electronic device application, the electronic device comprising:
the first connection unit is used for establishing first wireless communication connection between the first electronic equipment and second electronic equipment in a first communication mode;
a first obtaining unit configured to obtain at least one parameter information transmitted by the second electronic device through the first wireless communication connection;
the first judging unit is used for judging whether the at least one parameter information meets a preset condition or not based on the at least one parameter information to obtain a first judging result;
the second connection unit is used for establishing second wireless communication connection with the second electronic equipment in a second communication mode when the first judgment result is yes;
the first communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a first wireless communication unit, the second communication mode is specifically a communication mode established by the first electronic device and the second electronic device through a second wireless communication unit different from the first wireless communication unit, and first power consumption of the first wireless communication unit is lower than second power consumption of the second wireless communication unit;
the first determining unit specifically includes:
the first judging module is used for judging whether the at least one parameter information is first request information which is used by the second electronic equipment to request to establish the second communication connection with the first electronic equipment and send first data information, and obtaining a first judging result; or
The second judging module is configured to judge whether the at least one piece of parameter information is a first data attribute parameter for the second electronic device to request the first electronic device to send first data information, and obtain the first judging result.
8. The electronic device of claim 7, wherein the electronic device further comprises:
a first sending unit, configured to send the first data information to the second electronic device through the second wireless communication connection.
9. The electronic device of claim 8, wherein the second bandwidth of the second wireless communication connection is greater than the first bandwidth of the first wireless communication connection.
CN201410720765.2A 2014-12-02 2014-12-02 Information processing method and electronic equipment Active CN105722244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410720765.2A CN105722244B (en) 2014-12-02 2014-12-02 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410720765.2A CN105722244B (en) 2014-12-02 2014-12-02 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105722244A CN105722244A (en) 2016-06-29
CN105722244B true CN105722244B (en) 2020-07-24

Family

ID=56146281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410720765.2A Active CN105722244B (en) 2014-12-02 2014-12-02 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105722244B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413128B (en) * 2016-09-29 2020-07-07 努比亚技术有限公司 Projection method and mobile terminal
CN106507282B (en) * 2016-11-14 2021-06-29 北京小米移动软件有限公司 Wireless connection control method and device
CN107135472A (en) * 2017-05-25 2017-09-05 北京数科技有限公司 A kind of method of data transfer, device and electronic equipment
CN107222936B (en) * 2017-06-26 2020-05-05 Oppo广东移动通信有限公司 Data processing method and device and terminal

Citations (5)

* 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
CN101227504A (en) * 2008-02-18 2008-07-23 华为技术有限公司 Apparatus and method for implementing switch between protocol stacks
CN102215121A (en) * 2010-04-07 2011-10-12 苹果公司 Apparatus and method for establishing and utilizing backup communication channels
CN101325606B (en) * 2007-06-15 2011-12-21 夏普株式会社 Communications device, and communications method
CN103854681A (en) * 2012-11-30 2014-06-11 北京智慧风云科技有限公司 Audio file processing method applicable to electronic apparatuses and electronic apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW563974U (en) * 2002-02-06 2003-11-21 Lite On Technology Corp Electricity saving device for user for user interface terminal device of cellular phone
US20080080419A1 (en) * 2006-09-29 2008-04-03 Cole Terry L Connection manager with fast connect
EP2341738B1 (en) * 2009-12-29 2017-03-29 Lg Electronics Inc. Mobile terminal with Wi-Fi module operating in a power saving mode and providing an AP function and a method for controlling said terminal
CN102421134B (en) * 2011-12-07 2014-12-17 华为终端有限公司 Wireless access point equipment and method for controlling same
CN102811289B (en) * 2012-08-15 2014-12-10 东莞宇龙通信科技有限公司 Terminal and power management method of same

Patent Citations (5)

* 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
CN101325606B (en) * 2007-06-15 2011-12-21 夏普株式会社 Communications device, and communications method
CN101227504A (en) * 2008-02-18 2008-07-23 华为技术有限公司 Apparatus and method for implementing switch between protocol stacks
CN102215121A (en) * 2010-04-07 2011-10-12 苹果公司 Apparatus and method for establishing and utilizing backup communication channels
CN103854681A (en) * 2012-11-30 2014-06-11 北京智慧风云科技有限公司 Audio file processing method applicable to electronic apparatuses and electronic apparatus

Also Published As

Publication number Publication date
CN105722244A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
EP2911036B1 (en) Method and apparatus for power sharing
JP6378357B2 (en) Method for selectively capturing visual media using a single interface element
EP3036911B1 (en) Method, terminal, and system for reproducing content
CN110851387B (en) Interface function configuration method and electronic equipment
KR102482324B1 (en) Apparatus and method for transtting and receiving file in wireless communication system supporting cloud storage service
CN105722244B (en) Information processing method and electronic equipment
WO2018049971A1 (en) Hotspot network switching method and terminals
KR102294040B1 (en) Method and apparatus for transmitting and receiving data
CN104580019A (en) Network service supplying method and device
KR20150032152A (en) Method and apparatus for performing edit operations between electronic devices
WO2017096909A1 (en) Data connection establishing method and apparatus
CN108270757B (en) User account switching method, device, client and system
WO2018049970A1 (en) Hotspot network switching method and terminal
WO2018049969A1 (en) Hotspot establishment method and related device
CN111142900A (en) Program updating method and device and terminal equipment
EP2905928B1 (en) Apparatus and method for providing metadata with network traffic
CN112533065B (en) Method and device for publishing video, electronic equipment and storage medium
CN104052801B (en) A kind of information processing method and electronic equipment
WO2018049968A1 (en) Hotspot establishment method and terminals
CN105188156B (en) Control method and electronic equipment
CN105744046A (en) Information processing method and electronic device
CN106792434B (en) Hotspot establishing method and terminal equipment
CN110225106B (en) Data transmission method, device and storage medium
CN106161750B (en) Information processing method and electronic equipment
US20150286361A1 (en) Single gesture video capture and share

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