CN108990173A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN108990173A
CN108990173A CN201810911853.9A CN201810911853A CN108990173A CN 108990173 A CN108990173 A CN 108990173A CN 201810911853 A CN201810911853 A CN 201810911853A CN 108990173 A CN108990173 A CN 108990173A
Authority
CN
China
Prior art keywords
data
intercom
terminal
transfer function
transmission
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.)
Pending
Application number
CN201810911853.9A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810911853.9A priority Critical patent/CN108990173A/en
Publication of CN108990173A publication Critical patent/CN108990173A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to data transmission method and devices.This method comprises: passing through the data network transmission data when the terminal is in data network;When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.The technical solution can be convenient user and can be not in data network in terminal, still is able to using terminal and other people link up, avoid user from losing, and succour in time when user occurs dangerous.

Description

Data transmission method and device
Technical field
This disclosure relates to wireless communication technology field more particularly to data transmission method and device.
Background technique
Mobile phone only has the function of mobile phone, can only be carried out data transmission using data in mobile phone network, in no data network In the case of, it can not carry out data transmission.
Summary of the invention
The embodiment of the present disclosure provides data transmission method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of data transmission method is provided, is applied to that there is intercom transmission The terminal of functional chip, which comprises
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
It is in one embodiment, described to pass through the intercom transfer function chip transmission of data, comprising:
The first data to be sent are obtained by intercom application;
First data are sent by the intercom transfer function chip;
The second data of other terminals transmission are received by the intercom transfer function chip;
Second data are shown by intercom application.
It is in one embodiment, described to pass through the intercom transfer function chip transmission of data, comprising:
When the data of transmission include the data of digital form, by the intercom transfer function chip with dual-tone multifrequency The mode of dtmf signaling transmits data.
In one embodiment, first data include voice data, described to be sent by intercom application acquisition The first data, comprising:
Detecting that starting microphone acquires voice in input call instruction in the user interface of intercom application Data.
In one embodiment, first data include address location data, it is described by intercom application obtain to The first data sent, comprising:
Detecting that, when input position shares instruction in the user interface of intercom application, positioning obtains the end The position data at end;
It is described that first data are sent by the intercom transfer function chip, comprising:
The position data of the terminal is sent by the intercom transfer function chip according to predetermined period timing;
Second data include address location data, described to show second data by intercom application, Include:
The address location data are shown on the map interface of intercom application.
According to the second aspect of an embodiment of the present disclosure, a kind of data transmission device is provided, is applied to that there is intercom transmission The terminal of functional chip, described device include:
First transmission module, for passing through the data network transmission data when the terminal is in data network;
Second transmission module, for passing through the intercom transfer function when the terminal is not in data network Chip transmission of data.
In one embodiment, second transmission module includes:
Acquisition submodule, for obtaining the first data to be sent by intercom application;
Sending submodule, for sending first data by the intercom transfer function chip;
Receiving submodule, for receiving the second data of other terminals transmission by the intercom transfer function chip;
Submodule is shown, for showing second data by intercom application.
In one embodiment, second transmission module includes:
Submodule is transmitted, when for the data in transmission including the data of digital form, passes through the intercom and transmits function Energy chip transmits data in a manner of dual tone multi-frequency dtmf signaling.
In one embodiment, first data include voice data, the acquisition submodule, for detecting In the user interface of the intercom application when input call instruction, starting microphone acquires voice data.
In one embodiment, first data include address location data, and second data include address location Data;
The acquisition submodule, for detecting that input position sharing refers in the user interface of intercom application When enabling, positioning obtains the position data of the terminal;
The sending submodule, for passing through described in the intercom transfer function chip transmission according to predetermined period timing The position data of terminal;
The displaying submodule, for showing the address location data on the map interface that the intercom is applied.
According to the third aspect of an embodiment of the present disclosure, a kind of data transmission device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, computer is stored with and refers to It enables, the step in the above method is realized when the computer instruction is executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits: the present embodiment can be at the end When end is in data network, pass through the data network transmission data;When the terminal is not in data network, pass through The intercom transfer function chip transmission of data;Facilitate user that can be not in data network in terminal, still be able to using Terminal is linked up with other people, and user is avoided to lose, and is succoured in time when user occurs dangerous.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of data transmission method shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of data transmission device shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of data transmission device shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of data transmission device shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of data transmission device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of data transmission method shown according to an exemplary embodiment, as shown in Figure 1, the number It is applied in the terminal with intercom transfer function chip according to transmission method, includes the following steps 101-102:
In a step 101, when the terminal is in data network, pass through the data network transmission data;
In a step 102, it when the terminal is not in data network, is passed by the intercom transfer function chip Transmission of data.
Here, which includes telephone network, 2G (Second Generation, second generation mobile communication system skill Art specification) data networks such as network, 3G network, 4G network and 5G network and WiFi (Wireless Fidelity) network.When terminal is in When in these data networks, terminal can be carried out data transmission by the data network, such as carry out voice communication, information transmit-receive, The various data transmission such as video calling, file transmission.
Here, when terminal is not in data network, terminal can by intercom transfer function chip transmission of data, The intercom function chip has the function of that radio-frequency receiving-transmitting, radio frequency refer to the frequency electromagnetic waves with remote transmittability, intercommunication The radio-frequency receiving-transmitting of machine transfer function chip needs not rely on data network and can be carried out receiving and dispatching.The intercom of this terminal transmits function Can the data that can be transmitted of chip carry out AFSK (AFSK audio frequency shift keying, Audio Frequency Shift Keying) or Radio frequency is sent out after GMSK (Gaussian Minimum Shift-frequency Keying, Gaussian Filtered Minimum Shift Keying) modulation Out, as long as other terminals or intercom with intercom transfer function chip are in same with the intercom transfer function chip One frequency can receive modulated data, can get the data carrying out corresponding demodulation.In this way, in terminal When being not in data network, terminal can pass through intercom transfer function chip transmission of data.
Exemplary, when user removes camping outdoors with friend or household, the terminal that user carries may be not in data In network, at this point, user can pass through the intercom transfer function chip transmission of data with friend or household's using terminal, into Row is linked up, and prevents personnel from losing, and when user occurs dangerous, being linked up by using family terminal quickly to be obtained Rescue.
The present embodiment can pass through the data network transmission data when the terminal is in data network;Institute When stating terminal and being not in data network, pass through the intercom transfer function chip transmission of data;Facilitate user can be at end End is not in data network, still is able to using terminal and other people link up, user is avoided to lose, and when user occurs dangerous Relief in time.
In a kind of possible embodiment, following step can be implemented as in step 102 in above-mentioned data transmission method Rapid A1 to A4.
In step A1, the first data to be sent are obtained by intercom application.
In step A2, first data are sent by the intercom transfer function chip.
In step A3, the second data of other terminals transmission are received by the intercom transfer function chip.
In step A4, second data are shown by intercom application.
Here, intercom application can be set in terminal, terminal starts the intercom and applies into intercom application User interface, user can input the first data to be sent on the user interface, in this way, terminal can be answered by intercom With the first data to be sent are obtained, then, terminal can send first data by intercom transfer function chip.
Here, terminal, can be with after the second data for receiving the transmission of other terminals by the intercom transfer function chip Second data are shown by intercom application, and exemplary, when the second data are voice data, terminal can be right Say voice output second data in the user interface of machine application, certainly, the user interface that terminal can also be applied in intercom Upper text importing second data etc..
The present embodiment can obtain the first data to be sent by intercom application;Pass through the intercom transfer function Chip sends first data;The second data of other terminals transmission are received by the intercom transfer function chip;It is logical The intercom is crossed using second data are shown, the cooperation with intercom transfer function chip is so applied by intercom It sends and receives data, realizes simple.
In a kind of possible embodiment, following step can be implemented as in step 102 in above-mentioned data transmission method Rapid B1.
In step B1, when the data of transmission include the data of digital form, pass through the intercom transfer function core Piece transmits data in a manner of dual tone multi-frequency dtmf signaling.
Here, DTMF (Dual Tone Multi Frequency, the dual-tone multifrequency) signaling is by high frequency group and low frequency group At height frequency group respectively includes 4 frequencies.One high-frequency signal and low frequency signal superposition one combination signal of composition, represent One number can be used to transmit the data of digital form, therefore the present embodiment can include digital form in the data of transmission When data, data are transmitted in a manner of dtmf signaling the intercom transfer function chip, here, since dtmf signaling is Ten digital codes of 0-9 and other function code are represented using respectively taking an audio to be combined from two sound groups of height, then plus Harmonic relationships are not present between each frequency of this upper 8 audio signals, greatly reduce the interference of spurious signal, thus dtmf signaling Functional reliability especially anti-interference ability is very strong, therefore transmits data in a manner of dtmf signaling and the anti-interference of communication can be improved Ability.
What needs to be explained here is that being decoded after other terminals receive the dtmf signaling can be obtained by accordingly It is digital.
It is exemplary, when the data of transmission be geographic position data such as: latitude and longitude information (39.7129371444, 116.8132351351) when, which can be converted to dtmf signaling by terminal, then pass through intercom transfer function Chip is sent, and is carried out data transmission, and after other side receives the dtmf signaling, is decoded and the latitude and longitude information can be obtained, To achieve the purpose that data are transmitted.
The present embodiment can pass through the intercom transfer function core when the data of transmission include the data of digital form Piece transmits data in a manner of dtmf signaling, improves the anti-interference ability of communication.
In a kind of possible embodiment, when first data include voice data, above-mentioned data transmission method In step A1 may be embodied as following steps A11.
In step A11, is detecting in input call instruction in the user interface of intercom application, starting wheat Gram elegance collection voice data.
Here, user can first start intercom application, the user of intercom application when using terminal is just conversed Intercom talk key is shown on interface, when user presses the intercom talk key, terminal is detected by user and answers in intercom The call instruction inputted in user interface, at this point, terminal will start microphone acquisition voice data, and user should in pressing Voice can be inputted while intercom talk key, in this way, terminal can collect voice data, terminal is collecting voice After data, so that it may send the voice data by the intercom transfer function chip.
What needs to be explained here is that user after finishing, can unclamp the intercom talk key, terminal is not just detected at this time To call instruct, terminal can mute microphone (MIC), stop the acquisition of voice data.
What needs to be explained here is that terminal is in the voice for receiving the transmission of other terminals by the intercom transfer function chip When data, voice output voice data in the user interface that the intercom is applied can be passed through.
The present embodiment can detected in input call instruction in the user interface of intercom application, start wheat Gram elegance collection voice data, thus can send the voice data by intercom transfer function chip, complete the voice number According to transmission, realize call function.
It include address location data, above-mentioned transmission side data in first data in a kind of possible embodiment Step A1 in method can be implemented as following steps A12, and step A2 can be implemented as following steps A21, in second data When including address location data, step A4 can be implemented as following steps A41.
In step A12, detecting when input position shares instruction in the user interface of intercom application, it is fixed Position obtains the position data of the terminal.
In step A21, the terminal is sent by the intercom transfer function chip according to predetermined period timing Position data.
In step A41, the address location data are shown on the map interface of intercom application.
Here, terminal can realize that position is shared in no data network, and user can answer in the intercom to open a terminal With rear, input position shares instruction in the user interface of intercom application, and terminal, can when detecting that instruction is shared in the position To pass through the position data of global navigation satellite technological orientation terminal, which can be GPS (Global Positioning System, global positioning system) or the location technologies such as Beidou technology.
Here, terminal can be passed according to predetermined period by the intercom after navigating to the position data of the terminal Transmission function chip regularly sends the position data of the terminal, and the position data of terminal can be such as regularly sent every three minutes, In this way, the position data of user terminal is sent to other terminals, it can prevent user from losing, it can also when user occurs dangerous Timely to be rescued.
Here, terminal can also receive the ground of other terminals of other terminals transmission by intercom transfer function chip Position data is managed, terminal, can be on the map interface that intercom is applied described in display after receiving the geographic position data Address location data, exemplary, the icon that can be shown on map interface identifies the address location data, and user is facilitated to understand Understand the position of the user of other terminals.
What needs to be explained here is that terminal can also be after positioning obtains the position data of the terminal, in the intercommunication The address location data of the terminal are shown on the map interface of machine application;In this way, user can know on map interface Position where oneself prevents user lost.
The present embodiment can be when receiving position sharing instruction by the intercom application, and positioning obtains the terminal Position data, the position data of the terminal is regularly sent by the intercom transfer function chip according to predetermined period, And the address location data shown on the map interface of intercom application, oneself can be so shared with other people Geographical location can prevent user from losing, also available when user occurs dangerous timely to rescue.
Realization process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of data transmission method shown according to an exemplary embodiment, as shown in Fig. 2, the number It can be realized by terminal according to transmission method, including step 201-205.
In step 201, when the terminal is in data network, pass through the data network transmission data.
It in step 202, include voice data in first data when the terminal is not in data network When, detecting that starting microphone acquires voice data in input call instruction in the user interface of intercom application.
In step 203, first data are sent by the intercom transfer function chip.
In step 204, the second data of other terminals transmission are received by the intercom transfer function chip.
In step 205, second data are shown by intercom application.
Fig. 3 is a kind of flow chart of data transmission method shown according to an exemplary embodiment, as shown in figure 3, the number It can be realized by terminal according to transmission method, including step 301-305.
In step 301, when the terminal is in data network, pass through the data network transmission data.
In step 302, when the terminal is not in data network, the use in intercom application is being detected When input position shares instruction on the interface of family, positioning obtains the position data of the terminal.
First data include address location data.
In step 303, the terminal is sent by the intercom transfer function chip according to predetermined period timing Position data.
In step 304, the second data of other terminals transmission are received by the intercom transfer function chip, it is described Second data include address location data.
In step 305, the address location data are shown on the map interface of intercom application.
Here, when the data of transmission include the data of digital form, by the intercom transfer function chip with double The mode of sound multifrequency dtmf signaling transmits data.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of data transmission device shown according to an exemplary embodiment, which is applied to have The terminal of intercom transfer function chip can pass through the portion of software, hardware or both being implemented in combination with as electronic equipment Divide or whole.As shown in figure 4,
First transmission module 401, for passing through the data network transmission number when the terminal is in data network According to;
Second transmission module 402, for transmitting function by the intercom when the terminal is not in data network It can chip transmission of data.
As a kind of possible embodiment, Fig. 5 is a kind of data transmission device shown according to an exemplary embodiment Block diagram, as shown in figure 5, data transmission device disclosed above can also be configured to the second transmission module 402 to include obtaining son Module 4021, sending submodule 4022, receiving submodule 4023 and displaying submodule 4024, in which:
Acquisition submodule 4021, for obtaining the first data to be sent by intercom application;
Sending submodule 4022, for sending first data by the intercom transfer function chip;
Receiving submodule 4023, for receiving the second number of other terminals transmission by the intercom transfer function chip According to;
Submodule 4024 is shown, for showing second data by intercom application.
As a kind of possible embodiment, Fig. 6 is a kind of data transmission device shown according to an exemplary embodiment Block diagram, as shown in fig. 6, data transmission device disclosed above can also be configured to the second transmission module 402 to include transmission Module 4025, in which:
Submodule 4025 is transmitted, when for the data in transmission including the data of digital form, is passed by the intercom Transmission function chip transmits data in a manner of dual tone multi-frequency dtmf signaling.
As a kind of possible embodiment, in data transmission device disclosed above, first data include voice number According to, the acquisition submodule 4021, for detecting in input call instruction in the user interface of intercom application, Start microphone and acquires voice data.
As a kind of possible embodiment, in data transmission device disclosed above, first data include address bit Data are set, second data include address location data;
The acquisition submodule 4021, for detecting the input position point in the user interface of intercom application When enjoying instruction, positioning obtains the position data of the terminal;
The sending submodule 4022 is sent for passing through the intercom transfer function chip according to predetermined period timing The position data of the terminal;
The displaying submodule 4024, for showing the address location number on the map interface that the intercom is applied According to.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is a kind of block diagram for data transmission device shown according to an exemplary embodiment, which is suitable for Terminal device.For example, device 700 can be mobile phone, game console, computer, tablet device, personal digital assistant etc..
Device 700 may include following one or more components: processing component 701, memory 702, power supply module 703, Multimedia component 704, audio component 705, input/output (I/O) interface 706, sensor module 707 and communication component 708。
The integrated operation of the usual control device 700 of processing component 701, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 701 may include that one or more processors 720 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 701 may include one or more modules, just Interaction between processing component 701 and other assemblies.For example, processing component 701 may include multi-media module, it is more to facilitate Interaction between media component 704 and processing component 701.
Memory 702 is configured as storing various types of data to support the operation in device 700.These data are shown Example includes the instruction of any application or method for operating on device 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 702 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 703 provides electric power for the various assemblies of device 700.Power supply module 703 may include power management system System, one or more power supplys and other with for device 700 generate, manage, and distribute the associated component of electric power.
Multimedia component 704 includes the screen of one output interface of offer between described device 700 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 704 includes a front camera and/or rear camera.When device 700 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 705 is configured as output and/or input audio signal.For example, audio component 705 includes a Mike Wind (MIC), when device 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 702 or via communication set Part 708 is sent.In some embodiments, audio component 705 further includes a loudspeaker, is used for output audio signal.
The interface 706 of I/O provides interface, above-mentioned peripheral interface module between processing component 701 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 707 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor module 707 can detecte the state that opens/closes of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor module 707 can be with 700 1 components of detection device 700 or device Position change, the existence or non-existence that user contacts with device 700,700 orientation of device or acceleration/deceleration and device 700 Temperature change.Sensor module 707 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 707 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 708 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 708 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 708 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 702 of instruction, above-metioned instruction can be executed by the processor 720 of device 700 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 700 When device executes, so that device 700 is able to carry out above-mentioned data transmission method, which comprises
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
It is in one embodiment, described to pass through the intercom transfer function chip transmission of data, comprising:
The first data to be sent are obtained by intercom application;
First data are sent by the intercom transfer function chip;
The second data of other terminals transmission are received by the intercom transfer function chip;
Second data are shown by intercom application.
It is in one embodiment, described to pass through the intercom transfer function chip transmission of data, comprising:
When the data of transmission include the data of digital form, by the intercom transfer function chip with dual-tone multifrequency The mode of dtmf signaling transmits data.
In one embodiment, first data include voice data, described to be sent by intercom application acquisition The first data, comprising:
Detecting that starting microphone acquires voice in input call instruction in the user interface of intercom application Data.
In one embodiment, first data include address location data, it is described by intercom application obtain to The first data sent, comprising:
Detecting that, when input position shares instruction in the user interface of intercom application, positioning obtains the end The position data at end;
It is described that first data are sent by the intercom transfer function chip, comprising:
The position data of the terminal is sent by the intercom transfer function chip according to predetermined period timing;
Second data include address location data, described to show second data by intercom application, Include:
The address location data are shown on the map interface of intercom application.
The present embodiment additionally provides a kind of data transmission device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
Above-mentioned processor can be additionally configured to:
It is described to pass through the intercom transfer function chip transmission of data, comprising:
The first data to be sent are obtained by intercom application;
First data are sent by the intercom transfer function chip;
The second data of other terminals transmission are received by the intercom transfer function chip;
Second data are shown by intercom application.
Above-mentioned processor can be additionally configured to:
It is described to pass through the intercom transfer function chip transmission of data, comprising:
When the data of transmission include the data of digital form, by the intercom transfer function chip with dual-tone multifrequency The mode of dtmf signaling transmits data.
Above-mentioned processor can be additionally configured to:
First data include voice data, described to obtain the first data to be sent by intercom application, comprising:
Detecting that starting microphone acquires voice in input call instruction in the user interface of intercom application Data.
Above-mentioned processor can be additionally configured to:
First data include address location data, described to obtain the first data to be sent by intercom application, Include:
Detecting that, when input position shares instruction in the user interface of intercom application, positioning obtains the end The position data at end;
It is described that first data are sent by the intercom transfer function chip, comprising:
The position data of the terminal is sent by the intercom transfer function chip according to predetermined period timing;
Second data include address location data, described to show second data by intercom application, Include:
The address location data are shown on the map interface of intercom application.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (12)

1. a kind of data transmission method, which is characterized in that applied to the terminal with intercom transfer function chip, the method Include:
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
2. the method according to claim 1, wherein described transmit number by the intercom transfer function chip According to, comprising:
The first data to be sent are obtained by intercom application;
First data are sent by the intercom transfer function chip;
The second data of other terminals transmission are received by the intercom transfer function chip;
Second data are shown by intercom application.
3. the method according to claim 1, wherein described transmit number by the intercom transfer function chip According to, comprising:
When the data of transmission include the data of digital form, by the intercom transfer function chip with dual tone multi-frequency dtmf The mode of signaling transmits data.
4. according to the method described in claim 2, it is characterized in that, first data include voice data, it is described by pair Say that machine application obtains the first data to be sent, comprising:
Detecting that starting microphone acquires voice number in input call instruction in the user interface of intercom application According to.
5. described logical according to the method described in claim 2, it is characterized in that, first data include address location data It crosses intercom application and obtains the first data to be sent, comprising:
Detecting that, when input position shares instruction in the user interface of intercom application, positioning obtains the terminal Position data;
It is described that first data are sent by the intercom transfer function chip, comprising:
The position data of the terminal is sent by the intercom transfer function chip according to predetermined period timing;
Second data include address location data, described to show second data by intercom application, comprising:
The address location data are shown on the map interface of intercom application.
6. a kind of data transmission device, which is characterized in that applied to the terminal with intercom transfer function chip, described device Include:
First transmission module, for passing through the data network transmission data when the terminal is in data network;
Second transmission module, for passing through the intercom transfer function chip when the terminal is not in data network Transmit data.
7. device according to claim 6, which is characterized in that second transmission module includes:
Acquisition submodule, for obtaining the first data to be sent by intercom application;
Sending submodule, for sending first data by the intercom transfer function chip;
Receiving submodule, for receiving the second data of other terminals transmission by the intercom transfer function chip;
Submodule is shown, for showing second data by intercom application.
8. device according to claim 6, which is characterized in that second transmission module includes:
Submodule is transmitted, when for the data in transmission including the data of digital form, passes through the intercom transfer function core Piece transmits data in a manner of dual tone multi-frequency dtmf signaling.
9. device according to claim 7, which is characterized in that first data include voice data, acquisition Module, for detecting that starting microphone acquires language in input call instruction in the user interface of intercom application Sound data.
10. device according to claim 7, which is characterized in that first data include address location data, and described Two data include address location data;
The acquisition submodule, for detecting that input position shares instruction in the user interface of intercom application When, positioning obtains the position data of the terminal;
The sending submodule, for sending the terminal by the intercom transfer function chip according to predetermined period timing Position data;
The displaying submodule, for showing the address location data on the map interface that the intercom is applied.
11. a kind of data transmission device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the terminal is in data network, pass through the data network transmission data;
When the terminal is not in data network, pass through the intercom transfer function chip transmission of data.
12. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the computer instruction is located Manage the step realized in any one of claim 1 to 5 the method when device executes.
CN201810911853.9A 2018-08-10 2018-08-10 Data transmission method and device Pending CN108990173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810911853.9A CN108990173A (en) 2018-08-10 2018-08-10 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911853.9A CN108990173A (en) 2018-08-10 2018-08-10 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN108990173A true CN108990173A (en) 2018-12-11

Family

ID=64552797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911853.9A Pending CN108990173A (en) 2018-08-10 2018-08-10 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN108990173A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243410A (en) * 1998-07-23 2000-02-02 葳峰科技股份有限公司 Radio telephone set group with radio speakerphone function
CN2840523Y (en) * 2005-08-29 2006-11-22 浙江家泰电器制造有限公司 Multifunction communication terminal
CN201156811Y (en) * 2008-02-05 2008-11-26 北京中航天诚科技有限公司 Wireless mobile communication apparatus
CN101568195A (en) * 2009-06-05 2009-10-28 电子科技大学 Handhold communication apparatus
CN101860582A (en) * 2010-06-09 2010-10-13 佳信通讯有限公司 Mobile phone and interphone two-in-one combined device
CN202111773U (en) * 2011-06-20 2012-01-11 严和平 Intercom cellphone
CN202696715U (en) * 2012-06-15 2013-01-23 深圳市鑫银通科技有限公司 Cellphone with talkback function
CN103987020A (en) * 2014-04-25 2014-08-13 小米科技有限责任公司 Method and device for transmitting information
CN104300999A (en) * 2014-11-03 2015-01-21 陈松初 External device achieving interphone function through mobile phones and control method of external device
CN107786688A (en) * 2016-08-26 2018-03-09 展讯通信(上海)有限公司 Mobile terminal with intercom function

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1243410A (en) * 1998-07-23 2000-02-02 葳峰科技股份有限公司 Radio telephone set group with radio speakerphone function
CN2840523Y (en) * 2005-08-29 2006-11-22 浙江家泰电器制造有限公司 Multifunction communication terminal
CN201156811Y (en) * 2008-02-05 2008-11-26 北京中航天诚科技有限公司 Wireless mobile communication apparatus
CN101568195A (en) * 2009-06-05 2009-10-28 电子科技大学 Handhold communication apparatus
CN101860582A (en) * 2010-06-09 2010-10-13 佳信通讯有限公司 Mobile phone and interphone two-in-one combined device
CN202111773U (en) * 2011-06-20 2012-01-11 严和平 Intercom cellphone
CN202696715U (en) * 2012-06-15 2013-01-23 深圳市鑫银通科技有限公司 Cellphone with talkback function
CN103987020A (en) * 2014-04-25 2014-08-13 小米科技有限责任公司 Method and device for transmitting information
CN104300999A (en) * 2014-11-03 2015-01-21 陈松初 External device achieving interphone function through mobile phones and control method of external device
CN107786688A (en) * 2016-08-26 2018-03-09 展讯通信(上海)有限公司 Mobile terminal with intercom function

Similar Documents

Publication Publication Date Title
CN109547987A (en) The call method and device of nfc card
CN104159230B (en) Call recognition methods and device
CN106657737B (en) CCD camera assembly and terminal
CN109599104A (en) Multi-beam choosing method and device
CN104767860A (en) Incoming call prompt method and device and terminal
CN104464238A (en) Method and device for controlling operation between mobile terminals
CN110463238A (en) Information uploading method and device, configuration method and device, multi-card terminal, base station
CN105068651A (en) Method, device, terminal and server for controlling alarm clock
CN108307308A (en) Localization method, device and the storage medium of WLAN devices
CN109903765A (en) Sound control method and device
CN109314989A (en) Indicate, determine the method, apparatus and storage medium of the transmission direction of transmission unit
CN105450861B (en) Information cuing method and device
CN105451321B (en) Promote the method, device and equipment of WIFI signal intensity
CN108391464A (en) System message method of reseptance and device, system message sending method and device
CN105338482A (en) Method and device for emergency call
CN110121148A (en) Intercom organizing method and device
CN108990173A (en) Data transmission method and device
CN105847570B (en) The means of communication and device
CN105162998B (en) The denoising method and device of touch-tone signal
CN109451832A (en) Wireless communications method, device and computer readable storage medium
CN111245980B (en) Split type mobile terminal and voice control method thereof
CN108370476A (en) The method and device of microphone, audio frequency process
CN106357911A (en) Communication event prompting method and device and specified graph setting method and device
CN106549704A (en) A kind of mobile terminal emergency communication device and mobile terminal
US20220174650A1 (en) Methods and apparatuses for configuring a control region

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211