CN110868497A - Data transmission method and device and electronic equipment - Google Patents

Data transmission method and device and electronic equipment Download PDF

Info

Publication number
CN110868497A
CN110868497A CN201911077886.9A CN201911077886A CN110868497A CN 110868497 A CN110868497 A CN 110868497A CN 201911077886 A CN201911077886 A CN 201911077886A CN 110868497 A CN110868497 A CN 110868497A
Authority
CN
China
Prior art keywords
data
module
zone bit
data zone
bit
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.)
Granted
Application number
CN201911077886.9A
Other languages
Chinese (zh)
Other versions
CN110868497B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911077886.9A priority Critical patent/CN110868497B/en
Publication of CN110868497A publication Critical patent/CN110868497A/en
Application granted granted Critical
Publication of CN110868497B publication Critical patent/CN110868497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3833Hand-held transceivers
    • H04B1/3838Arrangements for reducing RF exposure to the user, e.g. by changing the shape of the transceiver while in use

Landscapes

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

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device and electronic equipment. The method is applied to a sending end, the sending end transmits data to a receiving end through an MIPI (Mobile industry processor interface), and the method comprises the following steps: acquiring an original data zone bit, wherein the original data zone bit is a data zone bit of original RAW data to be transmitted; adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits; and obtaining target RAW data according to the target data zone bit. The embodiment of the invention solves the problem that the MIPI interface of the electronic equipment is easy to cause energy radiation to the electromagnetic sensing element.

Description

Data transmission method and device and electronic equipment
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a data transmission method and apparatus, and an electronic device.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. A Mobile Industry Processor Interface (MIPI) is a high-speed differential serial transmission Interface, which is widely used in image transmission, radio frequency and baseband interfaces of various electronic devices. Electronic equipment needs to integrate various external devices, such as a Camera Module (CMOS Camera Module, CCM), a Liquid Crystal Display Module (LCM), and the like, and data transmission is performed by using an MIPI interface. At present, in MIPI interfaces, more mature interfaces include a Display Serial Interface (DSI) and a camera Interface (CMOS Sensor Interface, CSI).
When these external devices are operating, the MIPI interface transmission is in High Speed (HS) signal mode; in the HS mode, high-order harmonic energy generated by a transmitted high-speed digital signal is radiated to the surroundings. The electronic equipment is limited by the appearance size, an antenna or other various electromagnetic sensitive devices are usually arranged around a camera and a display screen, and when the electromagnetic sensitive devices receive signals, the electromagnetic sensitive devices are easily interfered by radiation of MIPI signals, so that the normal work of the electromagnetic sensitive devices is influenced.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device and electronic equipment, and aims to solve the problem that in the prior art, an MIPI (million Instructions interface) of the electronic equipment is easy to radiate energy to an electromagnetic sensing element.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a sending end, where the sending end transmits data to a receiving end through an MIPI interface of a mobile industry processor, and the method includes: acquiring an original data zone bit, wherein the original data zone bit is a data zone bit of original RAW data to be transmitted;
adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits;
and obtaining target RAW data according to the target data zone bit.
In a second aspect, an embodiment of the present invention provides a data transmission method, which is applied to a receiving end, where the method includes:
receiving target RAW data sent by an MIPI (Mobile industry processor) interface of a mobile industry processor, and acquiring a target data zone bit of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit;
and decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit.
In a third aspect, an embodiment of the present invention provides a data transmission method, which is applied to an electronic device, where the electronic device includes a sending end and a receiving end, and the sending end transmits data to the receiving end through an MIPI interface of a mobile industry processor, where the method includes:
when the received signal strength indication RSSI of the receiver module of the electronic equipment is higher than a preset RSSI threshold value;
sending switching indication information to the sending end, and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit;
and sending target coding information related to the preset coding mode to the receiving end.
In a fourth aspect, an embodiment of the present invention provides a data transmission apparatus, which is applied to a sending end, where the sending end transmits data to a receiving end through an MIPI interface of a mobile industry processor, and the apparatus includes:
the system comprises a flag bit acquisition module, a flag bit acquisition module and a flag bit acquisition module, wherein the flag bit acquisition module is used for acquiring an original data flag bit, and the original data flag bit is a data flag bit of original RAW data to be transmitted;
the encoding module is used for adjusting the original data zone bit according to a preset encoding mode to obtain a target data zone bit;
and the data sending module is used for obtaining target RAW data according to the target data zone bit.
In a fifth aspect, an embodiment of the present invention provides a data transmission apparatus, which is applied to a receiving end, where the apparatus includes:
the system comprises a data receiving module, a data transmitting module and a data receiving module, wherein the data receiving module is used for receiving target RAW data sent by an MIPI (mobile industry processor) interface of a mobile industry processor and acquiring a target data zone bit of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit;
and the decoding module is used for decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a sending end and a receiving end, where the sending end transmits data to the receiving end through an MIPI interface of a mobile industry processor, and the electronic device includes:
the RSSI detection module is used for detecting whether the received signal strength indication RSSI of the receiver module of the electronic equipment is higher than a preset RSSI threshold value;
the switching indication module is used for sending switching indication information to the sending end and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit;
and the rule indicating module is used for sending target coding information related to the preset coding mode to the receiving end.
In a seventh aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the data transmission method when executing the computer program.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps in the data transmission method described above.
In the embodiment of the invention, the original data zone bit is obtained by the sending end; adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits; the target data zone bit replaces the original data zone bit, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the present invention;
FIG. 2 shows one of the simulation diagrams of a second example of embodiment of the invention;
FIG. 3 shows a second simulation diagram of a second example of the embodiment of the present invention;
FIG. 4 is a diagram of a default encoding module according to an embodiment of the invention;
fig. 5 is a second flowchart of a data transmission method according to an embodiment of the invention;
FIG. 6 is a diagram of a default decoding module according to an embodiment of the invention;
fig. 7 is a third flowchart of a data transmission method according to an embodiment of the present invention;
FIG. 8 shows a flow chart of a third example of an embodiment of the invention;
fig. 9 is a block diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 10 shows a second block diagram of a data transmission apparatus according to an embodiment of the invention.
FIG. 11 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 12 is a second block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a data transmission method, which is applied to a sending end, where the sending end transmits data to a receiving end through a MIPI interface of a mobile industry processor, where the MIPI interface may be an image transmission interface or an LCM interface, and the method includes:
step 101, acquiring a mark bit of original data; the original data zone bit is a data zone bit of original RAW data to be transmitted.
The data to be transmitted may be original RAW data; specifically, the RAW data is a RAW image file, i.e., RAW data that is not processed, and the image sensor converts the captured light source signal into RAW data of a digital signal. RAW data includes captured RAW information of an image sensor, and some metadata generated by photographing, such as shutter speed, aperture value, and white balance.
When the MIPI interface transmits data, a cycle period T exists, and n data are transmitted in each period T; in each data transmitted in different periods T, there are either several identical data bits, or the first several data bits have strict similarity (i.e. the similarity is higher than a preset threshold), and the data bits are original data flag bits. For example, the data to be transmitted in one period includes 40 bits (bit), ABCDEFGHXX XXXXXXXXXX xxxxxxxxxxxxxx respectively; ABCDEFGH is the original data flag bit, and X indicates that the data on the bit is randomly 0 or 1; for example, the data transmitted in each cycle may be as shown in the first example below:
period 1: 1110100001111000101111010110100011001000, respectively;
period 2: 1110100011111000100001110110100000010010, respectively;
period 3: 1110100000000100011010011110100001011010, respectively;
period 4: 1110100011111000011010111110100011010010, respectively;
period 5: 1110100010000100001101100001100011000011, respectively;
as can be seen from the above data, the first 8 bits of each data are "11101000", and then 11101000 is the flag bit of the original data to be transmitted in the period.
And step 102, adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits.
When ABCDEFGH is the same or has strict similarity in each period, the generated spectrum also has a certain periodicity, and therefore, the transmitted data may generate a spectrum peak at a fixed frequency domain position; if a strong signal power is generated just in the working frequency band of the electronic equipment (the electronic equipment where the sending end and the receiving end are located), the electromagnetic interference on the electromagnetic sensing part of the electronic equipment is serious; and different digital combinations have different corresponding frequency domains and frequency spectrums.
As a second example, as shown in FIG. 2, FIG. 2 is a simulated spectrum of "111 XXXXX"; FIG. 4 is a simulated spectrum for data "001 XXXXX"; wherein for frequency point m3, its frequency point value is 2.133GHz (gigahertz), and its signal power is-34.079 dB in FIG. 2; the signal power is-45.675 dB (decibels) in FIG. 3; if the electronic device communicates in the B1 frequency band, the receiving frequency band frequency is 2110MHz-2170MHz, and it is assumed that the originally adopted 111XXXXXX coding mode causes the receiver band to receive 2.133GHz noise energy; after the coding mode is changed into the 001XXXXX coding mode, the noise energy on the 2.133GHz frequency point is reduced by 11dB, and the sensitivity is also improved.
Therefore, the original data zone bits are recoded in a preset coding mode to obtain different target data zone bits, so that the data zone bits in each period are not the same or strictly similar and are possibly changed into random data; the performance of the electromagnetic sensitive device can be improved by adjusting the data combination form of the original data zone bit and changing the frequency spectrum of the original data zone bit.
And 103, obtaining target RAW data according to the target data zone bit.
After the original data zone bit is replaced by a target data zone bit, carrying the target data zone bit on RAW data and sending the RAW data to a receiving end, and after the receiving end receives the RAW data, decrypting the target data zone bit according to a decoding rule corresponding to the preset coding mode to obtain the original data zone bit and finish data transmission; therefore, if the performance of the electromagnetic sensitive device is detected to be poor by the electronic equipment, the sending end can be controlled to switch the coding mode, and the energy radiation of the MIPI interface to the electromagnetic sensitive device is reduced.
In the above embodiment of the present invention, the sending end obtains the flag bit of the original data; adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits; the target data zone bit replaces the original data zone bit, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved. The embodiment of the invention solves the problem that the MIPI interface of the electronic equipment is easy to cause energy radiation to the electromagnetic sensing element.
Optionally, in this embodiment of the present invention, step 102 includes:
and inputting the original data zone bit to a preset coding module, and adjusting the original data zone bit through the preset coding module.
The device comprises a preset coding module and a preset decoding module, wherein the preset coding module is used for coding the zone bit of the original data, and the preset coding module changes a coding scheme.
Optionally, in this embodiment of the present invention, step 102 includes:
adjusting the position of the original data zone bit in the original RAW data according to a first preset coding mode;
and/or the presence of a gas in the gas,
and adjusting the coding value of at least part of data in the original data zone bit according to a second preset coding mode.
Wherein, adjusting the position of the original data flag bit in the original RAW data adjusts the order of data in the RAW data.
And adjusting the encoding value of at least part of the data in the original data flag bit, namely replacing the encoding value of part of the data with other values, such as inverting part of the data in the original data flag bit.
The above coding method includes three cases, where the first case is to invert part of the data in the flag bits of the original data, for example, if the first 4 bit bits are inverted, ABCDEFGH is mapped as
Figure BDA0002263043390000071
EFGH, as in 11101000 maps to 00011000;
the second case is: adjusting by adjusting an order of data in the RAW data; for example, the ABCDEFGGHXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX combination is adjusted to XXXXXXXXXXXAB XXXXXXXXXXXXCD XXXXXXXXXXXXXXXXXXXXXXGH;
in case three, case one and case two can also be combined, i.e. the partial inversion is done simultaneously with the adjustment of the order.
Further, referring to fig. 4, in the embodiment of the present invention, the preset encoding module includes a D flip-flop and a logic gate module for executing the first operation logic;
the first input of the logic gate module is the original data zone bit, and bit data in the original data zone bit in fig. 5 is input into the first input a bit by bit;
the second input of the logic gate module is an initial preset value or the output of the D trigger, and the input of the D trigger is the output of the logic gate module; the secondary state of the D flip-flop depends on the state of the D end before triggering, namely, the secondary state is D. Therefore, it has two functions of setting 0 and setting 1. In fig. 5, if the output C is 1, the D flip-flop inputs data to the second input B; when the output C is 0, the D flip-flop does not input data to the second input B, and the second input D maintains the data in the previous state.
The output of the preset encoding module is the output of the logic gate module, and as shown in fig. 5, the data of the output C is the target encoding module and can be directly input to the receiving end.
The logic gate module can be a double-input and single-output logic device, such as an exclusive-or gate and an exclusive-or gate; or an exclusive or gate, an exclusive or gate and other logic device combinations, such as an exclusive or gate + not gate; or other logic gate modules; the logic gate module performs the following first operation logic, as shown in table 1:
table 1:
first input A Second input B Output C (type 1) Output C (type 2)
1 0 1 0
1 1 0 1
0 0 1 0
0 1 0 1
That is, when the first input a is equal to 1 and the second input B is equal to 0, the output C may be 1 or 0.
Taking the logic gate module as an exclusive-or gate as an example, the flag bits of the original data are 1, 0, 1, and after being serially and sequentially input through the logic gate module, the initial first input a is 1, if the initial value of the second input B is 0, the output C is 1, after passing through the delay device (D flip-flop),
the new second input B is equal to 1, and at the same time, the input a is equal to 0 (next bit data of MIPI data), the output C is equal to 1, … …, and the flow is sequentially circulated, and the flag bit of the target data after final processing is 1101.
When the ABCDEFGHGXX XXXXXXXXXXXXXXXXXXXXXXXX is re-encoded by the pre-determined encoding module, the original fixed data at the ABCDEFGH position is transformed into random data, and the energy of the peak in the spectrum will be reduced. In all frequency bands, the overall noise energy in a certain bandwidth is reduced compared with the noise energy before being coded.
In the above embodiment of the present invention, the sending end obtains the flag bit of the original data; adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits; the target data zone bit replaces the original data zone bit, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved. The embodiment of the invention solves the problem that the MIPI interface of the electronic equipment is easy to cause energy radiation to the electromagnetic sensing element.
Referring to fig. 5, another embodiment of the present invention provides a data transmission method, which is applied to a receiving end that receives data transmitted by a transmitting end through a MIPI interface of a mobile industry processor, where the MIPI interface may be an image transmission interface or an LCM interface, and the method includes:
step 501, receiving target RAW data sent by an MIPI (mobile industry processor interface) of a mobile industry processor, and acquiring a target data zone bit of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit.
The receiving end receives RAW data sent by the sending end through the MIPI; RAW data is RAW data, i.e., RAW data obtained by converting a captured light source signal into a digital signal by an image sensor. RAW data includes captured RAW information of an image sensor, and some metadata generated by photographing, such as shutter speed, aperture value, and white balance.
A receiving end receives RAW data and then acquires a target data zone bit therein, wherein the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; specifically, when a sending end transmits data through an MIPI interface, a cycle period T exists, and n data are transmitted in each cycle T; in each data transmitted in different periods T, there are either several identical data bits, or the first several data bits have strict similarity (i.e. the similarity is higher than a preset threshold), and the data bits are original data flag bits. For example, the data to be transmitted in one period includes 40 bits (bit), ABCDEFGHXX XXXXXXXXXX xxxxxxxxxxxxxx respectively; ABCDEFGH is the original data flag bit, and X indicates that the data on the bit is randomly 0 or 1; for example, the data transmitted in each cycle may be as shown in the first example below:
period 1: 1110100001111000101111010110100011001000, respectively;
period 2: 1110100011111000100001110110100000010010, respectively;
period 3: 1110100000000100011010011110100001011010, respectively;
period 4: 1110100011111000011010111110100011010010, respectively;
period 5: 1110100010000100001101100001100011000011, respectively;
as can be seen from the above data, the first 8 bits of each data are "11101000", and then 11101000 is the flag bit of the original data to be transmitted in the period.
When ABCDEFGH is the same or has strict similarity in each period, the generated spectrum also has a certain periodicity, and therefore, the transmitted data may generate a spectrum peak at a fixed frequency domain position; if a strong signal power is generated just in the working frequency band of the electronic equipment (the electronic equipment where the sending end and the receiving end are located), the electromagnetic interference on the electromagnetic sensing part of the electronic equipment is serious; and different digital combinations have different corresponding frequency domains and frequency spectrums.
As a second example, as shown in FIG. 2, FIG. 2 is a simulated spectrum of "111 XXXXX"; FIG. 3 is a simulated spectrum for data "001 XXXXX"; wherein, for the frequency point m3, the frequency point value is 2.133GHz (gigahertz), the signal power is-34.079 dB in FIG. 2, and the signal power is-45.675 dB in FIG. 3; if the electronic device communicates in the B1 frequency band, the receiving frequency band frequency is 2110MHz-2170MHz, and it is assumed that the originally adopted 111XXXXXX coding mode causes the receiver band to receive 2.133GHz noise energy; after the coding mode is changed into the 001XXXXX coding mode, the noise energy on the 2.133GHz frequency point is reduced by 11dB, and the sensitivity is also improved.
Therefore, the sending end recodes the original data zone bits in a preset coding mode to obtain different target data zone bits, so that the data zone bits in each period are not the same or strictly similar and are possibly changed into random data; the performance of the electromagnetic sensitive device can be improved by adjusting the data combination form of the original data zone bit and changing the frequency spectrum of the original data zone bit.
Step 502, decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit.
After the receiving end receives the RAW data, the target data zone bit is decrypted according to a decoding rule corresponding to the preset coding mode to obtain the original data zone bit, and data transmission is completed; therefore, if the performance of the electromagnetic sensitive device is detected to be poor by the electronic equipment, the sending end can be controlled to switch the coding mode, and the energy radiation of the MIPI interface to the electromagnetic sensitive device is reduced.
Optionally, in an embodiment of the present invention, step 502 includes one of the first or second ways, wherein,
the first method is as follows: inputting the target data zone bit into a preset decoding module, and decoding the original data zone bit through the preset decoding module;
the second method comprises the following steps: and decoding the target data zone bit according to a first preset coding mode and/or a second preset coding mode.
The first mode includes a preset decoding module for decoding the target data flag bit, and if the preset encoding module at the transmitting end changes the encoding scheme, the receiving end decodes the target data flag bit by using the decoding module corresponding to the preset encoding module.
The second mode includes three cases, where the first mode is a first preset coding mode, and the first preset coding mode may be that a preset coding module at the transmitting end inverts part of the data in the original data flag bits, for example, if the first 4 bits are inverted, ABCDEFGH is mapped as ABCDEFGH
Figure BDA0002263043390000111
EFGH, as mapped 11101000; the receiving end restores the inverted bit, that is, the bit is restored
Figure BDA0002263043390000112
EFGH is reduced to ABCDEFGH. 11101000 is reduced as 00011000.
Case two is a second predetermined encoding scheme: the second preset encoding manner may be that the transmitting end adjusts by adjusting an order of data in the RAW data; for example, the ABCDEFGXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX combination is adjusted to XXXXXXXXXXXAB XXXXXXXXXXCD XXXXXXXXXXXXEF XXXXXXXXGH; the receiving end restores the data by adopting a reverse restoring mode.
In case three, the first and second cases may also be combined, that is, the first preset encoding mode and the second preset encoding mode are performed simultaneously, for example, partial inversion and adjustment sequence are performed simultaneously, and the receiving end restores the first preset encoding mode and the second preset encoding mode according to an adjustment scheme reverse to the first preset encoding mode.
Further, referring to fig. 6, in the embodiment of the present invention, the preset decoding module includes a D flip-flop and a logic gate module executing a second operation logic;
the first input of the logic gate module is the target data zone bit, and bit data in the target data zone bit in fig. 6 is input into the first input a bit by bit;
the second input of the logic gate module is an initial preset value or the output of the D trigger; the input of the D trigger is the output of the logic gate module; the secondary state of the D flip-flop depends on the state of the D end before triggering, namely, the secondary state is D. Therefore, it has two functions of setting 0 and setting 1. In fig. 7, if the output C is 1, the D flip-flop inputs data to the second input B; when the output C is 0, the D flip-flop does not input data to the second input B, and the second input D maintains the data in the previous state.
And the output of the preset decoding module is the output of the logic gate module.
The logic gate module can be a double-input and single-output logic device, such as an exclusive-or gate and an exclusive-or gate; or an exclusive or gate, an exclusive or gate and other logic device combinations, such as an exclusive or gate + not gate; or other logic gate modules; the logic gate module executes the following second operation logic, as shown in table 2:
table 2:
first input A Second input B Output C (type 1) Output C (type 2)
1 0 1 0
0 1 1 1
1 0 0 0
0 1 0 1
That is, when the first input a is equal to 1 and the second input B is equal to 0, the output C may be 1 or 0.
Taking the logic gate module as an exclusive-or gate as an example, the flag bits of the original data are 1, 0, 1 and 1, after the original data are serially and sequentially input and pass through the logic gate module of the preset encoding module, the initial first input a is 1, if the initial value of the second input B is 0, the output C is 1, after passing through the delay device (D flip-flop),
the new second input B is equal to 1, and at the same time, the input a is equal to 0 (next bit data of MIPI data), the output C is equal to 1, … …, the process is sequentially circulated, and the flag bit of the target data after final processing is yes, the data received by the receiving end is yes.
If the logic gate module at the receiving end is also an exclusive-or gate, after sequentially inputting the target data flag bits of 1, 0 and 1 in series and passing through the logic gate module of the preset decoding module, the initial first input A is 1, if the initial value of the second input B is 0, the output C is 1, after passing through the delay device (D trigger),
the new second input B is equal to 1, and the input a is equal to 1 (next bit data of MIPI data), the output C is equal to 0, … …, the process is sequentially circulated, and the target data flag after final processing is yes, so that the data received by the receiving end is 1, 0, 1.
When the ABCDEFGHXX xxxxxxxxxxxxxxxxxx is re-encoded by the pre-encoding module, the original fixed data at the ABCDEFGH position is converted into random data, and the energy of the peak on the spectrum received by the receiving end is reduced. In all frequency bands, the overall noise energy in a certain bandwidth is reduced compared with the noise energy before being coded.
In the above embodiment of the present invention, the receiving end receives the target data flag bit after the sending end adjusts the original data flag bit according to a preset encoding mode; and decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit, so that the original data zone bit is replaced by the target data zone bit, the frequency spectrum of the original data bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of an electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved. The embodiment of the invention solves the problem that the MIPI interface of the electronic equipment is easy to cause energy radiation to the electromagnetic sensing element.
Referring to fig. 7, an embodiment of the present invention provides a data transmission method, which is applied to an electronic device, where the electronic device includes a sending end and a receiving end, where the sending end transmits data to the receiving end through a MIPI interface of a mobile industry processor, where the MIPI interface may be an image transmission interface or an LCM interface;
the method comprises the following steps:
step 701, in a case that a received signal strength indication RSSI of a receiver module of the electronic device is higher than a preset RSSI threshold value.
The Received Signal Strength Indication (RSSI) represents the overall Strength of the in-band Signal Received by the current receiver module, and may reflect the Received noise Strength of the receiver module under the current coding scheme, and a lower value thereof represents that the interference noise Received by the peripheral device (electromagnetic sensitive device) of the MIPI interface is lower, and the sensitivity performance is better. The preset RSSI threshold value is the preset highest value, if the current RSSI exceeds the preset RSSI threshold value, the fact that under the current MIPI interface coding mode, large interference noise exists in a receiver module band can cause sensitivity reduction
Therefore, the electronic device performs code switching when it detects that the RSSI of its receiver module is above a preset RSSI threshold.
Step 702, sending a switching indication message to the sending end, and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain the target data zone bit.
When the electronic equipment executes coding switching, the sending end is instructed to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit; when a sending end transmits data through an MIPI interface, a cycle period T exists, and n data are transmitted in each period T; in each data transmitted in different periods T, there are either several identical data bits, or the first several data bits have strict similarity (i.e. the similarity is higher than a preset threshold), and the data bits are original data flag bits. For example, the data to be transmitted in one period includes 40 bits (bit), ABCDEFGHXX xxxxxxxxxxxxxxxxxxxxxx, xxxxxxxxxxxxxx, respectively; ABCDEFGH is the original data flag bit, and X indicates that the data on the bit is randomly 0 or 1; for example, the data transmitted in each cycle may be as shown in the first example below:
period 1: 1110100001111000101111010110100011001000, respectively;
period 2: 1110100011111000100001110110100000010010, respectively;
period 3: 1110100000000100011010011110100001011010, respectively;
period 4: 1110100011111000011010111110100011010010, respectively;
period 5: 1110100010000100001101100001100011000011, respectively;
as can be seen from the above data, the first 8 bits of each data are "11101000", and then 11101000 is the flag bit of the original data to be transmitted in the period.
When ABCDEFGH is the same or has strict similarity in each period, the generated spectrum also has a certain periodicity, and therefore, the transmitted data may generate a spectrum peak at a fixed frequency domain position; if a strong signal power is generated just in the working frequency band of the electronic equipment (the electronic equipment where the sending end and the receiving end are located), the electromagnetic interference on the electromagnetic sensing part of the electronic equipment is serious; the frequency domain and the frequency spectrum corresponding to different digital combinations are different, so that the sending end recodes the original data zone bits in a preset coding mode to obtain different target data zone bits, and the data zone bits in each period are not the same or strictly similar and are possibly changed into random data; the performance of the electromagnetic sensitive device can be improved by adjusting the data combination form of the original data zone bit and changing the frequency spectrum of the original data zone bit.
Step 703, sending target coding information related to the preset coding mode to the receiving end.
The electronic equipment acquires target coding information after the sending end is switched, indicates the target coding information to the receiving end, and enables the receiving end to decode the target data zone bits according to the preset coding mode to obtain the original data zone bits.
It can be understood that, in the embodiment of the present invention, the encoding manner is preset as in the above embodiment, the process executed by the sending end; the decoding rule corresponding to the preset encoding mode is as in the above embodiments, and the process executed by the receiving end is not described herein again.
As a third example, referring to fig. 8, an application scenario of a data transmission method provided in the embodiment of the present invention mainly includes the following steps:
step 801, a sending end stores a plurality of coding rules in advance;
step 802, a sending end uses an initial coding rule to code a data zone bit of RAW data to obtain an original data zone bit;
step 803, the electronic device determines whether the RSSI of its receiver module is higher than a preset RSSI threshold, if so, step 804 is executed to instruct the sending end to switch the encoding rule; if not, go to step 805, record the current encoding rule of the sending end.
Step 804, the sending end switches the coding rule to re-code to obtain a target data flag bit; and returns to step 803.
In the above embodiment of the present invention, when the RSSI, which is an indication of the received signal strength of the receiver module of the electronic device, is higher than the threshold of the preset RSSI, the switching indication information is sent to the sending end, and the sending end is instructed to adjust the original data flag bit according to the preset encoding mode, so as to obtain the target data flag bit; sending target coding information related to the preset coding mode to the receiving end, so that the receiving end decodes the target data zone bits according to the preset coding mode to obtain the original data zone bits; the target data zone bit is used for replacing the original data zone bit by controlling the matching of the sending end and the receiving end, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved. The embodiment of the invention solves the problem that the MIPI interface of the electronic equipment is easy to cause energy radiation to the electromagnetic sensing element.
With the above description of the data transmission method according to the embodiment of the present invention, a data transmission device and an electronic device according to the embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 9, an embodiment of the present invention provides a data transmission apparatus 900, which is applied to a sending end, where the sending end transmits data to a receiving end through an MIPI interface of a mobile industry processor, and the apparatus includes:
a flag bit obtaining module 901, configured to obtain an original data flag bit, where the original data flag bit is a data flag bit of original RAW data to be transmitted;
the encoding module 902 is configured to adjust the original data flag bit according to a preset encoding manner to obtain a target data flag bit;
and a data sending module 903, configured to obtain target RAW data according to the target data flag.
Optionally, in this embodiment of the present invention, the encoding module 902 includes:
and the first coding submodule is used for inputting the original data zone bits into a preset coding module and adjusting the original data zone bits through the preset coding module.
Optionally, in an embodiment of the present invention, the preset encoding module includes a D flip-flop and a logic gate module that executes a first operation logic;
the first input of the logic gate module is the original data zone bit, and the second input of the logic gate module is an initial preset value or the output of the D trigger;
the input of the D trigger is the output of the logic gate module;
and the output of the preset coding module is the output of the logic gate module.
Optionally, in this embodiment of the present invention, the encoding module 902 includes:
the second coding submodule is used for adjusting the position of the original data zone bit in the original RAW data according to a first preset coding mode;
and/or the presence of a gas in the gas,
and the third coding submodule is used for adjusting the coding value of at least part of data in the original data zone bits according to a second preset coding mode.
In the above embodiment of the present invention, the flag bit obtaining module 901 obtains the flag bit of the original data; the encoding module 902 adjusts the original data zone bits according to a preset encoding mode to obtain target data zone bits; the data sending module 903 sends the RAW data to the receiving end, the target data zone bit replaces the original data zone bit, the frequency spectrum of the original data bit is changed, the frequency spectrum interference of the MIPI signal in the communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved.
Referring to fig. 10, an embodiment of the present invention provides a data transmission apparatus 1000, which is applied to a receiving end, and the apparatus includes:
a data receiving module 1001, configured to receive target RAW data sent by an MIPI interface of a mobile industry processor, and obtain a target data flag of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit;
the decoding module 1002 is configured to decode the target data zone bit according to the preset encoding manner, so as to obtain the original data zone bit.
Optionally, in this embodiment of the present invention, the decoding module 1002 includes:
the first decoding submodule is used for inputting the target data zone bit into a preset decoding module and decoding the original data zone bit through the preset decoding module;
or
And the second decoding submodule is used for decoding the target data zone bit according to the first preset coding mode and/or the second preset coding mode.
Optionally, in the embodiment of the present invention, the preset encoding module includes a D flip-flop and a logic gate module that executes a second operation logic;
the first input of the logic gate module is the target data zone bit, and the second input of the logic gate module is an initial preset value or the output of the D trigger;
the input of the D trigger is the output of the logic gate module;
and the output of the preset decoding module is the output of the logic gate module.
In the above embodiment of the present invention, the data receiving module 1001 receives the target data flag bit after the sending end adjusts the original data flag bit according to a preset encoding mode; the decoding module 1002 decodes the target data flag bit according to the preset encoding mode to obtain the original data flag bit, so as to replace the original data flag bit with the target data flag bit, change the frequency spectrum of the original data bit, reduce the frequency spectrum interference of the MIPI signal in the communication frequency band and the energy radiation to the electromagnetic sensitive device, and improve the performance of the electromagnetic sensitive device of the electronic device.
Referring to fig. 11, an embodiment of the present invention provides an electronic device 1100, where the electronic device 1100 includes a sending end and a receiving end, where the sending end transmits data to the receiving end through an MIPI interface of a mobile industry processor, and the electronic device includes:
an RSSI detection module 1101, configured to, when a received signal strength indication RSSI of a receiver module of the electronic device is higher than a preset RSSI threshold value;
a switching indication module 1102, configured to send switching indication information to the sending end, instruct the sending end to adjust an original data flag bit according to a preset encoding mode, and obtain a target data flag bit;
a rule indicating module 1103, configured to send target coding information related to the preset coding mode to the receiving end.
In the above embodiment of the present invention, when the RSSI of the RSSI detection module 1101 is higher than the RSSI threshold, the switching indication module 1102 sends switching indication information to the sending end, and instructs the sending end to adjust the original data flag bit according to a preset encoding mode, so as to obtain the target data flag bit; the rule indicating module 1103 sends target coding information related to the preset coding mode to the receiving end, so that the receiving end decodes the target data flag bit according to the preset coding mode to obtain the original data flag bit; the target data zone bit is used for replacing the original data zone bit by controlling the matching of the sending end and the receiving end, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved.
FIG. 12 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 1210 is configured to, in a case that a received signal strength indication RSSI of a receiver module of the electronic device is higher than a preset RSSI threshold;
sending switching indication information to the sending end, and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit;
and sending target coding information related to the preset coding mode to the receiving end.
In the embodiment of the invention, under the condition that the received signal strength indicator RSSI of the receiver module of the electronic equipment is higher than a preset RSSI threshold value, switching indication information is sent to the sending end to indicate the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit; sending target coding information related to the preset coding mode to the receiving end, so that the receiving end decodes the target data zone bits according to the preset coding mode to obtain the original data zone bits; the target data zone bit is used for replacing the original data zone bit by controlling the matching of the sending end and the receiving end, the frequency spectrum of the original data zone bit is changed, the frequency spectrum interference of the MIPI signal in a communication frequency band and the energy radiation of the electromagnetic sensitive device are reduced, and the performance of the electromagnetic sensitive device of the electronic equipment is improved. .
It should be noted that, in this embodiment, the electronic device 1200 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 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 1201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1202, such as to assist the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the electronic apparatus 1200 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or the backlight when the electronic device 1200 moves to the ear. As one type of motion sensor, an 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 to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 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 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the electronic apparatus 1200. 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 1208 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1200 or may be used to transmit data between the electronic apparatus 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, 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 1209 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 1210 is a control center of the electronic device, connects various parts of the whole electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby performing overall monitoring of the electronic device. Processor 1210 may include one or more processing units; preferably, the processor 1210 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 is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may further include a power source 1211 (e.g., a battery) for providing power to the various components, and preferably, the power source 1211 may be logically coupled to the processor 1210 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1210, a memory 1209, and a computer program stored in the memory 1209 and capable of running on the processor 1210, where the computer program, when executed by the processor 1210, implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 solutions 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 terminal (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 (10)

1. A data transmission method is applied to a sending end, the sending end transmits data to a receiving end through an MIPI interface of a mobile industry processor, and the method is characterized by comprising the following steps:
acquiring an original data zone bit, wherein the original data zone bit is a data zone bit of original RAW data to be transmitted;
adjusting the original data zone bits according to a preset coding mode to obtain target data zone bits;
and obtaining target RAW data according to the target data zone bit.
2. The data transmission method according to claim 1, wherein the adjusting the original data flag according to a preset coding scheme comprises:
and inputting the original data zone bit to a preset coding module, and adjusting the original data zone bit through the preset coding module.
3. The data transmission method according to claim 2, wherein the predetermined encoding module comprises a D flip-flop and a logic gate module for executing the first operation logic;
the first input of the logic gate module is the original data zone bit, and the second input of the logic gate module is an initial preset value or the output of the D trigger;
the input of the D trigger is the output of the logic gate module;
and the output of the preset coding module is the output of the logic gate module.
4. The data transmission method according to claim 1, wherein the adjusting the original data flag according to a preset coding scheme comprises:
adjusting the position of the original data zone bit in the original RAW data according to a first preset coding mode;
and/or the presence of a gas in the gas,
and adjusting the coding value of at least part of data in the original data zone bit according to a second preset coding mode.
5. A data transmission method is applied to a receiving end, and is characterized by comprising the following steps:
receiving target RAW data sent by an MIPI (Mobile industry processor) interface of a mobile industry processor, and acquiring a target data zone bit of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit;
and decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit.
6. The data transmission method according to claim 5, wherein the decoding the target data flag bit according to the preset coding scheme includes one of:
inputting the target data zone bit into a preset decoding module, and decoding the original data zone bit through the preset decoding module;
and decoding the target data zone bit according to a first preset coding mode and/or a second preset coding mode.
7. A data transmission method is applied to electronic equipment, the electronic equipment comprises a sending end and a receiving end, and the sending end transmits data to the receiving end through an MIPI (Mobile industry processor interface), and the method is characterized by comprising the following steps:
when the received signal strength indication RSSI of the receiver module of the electronic equipment is higher than a preset RSSI threshold value;
sending switching indication information to the sending end, and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit;
and sending target coding information related to the preset coding mode to the receiving end.
8. A data transmission device is applied to a sending end, the sending end transmits data to a receiving end through a mobile industry processor MIPI interface, and the device is characterized by comprising:
the system comprises a flag bit acquisition module, a flag bit acquisition module and a flag bit acquisition module, wherein the flag bit acquisition module is used for acquiring an original data flag bit, and the original data flag bit is a data flag bit of original RAW data to be transmitted;
the encoding module is used for adjusting the original data zone bit according to a preset encoding mode to obtain a target data zone bit;
and the data sending module is used for obtaining target RAW data according to the target data zone bit.
9. A data transmission apparatus applied to a receiving end, the apparatus comprising:
the system comprises a data receiving module, a data transmitting module and a data receiving module, wherein the data receiving module is used for receiving target RAW data sent by an MIPI (mobile industry processor) interface of a mobile industry processor and acquiring a target data zone bit of the target RAW data; the target data zone bit is obtained by adjusting an original data zone bit of the MIPI according to a preset coding mode; the target data flag bit is different from the original data flag bit;
and the decoding module is used for decoding the target data zone bit according to the preset coding mode to obtain the original data zone bit.
10. The utility model provides an electronic equipment, electronic equipment includes sending end and receiving terminal, the sending end passes through mobile industry treater MIPI interface to the receiving terminal transmission data, its characterized in that, electronic equipment includes:
the RSSI detection module is used for detecting whether the received signal strength indication RSSI of the receiver module of the electronic equipment is higher than a preset RSSI threshold value;
the switching indication module is used for sending switching indication information to the sending end and indicating the sending end to adjust the original data zone bit according to a preset coding mode to obtain a target data zone bit;
and the rule indicating module is used for sending target coding information related to the preset coding mode to the receiving end.
CN201911077886.9A 2019-11-06 2019-11-06 Data transmission method and device and electronic equipment Active CN110868497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911077886.9A CN110868497B (en) 2019-11-06 2019-11-06 Data transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911077886.9A CN110868497B (en) 2019-11-06 2019-11-06 Data transmission method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110868497A true CN110868497A (en) 2020-03-06
CN110868497B CN110868497B (en) 2021-04-27

Family

ID=69653325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911077886.9A Active CN110868497B (en) 2019-11-06 2019-11-06 Data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110868497B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225710A (en) * 2022-06-17 2022-10-21 中国电信股份有限公司 Data packet transmission method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707267A (en) * 2012-07-03 2012-10-03 北京理工大学 Side peaks suppression method for passive radar based on multi-carrier digital television signals
US20140372834A1 (en) * 2013-06-18 2014-12-18 Novatek Microelectronics Corp. Serial Interface Packet Information Detection and Control Method and Receiver Thereof
CN104780334A (en) * 2015-04-30 2015-07-15 武汉精测电子技术股份有限公司 Method and device achieving MIPI LANE signal serial output on basis of FPGA
CN105187092A (en) * 2015-08-10 2015-12-23 广东欧珀移动通信有限公司 Method and device for reducing interference signals of mobile communication
CN107786483A (en) * 2016-08-26 2018-03-09 华为技术有限公司 Data signal processing method and relevant device
CN108063640A (en) * 2017-11-13 2018-05-22 广东欧珀移动通信有限公司 Method and system, device and the computer readable storage medium of anti-MIPI buses interference
CN109167745A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of data transmission method for uplink, data receiver method and terminal
CN109495642A (en) * 2018-10-26 2019-03-19 Oppo广东移动通信有限公司 Display control method and Related product
CN110381544A (en) * 2019-06-27 2019-10-25 维沃移动通信有限公司 A kind of data transfer control method, device and terminal device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707267A (en) * 2012-07-03 2012-10-03 北京理工大学 Side peaks suppression method for passive radar based on multi-carrier digital television signals
US20140372834A1 (en) * 2013-06-18 2014-12-18 Novatek Microelectronics Corp. Serial Interface Packet Information Detection and Control Method and Receiver Thereof
CN104780334A (en) * 2015-04-30 2015-07-15 武汉精测电子技术股份有限公司 Method and device achieving MIPI LANE signal serial output on basis of FPGA
CN105187092A (en) * 2015-08-10 2015-12-23 广东欧珀移动通信有限公司 Method and device for reducing interference signals of mobile communication
CN107786483A (en) * 2016-08-26 2018-03-09 华为技术有限公司 Data signal processing method and relevant device
CN108063640A (en) * 2017-11-13 2018-05-22 广东欧珀移动通信有限公司 Method and system, device and the computer readable storage medium of anti-MIPI buses interference
CN109167745A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of data transmission method for uplink, data receiver method and terminal
CN109495642A (en) * 2018-10-26 2019-03-19 Oppo广东移动通信有限公司 Display control method and Related product
CN110381544A (en) * 2019-06-27 2019-10-25 维沃移动通信有限公司 A kind of data transfer control method, device and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225710A (en) * 2022-06-17 2022-10-21 中国电信股份有限公司 Data packet transmission method and device, electronic equipment and storage medium
CN115225710B (en) * 2022-06-17 2024-06-07 中国电信股份有限公司 Data packet transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110868497B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN111835488B (en) Method for determining mapping of antenna port and terminal
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN110855313B (en) Signal control method and electronic equipment
CN108832297B (en) Antenna working method and mobile terminal
CN107888768B (en) Unlocking control method, terminal and computer readable storage medium
CN109639999B (en) Video call data optimization method, mobile terminal and readable storage medium
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
CN104915625A (en) Face identification method and apparatus
CN111050410A (en) Antenna control method and electronic equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN109889214B (en) Method for reducing SAR value and mobile terminal
CN109343811B (en) Display adjustment method and terminal equipment
CN110034872B (en) Association relation indication method, association relation determination method and related equipment of resources and QCL
CN110868497B (en) Data transmission method and device and electronic equipment
CN111328132B (en) Method for adjusting transmitting power and electronic equipment
CN112888055A (en) Wi-Fi uplink data sending method and device, electronic equipment and storage medium
CN110740265B (en) Image processing method and terminal equipment
CN110636530B (en) Method for processing adjacent channel interference and terminal equipment
CN109286414B (en) Antenna determination method and terminal
CN109062483B (en) Image processing method and terminal equipment
CN109067429B (en) Control method and terminal equipment
CN109526035B (en) Communication method, mobile terminal and medium
CN108646966B (en) Screen-off time adjusting method and device
CN108718207B (en) Antenna selection method and terminal

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
GR01 Patent grant
GR01 Patent grant