CN103873682B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN103873682B CN103873682B CN201410056916.9A CN201410056916A CN103873682B CN 103873682 B CN103873682 B CN 103873682B CN 201410056916 A CN201410056916 A CN 201410056916A CN 103873682 B CN103873682 B CN 103873682B
- Authority
- CN
- China
- Prior art keywords
- message
- electronic device
- electronic
- transmission mode
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 30
- 238000003672 processing method Methods 0.000 title claims abstract description 29
- 230000005540 biological transmission Effects 0.000 claims abstract description 180
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000006870 function Effects 0.000 description 38
- 238000010586 diagram Methods 0.000 description 7
- 238000007667 floating Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and electronic equipment, described method includes: receive the first message that the second electronic equipment sends, and described first message is for asking to connect the above electronic equipment of one that described first electronic equipment is connected by the first transmission means;Obtaining the first trigger action, described first operation is used for responding described first message;Judge whether described first trigger action characterizes the operation of the described request agreeing to described second electronic equipment, it is thus achieved that the first judged result;When described first judged result shows the operation that described first trigger action characterizes the described request agreeing to described second electronic equipment, send the second message by the first transmission means to the above electronic equipment of one, and send the 3rd message to described second electronic equipment;Described second electronic equipment is made to connect the above electronic equipment of one by the first transmission means.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Currently, with the development of bluetooth technology, many electronic devices generally have a bluetooth function. When many electronic devices are interconnected through bluetooth, for example, when one mobile phone is connected with a plurality of bluetooth devices simultaneously, when this time, the mobile phone needs to be switched to another mobile phone to be connected with the plurality of bluetooth devices simultaneously, or when another mobile phone also needs to be connected with the plurality of bluetooth devices, the another mobile phone needs to be connected with the plurality of bluetooth devices one by one and confirmed, and the connection process is cumbersome.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device, so that a second electronic device can be quickly accessed to a plurality of electronic devices connected to a first electronic device, thereby improving user experience.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode; the method comprises the following steps:
receiving a first message sent by a second electronic device, wherein the first message is used for requesting to connect the more than one electronic devices connected by the first electronic device in a first transmission mode;
acquiring a first trigger operation, wherein the first trigger operation is used for responding to the first message;
judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic equipment or not, and obtaining a first judgment result;
when the first judgment result shows that the first trigger operation represents the operation of agreeing to the request of the second electronic device, sending a second message to the more than one electronic devices in a first transmission mode, and sending a third message to the second electronic device, so that the second electronic device is connected with the more than one electronic devices in the first transmission mode;
wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
The embodiment of the invention provides an information processing method and electronic equipment, wherein the method comprises the following steps: receiving a first message sent by a second electronic device, wherein the first message is used for requesting to connect the more than one electronic devices connected by the first electronic device in a first transmission mode; acquiring a first trigger operation, wherein the first trigger operation is used for responding to the first message; judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic equipment or not, and obtaining a first judgment result; when the first judgment result shows that the first trigger operation represents the operation of agreeing to the request of the second electronic device, sending a second message to the more than one electronic devices in a first transmission mode, and sending a third message to the second electronic device; and enabling the second electronic equipment to be connected with the more than one electronic equipment through a first transmission mode. By adopting the technical scheme of the embodiment of the invention, the second electronic equipment can be conveniently and quickly accessed into the plurality of electronic equipment connected with the first electronic equipment, the connection process is simplified, and the user experience is greatly improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fifth embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a first electronic device according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of a first electronic device according to an embodiment of the invention;
fig. 8 is a third schematic structural diagram of the first electronic device according to the embodiment of the invention;
fig. 9 is a schematic structural diagram of a second electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode, and the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; the electronic device is an electronic device with the first transmission mode, and taking the first transmission mode as a bluetooth transmission mode as an example, the electronic device can be an electronic device such as a bluetooth mouse, a bluetooth keyboard, a bluetooth headset, a bluetooth sound box and the like; fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: and receiving a first message sent by a second electronic device, wherein the first message is used for requesting to connect the more than one electronic devices connected by the first electronic device in a first transmission mode.
In this embodiment, the second electronic device has a function of the first transmission mode, such as a bluetooth function or an infrared function, as well as the first electronic device. The first electronic device is not limited to receive the first message sent by the second electronic device through a first transmission mode, that is, the first electronic device is not limited to receive the first message sent by the second electronic device through a bluetooth mode or an infrared mode, and may also be in other wireless or limited transmission modes, such as a WIFI mode, or establish a transmission connection between the first electronic device and the second electronic device through a data line connection.
Here, the first message may be used to request to connect all electronic devices connected by the first electronic device through the first transmission method; or a part of the electronic devices for requesting to connect the first electronic device through the first transmission mode, wherein the part of the electronic devices can be determined by the first electronic device through a manual mode; the preset condition may be a designated type, that is, an electronic device which is connected by the first electronic device in the first transmission mode and meets the designated type is requested to be connected.
Step 102: and acquiring a first trigger operation, wherein the first operation is used for responding to the first message.
Here, the first operation is to respond to the first message, that is, to respond to whether the second electronic device is granted a request to connect the one or more electronic devices to which the first electronic device is connected through the first transmission means. The first trigger operation is not limited to a single-click operation, but may also be a floating operation or a voice operation that is away from a display screen of the first electronic device by a certain preset threshold, or an operation performed on a state of the first electronic device (for example, an operation in which the electronic device is in a shaking state); specifically, in a scene of single-click operation, an agreeing or disagreeing button can be displayed on a display screen of the first electronic device, and the first message is responded according to the operation of the user; in a voice operation scene, a voice instruction can be preset, the voice instruction corresponds to agreement or disagreement, and when the voice instruction used for representing agreement or disagreement is received, the first message is responded; in a scenario of an operation performed on a state of the first electronic device itself, an agreement instruction corresponding to a certain state may be preset, for example, an agreement instruction corresponding to a shaking state, and when the first electronic device is in the shaking state, an agreement instruction is triggered to be generated, and when the first electronic device is in another state, an disagreement instruction is triggered to be generated, so as to respond to the first message.
Step 103: judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic equipment, and executing step 104 when the judgment result is yes; when the judgment result is negative, step 105 is executed: and ending the current operation flow.
Step 104: sending a second message to the more than one electronic device in a first transmission mode, and sending a third message to the second electronic device, so that the second electronic device is connected with the more than one electronic device in the first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
Here, the second message includes information of the second electronic device, such as an identification code, address information, and the like of the electronic device, so that the one or more electronic devices send an access request to the second electronic device according to the information of the second electronic device. The third message includes information of the more than one electronic device, such as an identification code, address information, and the like of each electronic device, so that when the second electronic device receives the access request of the more than one electronic device, matching is performed according to the information of the more than one electronic device in the third message, and the more than one electronic device is accessed after matching is successful.
Therefore, when the second electronic device is required to be connected with the plurality of electronic devices accessed by the first electronic device through the first transmission mode, the plurality of electronic devices do not need to be connected one by one and confirmed, the second electronic device can be conveniently and quickly accessed into the plurality of electronic devices, the connection process is simplified, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode, and the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; the electronic device is an electronic device with the first transmission mode, and taking the first transmission mode as a bluetooth transmission mode as an example, the electronic device can be an electronic device such as a bluetooth mouse, a bluetooth keyboard, a bluetooth headset, a bluetooth sound box and the like; FIG. 2 is a flowchart illustrating an information processing method according to a second embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: receiving a first message sent by a second electronic device, wherein the first message comprises a first sub-message, and the first sub-message is used for requesting to connect all electronic devices accessed by the first electronic device through a first transmission mode.
In this embodiment, the second electronic device has a function of the first transmission mode, such as a bluetooth function or an infrared function, as well as the first electronic device. The first electronic device is not limited to receive the first message sent by the second electronic device through a first transmission mode, that is, the first electronic device is not limited to receive the first message sent by the second electronic device through a bluetooth mode or an infrared mode, and may also be in other wireless or limited transmission modes, such as a WIFI mode, or establish a transmission connection between the first electronic device and the second electronic device through a data line connection.
Step 202: and acquiring a first trigger operation, wherein the first operation is used for responding to the first message.
Here, the first operation is to respond to the first message, that is, to respond to whether the request for the second electronic device to connect all the electronic devices to which the first electronic device is connected through the first transmission means is granted. The first trigger operation is not limited to a single-click operation, and may be a floating operation or a voice operation that is away from a display screen of the first electronic device by a certain preset threshold, or an operation performed on a state of the first electronic device (for example, an operation in which the electronic device is in a shaking state). The specific scenario of the above operation is similar to the scenario described in step 102, and is not described herein again.
Step 203: judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic equipment, and executing step 204 when the judgment result is yes; when the result of the determination is no, step 205 is executed: and ending the current operation flow.
Step 204: sending a second message to all electronic equipment in a first transmission mode, and sending a third message to the second electronic equipment, so that the second electronic equipment is connected with all electronic equipment in the first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of all electronic devices accessed through the first transmission mode.
Here, the second message includes information of the second electronic device, such as an identification code, address information, and the like of the electronic device, so that all the electronic devices send access requests to the second electronic device according to the information of the second electronic device. The third message includes information of all the electronic devices, such as an identification code, address information, and the like of each electronic device, so that when the second electronic device receives the access requests of all the electronic devices, the second electronic device performs matching according to the information of all the electronic devices in the third message, and accesses to all the electronic devices after the matching is successful.
Therefore, when the second electronic device is required to be connected with all the electronic devices accessed by the first electronic device through the first transmission mode, the second electronic device does not need to be connected and confirmed one by one with all the electronic devices, the second electronic device can be conveniently and quickly accessed into all the electronic devices, the connection process is simplified, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode, and the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; the electronic device is an electronic device with the first transmission mode, and taking the first transmission mode as a bluetooth transmission mode as an example, the electronic device can be an electronic device such as a bluetooth mouse, a bluetooth keyboard, a bluetooth headset, a bluetooth sound box and the like; FIG. 3 is a flowchart illustrating an information processing method according to a third embodiment of the present invention; as shown in fig. 3, the method includes:
step 301: receiving a first message sent by a second electronic device, wherein the first message comprises a second sub-message, and the second sub-message is used for requesting to connect with a part of electronic devices accessed by the first electronic device through a first transmission mode.
In this embodiment, the second electronic device has a function of the first transmission mode, such as a bluetooth function or an infrared function, as well as the first electronic device. The first electronic device is not limited to receive the first message sent by the second electronic device through a first transmission mode, that is, the first electronic device is not limited to receive the first message sent by the second electronic device through a bluetooth mode or an infrared mode, and may also be in other wireless or limited transmission modes, such as a WIFI mode, or establish a transmission connection between the first electronic device and the second electronic device through a data line connection.
Step 302: and acquiring a first trigger operation, wherein the first operation is used for responding to the first message.
Here, the first operation is to respond to the first message, that is, to respond to whether the request of the second electronic device to connect to the part of the electronic devices to which the first electronic device is connected through the first transmission means is granted. The first trigger operation is not limited to a single-click operation, and may be a floating operation or a voice operation that is away from a display screen of the first electronic device by a certain preset threshold, or an operation performed on a state of the first electronic device (for example, an operation in which the electronic device is in a shaking state). The specific scenario of the above operation is similar to the scenario described in step 102, and is not described herein again.
Step 303: judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic device, and executing a step 304 when the judgment result is yes; when the judgment result is no, step 307 is executed: and ending the current operation flow.
Step 304: and acquiring a second trigger operation.
Step 305: and determining part of the electronic equipment which agrees to the access of the second electronic equipment through the first transmission mode according to the second trigger operation.
Here, the second trigger operation may be a single-click operation, a hover operation, or the like; the first electronic equipment is provided with a selected function, all electronic equipment connected with the first electronic equipment in a first transmission mode is displayed on a display screen of the first electronic equipment in a list or icon mode, and a user selects the electronic equipment which agrees to be connected through the second trigger operation.
Step 306: sending a second message to the part of the electronic equipment in a first transmission mode, and sending a third message to the second electronic equipment, so that the second electronic equipment is connected with the part of the electronic equipment in the first transmission mode; wherein the second message comprises information of the second electronic device; the third message comprises the information of the part of the electronic equipment accessed through the first transmission mode.
Here, the second message includes information of the second electronic device, such as an identification code, address information, and the like of the electronic device, so that the partial electronic devices send access requests to the second electronic device according to the information of the second electronic device. The third message includes information of the part of electronic devices, such as an identification code, address information, and the like of each electronic device, so that when the second electronic device receives the access requests of all the electronic devices, the second electronic device performs matching according to the information of the part of electronic devices in the third message, and accesses the part of electronic devices after matching is successful.
Therefore, when the second electronic device wants to connect with part of the electronic devices accessed by the first electronic device through the first transmission mode, the part of the electronic devices do not need to be connected and confirmed one by one, the second electronic device can be conveniently and quickly accessed into the part of the electronic devices, the connection process is simplified, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to first electronic equipment, wherein the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode, and the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; the electronic device is an electronic device with the first transmission mode, and taking the first transmission mode as a bluetooth transmission mode as an example, the electronic device can be an electronic device such as a bluetooth mouse, a bluetooth keyboard, a bluetooth headset, a bluetooth sound box and the like; FIG. 4 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: receiving a first message sent by a second electronic device, wherein the first message comprises a third sub-message, and the third sub-message is used for requesting to connect an electronic device of a specified type accessed by the first electronic device through a first transmission mode.
In this embodiment, the second electronic device has a function of the first transmission mode, such as a bluetooth function or an infrared function, as well as the first electronic device. The first electronic device is not limited to receive the first message sent by the second electronic device through a first transmission mode, that is, the first electronic device is not limited to receive the first message sent by the second electronic device through a bluetooth mode or an infrared mode, and may also be in other wireless or limited transmission modes, such as a WIFI mode, or establish a transmission connection between the first electronic device and the second electronic device through a data line connection.
Step 402: and acquiring a first trigger operation, wherein the first operation is used for responding to the first message.
Here, the first operation is to respond to the first message, that is, to respond to whether the request for the second electronic device to connect to the electronic device of the specified type to which the first electronic device is connected through the first transmission means is granted. The first trigger operation is not limited to a single-click operation, and may be a floating operation or a voice operation that is away from a display screen of the first electronic device by a certain preset threshold, or an operation performed on a state of the first electronic device (for example, an operation in which the electronic device is in a shaking state). The specific scenario of the above operation is similar to the scenario described in step 102, and is not described herein again.
Step 403: judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic device, and executing a step 404 when the judgment result is yes; when the judgment result is no, step 407 is executed: and ending the current operation flow.
Step 404: and identifying the type of the more than one electronic equipment to obtain a first identification result.
Here, the first electronic device may set the type in advance, for example: an input class, a display class, a sound reproduction class, a control class, and the like, and the setting of the types is not limited to the above-described setting manner. Specifically, the first electronic device may determine the type of the one or more electronic devices according to an identification code of the one or more electronic devices connected through the first transmission method, where the identification code may be a device name, the device name generally includes a manufacturer and a device model, and the type of the electronic device may be determined according to the device name.
Step 405: and determining more than one electronic equipment matched with the specified type according to the first recognition result.
Here, the first electronic device may preset a correspondence table including a correspondence relationship between a type of the electronic device and a name of the device; and when a first identification result is obtained, determining the type of the electronic equipment corresponding to the equipment name according to the equipment name in the first identification result.
Step 406: sending a second message to the more than one electronic device in a first transmission mode, and sending a third message to the second electronic device, so that the second electronic device is connected with the more than one electronic device in the first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices accessed through the first transmission mode.
Here, the second message includes information of the second electronic device, such as an identification code, address information, and the like of the electronic device, so that the electronic device of the specified type sends an access request to the second electronic device according to the information of the second electronic device. The third message includes information of the electronic device of the specified type, such as an identification code, address information, and the like of each electronic device, so that when the second electronic device receives the access request of the electronic device of the specified type, matching is performed according to the information of the electronic device of the specified type in the third message, and the electronic device of the specified type is accessed after matching is successful.
Therefore, when the second electronic device is required to be connected with the electronic device of the appointed type accessed by the first electronic device through the first transmission mode, the electronic device of the appointed type does not need to be connected and confirmed one by one, the second electronic device can be conveniently and quickly accessed into the electronic device of the appointed type, the connection process is simplified, and the user experience is greatly improved.
The embodiment of the invention also provides an information processing method, which is applied to the second electronic equipment; FIG. 5 is a flowchart illustrating an information processing method according to a fifth embodiment of the present invention; as shown in fig. 5, the method includes:
step 501: the method comprises the steps of sending a first message to first electronic equipment, wherein the first message is used for requesting to connect more than one electronic equipment accessed by the first electronic equipment through a first transmission mode.
In this embodiment, the second electronic device has the same function as the first electronic device in the first transmission mode; for example: bluetooth transmission function or infrared transmission function.
Here, the second electronic device provides a function of requesting another electronic device, where the function of requesting is used to connect one or more electronic devices that the another electronic device accesses through the first transmission method. For example, in a scenario, a first electronic device is connected to a bluetooth headset, a bluetooth keyboard, a bluetooth mouse, and a bluetooth speaker through a bluetooth transmission manner, and if the second electronic device wants to connect to the bluetooth headset, the bluetooth keyboard, the bluetooth mouse, and the bluetooth speaker quickly, a request message, that is, the first message in step 501, is sent to the first electronic device through the request function.
Wherein the first message includes but is not limited to one of the following messages: the first sub-message, the second sub-message or the third sub-message may further include other sub-messages, which are used to request to connect to some electronic devices accessed by the first electronic device through the first transmission mode; wherein,
the first sub-message is used for requesting to connect all electronic equipment accessed by the first electronic equipment through a first transmission mode;
the second sub-message is used for requesting to connect with part of the electronic equipment accessed by the first electronic equipment through a first transmission mode;
the third sub-message is used for requesting to connect the electronic equipment of the appointed type accessed by the first electronic equipment through the first transmission mode.
Step 502: and receiving a third message sent by the first electronic equipment, wherein the third message comprises information of the more than one electronic equipment.
Here, the third message includes information of the one or more electronic devices, such as an identification code, address information, and the like of each electronic device.
Step 503: receiving a fourth message sent by the more than one electronic device, where the fourth message is used to request access to the second electronic device through a first transmission mode, and the fourth message includes information of the more than one electronic device.
Here, the fourth message includes information of the one or more electronic devices, such as an identification code, address information, and the like of each electronic device.
Step 504: judging whether the information of the more than one electronic equipment in the fourth message is matched with the information of the more than one electronic equipment in the third message, and if so, executing step 505; when the result of the judgment is no, step 501 is executed again.
Here, a third message received by the second electronic device is transmitted by the first electronic device, the third message including information of the one or more electronic devices; a fourth message received by the second electronic device is sent by the one or more electronic devices, and the fourth message comprises information of the one or more electronic devices; when the second electronic device wants to connect to the one or more electronic devices, it is necessary to match the identities of the one or more electronic devices in order to confirm that the one or more electronic devices sending the fourth message are the one or more electronic devices connected to the first electronic device.
Step 505: and accessing the more than one electronic equipment through a first transmission mode according to the matched information of the more than one electronic equipment.
Here, after the information matching of the one or more electronic devices in step 504 is completed, access to the one or more electronic devices is completed according to the information of the one or more electronic devices in the fourth message.
Therefore, when the second electronic device is required to be connected with more than one electronic device accessed by the first electronic device through the first transmission mode, the more than one electronic device does not need to be connected and confirmed one by one, the second electronic device can be conveniently and quickly accessed into the more than one electronic device, the connection process is simplified, and the user experience is greatly improved.
The embodiment of the invention describes a first electronic device which can be a mobile phone, a tablet personal computer and the like; the first electronic equipment is connected with more than one electronic equipment through a first transmission mode; the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; fig. 6 is a first schematic structural diagram of a first electronic device according to an embodiment of the present invention, and as shown in fig. 6, the first electronic device includes: a receiving unit 61, an acquiring unit 62, a determining unit 63, and a transmitting unit 64; wherein,
the receiving unit 61 is configured to receive a first message sent by a second electronic device, where the first message is used to request to connect to the one or more electronic devices connected by the first electronic device in a first transmission manner;
the obtaining unit 62 is configured to obtain a first trigger operation, where the first trigger operation is used to respond to the first message received by the receiving unit 61;
the determining unit 63 is configured to determine whether the first trigger operation acquired by the acquiring unit 62 represents an operation of granting the request of the second electronic device, and obtain a first determination result;
the sending unit 64 is configured to send a second message to the one or more electronic devices through a first transmission manner and send a third message to the second electronic device when the first determination result of the determining unit 63 indicates that the first trigger operation represents an operation for granting the request of the second electronic device; enabling the second electronic equipment to be connected with the more than one electronic equipment through a first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
It should be understood by those skilled in the art that the functions of the processing units in the first electronic device according to the embodiment of the present invention may be understood by referring to the related description of the information processing method, and the processing units in the first electronic device according to the embodiment of the present invention may be implemented by analog circuits that implement the functions described in the embodiment of the present invention, or by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention also discloses a first electronic device which can be a mobile phone, a tablet computer and the like; the first electronic equipment is connected with more than one electronic equipment through a first transmission mode; the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; as shown in fig. 6, the first electronic device includes: a receiving unit 61, an acquiring unit 62, a determining unit 63, and a transmitting unit 64; wherein,
the receiving unit 61 is configured to receive a first message sent by a second electronic device, where the first message includes a first sub-message, and the first sub-message is used to request to connect to all electronic devices accessed by the first electronic device through a first transmission mode;
the obtaining unit 62 is configured to obtain a first trigger operation, where the first trigger operation is used to respond to the first message received by the receiving unit 61;
the determining unit 63 is configured to determine whether the first trigger operation acquired by the acquiring unit 62 represents an operation of granting the request of the second electronic device, and obtain a first determination result;
the sending unit 64 is configured to send a second message to all electronic devices in a first transmission manner and send a third message to the second electronic device when the first determination result of the determining unit 63 indicates that the first trigger operation represents an operation for granting the request of the second electronic device; enabling the second electronic equipment to be connected with all the electronic equipment in a first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of all the electronic devices.
It should be understood by those skilled in the art that the functions of the processing units in the first electronic device according to the embodiment of the present invention may be understood by referring to the related description of the information processing method, and the processing units in the first electronic device according to the embodiment of the present invention may be implemented by analog circuits that implement the functions described in the embodiment of the present invention, or by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention describes a first electronic device which can be a mobile phone, a tablet personal computer and the like; the first electronic equipment is connected with more than one electronic equipment through a first transmission mode; the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; fig. 7 is a schematic diagram illustrating a second composition structure of the first electronic device according to the embodiment of the present invention, as shown in fig. 7, the first electronic device includes: a receiving unit 61, an acquiring unit 62, a determining unit 63, a first determining unit 65, and a transmitting unit 64; wherein,
the receiving unit 61 is configured to receive a first message sent by a second electronic device, where the first message includes a second sub-message, and the second sub-message is used to request to connect to a part of electronic devices accessed by the first electronic device through a first transmission method;
the obtaining unit 62 is configured to obtain a first trigger operation, where the first trigger operation is used to respond to the first message received by the receiving unit 61; the device is also used for acquiring a second trigger operation;
the determining unit 63 is configured to determine whether the first trigger operation acquired by the acquiring unit 62 represents an operation of granting the request of the second electronic device, and obtain a first determination result;
the first determining unit 65 is configured to determine, according to the second trigger operation acquired by the acquiring unit 62, a part of electronic devices that the second electronic device is permitted to access in a first transmission manner;
the sending unit 64 is configured to send a second message to the part of the electronic devices determined by the first determining unit 65 through a first transmission manner and send a third message to the second electronic device when the first determination result of the determining unit 63 indicates that the first trigger operation represents an operation for granting the request of the second electronic device; enabling the second electronic equipment to be connected with the part of the electronic equipment through a first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the portion of the electronic device.
It should be understood by those skilled in the art that the functions of the processing units in the first electronic device according to the embodiment of the present invention may be understood by referring to the related description of the information processing method, and the processing units in the first electronic device according to the embodiment of the present invention may be implemented by analog circuits that implement the functions described in the embodiment of the present invention, or by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
The embodiment of the invention describes a first electronic device which can be a mobile phone, a tablet personal computer and the like; the first electronic equipment is connected with more than one electronic equipment through a first transmission mode; the first transmission mode can be a Bluetooth transmission mode, an infrared transmission mode and other transmission modes; fig. 8 is a third schematic view of a composition structure of a first electronic device according to an embodiment of the present invention, and as shown in fig. 8, the first electronic device includes: a receiving unit 61, an acquiring unit 62, a determining unit 63, a recognizing unit 66, a second determining unit 67, and a transmitting unit 64; wherein,
the receiving unit 61 is configured to receive a first message sent by a second electronic device, where the first message includes a third sub-message, and the third sub-message is used to request to connect to an electronic device of a specified type accessed by the first electronic device through a first transmission mode;
the obtaining unit 62 is configured to obtain a first trigger operation, where the first trigger operation is used to respond to the first message received by the receiving unit 61;
the determining unit 63 is configured to determine whether the first trigger operation acquired by the acquiring unit 62 represents an operation of granting the request of the second electronic device, and obtain a first determination result;
the identifying unit 66 is configured to, when the first determination result of the determining unit 63 indicates that the first trigger operation represents an operation of granting the request of the second electronic device, identify the type of the one or more electronic devices, obtain a first identification result, and send the first identification result to the second determining unit 67;
the second determining unit 67 is configured to determine, according to the first recognition result sent by the recognizing unit 66, one or more electronic devices matching the specified type;
the sending unit 64 is configured to send a second message to the one or more electronic devices determined by the second determining unit 67 through a first transmission manner, and send a third message to the second electronic device; enabling the second electronic equipment to be connected with the more than one electronic equipment through a first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
It should be understood by those skilled in the art that the functions of the processing units in the first electronic device according to the embodiment of the present invention may be understood by referring to the related description of the information processing method, and the processing units in the first electronic device according to the embodiment of the present invention may be implemented by analog circuits that implement the functions described in the embodiment of the present invention, or by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the above embodiment, the obtaining Unit 62, the determining Unit 63, the first determining Unit 65, the identifying Unit 66 and the second determining Unit 67 in the first electronic device may all be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA) in the first electronic device; the receiving unit 61 in the first electronic device may be implemented by a receiver or a receiving antenna in the first electronic device; the transmitting unit 64 in the first electronic device may be implemented by a transmitter or a transmitting antenna in the first electronic device.
The embodiment of the invention describes second electronic equipment which can be a mobile phone, a tablet personal computer and the like; the second electronic equipment has the functions of a first transmission mode, such as a Bluetooth transmission function, an infrared transmission function and the like; fig. 9 is a schematic structural diagram of a second electronic device according to an embodiment of the present invention, and as shown in fig. 9, the second electronic device includes: a transmitting unit 91, a receiving unit 92, a determining unit 93, and an accessing unit 94; wherein,
the sending unit 91 is configured to send a first message to a first electronic device, where the first message is used to request to connect to more than one electronic device that is accessed by the first electronic device through a first transmission mode;
the receiving unit 92 is configured to receive a third message sent by the first electronic device, where the third message includes information of the one or more electronic devices; the first message is used for requesting to access the second electronic equipment through a first transmission mode, and the first message comprises information of the one or more electronic equipment;
the determining unit 93 is configured to determine whether the information of the one or more electronic devices in the fourth message received by the receiving unit 92 matches the information of the one or more electronic devices in the third message received by the receiving unit 92, obtain a second determination result, and send the second determination result to the accessing unit 94;
the accessing unit 94 is configured to, when the second determination result sent by the determining unit 93 indicates that the information of the one or more electronic devices in the fourth message matches the information of the one or more electronic devices in the third message, access the one or more electronic devices through a first transmission method according to the matched information of the one or more electronic devices.
It should be understood by those skilled in the art that the functions of the processing units in the second electronic device according to the embodiment of the present invention may be understood by referring to the related description of the information processing method, and the processing units in the second electronic device according to the embodiment of the present invention may be implemented by analog circuits that implement the functions described in the embodiment of the present invention, or by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
The determining Unit 93 and the accessing Unit 94 in the second electronic device may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable gate array (FPGA) in the second electronic device; the transmitting unit 91 in the second electronic device may be implemented by a transmitter or a transmitting antenna in the second electronic device; the receiving unit 92 in the second electronic device may be implemented by a receiver or a receiving antenna in the second electronic device.
In the embodiments provided in the present invention, it should be understood that the disclosed method and electronic device can be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to service instructions, the service may be stored in a computer readable storage medium, and the service, when executed, performs the steps including the method embodiments; and the aforementioned storage medium includes: various media capable of storing service codes, such as a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing service codes, such as a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (12)
1. An information processing method is applied to first electronic equipment, and the first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode; characterized in that the method comprises:
receiving a first message sent by a second electronic device, wherein the first message is used for requesting to connect the more than one electronic devices connected by the first electronic device in a first transmission mode;
acquiring a first trigger operation, wherein the first trigger operation is used for responding to the first message;
judging whether the first trigger operation represents an operation of agreeing to the request of the second electronic equipment or not, and obtaining a first judgment result;
when the first judgment result shows that the first trigger operation represents the operation of agreeing to the request of the second electronic device, sending a second message to the more than one electronic devices in a first transmission mode, and sending a third message to the second electronic device, so that the second electronic device is connected with the more than one electronic devices in the first transmission mode;
wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
2. The method according to claim 1, wherein the first message comprises a first sub-message, and the first sub-message is used to request to connect all electronic devices accessed by the first electronic device through a first transmission manner; the sending the second message to the one or more electronic devices through the first transmission mode includes: sending a second message to all electronic equipment through a first transmission mode;
correspondingly, the third message includes information of all electronic devices accessed through the first transmission mode.
3. The method according to claim 1, wherein the first message includes a second sub-message, and the second sub-message is used to request to connect to a part of electronic devices accessed by the first electronic device through the first transmission mode; the sending the second message to the one or more electronic devices through the first transmission mode includes:
acquiring a second trigger operation, determining part of electronic equipment which agrees to access of the second electronic equipment through a first transmission mode according to the second trigger operation, and sending a second message to the part of electronic equipment through the first transmission mode;
correspondingly, the third message includes the information of the part of the electronic equipment accessed by the first transmission mode.
4. The method according to claim 1, wherein the first message comprises a third sub-message, and the third sub-message is used for requesting to connect to an electronic device of a specified type accessed by the first electronic device through the first transmission mode; the sending the second message to the one or more electronic devices through the first transmission mode includes:
identifying the type of the more than one electronic equipment to obtain a first identification result;
determining more than one electronic device matched with the specified type according to the first recognition result;
and sending a second message to the more than one electronic equipment through the first transmission mode.
5. An information processing method applied to a second electronic device, the method comprising:
sending a first message to a first electronic device, wherein the first message is used for requesting to connect more than one electronic device accessed by the first electronic device through a first transmission mode;
receiving a third message sent by the first electronic device, wherein the third message comprises information of the more than one electronic devices;
receiving a fourth message sent by the more than one electronic device, wherein the fourth message is used for requesting to access the second electronic device through a first transmission mode and comprises information of the more than one electronic device;
judging whether the information of the more than one electronic equipment in the fourth message is matched with the information of the more than one electronic equipment in the third message or not, and obtaining a second judgment result;
and when the second judgment result shows that the information of the more than one electronic equipment in the fourth message is matched with the information of the more than one electronic equipment in the third message, accessing the more than one electronic equipment through a first transmission mode according to the matched information of the more than one electronic equipment.
6. The method of claim 5, wherein the first message comprises one of: a first sub-message, a second sub-message, or a third sub-message; wherein,
the first sub-message is used for requesting to connect all electronic equipment accessed by the first electronic equipment through a first transmission mode;
the second sub-message is used for requesting to connect with part of the electronic equipment accessed by the first electronic equipment through a first transmission mode;
the third sub-message is used for requesting to connect the electronic equipment of the appointed type accessed by the first electronic equipment through the first transmission mode.
7. The first electronic equipment is connected with more than one piece of electronic equipment through a first transmission mode; wherein the first electronic device comprises: a receiving unit, an acquiring unit, a judging unit and a transmitting unit; wherein,
the receiving unit is configured to receive a first message sent by a second electronic device, where the first message is used to request to connect to the one or more electronic devices connected to the first electronic device through a first transmission manner;
the acquiring unit is configured to acquire a first trigger operation, where the first trigger operation is used to respond to the first message received by the receiving unit;
the judging unit is used for judging whether the first trigger operation acquired by the acquiring unit represents the operation of agreeing to the request of the second electronic equipment or not and acquiring a first judgment result;
the sending unit is configured to send a second message to the one or more electronic devices in a first transmission manner and send a third message to the second electronic device when the first determination result of the determining unit indicates that the first trigger operation represents an operation for granting the request of the second electronic device; enabling the second electronic equipment to be connected with the more than one electronic equipment through a first transmission mode; wherein the second message comprises information of the second electronic device; the third message includes information of the one or more electronic devices.
8. The first electronic device according to claim 7, wherein the first message includes a first sub-message, and the first sub-message is used to request to connect all electronic devices accessed by the first electronic device through a first transmission method;
the sending unit is used for sending a second message to all the electronic devices through a first transmission mode and sending a third message to the second electronic devices; and the third message comprises information of all electronic equipment accessed through the first transmission mode.
9. The first electronic device of claim 7, wherein the first message includes a second sub-message, and the second sub-message is used to request to connect to a part of electronic devices accessed by the first electronic device through the first transmission method; the first electronic device further comprises a first determination unit; wherein,
the acquisition unit is further used for acquiring a second trigger operation;
the first determining unit is configured to determine, according to the second trigger operation acquired by the acquiring unit, a part of electronic devices that the second electronic device is permitted to access in a first transmission manner;
the sending unit is further configured to send a second message to the part of the electronic devices determined by the first determining unit through a first transmission manner, and send a third message to the second electronic device; wherein the third message includes information of the part of the electronic devices accessed through the first transmission mode.
10. The first electronic device of claim 7, wherein the first message includes a third sub-message, and the third sub-message is used to request to connect to a specific type of electronic device accessed by the first electronic device through the first transmission method; the first electronic device further comprises: an identification unit and a second determination unit; wherein,
the identification unit is used for identifying the type of the more than one electronic equipment to obtain a first identification result and sending the first identification result to the second determination unit when the first judgment result of the judgment unit indicates that the first trigger operation represents the operation of agreeing to the request of the second electronic equipment;
the second determining unit is used for determining more than one electronic device matched with the specified type according to the first identification result sent by the identifying unit;
the sending unit is configured to send a second message to the one or more electronic devices determined by the second determining unit through a first transmission method.
11. A second electronic device, the second electronic device comprising: a transmitting unit, a receiving unit, a judging unit and an access unit; wherein,
the sending unit is configured to send a first message to a first electronic device, where the first message is used to request connection of more than one electronic device accessed by the first electronic device through a first transmission mode;
the receiving unit is configured to receive a third message sent by the first electronic device, where the third message includes information of the one or more electronic devices; the first message is used for requesting to access the second electronic equipment through a first transmission mode, and the first message comprises information of the one or more electronic equipment;
the determining unit is configured to determine whether the information of the one or more electronic devices in the fourth message received by the receiving unit matches the information of the one or more electronic devices in the third message received by the receiving unit, obtain a second determination result, and send the second determination result to the access unit;
the access unit is configured to access the one or more electronic devices through a first transmission method according to the matched information of the one or more electronic devices when the second determination result sent by the determination unit indicates that the information of the one or more electronic devices in the fourth message matches the information of the one or more electronic devices in the third message.
12. The second electronic device of claim 11, wherein the first message comprises one of: a first sub-message, a second sub-message, or a third sub-message; wherein,
the first sub-message is used for requesting to connect all electronic equipment accessed by the first electronic equipment through a first transmission mode;
the second sub-message is used for requesting to connect with part of the electronic equipment accessed by the first electronic equipment through a first transmission mode;
the third sub-message is used for requesting to connect the electronic equipment of the appointed type accessed by the first electronic equipment through the first transmission mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410056916.9A CN103873682B (en) | 2014-02-19 | 2014-02-19 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410056916.9A CN103873682B (en) | 2014-02-19 | 2014-02-19 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103873682A CN103873682A (en) | 2014-06-18 |
CN103873682B true CN103873682B (en) | 2016-10-05 |
Family
ID=50911790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410056916.9A Active CN103873682B (en) | 2014-02-19 | 2014-02-19 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103873682B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933897A (en) * | 2016-03-31 | 2016-09-07 | 联想(北京)有限公司 | Electronic equipment and method for establishing communication connection among electronic equipment |
CN107172718B (en) * | 2017-03-30 | 2020-08-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8116223B2 (en) * | 2006-11-09 | 2012-02-14 | Ivt Technology Inc. | System and method for supporting automatic establishing and disconnecting several wireless connections |
KR101110778B1 (en) * | 2010-09-07 | 2012-03-13 | 비씨카드(주) | Method and system of bluetooth communication |
CN103249174B (en) * | 2012-02-07 | 2017-03-01 | 联想(北京)有限公司 | Method and electronic equipment that a kind of control electronics connect |
CN103220019A (en) * | 2013-04-28 | 2013-07-24 | 上海斐讯数据通信技术有限公司 | Implementation method of bluetooth data transmission and mobile terminal |
-
2014
- 2014-02-19 CN CN201410056916.9A patent/CN103873682B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103873682A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10834237B2 (en) | Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform | |
CN110459221B (en) | Method and device for multi-device cooperative voice interaction | |
CN110622123B (en) | Display method and device | |
US10764898B2 (en) | Media access control (MAC) address identification | |
US9510163B2 (en) | Method and apparatus for managing a group profile in a Wi-Fi direct communication system | |
CN105024984B (en) | Authority setting method, apparatus and system | |
KR101687521B1 (en) | Multi-screen interaction method, devices, and system | |
WO2019134306A1 (en) | Message processing method, device, terminal apparatus, and readable storage medium | |
CN110687820B (en) | Control method and device of intelligent household equipment, terminal equipment and storage medium | |
CN110166439B (en) | Equipment sharing method, terminal, router and server | |
CN104837157B (en) | Speaker adding method, device, mobile terminal and intelligent sound box | |
KR20200044505A (en) | Electronic device suporting link sharing and method therefor | |
JP2017531974A (en) | Network connection method, device, system, program, and recording medium | |
CN112492611A (en) | Network configuration method, network configuration device, electronic equipment and readable storage medium | |
CN106714126A (en) | Downlink data transmission method, apparatus and device | |
CN111970676B (en) | WiFi hot spot access method, device, equipment and storage medium | |
CN107872791B (en) | Access point connection method and device | |
KR101876394B1 (en) | Method and device for playing media data on a terminal | |
CN103873682B (en) | A kind of information processing method and electronic equipment | |
CN112040057B (en) | Device control method, device, electronic device, control system and storage medium | |
CN113170215A (en) | Video live broadcast method, system and computer storage medium | |
CN107395493B (en) | Method and device for sharing message based on intention | |
CN114173321B (en) | Equipment communication connection establishment method and equipment communication system | |
EP2672663B1 (en) | Apparatus and method of storing user information in home network | |
CN114374959A (en) | Bluetooth connection method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |