CN112738328B - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
CN112738328B
CN112738328B CN202011546369.4A CN202011546369A CN112738328B CN 112738328 B CN112738328 B CN 112738328B CN 202011546369 A CN202011546369 A CN 202011546369A CN 112738328 B CN112738328 B CN 112738328B
Authority
CN
China
Prior art keywords
data
processing modules
electronic device
data terminals
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011546369.4A
Other languages
Chinese (zh)
Other versions
CN112738328A (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 CN202011546369.4A priority Critical patent/CN112738328B/en
Publication of CN112738328A publication Critical patent/CN112738328A/en
Application granted granted Critical
Publication of CN112738328B publication Critical patent/CN112738328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses electronic equipment includes: the device comprises a first charging interface, a plurality of processing modules and a storage module, wherein the first charging interface comprises a plurality of first data terminals; a processing module connected to one of said first data terminals; the storage module is respectively connected with each processing module; the storage module is used for storing data; under the condition that the plurality of first data terminals in the first charging interface are connected with the plurality of second data terminals in the second charging interface of the target device in a one-to-one correspondence mode, the plurality of processing modules respectively read different data in the storage module, and transmit the read data to the target device through the plurality of groups of first data terminals and second data terminals which are connected in the one-to-one correspondence mode. The problem that the mode that carries out data transmission between present consumer and the battery charging outfit needs to occupy longer transmission time and receives external factor interference easily can be solved to this application.

Description

Electronic device
Technical Field
The application relates to the technical field of electronic products, in particular to an electronic device.
Background
With the development of charging technology, the communication between the electric device (such as an electronic device like a mobile phone) and the charging device (such as an electronic device like a charger) is getting tighter and tighter. For example: in the quick charging technology, the charger outputs corresponding voltage or performs other corresponding communication along with instructions of electronic equipment such as a mobile phone and the like.
At present, the main communication mode between the electric equipment and the charging equipment is as follows: when the electric equipment detects that the electric equipment is connected with the electric equipment, the electric equipment initiates communication with the electric equipment through a lead connected with the data terminal. However, when the electric device communicates with the charging device through a wire connected to a data terminal, a technique of serially transmitting data packets is generally used, that is, data bytes of the data packets are written one by one in a certain order, and are output one by one according to addresses and transmitted when signals are read and transmitted. The data transmission mode has the problem of occupying longer transmission time, and particularly under the condition of larger data packets, the data transmission efficiency is more easily influenced by factors such as external interference and the like, and even communication can not be carried out.
Disclosure of Invention
The embodiment of the application provides an electronic device to solve the problems that longer transmission time is occupied and external factors are easy to interfere when data transmission is carried out on current electric equipment and charging equipment.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an electronic device, including:
a first charging interface comprising a plurality of first data terminals;
a plurality of processing modules, one processing module being connected to one of the first data terminals;
the storage module is respectively connected with each processing module; the storage module is used for storing data;
under the condition that the plurality of first data terminals in the first charging interface are connected with the plurality of second data terminals in the second charging interface of the target device in a one-to-one correspondence mode, the plurality of processing modules respectively read different data in the storage module, and transmit the read data to the target device through the plurality of groups of first data terminals and second data terminals which are connected in the one-to-one correspondence mode.
In the above scheme of this application, under the condition that the first interface that charges of electronic equipment has a plurality of first data terminals, when being connected through a plurality of first data terminals in the first interface that charges and a plurality of second data terminals in the second interface that charges of target device one-to-one, can read the different data in the storage module respectively through a plurality of reading modules, and transmit through the first data terminal and the second data terminal of multiunit one-to-one connection, in order to reduce transmission time, thereby solved present power consumption equipment and the battery charging outfit between carry out the mode of data transmission and need occupy longer transmission time and receive the problem that external factor disturbed easily.
Drawings
Fig. 1 is a schematic diagram illustrating connection between an electronic device and a target device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of data output according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating data reception according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an electronic device is provided in the embodiments of the present application, and optionally, the electronic device may be a charging device (e.g., a charger) or an electric device (e.g., a mobile device such as a mobile phone or a wearable device). In the following embodiments, when the electronic device is an electric device, the target device is a charging device; when the electronic device is a charging device, the target device is an electric device.
The electronic device 10 includes: a first charging interface 11, a plurality of processing modules 12 and a storage module 13.
The first charging interface 11 includes a plurality of first data terminals; a processing module 12 is connected to one of said first data terminals; the memory module 13 is connected to each processing module 12.
The storage module 13 is used for storing data. When the plurality of first data terminals in the first charging interface 11 are connected to the plurality of second data terminals in the second charging interface of the target device 20 in a one-to-one correspondence manner, the plurality of processing modules 12 respectively read different data in the storage module 13, and transmit the read data to the target device 20 through the plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence manner.
Alternatively, if the types of the first charging interfaces 11 are different, the number of the first data terminals in the first charging interfaces 11 may be different, for example: the number of the first data terminals may be 2, 4, etc., and the embodiment of the present application is not limited thereto.
Alternatively, the second charging interface 21 may be of the same type as the first charging interface 11, so as to ensure that a connection can be established between the first charging interface 11 and the second charging interface 21.
In the above embodiment, under the condition that the first charging interface 11 of the electronic device 10 has a plurality of first data terminals, when the plurality of first data terminals in the first charging interface 11 are connected with the plurality of second data terminals in the second charging interface 21 of the target device 20 in a one-to-one correspondence manner, the signal to be transmitted is divided into a plurality of first signal blocks, and the signal is transmitted through the plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence manner, so as to reduce the transmission time, thereby solving the problems that the current method for transmitting data between the electric device and the charging device needs to occupy longer transmission time and is easily interfered by external factors.
For example: when charging is abnormal, the transmission mode of the application is adopted to transmit the interrupt signal between the electronic device 10 and the target device 20, so that the transmission time length can be reduced, and the quick response of interrupt processing is ensured. Of course, the data transmitted between the electronic device 10 and the target device 20 is not limited to the interrupt signal, but may be other signals besides the interrupt signal, such as a charging signal for indicating a charging parameter, or may also be a communication signal transmitted before or after the power transmission between the electronic device 10 and the target device 20.
Optionally, the storage module 13 may store data in a data matrix manner. When a plurality of processing modules 12 read data in the data matrix, the plurality of processing modules 12 may read different data in the data matrix at the same time.
Optionally, the processing modules 12 respectively read data of different parts of the same data packet in the storage module 13.
For example: the plurality of processing modules 12 include a first processing module, a second processing module, a third processing module, and a fourth processing module; the data to be transmitted is a data packet A, which comprises data parts A1, A2, A3 and A4 and is stored in the storage module 13; data portion A1 in memory module 13 may be read by the first processing module, data portion A2 in memory module 13 may be read by the second processing module, data portion A3 in memory module 13 may be read by the third processing module, data portion A4 in memory module 13 may be read by the fourth processing module; therefore, different data parts can be read and transmitted respectively by the processing modules 12 for the same data packet, so that the transmission time of communication signals transmitted between the electric equipment and the charging equipment is shortened, the quick response of the electric equipment and the charging equipment to corresponding signals in the charging process is ensured, and the charging reliability is ensured.
Alternatively, the plurality of processing modules 12 may transmit the read data to the target device 20 through a plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence.
For example: in the case that the data portions a1, a2, A3, and a4 included in the data packet a have the same time length, the data portions a1, a2, A3, and a4 may be transmitted to the target device 20 through the 4 processing modules 12, respectively, so as to ensure that the transmission time corresponding to the data packet a is the shortest.
Another example is: in the case that the data portions a1, a2, A3 and a4 included in the data packet a have different time lengths, the data portion with the longest transmission time length can be started first, and the transmission end times of the data portions a1, a2, A3 and a4 are ensured to be consistent, so as to ensure that the transmission time corresponding to the data packet a is the shortest. Of course, in addition to the above examples, other ways may also be adopted to transmit different data portions of the same data packet through multiple processing modules 12 to reduce the transmission time, and the embodiment of the present application is not limited thereto.
It should be noted that, the above description is given by taking an example that the charging interface includes 4 data terminals, but the number of the data terminals in the charging interface of the present application may be 2, 3, 5, 6, or other more data terminals, and the embodiments of the present application are not limited thereto.
Optionally, as shown in fig. 2, the processing module 12 includes: a sense amplifier 121 and an output buffer 122; the sense amplifier 121 is connected to the memory module 13 and the output buffer 122, respectively, and the output buffer 122 is connected to the first data terminal.
The sense amplifier 121 is configured to read data in the memory module 13 and transmit the read data to the output buffer 122; the output buffer 122 is configured to temporarily store data transmitted by the sense amplifier 121, and transmit the data to the target device 20 through the first data terminal and the second data terminal connected correspondingly.
In this embodiment, each processing module 12 includes a sense amplifier 121 and an output buffer 122, respectively, and the sense amplifier 121 in each processing module 12 reads different data in the storage module 13 and transmits the data to the target device 20 through the output buffer 122, respectively, to ensure synchronization of data transmission.
Optionally, the processing module 12 further includes: a latch 123, through which the sense amplifier 121 is connected to the output buffer 122.
In this embodiment, each processing module 12 includes a sense amplifier 121, a latch 123 and an output buffer 122, respectively, and the sense amplifier 121 in each processing module 12 reads different data in the storage module 13 and transmits the data to the target device 20 through the latch 123 and the output buffer 122, respectively, so as to ensure synchronization of data transmission and also achieve receiving of data transmitted by the target device 20.
Optionally, the electronic device 10 further includes: a control module 14, wherein the control module 14 is respectively connected with each processing module 12; the control module 14 is configured to output address information; the processing modules 12 respectively read different data corresponding to the address information in the storage module 13.
For example: the control module 14 may be a logic operator or a Micro Controller Unit (MCU). When the control module 14 needs to output data, the control module 14 may output address information corresponding to the data to be transmitted according to a requirement, where the address information is used to indicate a storage location of the data to be transmitted in the storage module 13. In this way, the processing module 12 can read the data in the storage module 13 according to the address information and transmit the read data to the target device 20.
Optionally, the processing modules 12 respectively receive data transmitted by the target device 20 through a plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence manner, and transmit the received data to the control module 14.
In this embodiment, when data transmission is performed, the target device 20 and the electronic device 10 may perform similar functions, that is, the target device 20 may also have the similar structure described above, and may transmit data to be transmitted to the electronic device 10 in the similar manner described above, which is not described herein again.
In this way, the electronic device 10 can also receive data transmitted by the target device 20 through the plurality of processing modules in the case where different data portions of the data to be transmitted can be transmitted to the target device 20 through the plurality of processing modules 12, respectively. When receiving data transmitted by the target device 20 through the plurality of processing modules 12, the electronic device 10 may synthesize the received data according to a protocol convention (e.g., according to a time sequence of the protocol convention) to obtain complete data, so that the electronic device 10 may execute a corresponding function according to the synthesized data.
Optionally, the electronic device 10 further includes: an address decoder 15, through which the control module 14 is connected to each of the processing modules 12, respectively.
The address decoder 15 is configured to decode the address information output by the control module 14, and transmit the decoded address information to the multiple processing modules 12; the processing modules 12 respectively read different data in the storage module 13 according to the decoded address information.
In this embodiment, the address decoder 15 is configured to convert the address information output by the control module 14 into address information that can be recognized by the processing module 12, so as to ensure that the processing module 12 can read different data in the storage module 13 according to the decoded address information.
Optionally, the address decoder 15 transmits different address portions in the decoded address information to the plurality of processing modules 12, respectively; the plurality of processing modules 12 respectively read the data corresponding to the address portion in the storage module 13.
For example: the decoded address information output by the address decoder 15 corresponds to a complete piece of data to be transmitted, and under the condition that the address decoder 15 transmits different parts of the decoded address information to different processing modules 12, different processing modules 12 are ensured to respectively and correspondingly read different data parts of the complete piece of data to be transmitted, so that the complete transmission of the data to be transmitted is ensured, and the transmission time is reduced.
Optionally, the electronic device 10 further includes: an address input buffer 16, through which the control module 14 is connected to the address decoder 15; the address input buffer 16 is used for buffering the address information output by the control module 14.
For example: when the control module 14 needs to output data, the control module 14 can output address information corresponding to the data to be transmitted to the address decoder 15 through the bus and the address input buffer 16 according to the requirement, so as to ensure the synchronization of data transmission. And the plurality of processing modules 12 are controlled by the operation protocol to read different data portions in the storage module 13 as required, so that different data portions of the data to be transmitted can be transmitted on a plurality of transmission paths (for example, a plurality of groups of first data terminals and second data terminals which are connected in a one-to-one correspondence manner) at the same time, that is, the data transmission time is shortened.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. 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 terminal that comprises the element.
While the foregoing is directed to the preferred embodiment of the present application, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the principles of the disclosure and, therefore, the scope of the disclosure is to be defined by the appended claims.

Claims (10)

1. An electronic device, comprising:
a first charging interface comprising a plurality of first data terminals;
a plurality of processing modules, one processing module being connected to one of the first data terminals;
the storage module is respectively connected with each processing module; the storage module is used for storing data;
under the condition that a plurality of first data terminals in the first charging interface are connected with a plurality of second data terminals in a second charging interface of a target device in a one-to-one correspondence mode, the plurality of processing modules respectively read different data in the storage module and transmit the read data to the target device through a plurality of groups of first data terminals and second data terminals which are connected in a one-to-one correspondence mode;
under the condition that a first charging interface of the electronic equipment is provided with a plurality of first data terminals, when the plurality of first data terminals in the first charging interface are connected with a plurality of second data terminals in a second charging interface of the target equipment in a one-to-one correspondence manner, signals to be transmitted are divided into a plurality of first signal blocks, and the signals are transmitted through a plurality of groups of first data terminals and second data terminals which are connected in a one-to-one correspondence manner;
the electronic equipment receives the data transmitted by the target equipment through the plurality of processing modules under the condition that different data parts of the data to be transmitted are respectively transmitted to the target equipment through the plurality of processing modules; and under the condition that the electronic equipment receives the data transmitted by the target equipment through the plurality of processing modules, the received data is synthesized and processed according to protocol convention to obtain complete data, so that the electronic equipment executes corresponding functions according to the synthesized data.
2. The electronic device of claim 1, wherein the plurality of processing modules respectively read data of different portions of the same data packet in the storage module.
3. The electronic device according to claim 1 or 2, wherein the plurality of processing modules simultaneously transmit the read data to the target device through a plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence.
4. The electronic device of claim 1, wherein the processing module comprises: a sense amplifier and an output buffer; the sense amplifier is respectively connected with the storage module and the output buffer, and the output buffer is connected with the first data terminal;
the sensitive amplifier is used for reading the data in the storage module and transmitting the read data to the output buffer;
the output buffer is used for temporarily storing the data transmitted by the sensitive amplifier and transmitting the data to the target equipment through a first data terminal and a second data terminal which are correspondingly connected.
5. The electronic device of claim 4, wherein the processing module further comprises:
and the sensitive amplifier is connected with the output buffer through the latch.
6. The electronic device of claim 1, further comprising:
the control module is respectively connected with each processing module; the control module is used for outputting address information;
and the processing modules respectively read different data corresponding to the address information in the storage module.
7. The electronic device according to claim 6, wherein the plurality of processing modules respectively receive data transmitted by the target device through a plurality of sets of first data terminals and second data terminals connected in a one-to-one correspondence, and transmit the received data to the control module.
8. The electronic device of claim 6, further comprising:
the control module is respectively connected with each processing module through the address decoder; the address decoder is used for decoding the address information output by the control module and transmitting the decoded address information to the plurality of processing modules;
and the processing modules respectively read different data in the storage module according to the decoded address information.
9. The electronic device of claim 8, wherein the address decoder transmits different address portions of the decoded address information to the plurality of processing modules, respectively;
and the plurality of processing modules respectively read the data corresponding to the address parts in the storage module.
10. The electronic device of claim 8, further comprising:
the control module is connected with the address decoder through the address input buffer; the address input buffer is used for caching the address information output by the control module.
CN202011546369.4A 2020-12-24 2020-12-24 Electronic device Active CN112738328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011546369.4A CN112738328B (en) 2020-12-24 2020-12-24 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011546369.4A CN112738328B (en) 2020-12-24 2020-12-24 Electronic device

Publications (2)

Publication Number Publication Date
CN112738328A CN112738328A (en) 2021-04-30
CN112738328B true CN112738328B (en) 2022-08-26

Family

ID=75605067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011546369.4A Active CN112738328B (en) 2020-12-24 2020-12-24 Electronic device

Country Status (1)

Country Link
CN (1) CN112738328B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194827A (en) * 2018-08-28 2019-01-11 维沃移动通信有限公司 A kind of terminal device, audio frequency signal output and system
CN109684234A (en) * 2018-12-21 2019-04-26 深圳市趣创科技有限公司 A kind of data transmission method and system
CN111124985A (en) * 2019-12-24 2020-05-08 厦门市美亚柏科信息股份有限公司 Read-only control method and device for mobile terminal
CN111817383A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Adapter, charger and charging equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102881331A (en) * 2011-07-15 2013-01-16 复旦大学 Controlling circuit of sensitive magnifier and DRAM comprising controlling circuit
CN103593318A (en) * 2012-08-14 2014-02-19 鸿富锦精密工业(武汉)有限公司 Storage device and data storage system
CN104135341A (en) * 2014-07-31 2014-11-05 广州金山网络科技有限公司 Data communication method, data communication device and data communication system
CN106299893B (en) * 2015-05-18 2018-10-26 特通科技有限公司 USB Type-C connector modules
CN207264366U (en) * 2017-08-11 2018-04-20 山东信威广辰信息技术有限公司 A kind of data storage device
KR20200094500A (en) * 2019-01-30 2020-08-07 삼성전자주식회사 Electronic device and method for processing line data included in image frame data into multiple intervals
CN111817097A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Charging control method and data line

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194827A (en) * 2018-08-28 2019-01-11 维沃移动通信有限公司 A kind of terminal device, audio frequency signal output and system
CN109684234A (en) * 2018-12-21 2019-04-26 深圳市趣创科技有限公司 A kind of data transmission method and system
CN111124985A (en) * 2019-12-24 2020-05-08 厦门市美亚柏科信息股份有限公司 Read-only control method and device for mobile terminal
CN111817383A (en) * 2020-07-14 2020-10-23 维沃移动通信有限公司 Adapter, charger and charging equipment

Also Published As

Publication number Publication date
CN112738328A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
JP2001085067A (en) Voltage level bus converter for battery module and safety interlock system
JP7372344B2 (en) Battery information providing device and method
US7827335B2 (en) Remote communication system of a network
CN104325947A (en) Vehicle control device and method
CN108694140B (en) For addressing I2Method for non-volatile memory on a C bus and corresponding memory device
CN102081586A (en) Multiple I2C (Inter-IC) slot circuit system and method for transmitting I2C signal
CN101729662B (en) Mobile terminal system, external device, mobile terminal and input/output method thereof
CN112738328B (en) Electronic device
CN113054716B (en) Charging chip, charging device and mobile terminal
CN113874245B (en) Communication controller, communication method, and electric vehicle
US8510485B2 (en) Low power digital interface
CN111405534B (en) Information transmission method, first terminal and computer storage medium
CN112713627B (en) Voltage control method, voltage control device, storage medium, and electronic apparatus
EP2568687A2 (en) Remote access system, electronic apparatus and method of processing remote access
WO2024001105A1 (en) Communication detection method and apparatus, device, system, and storage medium
CN211149270U (en) Debugging circuit
CN117440060B (en) Communication conversion device, electronic equipment, system and method
CN113672536B (en) Data storage system, storage module and data storage method
CN117640783B (en) Data transmission method, system, electronic equipment and readable medium
KR940000181B1 (en) Local area network connecting apparatus
CN213426432U (en) Bluetooth headset and bluetooth headset charging bin combined system
CN218850770U (en) One-to-many UART communication device
CN112834964B (en) Detection method, device and equipment for wiring line sequence of self-adaptive combiner
CN201145897Y (en) Microcontroller
CN117336376A (en) Protocol conversion card, data transmission method and device thereof, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant