CN110072295B - Dual-channel communication method, device, first terminal and medium - Google Patents

Dual-channel communication method, device, first terminal and medium Download PDF

Info

Publication number
CN110072295B
CN110072295B CN201910370427.3A CN201910370427A CN110072295B CN 110072295 B CN110072295 B CN 110072295B CN 201910370427 A CN201910370427 A CN 201910370427A CN 110072295 B CN110072295 B CN 110072295B
Authority
CN
China
Prior art keywords
data
terminal
channel
dual
transmitted
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
CN201910370427.3A
Other languages
Chinese (zh)
Other versions
CN110072295A (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.)
Xi'an Shangding Energy Technology Co ltd
Original Assignee
Xi'an Shangding Energy Technology Co 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 Xi'an Shangding Energy Technology Co ltd filed Critical Xi'an Shangding Energy Technology Co ltd
Priority to CN201910370427.3A priority Critical patent/CN110072295B/en
Publication of CN110072295A publication Critical patent/CN110072295A/en
Application granted granted Critical
Publication of CN110072295B publication Critical patent/CN110072295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a dual-channel communication method, a device, a first terminal and a medium, wherein the dual-channel communication method comprises the following steps: when the first terminal detects data to be transmitted, calculating the data volume of the data to be transmitted; and determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels. The invention solves the technical problem that the transmission speed requirement and the power consumption requirement are difficult to balance in the data transmission process of a single channel in the prior art.

Description

Dual-channel communication method, device, first terminal and medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a dual-channel communication method and apparatus, a first terminal, and a medium.
Background
Wearable equipment has obtained rapid development because of the beautiful convenient characteristics of this fashion, at present, wearable equipment often need carry out communication connection with cell-phone etc. to carry out the transmission of data, however, in the in-process that data transmission was carried out to wearable equipment and cell-phone etc. it often is the transmission that the single channel carries out data, if only carry out the transmission of data as the passageway through the bluetooth or only through WIFI between wearable equipment and terminal, wherein, bluetooth transmission low power consumption but transmission rate is slow, be applicable to the transmission of a long time a small amount of data, WiFi transmission rate is fast but the consumption is big, be applicable to a short time a large amount of data transmission, and because only carry out the transmission of data through the single channel between wearable equipment and cell-phone among the prior art, this obviously can be difficult to balance transmission speed demand and consumption demand in the data transmission process.
Disclosure of Invention
The invention mainly aims to provide a dual-channel communication method, a dual-channel communication device, a first terminal and a medium, and aims to solve the technical problem that the transmission speed requirement and the power consumption requirement are difficult to balance in the data transmission process of a single channel in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a dual channel communication method, where the dual channel communication method is applied to a first terminal, and the first terminal is communicatively connected to a second terminal, and the dual channel communication method includes:
when the first terminal detects data to be transmitted, calculating the data volume of the data to be transmitted;
and determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels.
Optionally, the dual channels include a first transmission channel and a second transmission channel, where a transmission speed and a transmission energy consumption of the first transmission channel are both less than those of the second transmission channel;
the step of determining whether to establish a dual-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the dual channels comprises the following steps:
calculating the first time for transmitting the data to be transmitted through the first transmission channel according to the data amount;
calculating second time for transmitting the data to be transmitted through the second transmission channel according to the data amount;
and when the difference value between the first time and the second time is greater than a preset value or the first time is greater than the second time of a preset multiple, the first terminal and the second terminal establish a dual-channel communication connection so as to determine that the data to be transmitted is sent to the second terminal through the dual channels.
Optionally, the step of establishing a dual-channel communication connection between the first terminal and the second terminal to determine that the data to be transmitted is sent to the second terminal over the dual channels includes:
the first terminal decomposes the data to be transmitted to obtain each sub-packet, and temporarily stores each sub-packet in a sending queue of the data to be transmitted, which is generated by the first terminal;
the first terminal orderly transmits each sub-packet in the sending queue through the pre-established first transmission channel, and synchronously starts to establish a second transmission channel with the second terminal;
and after the second transmission channel is established, sending the other packets which are not sent and are in the sending queue to the second terminal in the second transmission channel so as to finish sending the data to be transmitted to the second terminal through the two channels.
Optionally, after the step of calculating a second time for transmitting the data to be transmitted through the second transmission channel according to the data amount, the method includes:
when the difference value between the first time and the second time is larger than a preset value, or when the first time is longer than the second time of a preset multiple, acquiring the current electric quantity of the first terminal;
and when the current electric quantity of the first terminal is lower than the electric quantity value of a preset proportion, the first terminal and the second terminal establish communication connection of the first transmission channel so as to determine that the data to be transmitted is transmitted to the second terminal through the first transmission channel.
Optionally, the step of determining whether to establish a dual-channel communication connection with the second terminal according to the data volume to determine whether to send the data to be transmitted to the second terminal through the dual-channel further includes:
when the data volume is larger than a preset number value, determining to establish double-channel communication connection with the second terminal so as to determine to send the data to be transmitted to the second terminal through the double channels;
wherein, the binary channels include bluetooth transmission channel and WIFI passageway.
Optionally, the step of obtaining the current power of the first terminal includes:
if the current electric quantity of the first terminal is detected to be lower than the electric quantity value of a preset proportion, judging whether the electric quantity of the first terminal is continuously increased;
when the electric quantity of the first terminal is continuously increased, the first terminal and the second terminal establish double-channel communication connection so as to determine that the data to be transmitted is sent to the second terminal through the double channels.
Optionally, the determining whether to establish a dual-channel communication connection with the second terminal according to the data volume to determine whether to send the data to be transmitted to the second terminal over the dual-channel step includes:
and if the transmission of the data to be transmitted is detected to be finished, generating prompt information of the completion of the transmission.
The invention also provides a dual channel communication device, which is applied to a first terminal, wherein the first terminal is in communication connection with a second terminal, and the dual channel communication device comprises:
the first calculation module is used for calculating the data volume of the data to be transmitted when the first terminal detects the data to be transmitted;
and the first determining module is used for determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels.
Optionally, the dual channels include a first transmission channel and a second transmission channel, where a transmission speed and a transmission energy consumption of the first transmission channel are both less than those of the second transmission channel;
the first determining module includes:
the first calculation unit is used for calculating the first time for transmitting the data to be transmitted through the first transmission channel according to the data amount;
the second calculation unit is used for calculating second time for transmitting the data to be transmitted through the second transmission channel according to the data quantity;
and the first transmission unit is used for establishing a dual-channel communication connection between the first terminal and the second terminal when the difference value between the first time and the second time is greater than a preset value or the first time is greater than the second time of a preset multiple, so as to determine that the data to be transmitted is sent to the second terminal through the dual channels.
Optionally, the transmission unit includes:
the temporary storage subunit is used for the first terminal to decompose the data to be transmitted to obtain each sub-packet, and temporarily store each sub-packet in a transmission queue of the data to be transmitted, which is generated by the first terminal;
the starting sub-unit is used for the first terminal to orderly transmit each sub-packet in the sending queue through the pre-established first transmission channel and synchronously start and establish a second transmission channel with the second terminal;
and the sending subunit is configured to send, after the second transmission channel is established, each of the other unsent sub-packets in the sending queue to the second terminal in the second transmission channel, so as to complete sending of the to-be-transmitted data to the second terminal through the two channels.
Optionally, the first determining module includes:
the obtaining unit is used for obtaining the current electric quantity of the first terminal when the difference value between the first time and the second time is larger than a preset value or the first time is longer than the second time of a preset multiple;
and the second transmission unit is used for establishing communication connection of the first transmission channel between the first terminal and the second terminal when the current electric quantity of the first terminal is lower than the electric quantity value of a preset proportion so as to determine that the data to be transmitted is sent to the second terminal through the first transmission channel.
Optionally, the dual channel communication device further comprises:
the third determining module is used for determining that a double-channel communication connection is established with the second terminal when the data volume is larger than a preset number value so as to determine that the data to be transmitted is sent to the second terminal through the double channels;
wherein, the binary channels include bluetooth transmission channel and WIFI passageway.
Optionally, the first determining module includes:
the judging unit is used for judging whether the electric quantity of the first terminal is continuously increased or not when the current electric quantity of the first terminal is detected to be lower than the electric quantity value of a preset proportion;
and the sending unit is used for establishing double-channel communication connection between the first terminal and the second terminal when the electric quantity of the first terminal is continuously increased so as to determine that the data to be transmitted is sent to the second terminal through the double channels.
Optionally, the dual channel communication device further comprises:
and the production module is used for generating prompt information of transmission completion if the transmission completion of the data to be transmitted is detected.
The present invention also provides a first terminal, including: a memory, a processor and a dual channel communication program stored on the memory and executable on the processor, the dual channel communication program when executed by the processor implementing the steps of the dual channel communication method as described above.
The invention also provides a medium on which a dual-channel communication program is stored, which, when executed by a processor, implements the steps of the dual-channel communication method as described above.
According to the invention, when the first terminal detects the data to be transmitted, the data volume of the data to be transmitted is calculated; and determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels. That is, in this application, when detecting first terminal and waiting to transmit data to the second terminal, no longer just the single channel carries out data transmission, but confirm whether need establish binary channels' communication connection according to the data volume of waiting to transmit data, with confirm whether will wait to transmit data through binary channels sends to the second terminal, also, in this application, can select to carry out the transmission of waiting to transmit data through the single channel, also can select to carry out the transmission of waiting to transmit data through binary channels, because can carry out the transmission of waiting to transmit data through binary channels and single channel, therefore can compromise the characteristics of different passageways, realize the balance of transmission speed demand and consumption demand in the transmission process, also the technical problem that it is difficult to balance transmission speed demand and consumption demand among the prior art has been solved to this application promptly.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
fig. 6 is a flowchart illustrating a dual channel communication method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present application proposes an optional implementation manner, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen may be a flexible screen, and the connecting portion may be a watch band. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application, where a screen of the device extends to two sides, and a part of the screen is covered on a watchband of the device. In other embodiments, the screen of the device may also be entirely covered on the watchband of the device, and this is not limited in this application.
Based on the wearable device hardware structure and the communication network first terminal, the invention provides various embodiments of the method.
The invention provides a dual-channel communication method, which is applied to a first terminal, wherein the first terminal is in communication connection with a second terminal, and in one embodiment of the dual-channel communication method, referring to fig. 6, the dual-channel communication method comprises the following steps:
step S10, when the first terminal detects the data to be transmitted, calculating the data volume of the data to be transmitted;
step S20, determining whether to establish a dual-channel communication connection with the second terminal according to the data amount, so as to determine whether to send the data to be transmitted to the second terminal through the dual-channel.
The method comprises the following specific steps:
step S10, when the first terminal detects the data to be transmitted, calculating the data volume of the data to be transmitted;
in this embodiment, the first terminal may be a mobile intelligent terminal such as a mobile phone and an IPAD, the second terminal may be a wearable device, or the first terminal may be a wearable device, the second terminal may be a mobile intelligent terminal, which will be specifically described below by taking the first terminal as a mobile intelligent terminal and the second terminal as a wearable device as an example, the wearable device includes a smart bracelet, a bendable wrist-phone smart watch, smart glasses, and other devices, specifically as shown in fig. 4 and 5, it is to be noted that in this embodiment, the wearable device and the mobile intelligent terminal are communicatively connected, specifically, the mobile intelligent terminal and the wearable device may be connected through WIFI, bluetooth, near field communication, and the like, during the connection between the mobile intelligent terminal and the wearable device through WIFI, bluetooth, near field communication, and the like, the connection in different manners may be achieved by requiring a user to download a specific connection application at the mobile intelligent terminal, the connection switch of modes such as specific WIFI, Bluetooth and near field communication can be opened on the quick switch bar of the mobile intelligent terminal to realize connection of different modes, wherein the mobile intelligent terminal can be a connection mode provided with a default single channel between the mobile intelligent terminal and the wearable equipment, the connection mode provided with the default single channel of the wearable equipment at the mobile intelligent terminal refers to that if the connection mode is determined to be the single channel, the connection mode is preferably selected from the default single channel mode, and if the mobile intelligent terminal is connected with the wearable equipment in the default single channel mode through Bluetooth.
Data transmission can be achieved between the mobile intelligent terminal and the wearable device through communication connection, and the data transmission comprises that the mobile intelligent terminal sends data such as pictures, videos or files to the wearable device, or the wearable device sends heart rate data, step counting data and the like obtained by detection of each sensor in the wearable device to the mobile intelligent terminal.
In this embodiment, on the basis that the mobile intelligent terminal is in communication connection with the wearable device, an example in which the mobile intelligent terminal sends data to the wearable device is specifically described.
The method comprises the following steps that when the mobile intelligent terminal detects data to be transmitted, the data volume of the data to be transmitted is calculated, wherein a user triggers the mobile intelligent terminal to send the data to be transmitted on a mobile intelligent terminal interface through clicking or touching, when a sensor of the mobile intelligent terminal detects the data to be transmitted, the data volume of the data to be transmitted can be calculated through a preset data volume calculation method, and the mode of acquiring the data volume of the data to be transmitted further comprises the following steps: and obtaining the data volume of the data to be transmitted by reading the attribute information of the data to be transmitted.
Step S20, determining whether to establish a dual-channel communication connection with the second terminal according to the data amount, so as to determine whether to send the data to be transmitted to the second terminal through the dual channel.
In this embodiment, determining whether to establish a dual-channel communication connection with the wearable device according to the data amount includes at least the following two ways:
the first method is as follows: determining whether to establish a dual-channel communication connection with the wearable device according to the data volume;
the second method comprises the following steps: and determining whether to establish a dual-channel communication connection with the wearable device according to the transmission time of the data volume.
Before determining whether to establish a dual-channel communication connection with the wearable device according to the data volume, the processing process of the data to be transmitted needs to be determined when the mobile intelligent terminal detects that the data to be transmitted is received by the wearable device, specifically, the processing process of the data to be transmitted is as follows:
when the mobile intelligent terminal is used as a data sending end and the wearable device is used as a data receiving end, the mobile intelligent terminal comprises a subpackaging device, a sending queue, a sending channel router and the like, the wearable device comprises a receiving channel router, a receiving queue, a unpacking device and the like, wherein the subpackaging device decomposes data to be transmitted into N subpackages (data packets), the sending queue refers to the subpackages from the subpackaging device and can be temporarily stored in the sending queue to wait for the sending channel router to read, each routing algorithm is included in the sending channel router, namely, the sending channel router can determine whether single-channel transmission or double-channel transmission according to the data volume according to each routing algorithm, when whether double-channel communication connection is established with the wearable device or not is determined according to the transmission time of the data volume, the sending channel router calculates different channels, the transmission time of the data amount to determine whether the transmission of data is performed through a single channel or a dual channel.
When the mobile intelligent terminal is used as a data receiving end, that is, the first terminal can be wearable equipment, the second terminal is a mobile intelligent terminal, the wearable equipment comprises a receiving channel router, a receiving queue, a unpacking device and the like, wherein the receiving channel router realizes that the subpackages are put into the receiving queue after receiving the subpackages from a single channel or double channels, the receiving queue temporarily stores the subpackages received from the receiving channel router to wait for the reading of the unpacking device, the unpacking device realizes that the subpackages are read from the receiving queue, and a complete subpackage corresponding to data to be transmitted is combined according to the information such as the packet serial number and the like The method includes receiving a queue, a depacketizer and the like, that is, in this embodiment, there is a packetizer, a sending queue and a sending channel router at a data sending end, when data needs to be transmitted, the packetizer decomposes the data to be transmitted into a certain number of packets, and notifies the sending channel router of the data amount, and the sending channel router determines a channel and then transmits the data to be transmitted through the determined channel. It should be noted that the packetization format in this embodiment may be as shown in table 1 below:
task number Packet sequence number Total number of packets Packet length Check code Payload
4 bytes 4 bytes 4 bytes 4 bytes 4 bytes
TABLE 1
The task number represents a complete data to be transmitted, for example, the data to be transmitted is a complete file, the packet sequence number represents a sequence number allocated to each sub-packet after the data to be transmitted is decomposed into a plurality of sub-packets, the total number of the packets represents the number of the data to be transmitted which is decomposed into the sub-packets, the packet length represents the length of one sub-packet, the Byte calculation is used, the check code represents check information of a payload part, the payload represents file content or other data content to be transmitted, and the integrity of each sub-packet data is checked through the packet length and the check code.
The dual channels comprise a first transmission channel and a second transmission channel, wherein the transmission speed and the transmission energy consumption of the first transmission channel are both smaller than those of the second transmission channel;
the step of determining whether to establish a dual-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the dual channels comprises the following steps:
step S21, calculating the first time for the data to be transmitted through the first transmission channel according to the data amount;
in this embodiment, the first transmission channel may be a bluetooth transmission channel, and the second transmission channel may be a WIFI transmission channel, where the bluetooth transmission is low in power consumption but low in transmission speed, and is suitable for transmission of a small amount of data over a long period, and the WIFI transmission is high in speed but high in power consumption, and is suitable for transmission of a large amount of data over a short period.
Step S22, calculating a second time for the data to be transmitted through the second transmission channel according to the data quantity;
and calculating second time for transmitting the data to be transmitted through the second transmission channel according to the data volume, wherein the data volume is known, and the theoretical transmission speed of the WiFi transmission channel is known, so that the second time can be calculated.
Step S23, when the difference between the first time and the second time is greater than a preset value, or when the first time is greater than the second time of a preset multiple, the first terminal and the second terminal establish a dual-channel communication connection, so as to determine that the data to be transmitted is sent to the second terminal through the dual-channel.
When the difference value between the first time and the second time is greater than a preset value, for example, the first time is more than half an hour than the second time, or when the first time is longer than the second time of a preset multiple, for example, the first time is longer than 2 times of the second time, the mobile intelligent terminal establishes a dual-channel communication connection with the wearable device to determine that the data to be transmitted is sent to the wearable device through the dual-channel, so that excessive resource consumption caused by an excessively fast single-channel speed or excessive time consumption caused by an excessively slow single-channel speed can be avoided.
The method comprises the following steps that a first terminal and a second terminal establish a dual-channel communication connection to determine that data to be transmitted is sent to the second terminal through the dual-channel communication connection, and the steps comprise:
step S231, the first terminal decomposes the data to be transmitted to obtain each sub-packet, and temporarily stores each sub-packet in a transmission queue of the data to be transmitted, which is generated by the first terminal;
in this embodiment, the mobile intelligent terminal first performs decomposition processing on the data to be transmitted to obtain each sub-packet, and temporarily stores each sub-packet in a transmission queue of the data to be transmitted, which is generated by the mobile intelligent terminal, specifically, the mobile intelligent terminal temporarily stores each sub-packet in order in the transmission queue of the data to be transmitted, which is generated by the mobile intelligent terminal.
Step S232, the first terminal orderly transmits each sub-packet in the sending queue through the pre-established first transmission channel, and synchronously starts to establish a second transmission channel with the second terminal;
if the transmission is carried out through the double channels, the mobile intelligent terminal orderly transmits each sub-packet in the sending queue through the pre-established first transmission channel, the orderly transmission refers to orderly transmission according to the packet sequence number of the sub-packet, wherein the pre-established first transmission channel is generally a default transmission channel, and after the mobile intelligent terminal orderly transmits each sub-packet in the sending queue through the pre-established first transmission channel, the mobile intelligent terminal synchronously starts to establish a second transmission channel with the wearable device, for example, one side firstly transmits a part of sub-packets through a Bluetooth transmission channel and synchronously starts to try to establish a WiFi transmission channel.
Step S233, after the second transmission channel is completely established, sending each of the other packets that are not sent in the sending queue to the second terminal in the second transmission channel, so as to complete sending the data to be transmitted to the second terminal through the two channels.
After the second transmission channel is established, for example, after the Wifi transmission channel is established, sending each unsent sub-packet in the sending queue to the wearable device in the second transmission channel to complete sending the data to be transmitted to the wearable device through the two channels, that is, sending each unsent sub-packet in the sending queue through the Wifi transmission channel to complete sending the data to be transmitted to the wearable device through the two channels. The wearable equipment at the data receiving end comprises a receiving channel router, a receiving queue and a unpacking device, wherein the receiving channel router receives the sub-packets from Bluetooth or WiFi and then puts the sub-packets into the receiving queue, and the unpacking device takes out the sub-packets from the receiving queue and then combines the complete data to be transmitted.
According to the invention, when the first terminal detects the data to be transmitted, the data volume of the data to be transmitted is calculated; and determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels. That is, in this application, when detecting that first terminal transmits the data that awaits transmission to the second terminal, no longer just the single channel carries out data transmission, but confirm whether need establish binary channels' communication connection according to the data volume of the data that awaits transmission, in order to confirm whether will await transmission data pass through binary channels send to the second terminal, also, in this application, can select to carry out the transmission of transmission data through the single channel, also can select to carry out the transmission of the data that awaits transmission through binary channels, because can carry out the transmission of the data that awaits transmission through binary channels and single channel, therefore can compromise the characteristics of different passageways, realize the balance of transmission speed demand and consumption demand in the transmission process, also this application has solved the technical problem that is difficult to balance transmission speed demand and consumption demand among the prior art.
Further, in another embodiment of the dual channel communication method of the present invention, after the step of calculating the second time for transmitting the data to be transmitted through the second transmission channel according to the data amount, the method includes:
step A1, when the difference between the first time and the second time is greater than a preset value, or when the first time is greater than the second time of a preset multiple, acquiring the current electric quantity of the first terminal;
in this embodiment, when a difference between the first time and the second time is greater than a preset value, or when the first time is greater than the second time of a preset multiple, the current electric quantity of the mobile intelligent terminal is further obtained, and the obtaining of the current electric quantity of the mobile intelligent terminal is to ensure whether the current electric quantity can support a second transmission channel with high electric consumption to transmit data to be transmitted.
Step A2, when the current electric quantity of the first terminal is lower than the electric quantity value of the preset proportion, the first terminal and the second terminal establish the communication connection of the first transmission channel, so as to determine that the data to be transmitted is sent to the second terminal through the first transmission channel.
When the current electric quantity of the mobile intelligent terminal is lower than a preset proportion electric quantity value, if the current electric quantity of the mobile intelligent terminal is lower than a preset 20% proportion electric quantity value, the mobile intelligent terminal and the wearable device establish communication connection of the first transmission channel so as to determine that the data to be transmitted is sent to the wearable device through the first transmission channel, and therefore excessive consumption of the electric quantity of the mobile intelligent terminal caused by the fact that the data to be transmitted is sent to the wearable device through the second transmission channel is avoided.
Wherein, the step of obtaining the current electric quantity of the first terminal comprises the following steps:
step B1, if the current electric quantity of the first terminal is detected to be lower than the electric quantity value of the preset proportion, judging whether the electric quantity of the first terminal is continuously increased;
and step B2, when the electric quantity of the first terminal is continuously increased, the first terminal and the second terminal establish a dual-channel communication connection so as to determine that the data to be transmitted is sent to the second terminal through the dual-channel.
It should be noted that, in this embodiment, if it is detected that the current electric quantity of the mobile intelligent terminal is lower than the electric quantity value of the preset proportion, and the electric quantity of the mobile intelligent terminal is continuously increased, the mobile intelligent terminal establishes the communication connection of the second transmission channel or the two channels with the wearable device, so as to determine that the data to be transmitted is sent to the wearable device through the two channels.
In this embodiment, the current electric quantity of the first terminal is obtained by when a difference between the first time and the second time is greater than a preset value, or when the first time is greater than a preset multiple of the second time; and when the current electric quantity of the first terminal is lower than the electric quantity value of a preset proportion, the first terminal and the second terminal establish communication connection of the first transmission channel so as to determine that the data to be transmitted is transmitted to the second terminal through the first transmission channel. In this embodiment, the characteristics of different channels are considered, and the electric quantity of the terminal is also considered, so that the balance between the transmission speed requirement and the power consumption requirement in the transmission process is realized.
Further, in another embodiment of the dual channel communication method provided by the present invention, in this embodiment, the determining whether to establish a dual channel communication connection with the second terminal according to the data volume to determine whether to send the data to be transmitted to the second terminal over the dual channel further includes:
step B1, when the data volume is larger than a preset quantity value, determining to establish a dual-channel communication connection with the second terminal so as to determine to send the data to be transmitted to the second terminal through the dual-channel;
wherein, the binary channels include bluetooth transmission channel and WIFI passageway.
In this embodiment, a single channel or a double channel may be determined only by the size of the data volume, and when the data volume is greater than or equal to a preset number value, a double channel communication connection is determined to be established with the wearable device, so as to determine that the data to be transmitted is sent to the wearable device through the double channel; when the data volume is smaller than a preset quantity value, the single-channel communication connection with the wearable equipment is determined, so that the data to be transmitted are determined to be transmitted to the wearable equipment through the single channel, such as the Bluetooth transmission channel.
In this embodiment, when the data volume is greater than a preset number value, determining that a dual-channel communication connection is established with the second terminal, so as to determine that the data to be transmitted is sent to the second terminal through the dual channels; wherein, the binary channels include bluetooth transmission channel and WIFI passageway. The data transmission method and the data transmission device have the advantages that the data to be transmitted are transmitted through a single channel or double channels according to the data volume, and the technical problem that the transmission speed requirement and the power consumption requirement are difficult to balance is solved.
Further, in another embodiment of the dual channel communication method provided by the present invention, after the determining whether to establish a dual channel communication connection with the second terminal according to the data amount to determine whether to send the data to be transmitted to the second terminal over the dual channel, the determining includes:
and step C1, if the data to be transmitted is detected to be transmitted, generating a prompt message of the completion of the transmission.
In this embodiment, when it is detected that the transmission of the data to be transmitted is completed, a transmission completion prompt message is generated to prompt the completion of the transmission of the data to be transmitted.
In addition, an embodiment of the present invention further provides a dual channel communication apparatus, where the dual channel communication apparatus is applied to a first terminal, and the first terminal is in communication connection with a second terminal, and the dual channel communication apparatus includes:
the first calculation module is used for calculating the data volume of the data to be transmitted when the first terminal detects the data to be transmitted;
and the first determining module is used for determining whether to establish double-channel communication connection with the second terminal according to the data volume so as to determine whether to send the data to be transmitted to the second terminal through the double channels.
Optionally, the dual channels include a first transmission channel and a second transmission channel, where a transmission speed and a transmission energy consumption of the first transmission channel are both less than those of the second transmission channel;
the first determining module includes:
the first calculation unit is used for calculating the first time for transmitting the data to be transmitted through the first transmission channel according to the data amount;
the second calculation unit is used for calculating second time for transmitting the data to be transmitted through the second transmission channel according to the data quantity;
and the first transmission unit is used for establishing a dual-channel communication connection between the first terminal and the second terminal when the difference value between the first time and the second time is greater than a preset value or the first time is greater than the second time of a preset multiple, so as to determine that the data to be transmitted is sent to the second terminal through the dual channels.
Optionally, the transmission unit includes:
the temporary storage subunit is used for the first terminal to decompose the data to be transmitted to obtain each sub-packet, and temporarily store each sub-packet in a transmission queue of the data to be transmitted, which is generated by the first terminal;
the starting sub-unit is used for the first terminal to orderly transmit each sub-packet in the sending queue through the pre-established first transmission channel and synchronously start and establish a second transmission channel with the second terminal;
and the sending subunit is configured to send, after the second transmission channel is established, each of the other packets that are not sent and are in the sending queue to the second terminal in the second transmission channel, so as to complete sending of the to-be-transmitted data to the second terminal through the two channels.
Optionally, the first determining module includes:
the obtaining unit is used for obtaining the current electric quantity of the first terminal when the difference value between the first time and the second time is larger than a preset value or the first time is longer than the second time of a preset multiple;
and the second transmission unit is used for establishing communication connection of the first transmission channel between the first terminal and the second terminal when the current electric quantity of the first terminal is lower than the electric quantity value of a preset proportion so as to determine that the data to be transmitted is sent to the second terminal through the first transmission channel.
Optionally, the dual channel communication device further comprises:
the third determining module is used for determining that a double-channel communication connection is established with the second terminal when the data volume is larger than a preset number value so as to determine that the data to be transmitted is sent to the second terminal through the double channels;
the dual channels comprise a Bluetooth transmission channel and a WIFI channel.
Optionally, the first determining module includes:
the judging unit is used for judging whether the electric quantity of the first terminal is continuously increased or not when the current electric quantity of the first terminal is detected to be lower than the electric quantity value of a preset proportion;
and the sending unit is used for establishing double-channel communication connection between the first terminal and the second terminal when the electric quantity of the first terminal is continuously increased so as to determine that the data to be transmitted is sent to the second terminal through the double channels.
Optionally, the dual channel communication device further comprises:
and the production module is used for generating prompt information of transmission completion if the transmission completion of the data to be transmitted is detected.
The dual channel communication apparatus of the present invention is substantially the same as the embodiments of the dual channel communication method described above, and will not be described herein again.
In addition, an embodiment of the present invention further provides a wearable device, where the wearable device includes: a memory 109, a processor 110, and a dual channel communication program stored on the memory 109 and executable on the processor 110, the dual channel communication program when executed by the processor 110 implementing the steps of the embodiments of the dual channel communication method described above.
Furthermore, the present invention also provides a computer medium storing one or more programs, which are also executable by one or more processors for implementing the steps of the embodiments of the dual channel communication method described above.
The specific implementation of the wearable device and the media (i.e., the computer media) of the present invention is basically the same as the embodiments of the dual-channel communication method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a wearable device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (5)

1. A dual-channel communication method is characterized in that the dual channel comprises a first transmission channel and a second transmission channel, wherein the transmission speed and the transmission energy consumption of the first transmission channel are both smaller than those of the second transmission channel, the dual-channel communication method is applied to a dual-channel communication system, the dual-channel communication system comprises a wearable device and a terminal, and the dual-channel communication method comprises the following steps:
when the terminal detects first data to be transmitted, calculating a first data volume of the first data to be transmitted;
determining whether to establish a dual-channel communication connection with the wearable device according to the first data volume so as to determine whether to send the first data to be transmitted to the wearable device through the dual-channel;
wherein the step of determining whether to establish a dual-channel communication connection with the wearable device according to the first data amount to determine whether to send the first data to be transmitted to the wearable device through the dual-channel comprises:
calculating first time for transmitting the first data to be transmitted through the first transmission channel according to the first data volume;
calculating second time for transmitting the first data to be transmitted through the second transmission channel according to the first data quantity;
when the difference between the first time and the second time is greater than a preset value or when the first time is greater than the second time of a preset multiple, the terminal establishes a two-channel communication connection with the wearable device to determine to send the first data to be transmitted to the wearable device through the two channels, wherein the step of establishing a two-channel communication connection between the terminal and the wearable device to determine to send the first data to be transmitted to the wearable device through the two channels includes:
the terminal decomposes the first data to be transmitted to obtain each sub-packet, and temporarily stores each sub-packet in a sending queue of the first data to be transmitted generated by the terminal;
the terminal orderly transmits each sub-packet in the sending queue through the pre-established first transmission channel and synchronously starts to establish a second transmission channel with the wearable device;
after the second transmission channel is established, sending the other sub-packets which are not sent in the sending queue to the wearable device in the second transmission channel, so as to finish sending the first data to be transmitted to the wearable device through the two channels.
2. The dual channel communication method as claimed in claim 1, wherein said step of calculating a second time for transmission of said first data to be transmitted via said second transmission channel based on said first data amount is followed by:
when the difference value between the first time and the second time is larger than a preset value, or when the first time is longer than the second time of a preset multiple, acquiring the current electric quantity of the terminal;
when the current electric quantity of the terminal is lower than the electric quantity value of the preset proportion, the terminal and the wearable device establish communication connection of the first transmission channel so as to determine that the first data to be transmitted is sent to the wearable device through the first transmission channel.
3. The dual channel communication method of claim 1, wherein the determining whether to establish a dual channel communication connection with the wearable device according to the first data amount to determine whether to send the first data to be transmitted to the wearable device over the dual channel further comprises:
when the first data volume is larger than a preset number value, determining to establish a dual-channel communication connection with the wearable device so as to determine to send the first data to be transmitted to the wearable device through the dual-channel;
wherein, the binary channels include bluetooth transmission channel and WIFI passageway.
4. A dual channel communication system, the dual channel communication system comprising: memory, a processor and a dual channel communication program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the dual channel communication method as claimed in any of claims 1 to 3.
5. A medium having a dual channel communication program stored thereon, which when executed by a processor implements the steps of the dual channel communication method of any one of claims 1 to 3.
CN201910370427.3A 2019-04-30 2019-04-30 Dual-channel communication method, device, first terminal and medium Active CN110072295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910370427.3A CN110072295B (en) 2019-04-30 2019-04-30 Dual-channel communication method, device, first terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910370427.3A CN110072295B (en) 2019-04-30 2019-04-30 Dual-channel communication method, device, first terminal and medium

Publications (2)

Publication Number Publication Date
CN110072295A CN110072295A (en) 2019-07-30
CN110072295B true CN110072295B (en) 2022-08-09

Family

ID=67369947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910370427.3A Active CN110072295B (en) 2019-04-30 2019-04-30 Dual-channel communication method, device, first terminal and medium

Country Status (1)

Country Link
CN (1) CN110072295B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112089968A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Neck massager, data transmission method thereof and computer storage medium
CN112866928B (en) * 2021-01-12 2022-10-28 刘盛荣 Control method and device of intelligent furniture and intelligent furniture
CN114422079B (en) * 2021-12-15 2023-02-28 广州市玄武无线科技股份有限公司 Data transmission method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015131582A1 (en) * 2014-09-24 2015-09-11 中兴通讯股份有限公司 Method, terminal, system for short-distance data transmission, and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519458B (en) * 2014-12-29 2018-10-26 宇龙计算机通信科技(深圳)有限公司 A kind of method of network connection, terminal, wireless router and system
CN107018554B (en) * 2017-03-07 2020-11-06 Oppo广东移动通信有限公司 Data transmission method and device and intelligent terminal
CN107682882A (en) * 2017-09-29 2018-02-09 努比亚技术有限公司 Data transmission method, mobile terminal and computer-readable recording medium
US11528101B2 (en) * 2017-10-12 2022-12-13 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for control information triggering in wireless networks

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015131582A1 (en) * 2014-09-24 2015-09-11 中兴通讯股份有限公司 Method, terminal, system for short-distance data transmission, and computer storage medium

Also Published As

Publication number Publication date
CN110072295A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN109982179B (en) Audio signal output method and device, wearable device and storage medium
CN110072295B (en) Dual-channel communication method, device, first terminal and medium
CN110350935B (en) Audio signal output control method, wearable device and readable storage medium
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110098845B (en) Message processing method, wearable device, mobile terminal and readable storage medium
CN109976612B (en) Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110213637B (en) Method for adding watermark to video file, wearable device and readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN109933187B (en) Wearing equipment operation control method, wearing equipment and computer readable storage medium
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN109933400B (en) Display interface layout method, wearable device and computer readable storage medium
CN110099162B (en) Page display processing method and wearable device
CN110657794A (en) Compass calibration method of wearable device, wearable device and storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110058918B (en) Picture processing method, wearable device and computer readable storage medium
CN110111786B (en) Audio processing method, equipment and computer readable storage medium
CN110138965B (en) Wearable device, number formatting method and device thereof, and storage medium
CN109976608B (en) Application timing method and device and computer readable storage medium
CN110012164B (en) Sound playing method of equipment, wearable equipment and computer readable storage medium
CN110087222B (en) Role switching control method, communication device, and storage medium
CN110007761B (en) Wearable device, control method thereof and computer readable storage medium
CN110120208B (en) Method for automatically adjusting screen display, wearable device and storage medium
CN110109605B (en) Image sharing method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220722

Address after: 710000 No. 19-21, floor 12, block a, zhongdeng city garden, Fengcheng 4th Road, Weiyang Road, economic and Technological Development Zone, Xi'an, Shaanxi Province

Applicant after: Xi'an Shangding Energy Technology Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant